Package net.minecraft
Record Class class_11105
java.lang.Object
java.lang.Record
net.minecraft.class_11105
- Record Components:
key-name-description-requiredEffects-randomEffects-unlockedBy-unlockedAfter-extraRandom-
public record class_11105(String key, Text name, Text description, List<class_11109> requiredEffects, List<List<class_11109>> randomEffects, List<class_11057> unlockedBy, List<class_11105> unlockedAfter, int extraRandom)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11105intermediary net/minecraft/class_11105official fbxnamed keyintermediary comp_3984official cnamed nameintermediary comp_3985official dnamed descriptionintermediary comp_3986official enamed requiredEffectsintermediary comp_3987official fnamed randomEffectsintermediary comp_3988official gnamed unlockedByintermediary comp_3989official hnamed unlockedAfterintermediary comp_3990official inamed extraRandomintermediary comp_3991official j
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TextThe field for thedescriptionrecord component.private final intThe field for theextraRandomrecord component.static final com.mojang.serialization.Codec<class_11105> static final PacketCodec<RegistryByteBuf, class_11105> private final StringThe field for thekeyrecord component.private final TextThe field for thenamerecord component.private final List<List<class_11109>> The field for therandomEffectsrecord component.private final List<class_11109> The field for therequiredEffectsrecord component.private final List<class_11105> The field for theunlockedAfterrecord component.private final List<class_11057> The field for theunlockedByrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11105(String string, Text text, Text text2, List<class_11109> list, List<List<class_11109>> list2, List<class_11057> list3, List<class_11105> list4, int int2) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of theextraRandomrecord component.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.method_69903(ServerWorld serverWorld) static class_11105.class_11106method_69904(String string) name()Returns the value of thenamerecord component.Returns the value of therandomEffectsrecord component.Returns the value of therequiredEffectsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theunlockedAfterrecord component.Returns the value of theunlockedByrecord component.
-
Field Details
-
key
The field for thekeyrecord component. -
name
The field for thenamerecord component. -
description
The field for thedescriptionrecord component. -
requiredEffects
The field for therequiredEffectsrecord component. -
randomEffects
The field for therandomEffectsrecord component. -
unlockedBy
The field for theunlockedByrecord component. -
unlockedAfter
The field for theunlockedAfterrecord component. -
extraRandom
private final int extraRandomThe field for theextraRandomrecord component. -
field_59113
- Mappings:
Namespace Name Mixin selector named field_59113Lnet/minecraft/class_11105;field_59113:Lcom/mojang/serialization/Codec;intermediary field_59113Lnet/minecraft/class_11105;field_59113:Lcom/mojang/serialization/Codec;official aLfbx;a:Lcom/mojang/serialization/Codec;
-
field_59114
- Mappings:
Namespace Name Mixin selector named field_59114Lnet/minecraft/class_11105;field_59114:Lnet/minecraft/network/codec/PacketCodec;intermediary field_59114Lnet/minecraft/class_11105;field_59114:Lnet/minecraft/class_9139;official bLfbx;b:Lzg;
-
-
Constructor Details
-
class_11105
public class_11105(String string, Text text, Text text2, List<class_11109> list, List<List<class_11109>> list2, List<class_11057> list3, List<class_11105> list4, int int2)
-
-
Method Details
-
method_69904
- Mappings:
Namespace Name Mixin selector named method_69904Lnet/minecraft/class_11105;method_69904(Ljava/lang/String;)Lnet/minecraft/class_11105$class_11106;intermediary method_69904Lnet/minecraft/class_11105;method_69904(Ljava/lang/String;)Lnet/minecraft/class_11105$class_11106;official aLfbx;a(Ljava/lang/String;)Lfbx$a;
-
method_69903
- Mappings:
Namespace Name Mixin selector named method_69903Lnet/minecraft/class_11105;method_69903(Lnet/minecraft/server/world/ServerWorld;)Ljava/util/List;intermediary method_69903Lnet/minecraft/class_11105;method_69903(Lnet/minecraft/class_3218;)Ljava/util/List;official aLfbx;a(Last;)Ljava/util/List;
-
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 '=='. -
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
requiredEffects
Returns the value of therequiredEffectsrecord component.- Returns:
- the value of the
requiredEffectsrecord component
-
randomEffects
Returns the value of therandomEffectsrecord component.- Returns:
- the value of the
randomEffectsrecord component
-
unlockedBy
Returns the value of theunlockedByrecord component.- Returns:
- the value of the
unlockedByrecord component
-
unlockedAfter
Returns the value of theunlockedAfterrecord component.- Returns:
- the value of the
unlockedAfterrecord component
-
extraRandom
public int extraRandom()Returns the value of theextraRandomrecord component.- Returns:
- the value of the
extraRandomrecord component
-