Package net.minecraft.block.entity
Class SculkShriekerWarningManager
java.lang.Object
net.minecraft.block.entity.SculkShriekerWarningManager
- Mappings:
Namespace Name official bsl
intermediary net/minecraft/class_7262
named net/minecraft/block/entity/SculkShriekerWarningManager
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SculkShriekerWarningManager>
private int
static final int
private static final int
private static final int
private static final int
private static final double
private int
private int
-
Constructor Summary
ConstructorDescriptionSculkShriekerWarningManager
(int ticksSinceLastWarning, int warningLevel, int cooldownTicks) -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
canIncreaseWarningLevel
(ServerWorld serverWorld, BlockPos blockPos) private void
copy
(SculkShriekerWarningManager other) private void
private static List<ServerPlayerEntity>
getPlayersInRange
(ServerWorld world, BlockPos pos) int
private void
private boolean
void
reset()
void
setWarningLevel
(int warningLevel) void
tick()
static OptionalInt
warnNearbyPlayers
(ServerWorld serverWorld, BlockPos blockPos, ServerPlayerEntity serverPlayerEntity)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lbsl;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;
-
field_38184
public static final int field_38184- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lbsl;b:I
intermediary field_38184
Lnet/minecraft/class_7262;field_38184:I
named field_38184
Lnet/minecraft/block/entity/SculkShriekerWarningManager;field_38184:I
-
field_38738
private static final double field_38738- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lbsl;c:D
intermediary field_38738
Lnet/minecraft/class_7262;field_38738:D
named field_38738
Lnet/minecraft/block/entity/SculkShriekerWarningManager;field_38738:D
-
field_38186
private static final int field_38186- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lbsl;d:I
intermediary field_38186
Lnet/minecraft/class_7262;field_38186:I
named field_38186
Lnet/minecraft/block/entity/SculkShriekerWarningManager;field_38186:I
-
field_38187
private static final int field_38187- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lbsl;e:I
intermediary field_38187
Lnet/minecraft/class_7262;field_38187:I
named field_38187
Lnet/minecraft/block/entity/SculkShriekerWarningManager;field_38187:I
-
field_38188
private static final int field_38188- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lbsl;f:I
intermediary field_38188
Lnet/minecraft/class_7262;field_38188:I
named field_38188
Lnet/minecraft/block/entity/SculkShriekerWarningManager;field_38188:I
-
ticksSinceLastWarning
private int ticksSinceLastWarning- Mappings:
Namespace Name Mixin selector official g
Lbsl;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
Lbsl;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
Lbsl;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>
Lbsl;<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
Lbsl;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
Lbsl;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 serverWorld, BlockPos blockPos, ServerPlayerEntity serverPlayerEntity) - Mappings:
Namespace Name Mixin selector official a
Lbsl;a(Lafo;Lgt;Lafp;)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;
-
method_44003
private boolean method_44003()- Mappings:
Namespace Name Mixin selector official d
Lbsl;d()Z
intermediary method_44003
Lnet/minecraft/class_7262;method_44003()Z
named method_44003
Lnet/minecraft/block/entity/SculkShriekerWarningManager;method_44003()Z
-
canIncreaseWarningLevel
- Mappings:
Namespace Name Mixin selector official a
Lbsl;a(Lafo;Lgt;)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
- Mappings:
Namespace Name Mixin selector official b
Lbsl;b(Lafo;Lgt;)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
Lbsl;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
Lbsl;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
Lbsl;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
Lbsl;c()I
intermediary method_42267
Lnet/minecraft/class_7262;method_42267()I
named getWarningLevel
Lnet/minecraft/block/entity/SculkShriekerWarningManager;getWarningLevel()I
-
copy
- Mappings:
Namespace Name Mixin selector official a
Lbsl;a(Lbsl;)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
-