Class SculkShriekerBlockEntity

java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.SculkShriekerBlockEntity
All Implemented Interfaces:
VibrationListener.Callback

public class SculkShriekerBlockEntity extends BlockEntity implements VibrationListener.Callback
Mappings:
Namespace Name
official coj
intermediary net/minecraft/class_6998
named net/minecraft/block/entity/SculkShriekerBlockEntity
  • Field Details

    • RANGE

      public static final int RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcoj;a:I
      intermediary field_36884 Lnet/minecraft/class_6998;field_36884:I
      named RANGE Lnet/minecraft/block/entity/SculkShriekerBlockEntity;RANGE:I
    • vibrationListener

      private final VibrationListener vibrationListener
      Mappings:
      Namespace Name Mixin selector
      official b Lcoj;b:Lctz;
      intermediary field_36885 Lnet/minecraft/class_6998;field_36885:Lnet/minecraft/class_5718;
      named vibrationListener Lnet/minecraft/block/entity/SculkShriekerBlockEntity;vibrationListener:Lnet/minecraft/world/event/listener/VibrationListener;
  • Constructor Details

    • SculkShriekerBlockEntity

      public SculkShriekerBlockEntity(BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcoj;<init>(Lgh;Lcpp;)V
      intermediary <init> Lnet/minecraft/class_6998;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      named <init> Lnet/minecraft/block/entity/SculkShriekerBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
  • Method Details

    • getVibrationListener

      public VibrationListener getVibrationListener()
      Mappings:
      Namespace Name Mixin selector
      official c Lcoj;c()Lctz;
      intermediary method_40826 Lnet/minecraft/class_6998;method_40826()Lnet/minecraft/class_5718;
      named getVibrationListener Lnet/minecraft/block/entity/SculkShriekerBlockEntity;getVibrationListener()Lnet/minecraft/world/event/listener/VibrationListener;
    • canAccept

      public boolean canAccept(GameEvent event, @Nullable @Nullable Entity sourceEntity)
      Specified by:
      canAccept in interface VibrationListener.Callback
      Mappings:
      Namespace Name Mixin selector
      official a_ Lctz$b;a_(Lcts;Laxe;)Z
      intermediary method_40825 Lnet/minecraft/class_5718$class_5719;method_40825(Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;)Z
      named canAccept Lnet/minecraft/world/event/listener/VibrationListener$Callback;canAccept(Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;)Z
    • accepts

      public boolean accepts(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable @Nullable Entity sourceEntity)
      Returns whether the callback wants to accept this event.
      Specified by:
      accepts in interface VibrationListener.Callback
      Mappings:
      Namespace Name Mixin selector
      official a Lctz$b;a(Lcbf;Lctu;Lgh;Lcts;Laxe;)Z
      intermediary method_32970 Lnet/minecraft/class_5718$class_5719;method_32970(Lnet/minecraft/class_1937;Lnet/minecraft/class_5714;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;)Z
      named accepts Lnet/minecraft/world/event/listener/VibrationListener$Callback;accepts(Lnet/minecraft/world/World;Lnet/minecraft/world/event/listener/GameEventListener;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;)Z
    • accept

      public void accept(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable @Nullable Entity sourceEntity, int delay)
      Accepts a game event after delay.
      Specified by:
      accept in interface VibrationListener.Callback
      Mappings:
      Namespace Name Mixin selector
      official a Lctz$b;a(Lcbf;Lctu;Lgh;Lcts;Laxe;I)V
      intermediary method_32969 Lnet/minecraft/class_5718$class_5719;method_32969(Lnet/minecraft/class_1937;Lnet/minecraft/class_5714;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;I)V
      named accept Lnet/minecraft/world/event/listener/VibrationListener$Callback;accept(Lnet/minecraft/world/World;Lnet/minecraft/world/event/listener/GameEventListener;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;I)V