Class ForgeTransferCompat
java.lang.Object
net.ixdarklord.coolcatcore.internal.platform.forge.ForgeTransferCompat
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidinvalidate(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) Drops the item handlers CoolCatLib handed out for the block entity at a position (telling whoever keeps them), so the next lookup finds the current ones.static voidregister(net.minecraftforge.eventbus.api.IEventBus forgeBus) Registers the capability listeners on Forge's event bus (MinecraftForge.EVENT_BUS).
-
Method Details
-
register
public static void register(net.minecraftforge.eventbus.api.IEventBus forgeBus) Registers the capability listeners on Forge's event bus (MinecraftForge.EVENT_BUS). -
invalidate
public static void invalidate(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) Drops the item handlers CoolCatLib handed out for the block entity at a position (telling whoever keeps them), so the next lookup finds the current ones. Does nothing when the position isn't loaded.
-