Skip to content

Commit

Permalink
add jade blacklist
Browse files Browse the repository at this point in the history
  • Loading branch information
GlodBlock committed Dec 21, 2024
1 parent 3741c46 commit 150f957
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.glodblock.github.extendedae.xmod.jade;

import com.glodblock.github.extendedae.common.tileentities.TileCaner;
import com.glodblock.github.extendedae.common.tileentities.TileCircuitCutter;
import com.glodblock.github.extendedae.common.tileentities.TileIngredientBuffer;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.level.block.Block;
Expand Down Expand Up @@ -32,7 +33,10 @@ public void registerClient(IWailaClientRegistration registration) {
registration.addTooltipCollectedCallback((tooltip, accessor) -> {
var target = accessor.getTarget();
for (var loc : CHEMICALS) {
if (target instanceof TileIngredientBuffer || target instanceof TileCaner) {
if (target instanceof TileIngredientBuffer ||
target instanceof TileCaner ||
target instanceof TileCircuitCutter
) {
tooltip.remove(loc);
}
}
Expand Down

0 comments on commit 150f957

Please sign in to comment.