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>
A functional interface that ticks a block entity. This is usually implemented as a static method in the block entity's class.
See Also:
Mappings:
Namespace Name
official dcw
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)
    Ticks the block entity.
  • Method Details

    • tick

      void tick(World world, BlockPos pos, BlockState state, T blockEntity)
      Ticks the block entity.
      Mappings:
      Namespace Name Mixin selector
      official tick Ldcw;tick(Lcpv;Lgw;Ldfj;Ldcv;)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