Package net.minecraft.block.entity
Class SculkShriekerWarningManager
java.lang.Object
net.minecraft.block.entity.SculkShriekerWarningManager
- Mappings:
Namespace Name named net/minecraft/block/entity/SculkShriekerWarningManager
intermediary net/minecraft/class_7262
official cmd
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<SculkShriekerWarningManager> private int
static final int
private int
private static final int
private static final int
private static final double
private static final int
private int
-
Constructor Summary
ConstructorDescriptionSculkShriekerWarningManager
(int ticksSinceLastWarning, int warningLevel, int cooldownTicks) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
copy
(SculkShriekerWarningManager other) private void
private static List
<ServerPlayerEntity> getPlayersInRange
(ServerWorld world, BlockPos pos) int
private void
private boolean
private static boolean
isWardenNearby
(ServerWorld world, BlockPos pos) void
reset()
void
setWarningLevel
(int warningLevel) void
tick()
static OptionalInt
warnNearbyPlayers
(ServerWorld world, BlockPos pos, ServerPlayerEntity player)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/block/entity/SculkShriekerWarningManager;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_38183
Lnet/minecraft/class_7262;field_38183:Lcom/mojang/serialization/Codec;
official a
Lcmd;a:Lcom/mojang/serialization/Codec;
-
MAX_WARNING_LEVEL
public static final int MAX_WARNING_LEVEL- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_WARNING_LEVEL
Lnet/minecraft/block/entity/SculkShriekerWarningManager;MAX_WARNING_LEVEL:I
intermediary field_38184
Lnet/minecraft/class_7262;field_38184:I
official b
Lcmd;b:I
-
WARN_RANGE
private static final double WARN_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector named WARN_RANGE
Lnet/minecraft/block/entity/SculkShriekerWarningManager;WARN_RANGE:D
intermediary field_38738
Lnet/minecraft/class_7262;field_38738:D
official c
Lcmd;c:D
-
WARN_WARDEN_RANGE
private static final int WARN_WARDEN_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector named WARN_WARDEN_RANGE
Lnet/minecraft/block/entity/SculkShriekerWarningManager;WARN_WARDEN_RANGE:I
intermediary field_38186
Lnet/minecraft/class_7262;field_38186:I
official d
Lcmd;d:I
-
WARN_DECREASE_COOLDOWN
private static final int WARN_DECREASE_COOLDOWN- See Also:
- Mappings:
Namespace Name Mixin selector named WARN_DECREASE_COOLDOWN
Lnet/minecraft/block/entity/SculkShriekerWarningManager;WARN_DECREASE_COOLDOWN:I
intermediary field_38187
Lnet/minecraft/class_7262;field_38187:I
official e
Lcmd;e:I
-
WARN_INCREASE_COOLDOWN
private static final int WARN_INCREASE_COOLDOWN- See Also:
- Mappings:
Namespace Name Mixin selector named WARN_INCREASE_COOLDOWN
Lnet/minecraft/block/entity/SculkShriekerWarningManager;WARN_INCREASE_COOLDOWN:I
intermediary field_38188
Lnet/minecraft/class_7262;field_38188:I
official f
Lcmd;f:I
-
ticksSinceLastWarning
private int ticksSinceLastWarning- Mappings:
Namespace Name Mixin selector named ticksSinceLastWarning
Lnet/minecraft/block/entity/SculkShriekerWarningManager;ticksSinceLastWarning:I
intermediary field_38194
Lnet/minecraft/class_7262;field_38194:I
official g
Lcmd;g:I
-
warningLevel
private int warningLevel- Mappings:
Namespace Name Mixin selector named warningLevel
Lnet/minecraft/block/entity/SculkShriekerWarningManager;warningLevel:I
intermediary field_38195
Lnet/minecraft/class_7262;field_38195:I
official h
Lcmd;h:I
-
cooldownTicks
private int cooldownTicks- Mappings:
Namespace Name Mixin selector named cooldownTicks
Lnet/minecraft/block/entity/SculkShriekerWarningManager;cooldownTicks:I
intermediary field_38196
Lnet/minecraft/class_7262;field_38196:I
official i
Lcmd;i:I
-
-
Constructor Details
-
SculkShriekerWarningManager
public SculkShriekerWarningManager(int ticksSinceLastWarning, int warningLevel, int cooldownTicks) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/block/entity/SculkShriekerWarningManager;<init>(III)V
intermediary <init>
Lnet/minecraft/class_7262;<init>(III)V
official <init>
Lcmd;<init>(III)V
-
-
Method Details
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/block/entity/SculkShriekerWarningManager;tick()V
intermediary method_42247
Lnet/minecraft/class_7262;method_42247()V
official a
Lcmd;a()V
-
reset
public void reset()- Mappings:
Namespace Name Mixin selector named reset
Lnet/minecraft/block/entity/SculkShriekerWarningManager;reset()V
intermediary method_42258
Lnet/minecraft/class_7262;method_42258()V
official b
Lcmd;b()V
-
warnNearbyPlayers
public static OptionalInt warnNearbyPlayers(ServerWorld world, BlockPos pos, ServerPlayerEntity player) - Mappings:
Namespace Name Mixin selector 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;
intermediary method_42250
Lnet/minecraft/class_7262;method_42250(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_3222;)Ljava/util/OptionalInt;
official a
Lcmd;a(Laqu;Ljd;Laqv;)Ljava/util/OptionalInt;
-
isInCooldown
private boolean isInCooldown()- Mappings:
Namespace Name Mixin selector named isInCooldown
Lnet/minecraft/block/entity/SculkShriekerWarningManager;isInCooldown()Z
intermediary method_44003
Lnet/minecraft/class_7262;method_44003()Z
official d
Lcmd;d()Z
-
isWardenNearby
- Mappings:
Namespace Name Mixin selector named isWardenNearby
Lnet/minecraft/block/entity/SculkShriekerWarningManager;isWardenNearby(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_42259
Lnet/minecraft/class_7262;method_42259(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Z
official a
Lcmd;a(Laqu;Ljd;)Z
-
getPlayersInRange
- Mappings:
Namespace Name Mixin selector named getPlayersInRange
Lnet/minecraft/block/entity/SculkShriekerWarningManager;getPlayersInRange(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Ljava/util/List;
intermediary method_42265
Lnet/minecraft/class_7262;method_42265(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Ljava/util/List;
official b
Lcmd;b(Laqu;Ljd;)Ljava/util/List;
-
increaseWarningLevel
private void increaseWarningLevel()- Mappings:
Namespace Name Mixin selector named increaseWarningLevel
Lnet/minecraft/block/entity/SculkShriekerWarningManager;increaseWarningLevel()V
intermediary method_42261
Lnet/minecraft/class_7262;method_42261()V
official e
Lcmd;e()V
-
decreaseWarningLevel
private void decreaseWarningLevel()- Mappings:
Namespace Name Mixin selector named decreaseWarningLevel
Lnet/minecraft/block/entity/SculkShriekerWarningManager;decreaseWarningLevel()V
intermediary method_42264
Lnet/minecraft/class_7262;method_42264()V
official f
Lcmd;f()V
-
setWarningLevel
public void setWarningLevel(int warningLevel) - Mappings:
Namespace Name Mixin selector named setWarningLevel
Lnet/minecraft/block/entity/SculkShriekerWarningManager;setWarningLevel(I)V
intermediary method_42248
Lnet/minecraft/class_7262;method_42248(I)V
official a
Lcmd;a(I)V
-
getWarningLevel
public int getWarningLevel()- Mappings:
Namespace Name Mixin selector named getWarningLevel
Lnet/minecraft/block/entity/SculkShriekerWarningManager;getWarningLevel()I
intermediary method_42267
Lnet/minecraft/class_7262;method_42267()I
official c
Lcmd;c()I
-
copy
- Mappings:
Namespace Name Mixin selector named copy
Lnet/minecraft/block/entity/SculkShriekerWarningManager;copy(Lnet/minecraft/block/entity/SculkShriekerWarningManager;)V
intermediary method_42252
Lnet/minecraft/class_7262;method_42252(Lnet/minecraft/class_7262;)V
official a
Lcmd;a(Lcmd;)V
-