Interface BlockEntityTicker<T extends BlockEntity>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface BlockEntityTicker<T extends BlockEntity>
Mappings:
Namespace Name
official ciq
intermediary net/minecraft/class_5558
named net/minecraft/block/entity/BlockEntityTicker
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    tick​(World world, BlockPos pos, BlockState state, T blockEntity)
    Runs this action on the given block entity.
  • Method Details

    • tick

      void tick(World world, BlockPos pos, BlockState state, T blockEntity)
      Runs this action on the given block entity. The world, block position, and block state are passed as context.
      Mappings:
      Namespace Name Mixin selector
      official tick Lciq;tick(Lbwp;Lgg;Lcks;Lcip;)V
      intermediary tick Lnet/minecraft/class_5558;tick(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2586;)V
      named tick Lnet/minecraft/block/entity/BlockEntityTicker;tick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BlockEntity;)V