Package net.minecraft
Record Class class_9408<T>
java.lang.Object
java.lang.Record
net.minecraft.class_9408<T>
- Record Components:
rules
-top
-
public record class_9408<T>(class_9389<com.mojang.brigadier.StringReader> rules, class_9387<T> top)
extends Record
- Mappings:
Namespace Name official blk
intermediary net/minecraft/class_9408
named net/minecraft/class_9408
official a
intermediary comp_2484
named rules
official b
intermediary comp_2485
named top
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_9389
<com.mojang.brigadier.StringReader> The field for therules
record component.private final class_9387
<T> The field for thetop
record component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_9408
(class_9389<com.mojang.brigadier.StringReader> class_9389, class_9387<T> class_9387) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.method_58340
(class_9393<com.mojang.brigadier.StringReader> class_9393) method_58341
(com.mojang.brigadier.StringReader stringReader) CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> method_58342
(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder) class_9389
<com.mojang.brigadier.StringReader> rules()
Returns the value of therules
record component.top()
Returns the value of thetop
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_9408
public class_9408(class_9389<com.mojang.brigadier.StringReader> class_9389, class_9387<T> class_9387)
-
-
Method Details
-
method_58340
- Mappings:
Namespace Name Mixin selector official a
Lblk;a(Lblf;)Ljava/util/Optional;
intermediary method_58340
Lnet/minecraft/class_9408;method_58340(Lnet/minecraft/class_9393;)Ljava/util/Optional;
named method_58340
Lnet/minecraft/class_9408;method_58340(Lnet/minecraft/class_9393;)Ljava/util/Optional;
-
method_58341
public T method_58341(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lblk;a(Lcom/mojang/brigadier/StringReader;)Ljava/lang/Object;
intermediary method_58341
Lnet/minecraft/class_9408;method_58341(Lcom/mojang/brigadier/StringReader;)Ljava/lang/Object;
named method_58341
Lnet/minecraft/class_9408;method_58341(Lcom/mojang/brigadier/StringReader;)Ljava/lang/Object;
-
method_58342
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> method_58342(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder) - Mappings:
Namespace Name Mixin selector official a
Lblk;a(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary method_58342
Lnet/minecraft/class_9408;method_58342(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named method_58342
Lnet/minecraft/class_9408;method_58342(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
rules
Returns the value of therules
record component.- Returns:
- the value of the
rules
record component
-
top
Returns the value of thetop
record component.- Returns:
- the value of the
top
record component
-