Fix Crafting Input Bus Compatibility & fix general bugs (#154)

* fix: uses IInterfaceTerminalSupport for interface terminal

fix custom target not registered in ae2fc wireless interface terminal

* fix: empty string caused channel crash && check if custom name exist before getting

* fix: Fluid interface not registered

* Revert "fix: Fluid interface not registered"

This reverts commit bc21ee2673.

* fix: remove ASM in favor of the new API

* fix: remove zero size character bypass as checking hasCustomName is enough
This commit is contained in:
Fox_white authored and GitHub committed 2023-08-11 21:18:57 +02:00
1 parent 98ff754306
commit bcdd765870
6 files changed
+85 -162

No files matched your search

@@ -4,7 +4,9 @@ import net.minecraft.item.ItemStack;
import com.glodblock.github.FluidCraft;
import com.glodblock.github.common.Config;
import com.glodblock.github.common.parts.PartFluidInterface;
import com.glodblock.github.common.parts.PartFluidP2PInterface;
import com.glodblock.github.common.tile.TileFluidInterface;
import com.glodblock.github.common.tile.TileWalrus;
import com.glodblock.github.crossmod.extracells.EC2Replacer;
import com.glodblock.github.crossmod.thaumcraft.AspectUtil;
@@ -66,6 +68,8 @@ public class CommonProxy {
}
AEApi.instance().registries().externalStorage().addExternalStorageInterface(new AEFluidInterfaceHandler());
InterfaceTerminalSupportedClassProvider.register(PartFluidP2PInterface.class);
InterfaceTerminalSupportedClassProvider.register(PartFluidInterface.class);
InterfaceTerminalSupportedClassProvider.register(TileFluidInterface.class);
}
public void registerRenderers() {}