Package net.minecraft.client.network
Class ChatPreviewRequester.IdIncrementor
java.lang.Object
net.minecraft.client.network.ChatPreviewRequester.IdIncrementor
- Enclosing class:
ChatPreviewRequester
A utility class that increments the ID by a random number from 0 to 99.
- Mappings:
Namespace Name official ehf$b
intermediary net/minecraft/class_7516$class_7482
named net/minecraft/client/network/ChatPreviewRequester$IdIncrementor
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
MAX_INCREMENT
private static final int MAX_INCREMENT- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lehf$b;a:I
intermediary field_39335
Lnet/minecraft/class_7516$class_7482;field_39335:I
named MAX_INCREMENT
Lnet/minecraft/client/network/ChatPreviewRequester$IdIncrementor;MAX_INCREMENT:I
-
random
- Mappings:
Namespace Name Mixin selector official b
Lehf$b;b:Lamn;
intermediary field_39336
Lnet/minecraft/class_7516$class_7482;field_39336:Lnet/minecraft/class_5819;
named random
Lnet/minecraft/client/network/ChatPreviewRequester$IdIncrementor;random:Lnet/minecraft/util/math/random/Random;
-
current
private int current- Mappings:
Namespace Name Mixin selector official c
Lehf$b;c:I
intermediary field_39337
Lnet/minecraft/class_7516$class_7482;field_39337:I
named current
Lnet/minecraft/client/network/ChatPreviewRequester$IdIncrementor;current:I
-
-
Constructor Details
-
IdIncrementor
IdIncrementor()
-
-
Method Details
-
next
public int next()Returns the next ID.- Returns:
- the next ID
- Mappings:
Namespace Name Mixin selector official a
Lehf$b;a()I
intermediary method_44046
Lnet/minecraft/class_7516$class_7482;method_44046()I
named next
Lnet/minecraft/client/network/ChatPreviewRequester$IdIncrementor;next()I
-