Class HandlerCaches
java.lang.Object
net.ixdarklord.coolcatcore.internal.handler.HandlerCaches
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidinvalidate(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) Invalidates the caches at the position; they register again when next read.static voidregister(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, BlockHandlerCache<?> cache)
-
Method Details
-
register
public static void register(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, BlockHandlerCache<?> cache) -
invalidate
public static void invalidate(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) Invalidates the caches at the position; they register again when next read.
-