Interface ITE<T extends net.minecraft.world.level.block.entity.BlockEntity>
- All Superinterfaces:
net.minecraft.world.level.block.EntityBlock
- All Known Implementing Classes:
AbstractBellBlock,AbstractChassisBlock,AbstractChuteBlock,AbstractDirectionalFunnelBlock,AbstractFunnelBlock,AbstractHorizontalFunnelBlock,AbstractShaftBlock,AbstractSimpleShaftBlock,AdjustablePulleyBlock,AnalogLeverBlock,AndesiteFunnelBlock,ArmBlock,BasinBlock,BeltBlock,BeltFunnelBlock,BeltTunnelBlock,BlazeBurnerBlock,BrassDiodeBlock,BrassFunnelBlock,BrassTunnelBlock,CartAssemblerBlock,ChuteBlock,ClockworkBearingBlock,ClutchBlock,CogWheelBlock,ContentObserverBlock,CopperBacktankBlock,CreativeCrateBlock,CreativeMotorBlock,CrushingWheelBlock,CrushingWheelControllerBlock,CuckooClockBlock,DeployerBlock,DepotBlock,DisplayLinkBlock,DrillBlock,EjectorBlock,EncasedBeltBlock,EncasedCogwheelBlock,EncasedFanBlock,EncasedPipeBlock,EncasedShaftBlock,FlapDisplayBlock,FluidPipeBlock,FluidTankBlock,FluidValveBlock,FlywheelBlock,FunnelBlock,GantryCarriageBlock,GantryShaftBlock,GaugeBlock,GearboxBlock,GearshiftBlock,GirderEncasedShaftBlock,GlassFluidPipeBlock,HandCrankBlock,HarvesterBlock,HauntedBellBlock,HosePulleyBlock,ItemDrainBlock,ItemVaultBlock,LecternControllerBlock,LinearChassisBlock,MechanicalBearingBlock,MechanicalCrafterBlock,MechanicalMixerBlock,MechanicalPistonBlock,MechanicalPressBlock,MillstoneBlock,NixieTubeBlock,NozzleBlock,PeculiarBellBlock,PlacardBlock,PortableStorageInterfaceBlock,PoweredShaftBlock,PulleyBlock,PumpBlock,RadialChassisBlock,RedstoneLinkBlock,SawBlock,SchematicannonBlock,SchematicTableBlock,SequencedGearshiftBlock,ShaftBlock,SignalBlock,SlidingDoorBlock,SmartChuteBlock,SmartFluidPipeBlock,SpeedControllerBlock,SpoutBlock,StandardBogeyBlock,StationBlock,SteamEngineBlock,StickerBlock,StockpileSwitchBlock,ToolboxBlock,TrackBlock,TrackObserverBlock,TurntableBlock,ValveHandleBlock,WaterWheelBlock,WhistleBlock,WindmillBearingBlock
public interface ITE<T extends net.minecraft.world.level.block.entity.BlockEntity>
extends net.minecraft.world.level.block.EntityBlock
-
Method Summary
Modifier and TypeMethodDescriptiondefault <S extends net.minecraft.world.level.block.entity.BlockEntity>
net.minecraft.world.level.block.entity.BlockEntityTicker<S>getTicker(net.minecraft.world.level.Level p_153212_, net.minecraft.world.level.block.state.BlockState p_153213_, net.minecraft.world.level.block.entity.BlockEntityType<S> p_153214_) default TgetTileEntity(net.minecraft.world.level.BlockGetter worldIn, net.minecraft.core.BlockPos pos) getTileEntityOptional(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos) net.minecraft.world.level.block.entity.BlockEntityType<? extends T>default net.minecraft.world.level.block.entity.BlockEntitynewBlockEntity(net.minecraft.core.BlockPos p_153215_, net.minecraft.world.level.block.state.BlockState p_153216_) default net.minecraft.world.InteractionResultonTileEntityUse(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, Function<T, net.minecraft.world.InteractionResult> action) default voidwithTileEntityDo(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, Consumer<T> action) Methods inherited from interface net.minecraft.world.level.block.EntityBlock
getListener
-
Method Details
-
getTileEntityClass
-
getTileEntityType
net.minecraft.world.level.block.entity.BlockEntityType<? extends T> getTileEntityType() -
withTileEntityDo
-
onTileEntityUse
-
getTileEntityOptional
-
newBlockEntity
default net.minecraft.world.level.block.entity.BlockEntity newBlockEntity(net.minecraft.core.BlockPos p_153215_, net.minecraft.world.level.block.state.BlockState p_153216_) - Specified by:
newBlockEntityin interfacenet.minecraft.world.level.block.EntityBlock
-
getTicker
default <S extends net.minecraft.world.level.block.entity.BlockEntity> net.minecraft.world.level.block.entity.BlockEntityTicker<S> getTicker(net.minecraft.world.level.Level p_153212_, net.minecraft.world.level.block.state.BlockState p_153213_, net.minecraft.world.level.block.entity.BlockEntityType<S> p_153214_) - Specified by:
getTickerin interfacenet.minecraft.world.level.block.EntityBlock
-
getTileEntity
@Nullable default T getTileEntity(net.minecraft.world.level.BlockGetter worldIn, net.minecraft.core.BlockPos pos)
-