Class LodestoneBlockEntityType<T extends LodestoneBlockEntity>
java.lang.Object
net.minecraft.world.level.block.entity.BlockEntityType<T>
team.lodestar.lodestone.modules.toolkit.blockentity.LodestoneBlockEntityType<T>
public class LodestoneBlockEntityType<T extends LodestoneBlockEntity>
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 extends net.minecraft.world.level.block.entity.BlockEntity>, net.minecraft.world.level.block.entity.BlockEntityType.Builder<T extends net.minecraft.world.level.block.entity.BlockEntity> -
Field Summary
FieldsFields 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, CRAFTER, 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, SHULKER_BOX, SIGN, SKULL, SMOKER, STRUCTURE_BLOCK, TRAPPED_CHEST, TRIAL_SPAWNER, VAULT -
Constructor Summary
ConstructorsConstructorDescriptionLodestoneBlockEntityType(LodestoneBlockEntityTypeBuilder.LodestoneBlockEntitySupplier<? extends T> factory, Set<net.minecraft.world.level.block.Block> validBlocks, LodestoneBlockEntityTicker.Type type) -
Method Summary
Modifier and TypeMethodDescriptionfinal LodestoneBlockEntityTicker<T> getBlockEntityAwareTicker(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state, LodestoneBlockEntity blockEntity) final LodestoneBlockEntityTicker<T> getTickerUnsafe(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state) booleanhasTicker(net.minecraft.world.level.Level level) Methods inherited from class net.minecraft.world.level.block.entity.BlockEntityType
builtInRegistryHolder, create, getBlockEntity, getKey, getValidBlocks, isValid
-
Field Details
-
type
-
-
Constructor Details
-
LodestoneBlockEntityType
public LodestoneBlockEntityType(LodestoneBlockEntityTypeBuilder.LodestoneBlockEntitySupplier<? extends T> factory, Set<net.minecraft.world.level.block.Block> validBlocks, LodestoneBlockEntityTicker.Type type)
-
-
Method Details
-
getTickerUnsafe
public final LodestoneBlockEntityTicker<T> getTickerUnsafe(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state) -
getBlockEntityAwareTicker
public final LodestoneBlockEntityTicker<T> getBlockEntityAwareTicker(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state, LodestoneBlockEntity blockEntity) -
hasTicker
public boolean hasTicker(net.minecraft.world.level.Level level)
-