Package net.minecraft
Record Class class_10976
java.lang.Object
java.lang.Record
net.minecraft.class_10976
public record class_10976(String b, Optional<RegistryEntry<class_10976>> c, List<RegistryEntry<class_10976>> d, AdvancementDisplay e, Consumer<ServerPlayerEntity> f, Consumer<ServerPlayerEntity> g, List<class_11057> h, class_10976.class_10978 i, Map<TagKey<Item>,Float> j, Map<Item,Float> k, int l, String m)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_10976intermediary net/minecraft/class_10976official awy
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe field for thebrecord component.private final Optional<RegistryEntry<class_10976>> The field for thecrecord component.private final List<RegistryEntry<class_10976>> The field for thedrecord component.private final AdvancementDisplayThe field for theerecord component.private final Consumer<ServerPlayerEntity> The field for thefrecord component.static final com.mojang.serialization.Codec<RegistryEntry<class_10976>> private final Consumer<ServerPlayerEntity> The field for thegrecord component.private final List<class_11057> The field for thehrecord component.private final class_10976.class_10978The field for theirecord component.The field for thejrecord component.The field for thekrecord component.private final intThe field for thelrecord component.private final StringThe field for themrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10976(String string, Optional<RegistryEntry<class_10976>> optional, List<RegistryEntry<class_10976>> list, AdvancementDisplay advancementDisplay, Consumer<ServerPlayerEntity> consumer, Consumer<ServerPlayerEntity> consumer2, List<class_11057> list2, class_10976.class_10978 class_10978, Map<TagKey<Item>, Float> map, Map<Item, Float> map2, int int2, String string2) -
Method Summary
Modifier and TypeMethodDescriptionb()Returns the value of thebrecord component.c()Returns the value of thecrecord component.d()Returns the value of thedrecord component.e()Returns the value of theerecord component.final booleanIndicates whether some other object is "equal to" this one.f()Returns the value of thefrecord component.g()Returns the value of thegrecord component.h()Returns the value of thehrecord component.final inthashCode()Returns a hash code value for this object.i()Returns the value of theirecord component.j()Returns the value of thejrecord component.k()Returns the value of thekrecord component.intl()Returns the value of thelrecord component.m()Returns the value of themrecord component.static class_10976.class_10977method_69188(String string) static class_10976.class_10977method_69189(String string, RegistryEntry<class_10976> registryEntry) static RegistryEntry<class_10976> method_69190(RegistryEntry<class_10976> registryEntry) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
b
The field for thebrecord component. -
c
The field for thecrecord component. -
d
The field for thedrecord component. -
e
The field for theerecord component. -
f
The field for thefrecord component. -
g
The field for thegrecord component. -
h
The field for thehrecord component. -
i
The field for theirecord component. -
j
The field for thejrecord component. -
k
The field for thekrecord component. -
l
private final int lThe field for thelrecord component. -
m
The field for themrecord component. -
field_58340
- Mappings:
Namespace Name Mixin selector named field_58340Lnet/minecraft/class_10976;field_58340:Lcom/mojang/serialization/Codec;intermediary field_58340Lnet/minecraft/class_10976;field_58340:Lcom/mojang/serialization/Codec;official aLawy;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_10976
public class_10976(String string, Optional<RegistryEntry<class_10976>> optional, List<RegistryEntry<class_10976>> list, AdvancementDisplay advancementDisplay, Consumer<ServerPlayerEntity> consumer, Consumer<ServerPlayerEntity> consumer2, List<class_11057> list2, class_10976.class_10978 class_10978, Map<TagKey<Item>, Float> map, Map<Item, Float> map2, int int2, String string2)
-
-
Method Details
-
method_69188
- Mappings:
Namespace Name Mixin selector named method_69188Lnet/minecraft/class_10976;method_69188(Ljava/lang/String;)Lnet/minecraft/class_10976$class_10977;intermediary method_69188Lnet/minecraft/class_10976;method_69188(Ljava/lang/String;)Lnet/minecraft/class_10976$class_10977;official aLawy;a(Ljava/lang/String;)Lawy$a;
-
method_69189
public static class_10976.class_10977 method_69189(String string, RegistryEntry<class_10976> registryEntry) - Mappings:
Namespace Name Mixin selector named method_69189Lnet/minecraft/class_10976;method_69189(Ljava/lang/String;Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/class_10976$class_10977;intermediary method_69189Lnet/minecraft/class_10976;method_69189(Ljava/lang/String;Lnet/minecraft/class_6880;)Lnet/minecraft/class_10976$class_10977;official aLawy;a(Ljava/lang/String;Ljh;)Lawy$a;
-
method_69190
- Mappings:
Namespace Name Mixin selector named method_69190Lnet/minecraft/class_10976;method_69190(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/registry/entry/RegistryEntry;intermediary method_69190Lnet/minecraft/class_10976;method_69190(Lnet/minecraft/class_6880;)Lnet/minecraft/class_6880;official aLawy;a(Ljh;)Ljh;
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
b
Returns the value of thebrecord component.- Returns:
- the value of the
brecord component
-
c
Returns the value of thecrecord component.- Returns:
- the value of the
crecord component
-
d
Returns the value of thedrecord component.- Returns:
- the value of the
drecord component
-
e
Returns the value of theerecord component.- Returns:
- the value of the
erecord component
-
f
Returns the value of thefrecord component.- Returns:
- the value of the
frecord component
-
g
Returns the value of thegrecord component.- Returns:
- the value of the
grecord component
-
h
Returns the value of thehrecord component.- Returns:
- the value of the
hrecord component
-
i
Returns the value of theirecord component.- Returns:
- the value of the
irecord component
-
j
Returns the value of thejrecord component.- Returns:
- the value of the
jrecord component
-
k
Returns the value of thekrecord component.- Returns:
- the value of the
krecord component
-
l
public int l()Returns the value of thelrecord component.- Returns:
- the value of the
lrecord component
-
m
Returns the value of themrecord component.- Returns:
- the value of the
mrecord component
-