Class SculkShriekerWarningManager

java.lang.Object
net.minecraft.block.entity.SculkShriekerWarningManager

public class SculkShriekerWarningManager extends Object
Mappings:
Namespace Name
official bxu
intermediary net/minecraft/class_7262
named net/minecraft/block/entity/SculkShriekerWarningManager
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<SculkShriekerWarningManager> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lbxu;a:Lcom/mojang/serialization/Codec;
      intermediary field_38183 Lnet/minecraft/class_7262;field_38183:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/block/entity/SculkShriekerWarningManager;CODEC:Lcom/mojang/serialization/Codec;
    • MAX_WARNING_LEVEL

      public static final int MAX_WARNING_LEVEL
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbxu;b:I
      intermediary field_38184 Lnet/minecraft/class_7262;field_38184:I
      named MAX_WARNING_LEVEL Lnet/minecraft/block/entity/SculkShriekerWarningManager;MAX_WARNING_LEVEL:I
    • WARN_RANGE

      private static final double WARN_RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lbxu;c:D
      intermediary field_38738 Lnet/minecraft/class_7262;field_38738:D
      named WARN_RANGE Lnet/minecraft/block/entity/SculkShriekerWarningManager;WARN_RANGE:D
    • WARN_WARDEN_RANGE

      private static final int WARN_WARDEN_RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lbxu;d:I
      intermediary field_38186 Lnet/minecraft/class_7262;field_38186:I
      named WARN_WARDEN_RANGE Lnet/minecraft/block/entity/SculkShriekerWarningManager;WARN_WARDEN_RANGE:I
    • WARN_DECREASE_COOLDOWN

      private static final int WARN_DECREASE_COOLDOWN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lbxu;e:I
      intermediary field_38187 Lnet/minecraft/class_7262;field_38187:I
      named WARN_DECREASE_COOLDOWN Lnet/minecraft/block/entity/SculkShriekerWarningManager;WARN_DECREASE_COOLDOWN:I
    • WARN_INCREASE_COOLDOWN

      private static final int WARN_INCREASE_COOLDOWN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lbxu;f:I
      intermediary field_38188 Lnet/minecraft/class_7262;field_38188:I
      named WARN_INCREASE_COOLDOWN Lnet/minecraft/block/entity/SculkShriekerWarningManager;WARN_INCREASE_COOLDOWN:I
    • ticksSinceLastWarning

      private int ticksSinceLastWarning
      Mappings:
      Namespace Name Mixin selector
      official g Lbxu;g:I
      intermediary field_38194 Lnet/minecraft/class_7262;field_38194:I
      named ticksSinceLastWarning Lnet/minecraft/block/entity/SculkShriekerWarningManager;ticksSinceLastWarning:I
    • warningLevel

      private int warningLevel
      Mappings:
      Namespace Name Mixin selector
      official h Lbxu;h:I
      intermediary field_38195 Lnet/minecraft/class_7262;field_38195:I
      named warningLevel Lnet/minecraft/block/entity/SculkShriekerWarningManager;warningLevel:I
    • cooldownTicks

      private int cooldownTicks
      Mappings:
      Namespace Name Mixin selector
      official i Lbxu;i:I
      intermediary field_38196 Lnet/minecraft/class_7262;field_38196:I
      named cooldownTicks Lnet/minecraft/block/entity/SculkShriekerWarningManager;cooldownTicks:I
  • Constructor Details

    • SculkShriekerWarningManager

      public SculkShriekerWarningManager(int ticksSinceLastWarning, int warningLevel, int cooldownTicks)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbxu;<init>(III)V
      intermediary <init> Lnet/minecraft/class_7262;<init>(III)V
      named <init> Lnet/minecraft/block/entity/SculkShriekerWarningManager;<init>(III)V
  • Method Details

    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official a Lbxu;a()V
      intermediary method_42247 Lnet/minecraft/class_7262;method_42247()V
      named tick Lnet/minecraft/block/entity/SculkShriekerWarningManager;tick()V
    • reset

      public void reset()
      Mappings:
      Namespace Name Mixin selector
      official b Lbxu;b()V
      intermediary method_42258 Lnet/minecraft/class_7262;method_42258()V
      named reset Lnet/minecraft/block/entity/SculkShriekerWarningManager;reset()V
    • warnNearbyPlayers

      public static OptionalInt warnNearbyPlayers(ServerWorld world, BlockPos pos, ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxu;a(Laif;Lgu;Laig;)Ljava/util/OptionalInt;
      intermediary method_42250 Lnet/minecraft/class_7262;method_42250(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_3222;)Ljava/util/OptionalInt;
      named warnNearbyPlayers Lnet/minecraft/block/entity/SculkShriekerWarningManager;warnNearbyPlayers(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/server/network/ServerPlayerEntity;)Ljava/util/OptionalInt;
    • isInCooldown

      private boolean isInCooldown()
      Mappings:
      Namespace Name Mixin selector
      official d Lbxu;d()Z
      intermediary method_44003 Lnet/minecraft/class_7262;method_44003()Z
      named isInCooldown Lnet/minecraft/block/entity/SculkShriekerWarningManager;isInCooldown()Z
    • canIncreaseWarningLevel

      private static boolean canIncreaseWarningLevel(ServerWorld world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxu;a(Laif;Lgu;)Z
      intermediary method_42259 Lnet/minecraft/class_7262;method_42259(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Z
      named canIncreaseWarningLevel Lnet/minecraft/block/entity/SculkShriekerWarningManager;canIncreaseWarningLevel(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Z
    • getPlayersInRange

      private static List<ServerPlayerEntity> getPlayersInRange(ServerWorld world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lbxu;b(Laif;Lgu;)Ljava/util/List;
      intermediary method_42265 Lnet/minecraft/class_7262;method_42265(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Ljava/util/List;
      named getPlayersInRange Lnet/minecraft/block/entity/SculkShriekerWarningManager;getPlayersInRange(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Ljava/util/List;
    • increaseWarningLevel

      private void increaseWarningLevel()
      Mappings:
      Namespace Name Mixin selector
      official e Lbxu;e()V
      intermediary method_42261 Lnet/minecraft/class_7262;method_42261()V
      named increaseWarningLevel Lnet/minecraft/block/entity/SculkShriekerWarningManager;increaseWarningLevel()V
    • decreaseWarningLevel

      private void decreaseWarningLevel()
      Mappings:
      Namespace Name Mixin selector
      official f Lbxu;f()V
      intermediary method_42264 Lnet/minecraft/class_7262;method_42264()V
      named decreaseWarningLevel Lnet/minecraft/block/entity/SculkShriekerWarningManager;decreaseWarningLevel()V
    • setWarningLevel

      public void setWarningLevel(int warningLevel)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxu;a(I)V
      intermediary method_42248 Lnet/minecraft/class_7262;method_42248(I)V
      named setWarningLevel Lnet/minecraft/block/entity/SculkShriekerWarningManager;setWarningLevel(I)V
    • getWarningLevel

      public int getWarningLevel()
      Mappings:
      Namespace Name Mixin selector
      official c Lbxu;c()I
      intermediary method_42267 Lnet/minecraft/class_7262;method_42267()I
      named getWarningLevel Lnet/minecraft/block/entity/SculkShriekerWarningManager;getWarningLevel()I
    • copy

      private void copy(SculkShriekerWarningManager other)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxu;a(Lbxu;)V
      intermediary method_42252 Lnet/minecraft/class_7262;method_42252(Lnet/minecraft/class_7262;)V
      named copy Lnet/minecraft/block/entity/SculkShriekerWarningManager;copy(Lnet/minecraft/block/entity/SculkShriekerWarningManager;)V