Class ExtendedBlockEntityType<T extends net.minecraft.world.level.block.entity.BlockEntity>

java.lang.Object
net.minecraft.world.level.block.entity.BlockEntityType<T>
net.fabricmc.fabric.impl.object.builder.ExtendedBlockEntityType<T>

public class ExtendedBlockEntityType<T extends net.minecraft.world.level.block.entity.BlockEntity> extends net.minecraft.world.level.block.entity.BlockEntityType<T>
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.level.block.entity.BlockEntityType

    net.minecraft.world.level.block.entity.BlockEntityType.BlockEntitySupplier<T>
  • Field Summary

    Fields inherited from class net.minecraft.world.level.block.entity.BlockEntityType

    BANNER, BARREL, BEACON, BED, BEEHIVE, BELL, BLAST_FURNACE, BREWING_STAND, BRUSHABLE_BLOCK, CALIBRATED_SCULK_SENSOR, CAMPFIRE, CHEST, CHISELED_BOOKSHELF, COMMAND_BLOCK, COMPARATOR, CONDUIT, COPPER_GOLEM_STATUE, CRAFTER, CREAKING_HEART, DAYLIGHT_DETECTOR, DECORATED_POT, DISPENSER, DROPPER, ENCHANTING_TABLE, END_GATEWAY, END_PORTAL, ENDER_CHEST, FURNACE, HANGING_SIGN, HOPPER, JIGSAW, JUKEBOX, LECTERN, MOB_SPAWNER, PISTON, SCULK_CATALYST, SCULK_SENSOR, SCULK_SHRIEKER, SHELF, SHULKER_BOX, SIGN, SKULL, SMOKER, STRUCTURE_BLOCK, TEST_BLOCK, TEST_INSTANCE_BLOCK, TRAPPED_CHEST, TRIAL_SPAWNER, VAULT
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExtendedBlockEntityType(net.minecraft.world.level.block.entity.BlockEntityType.BlockEntitySupplier<? extends T> factory, Set<net.minecraft.world.level.block.Block> blocks, @Nullable Boolean canPotentiallyExecuteCommands)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     

    Methods inherited from class net.minecraft.world.level.block.entity.BlockEntityType

    builtInRegistryHolder, create, getBlockEntity, getValidBlocks, isValid

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExtendedBlockEntityType

      public ExtendedBlockEntityType(net.minecraft.world.level.block.entity.BlockEntityType.BlockEntitySupplier<? extends T> factory, Set<net.minecraft.world.level.block.Block> blocks, @Nullable Boolean canPotentiallyExecuteCommands)
  • Method Details

    • onlyOpCanSetNbt

      public boolean onlyOpCanSetNbt()
      Overrides:
      onlyOpCanSetNbt in class net.minecraft.world.level.block.entity.BlockEntityType<T extends net.minecraft.world.level.block.entity.BlockEntity>