public class TileEntityType<T extends TileEntity> extends ForgeRegistryEntry<TileEntityType<?>>
Modifier and Type | Class and Description |
---|---|
static class |
TileEntityType.Builder<T extends TileEntity> |
delegate
Constructor and Description |
---|
TileEntityType(java.util.function.Supplier<? extends T> factoryIn,
java.util.Set<Block> validBlocksIn,
com.mojang.datafixers.types.Type<?> dataFixerType) |
Modifier and Type | Method and Description |
---|---|
T |
create() |
T |
func_226986_a_(IBlockReader blockReader,
BlockPos pos) |
static ResourceLocation |
getId(TileEntityType<?> tileEntityTypeIn) |
boolean |
isValidBlock(Block blockIn) |
private static <T extends TileEntity> |
register(java.lang.String key,
TileEntityType.Builder<T> builder) |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
private static final org.apache.logging.log4j.Logger LOGGER
public static final TileEntityType<FurnaceTileEntity> FURNACE
public static final TileEntityType<ChestTileEntity> CHEST
public static final TileEntityType<TrappedChestTileEntity> TRAPPED_CHEST
public static final TileEntityType<EnderChestTileEntity> ENDER_CHEST
public static final TileEntityType<JukeboxTileEntity> JUKEBOX
public static final TileEntityType<DispenserTileEntity> DISPENSER
public static final TileEntityType<DropperTileEntity> DROPPER
public static final TileEntityType<SignTileEntity> SIGN
public static final TileEntityType<MobSpawnerTileEntity> MOB_SPAWNER
public static final TileEntityType<PistonTileEntity> PISTON
public static final TileEntityType<BrewingStandTileEntity> BREWING_STAND
public static final TileEntityType<EnchantingTableTileEntity> ENCHANTING_TABLE
public static final TileEntityType<EndPortalTileEntity> END_PORTAL
public static final TileEntityType<BeaconTileEntity> BEACON
public static final TileEntityType<SkullTileEntity> SKULL
public static final TileEntityType<DaylightDetectorTileEntity> DAYLIGHT_DETECTOR
public static final TileEntityType<HopperTileEntity> HOPPER
public static final TileEntityType<ComparatorTileEntity> COMPARATOR
public static final TileEntityType<BannerTileEntity> BANNER
public static final TileEntityType<StructureBlockTileEntity> STRUCTURE_BLOCK
public static final TileEntityType<EndGatewayTileEntity> END_GATEWAY
public static final TileEntityType<CommandBlockTileEntity> COMMAND_BLOCK
public static final TileEntityType<ShulkerBoxTileEntity> SHULKER_BOX
public static final TileEntityType<BedTileEntity> BED
public static final TileEntityType<ConduitTileEntity> CONDUIT
public static final TileEntityType<BarrelTileEntity> BARREL
public static final TileEntityType<SmokerTileEntity> SMOKER
public static final TileEntityType<BlastFurnaceTileEntity> BLAST_FURNACE
public static final TileEntityType<LecternTileEntity> LECTERN
public static final TileEntityType<BellTileEntity> BELL
public static final TileEntityType<JigsawTileEntity> JIGSAW
public static final TileEntityType<CampfireTileEntity> CAMPFIRE
public static final TileEntityType<BeehiveTileEntity> BEEHIVE
private final java.util.function.Supplier<? extends T extends TileEntity> factory
private final java.util.Set<Block> validBlocks
private final com.mojang.datafixers.types.Type<?> datafixerType
@Nullable public static ResourceLocation getId(TileEntityType<?> tileEntityTypeIn)
private static <T extends TileEntity> TileEntityType<T> register(java.lang.String key, TileEntityType.Builder<T> builder)
@Nullable public T create()
public boolean isValidBlock(Block blockIn)
@Nullable public T func_226986_a_(IBlockReader blockReader, BlockPos pos)