Class AllDisplayBehaviours

java.lang.Object
com.simibubi.create.content.logistics.block.display.AllDisplayBehaviours

public class AllDisplayBehaviours extends Object
  • Field Details

    • GATHERER_BEHAVIOURS

      public static final Map<net.minecraft.resources.ResourceLocation,DisplayBehaviour> GATHERER_BEHAVIOURS
    • SOURCES_BY_BLOCK

      public static final Map<net.minecraftforge.registries.IRegistryDelegate<net.minecraft.world.level.block.Block>,List<DisplaySource>> SOURCES_BY_BLOCK
    • SOURCES_BY_TILE

      public static final Map<net.minecraftforge.registries.IRegistryDelegate<net.minecraft.world.level.block.entity.BlockEntityType<?>>,List<DisplaySource>> SOURCES_BY_TILE
    • TARGETS_BY_BLOCK

      public static final Map<net.minecraftforge.registries.IRegistryDelegate<net.minecraft.world.level.block.Block>,DisplayTarget> TARGETS_BY_BLOCK
    • TARGETS_BY_TILE

      public static final Map<net.minecraftforge.registries.IRegistryDelegate<net.minecraft.world.level.block.entity.BlockEntityType<?>>,DisplayTarget> TARGETS_BY_TILE
  • Constructor Details

    • AllDisplayBehaviours

      public AllDisplayBehaviours()
  • Method Details

    • register

      public static DisplayBehaviour register(net.minecraft.resources.ResourceLocation id, DisplayBehaviour behaviour)
    • assignBlock

      public static void assignBlock(DisplayBehaviour behaviour, net.minecraftforge.registries.IRegistryDelegate<net.minecraft.world.level.block.Block> block)
    • assignTile

      public static void assignTile(DisplayBehaviour behaviour, net.minecraftforge.registries.IRegistryDelegate<net.minecraft.world.level.block.entity.BlockEntityType<?>> teType)
    • assignDataBehaviour

      public static <B extends net.minecraft.world.level.block.Block> com.tterrag.registrate.util.nullness.NonNullConsumer<? super B> assignDataBehaviour(DisplayBehaviour behaviour, String... suffix)
    • assignDataBehaviourTE

      public static <B extends net.minecraft.world.level.block.entity.BlockEntityType<?>> com.tterrag.registrate.util.nullness.NonNullConsumer<? super B> assignDataBehaviourTE(DisplayBehaviour behaviour, String... suffix)
    • getSource

      @Nullable public static DisplaySource getSource(net.minecraft.resources.ResourceLocation resourceLocation)
    • getTarget

      @Nullable public static DisplayTarget getTarget(net.minecraft.resources.ResourceLocation resourceLocation)
    • sourcesOf

      public static List<DisplaySource> sourcesOf(net.minecraft.world.level.block.Block block)
    • sourcesOf

      public static List<DisplaySource> sourcesOf(net.minecraft.world.level.block.state.BlockState state)
    • sourcesOf

      public static List<DisplaySource> sourcesOf(net.minecraft.world.level.block.entity.BlockEntityType<?> tileEntityType)
    • sourcesOf

      public static List<DisplaySource> sourcesOf(net.minecraft.world.level.block.entity.BlockEntity tileEntity)
    • targetOf

      @Nullable public static DisplayTarget targetOf(net.minecraft.world.level.block.Block block)
    • targetOf

      @Nullable public static DisplayTarget targetOf(net.minecraft.world.level.block.state.BlockState state)
    • targetOf

      @Nullable public static DisplayTarget targetOf(net.minecraft.world.level.block.entity.BlockEntityType<?> tileEntityType)
    • targetOf

      @Nullable public static DisplayTarget targetOf(net.minecraft.world.level.block.entity.BlockEntity tileEntity)
    • sourcesOf

      public static List<DisplaySource> sourcesOf(net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos)
    • targetOf

      @Nullable public static DisplayTarget targetOf(net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos)
    • registerDefaults

      public static void registerDefaults()