net.minecraft.world.level.block.entity

public class BlockEntityType<T extends BlockEntity>

dcx
net.minecraft.world.level.block.entity.BlockEntityType
net.minecraft.class_2591
net.minecraft.block.entity.BlockEntityType
net.minecraft.src.C_1992_
net.minecraft.world.level.block.entity.TileEntityTypes

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
P
LOGGER
field_11893
LOGGER
f_58913_
public static final BlockEntityType<FurnaceBlockEntity>
a
FURNACE
field_11903
FURNACE
f_58917_
public static final BlockEntityType<ChestBlockEntity>
b
CHEST
field_11914
CHEST
f_58918_
public static final BlockEntityType<TrappedChestBlockEntity>
c
TRAPPED_CHEST
field_11891
TRAPPED_CHEST
f_58919_
public static final BlockEntityType<EnderChestBlockEntity>
d
ENDER_CHEST
field_11901
ENDER_CHEST
f_58920_
public static final BlockEntityType<JukeboxBlockEntity>
e
JUKEBOX
field_11907
JUKEBOX
f_58921_
public static final BlockEntityType<DispenserBlockEntity>
f
DISPENSER
field_11887
DISPENSER
f_58922_
public static final BlockEntityType<DropperBlockEntity>
g
DROPPER
field_11899
DROPPER
f_58923_
public static final BlockEntityType<SignBlockEntity>
h
SIGN
field_11911
SIGN
f_58924_
public static final BlockEntityType<HangingSignBlockEntity>
i
HANGING_SIGN
field_40330
HANGING_SIGN
f_244529_
public static final BlockEntityType<SpawnerBlockEntity>
j
MOB_SPAWNER
field_11889
MOB_SPAWNER
f_58925_
public static final BlockEntityType<PistonMovingBlockEntity>
k
PISTON
field_11897
PISTON
f_58926_
public static final BlockEntityType<BrewingStandBlockEntity>
l
BREWING_STAND
field_11894
BREWING_STAND
f_58927_
public static final BlockEntityType<EnchantmentTableBlockEntity>
m
ENCHANTING_TABLE
field_11912
ENCHANTING_TABLE
f_58928_
public static final BlockEntityType<TheEndPortalBlockEntity>
n
END_PORTAL
field_11898
END_PORTAL
f_58929_
public static final BlockEntityType<BeaconBlockEntity>
o
BEACON
field_11890
BEACON
f_58930_
public static final BlockEntityType<SkullBlockEntity>
p
SKULL
field_11913
SKULL
f_58931_
public static final BlockEntityType<DaylightDetectorBlockEntity>
q
DAYLIGHT_DETECTOR
field_11900
DAYLIGHT_DETECTOR
f_58932_
public static final BlockEntityType<HopperBlockEntity>
r
HOPPER
field_11888
HOPPER
f_58933_
public static final BlockEntityType<ComparatorBlockEntity>
s
COMPARATOR
field_11908
COMPARATOR
f_58934_
public static final BlockEntityType<BannerBlockEntity>
t
BANNER
field_11905
BANNER
f_58935_
public static final BlockEntityType<StructureBlockEntity>
u
STRUCTURE_BLOCK
field_11895
STRUCTURE_BLOCK
f_58936_
public static final BlockEntityType<TheEndGatewayBlockEntity>
v
END_GATEWAY
field_11906
END_GATEWAY
f_58937_
public static final BlockEntityType<CommandBlockEntity>
w
COMMAND_BLOCK
field_11904
COMMAND_BLOCK
f_58938_
public static final BlockEntityType<ShulkerBoxBlockEntity>
x
SHULKER_BOX
field_11896
SHULKER_BOX
f_58939_
public static final BlockEntityType<BedBlockEntity>
y
BED
field_11910
BED
f_58940_
public static final BlockEntityType<ConduitBlockEntity>
z
CONDUIT
field_11902
CONDUIT
f_58941_
public static final BlockEntityType<BarrelBlockEntity>
A
BARREL
field_16411
BARREL
f_58942_
public static final BlockEntityType<SmokerBlockEntity>
B
SMOKER
field_16414
SMOKER
f_58906_
public static final BlockEntityType<BlastFurnaceBlockEntity>
C
BLAST_FURNACE
field_16415
BLAST_FURNACE
f_58907_
public static final BlockEntityType<LecternBlockEntity>
D
LECTERN
field_16412
LECTERN
f_58908_
public static final BlockEntityType<BellBlockEntity>
E
BELL
field_16413
BELL
f_58909_
public static final BlockEntityType<JigsawBlockEntity>
F
JIGSAW
field_16549
JIGSAW
f_58910_
public static final BlockEntityType<CampfireBlockEntity>
G
CAMPFIRE
field_17380
CAMPFIRE
f_58911_
public static final BlockEntityType<BeehiveBlockEntity>
H
BEEHIVE
field_20431
BEEHIVE
f_58912_
public static final BlockEntityType<SculkSensorBlockEntity>
I
SCULK_SENSOR
field_28117
SCULK_SENSOR
f_155257_
public static final BlockEntityType<CalibratedSculkSensorBlockEntity>
J
CALIBRATED_SCULK_SENSOR
field_43258
CALIBRATED_SCULK_SENSOR
f_276581_
public static final BlockEntityType<SculkCatalystBlockEntity>
K
SCULK_CATALYST
field_37647
SCULK_CATALYST
f_222758_
public static final BlockEntityType<SculkShriekerBlockEntity>
L
SCULK_SHRIEKER
field_37648
SCULK_SHRIEKER
f_222759_
public static final BlockEntityType<ChiseledBookShelfBlockEntity>
M
CHISELED_BOOKSHELF
field_40329
CHISELED_BOOKSHELF
f_244310_
public static final BlockEntityType<BrushableBlockEntity>
N
BRUSHABLE_BLOCK
field_42780
BRUSHABLE_BLOCK
f_271323_
public static final BlockEntityType<DecoratedPotBlockEntity>
O
DECORATED_POT
field_42781
DECORATED_POT
f_271291_
private final BlockEntityType$BlockEntitySupplier<? extends T>
Q
factory
field_11892
factory
f_58914_
private final Set<Block>
R
validBlocks
field_19315
blocks
f_58915_
private final com.mojang.datafixers.types.Type<?>
S
dataType
field_11909
type
f_58916_
private final Holder$Reference<BlockEntityType<?>>
T
builtInRegistryHolder
field_45786
registryEntry
f_290724_

Constructor summary

ModifierConstructor
public (BlockEntityType$BlockEntitySupplier<? extends T> factory, Set<Block> blocks, com.mojang.datafixers.types.Type<?> type)

Method summary

Modifier and TypeMethod
public static ResourceLocation
a(dcx<?> arg0)
getKey(BlockEntityType<?> arg0)
method_11033(class_2591<?> arg0)
getId(BlockEntityType<?> type)
m_58954_(C_1992_<?> p_58955_)
private static <T extends BlockEntity> BlockEntityType<T>
a(String arg0, dcx$b<T> arg1)
register(String arg0, BlockEntityType$Builder<T> arg1)
method_11030(String arg0, class_2591$class_2592<T> arg1)
create(String id, BlockEntityType$Builder<T> builder)
m_58956_(String p_58957_, C_1992_$C_1993_<T> p_58958_)
public T
a(gw arg0, dfj arg1)
create(BlockPos arg0, BlockState arg1)
method_11032(class_2338 arg0, class_2680 arg1)
instantiate(BlockPos pos, BlockState state)
m_155264_(C_4675_ p_155266_, C_2064_ arg1)
public boolean
a(dfj arg0)
isValid(BlockState arg0)
method_20526(class_2680 arg0)
supports(BlockState state)
m_155262_(C_2064_ arg0)
public Holder$Reference<BlockEntityType<?>>
a()
builtInRegistryHolder()
method_53254()
getRegistryEntry()
m_294149_()
public T
a(cpb arg0, gw arg1)
getBlockEntity(BlockGetter arg0, BlockPos arg1)
method_24182(class_1922 arg0, class_2338 arg1)
get(BlockView world, BlockPos pos)
m_58949_(C_1559_ p_58951_, C_4675_ arg1)