Interface TickingEntityBlock

All Superinterfaces:
net.minecraft.world.level.block.EntityBlock

public interface TickingEntityBlock extends net.minecraft.world.level.block.EntityBlock
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.level.block.entity.BlockEntityType<?>
     
    default <T extends net.minecraft.world.level.block.entity.BlockEntity>
    @Nullable net.minecraft.world.level.block.entity.BlockEntityTicker<T>
    getTicker(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.entity.BlockEntityType<T> type)
     

    Methods inherited from interface net.minecraft.world.level.block.EntityBlock

    getListener, newBlockEntity
  • Method Details

    • getAssociatedType

      net.minecraft.world.level.block.entity.BlockEntityType<?> getAssociatedType()
    • getTicker

      @Nullable default <T extends net.minecraft.world.level.block.entity.BlockEntity> @Nullable net.minecraft.world.level.block.entity.BlockEntityTicker<T> getTicker(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.entity.BlockEntityType<T> type)
      Specified by:
      getTicker in interface net.minecraft.world.level.block.EntityBlock