Class VisualWrapperInterest

java.lang.Object
com.cake.azimuth.registration.VisualWrapperInterest

public class VisualWrapperInterest extends Object
Used to limit the impact of wrapping visuals to only the block entities that need it. This is necessary because wrapping visuals is slightly dodgy, and likely incurs some form of (small but non-zero) performance penalty. This is not necessary for renderers.
  • Constructor Details

    • VisualWrapperInterest

      public VisualWrapperInterest()
  • Method Details

    • registerInterest

      public static void registerInterest(Predicate<net.minecraft.world.level.block.entity.BlockEntityType<?>> typePredicate)
    • resolve

      public static void resolve()
    • isInterested

      public static boolean isInterested(net.minecraft.world.level.block.entity.BlockEntityType<?> type)