Interface ITickableBlockMinecolonies

All Superinterfaces:
net.minecraft.world.level.block.EntityBlock
All Known Implementing Classes:
AbstractBlockBarrel, AbstractBlockHut, AbstractColonyBlock, BlockBarrel, BlockColonySign, BlockCompostedDirt, BlockHutAlchemist, BlockHutArchery, BlockHutBaker, BlockHutBarracks, BlockHutBarracksTower, BlockHutBeekeeper, BlockHutBlacksmith, BlockHutBuilder, BlockHutChickenHerder, BlockHutCitizen, BlockHutCombatAcademy, BlockHutComposter, BlockHutConcreteMixer, BlockHutCook, BlockHutCowboy, BlockHutCrusher, BlockHutDeliveryman, BlockHutDyer, BlockHutEnchanter, BlockHutFarmer, BlockHutFisherman, BlockHutFletcher, BlockHutFlorist, BlockHutGateHouse, BlockHutGlassblower, BlockHutGraveyard, BlockHutGuardTower, BlockHutHospital, BlockHutKitchen, BlockHutLibrary, BlockHutLumberjack, BlockHutMechanic, BlockHutMiner, BlockHutMysticalSite, BlockHutNetherWorker, BlockHutPlantation, BlockHutRabbitHutch, BlockHutSawmill, BlockHutSchool, BlockHutShepherd, BlockHutSifter, BlockHutSmeltery, BlockHutStable, BlockHutStonemason, BlockHutStoneSmeltery, BlockHutSwineHerder, BlockHutTavern, BlockHutTownHall, BlockHutUniversity, BlockHutWareHouse, BlockPostBox, BlockStash, LargeQuarry, MediumQuarry, SimpleQuarry

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

    Modifier and Type
    Method
    Description
    static <E extends net.minecraft.world.level.block.entity.BlockEntity, A extends net.minecraft.world.level.block.entity.BlockEntity>
    @Nullable net.minecraft.world.level.block.entity.BlockEntityTicker<A>
    createTickerHelper(net.minecraft.world.level.block.entity.BlockEntityType<A> p_152133_, net.minecraft.world.level.block.entity.BlockEntityType<E> p_152134_, net.minecraft.world.level.block.entity.BlockEntityTicker<? super E> p_152135_)
     
    default <T extends net.minecraft.world.level.block.entity.BlockEntity>
    @Nullable net.minecraft.world.level.block.entity.BlockEntityTicker<T>
    getTicker(@NotNull net.minecraft.world.level.Level level, @NotNull net.minecraft.world.level.block.state.BlockState state, @NotNull net.minecraft.world.level.block.entity.BlockEntityType<T> type)
     

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

    getListener, newBlockEntity
  • Method Details

    • getTicker

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

      @Nullable static <E extends net.minecraft.world.level.block.entity.BlockEntity, A extends net.minecraft.world.level.block.entity.BlockEntity> @Nullable net.minecraft.world.level.block.entity.BlockEntityTicker<A> createTickerHelper(net.minecraft.world.level.block.entity.BlockEntityType<A> p_152133_, net.minecraft.world.level.block.entity.BlockEntityType<E> p_152134_, net.minecraft.world.level.block.entity.BlockEntityTicker<? super E> p_152135_)