Package net.minecraft
Record Class class_8872<T>
java.lang.Object
java.lang.Record
net.minecraft.class_8872<T>
- Record Components:
getId
-entries
-
- All Implemented Interfaces:
class_8868<T>
,CommandFunction<T>
public record class_8872<T>(Identifier getId, List<class_8856<T>> entries)
extends Record
implements CommandFunction<T>, class_8868<T>
- Mappings:
Namespace Name official hb
intermediary net/minecraft/class_8872
named net/minecraft/class_8872
official a
intermediary comp_1994
named getId
official b
intermediary comp_1995
named entries
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<class_8856<T>>
The field for theentries
record component.private final Identifier
The field for thegetId
record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<class_8856<T>>
entries()
final boolean
Indicates whether some other object is "equal to" this one.getId()
final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.withMacroReplaced
(@Nullable NbtCompound arguments, com.mojang.brigadier.CommandDispatcher<T> dispatcher, T t)
-
Field Details
-
Constructor Details
-
class_8872
-
-
Method Details
-
withMacroReplaced
public class_8868<T> withMacroReplaced(@Nullable @Nullable NbtCompound arguments, com.mojang.brigadier.CommandDispatcher<T> dispatcher, T t) throws MacroException - Specified by:
withMacroReplaced
in interfaceCommandFunction<T>
- Throws:
MacroException
- Mappings:
Namespace Name Mixin selector official a
Lgx;a(Lrt;Lcom/mojang/brigadier/CommandDispatcher;Ljava/lang/Object;)Lgz;
intermediary method_52595
Lnet/minecraft/class_2158;method_52595(Lnet/minecraft/class_2487;Lcom/mojang/brigadier/CommandDispatcher;Ljava/lang/Object;)Lnet/minecraft/class_8868;
named withMacroReplaced
Lnet/minecraft/server/function/CommandFunction;withMacroReplaced(Lnet/minecraft/nbt/NbtCompound;Lcom/mojang/brigadier/CommandDispatcher;Ljava/lang/Object;)Lnet/minecraft/class_8868;
-
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)
. -
getId
- Specified by:
getId
in interfaceclass_8868<T>
- Specified by:
getId
in interfaceCommandFunction<T>
- Mappings:
Namespace Name Mixin selector official a
Lgx;a()Lafw;
intermediary comp_1994
Lnet/minecraft/class_2158;comp_1994()Lnet/minecraft/class_2960;
named getId
Lnet/minecraft/server/function/CommandFunction;getId()Lnet/minecraft/util/Identifier;
-
entries
- Specified by:
entries
in interfaceclass_8868<T>
- Mappings:
Namespace Name Mixin selector official b
Lgz;b()Ljava/util/List;
intermediary comp_1995
Lnet/minecraft/class_8868;comp_1995()Ljava/util/List;
named entries
Lnet/minecraft/class_8868;entries()Ljava/util/List;
-