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 ctl
intermediary net/minecraft/class_7133
named net/minecraft/block/entity/SculkShriekerBlockEntity
  • Field Details

    • field_38237

      private static final org.slf4j.Logger field_38237
      Mappings:
      Namespace Name Mixin selector
      official a Lctl;a:Lorg/slf4j/Logger;
      intermediary field_38237 Lnet/minecraft/class_7133;field_38237:Lorg/slf4j/Logger;
      named field_38237 Lnet/minecraft/block/entity/SculkShriekerBlockEntity;field_38237:Lorg/slf4j/Logger;
    • RANGE

      private static final int RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lctl;b:I
      intermediary field_38238 Lnet/minecraft/class_7133;field_38238:I
      named RANGE Lnet/minecraft/block/entity/SculkShriekerBlockEntity;RANGE:I
    • field_38750

      private static final int field_38750
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lctl;c:I
      intermediary field_38750 Lnet/minecraft/class_7133;field_38750:I
      named field_38750 Lnet/minecraft/block/entity/SculkShriekerBlockEntity;field_38750:I
    • field_38751

      private static final int field_38751
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lctl;d:I
      intermediary field_38751 Lnet/minecraft/class_7133;field_38751:I
      named field_38751 Lnet/minecraft/block/entity/SculkShriekerBlockEntity;field_38751:I
    • field_38752

      private static final int field_38752
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lctl;e:I
      intermediary field_38752 Lnet/minecraft/class_7133;field_38752:I
      named field_38752 Lnet/minecraft/block/entity/SculkShriekerBlockEntity;field_38752:I
    • field_38753

      private static final int field_38753
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lctl;f:I
      intermediary field_38753 Lnet/minecraft/class_7133;field_38753:I
      named field_38753 Lnet/minecraft/block/entity/SculkShriekerBlockEntity;field_38753:I
    • field_38754

      private static final int field_38754
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lctl;g:I
      intermediary field_38754 Lnet/minecraft/class_7133;field_38754:I
      named field_38754 Lnet/minecraft/block/entity/SculkShriekerBlockEntity;field_38754:I
    • WARNING_SOUNDS

      private static final Int2ObjectMap<SoundEvent> WARNING_SOUNDS
      Mappings:
      Namespace Name Mixin selector
      official h Lctl;h:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      intermediary field_38755 Lnet/minecraft/class_7133;field_38755:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      named WARNING_SOUNDS Lnet/minecraft/block/entity/SculkShriekerBlockEntity;WARNING_SOUNDS:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
    • field_38756

      private static final int field_38756
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official i Lctl;i:I
      intermediary field_38756 Lnet/minecraft/class_7133;field_38756:I
      named field_38756 Lnet/minecraft/block/entity/SculkShriekerBlockEntity;field_38756:I
    • warningLevel

      private int warningLevel
      Mappings:
      Namespace Name Mixin selector
      official j Lctl;j:I
      intermediary field_38757 Lnet/minecraft/class_7133;field_38757:I
      named warningLevel Lnet/minecraft/block/entity/SculkShriekerBlockEntity;warningLevel:I
    • vibrationListener

      private VibrationListener vibrationListener
      Mappings:
      Namespace Name Mixin selector
      official k Lctl;k:Lczd;
      intermediary field_38239 Lnet/minecraft/class_7133;field_38239: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> Lctl;<init>(Lgt;Lcur;)V
      intermediary <init> Lnet/minecraft/class_7133;<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 Lctl;c()Lczd;
      intermediary method_42325 Lnet/minecraft/class_7133;method_42325()Lnet/minecraft/class_5718;
      named getVibrationListener Lnet/minecraft/block/entity/SculkShriekerBlockEntity;getVibrationListener()Lnet/minecraft/world/event/listener/VibrationListener;
    • readNbt

      public void readNbt(NbtCompound nbt)
      Overrides:
      readNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lcsl;a(Lpj;)V
      intermediary method_11014 Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)V
      named readNbt Lnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • writeNbt

      protected void writeNbt(NbtCompound nbt)
      Overrides:
      writeNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lcsl;b(Lpj;)V
      intermediary method_11007 Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)V
      named writeNbt Lnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • getTag

      public TagKey<GameEvent> getTag()
      Specified by:
      getTag in interface VibrationListener.Callback
      Mappings:
      Namespace Name Mixin selector
      official fL Lczd$b;fL()Lakh;
      intermediary method_42210 Lnet/minecraft/class_5718$class_5719;method_42210()Lnet/minecraft/class_6862;
      named getTag Lnet/minecraft/world/event/listener/VibrationListener$Callback;getTag()Lnet/minecraft/tag/TagKey;
    • accepts

      public boolean accepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.Emitter emitter)
      Returns whether the callback wants to accept this event.
      Specified by:
      accepts in interface VibrationListener.Callback
      Mappings:
      Namespace Name Mixin selector
      official a Lczd$b;a(Lafo;Lcyz;Lgt;Lcyx;Lcyx$a;)Z
      intermediary method_32970 Lnet/minecraft/class_5718$class_5719;method_32970(Lnet/minecraft/class_3218;Lnet/minecraft/class_5714;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_5712$class_7397;)Z
      named accepts Lnet/minecraft/world/event/listener/VibrationListener$Callback;accepts(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/event/listener/GameEventListener;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/world/event/GameEvent$Emitter;)Z
    • findResponsiblePlayerFromEntity

      @Nullable public static @Nullable ServerPlayerEntity findResponsiblePlayerFromEntity(@Nullable @Nullable Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lctl;a(Lbaq;)Lafp;
      intermediary method_44018 Lnet/minecraft/class_7133;method_44018(Lnet/minecraft/class_1297;)Lnet/minecraft/class_3222;
      named findResponsiblePlayerFromEntity Lnet/minecraft/block/entity/SculkShriekerBlockEntity;findResponsiblePlayerFromEntity(Lnet/minecraft/entity/Entity;)Lnet/minecraft/server/network/ServerPlayerEntity;
    • accept

      public void accept(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable @Nullable Entity entity, @Nullable @Nullable Entity sourceEntity, float distance)
      Accepts a game event after delay.
      Specified by:
      accept in interface VibrationListener.Callback
      Mappings:
      Namespace Name Mixin selector
      official a Lczd$b;a(Lafo;Lcyz;Lgt;Lcyx;Lbaq;Lbaq;F)V
      intermediary method_32969 Lnet/minecraft/class_5718$class_5719;method_32969(Lnet/minecraft/class_3218;Lnet/minecraft/class_5714;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;F)V
      named accept Lnet/minecraft/world/event/listener/VibrationListener$Callback;accept(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/event/listener/GameEventListener;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;F)V
    • shriek

      public void shriek(ServerWorld world, @Nullable @Nullable ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lctl;a(Lafo;Lafp;)V
      intermediary method_43141 Lnet/minecraft/class_7133;method_43141(Lnet/minecraft/class_3218;Lnet/minecraft/class_3222;)V
      named shriek Lnet/minecraft/block/entity/SculkShriekerBlockEntity;shriek(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • trySyncWarningLevel

      private boolean trySyncWarningLevel(ServerWorld world, ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official b Lctl;b(Lafo;Lafp;)Z
      intermediary method_43142 Lnet/minecraft/class_7133;method_43142(Lnet/minecraft/class_3218;Lnet/minecraft/class_3222;)Z
      named trySyncWarningLevel Lnet/minecraft/block/entity/SculkShriekerBlockEntity;trySyncWarningLevel(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/server/network/ServerPlayerEntity;)Z
    • shriek

      private void shriek(ServerWorld world, @Nullable @Nullable Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lctl;a(Lafo;Lbaq;)V
      intermediary method_44017 Lnet/minecraft/class_7133;method_44017(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;)V
      named shriek Lnet/minecraft/block/entity/SculkShriekerBlockEntity;shriek(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;)V
    • canWarn

      private boolean canWarn(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      official b Lctl;b(Lafo;)Z
      intermediary method_43150 Lnet/minecraft/class_7133;method_43150(Lnet/minecraft/class_3218;)Z
      named canWarn Lnet/minecraft/block/entity/SculkShriekerBlockEntity;canWarn(Lnet/minecraft/server/world/ServerWorld;)Z
    • warn

      public void warn(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      official a Lctl;a(Lafo;)V
      intermediary method_43147 Lnet/minecraft/class_7133;method_43147(Lnet/minecraft/class_3218;)V
      named warn Lnet/minecraft/block/entity/SculkShriekerBlockEntity;warn(Lnet/minecraft/server/world/ServerWorld;)V
    • playWarningSound

      private void playWarningSound()
      Mappings:
      Namespace Name Mixin selector
      official d Lctl;d()V
      intermediary method_43151 Lnet/minecraft/class_7133;method_43151()V
      named playWarningSound Lnet/minecraft/block/entity/SculkShriekerBlockEntity;playWarningSound()V
    • trySpawnWarden

      private boolean trySpawnWarden(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      official c Lctl;c(Lafo;)Z
      intermediary method_43148 Lnet/minecraft/class_7133;method_43148(Lnet/minecraft/class_3218;)Z
      named trySpawnWarden Lnet/minecraft/block/entity/SculkShriekerBlockEntity;trySpawnWarden(Lnet/minecraft/server/world/ServerWorld;)Z
    • onListen

      public void onListen()
      Specified by:
      onListen in interface VibrationListener.Callback
      Mappings:
      Namespace Name Mixin selector
      official f Lczd$b;f()V
      intermediary method_42672 Lnet/minecraft/class_5718$class_5719;method_42672()V
      named onListen Lnet/minecraft/world/event/listener/VibrationListener$Callback;onListen()V