Package net.minecraft
Record Class class_11109
java.lang.Object
java.lang.Record
net.minecraft.class_11109
- Record Components:
key-name-description-unlockHint-itemModel-components-unlockMode-unlockedBy-unlockedAfter-requiredUnlockCount-inSets-incompatibleWith-experienceModifier-randomWeight-randomizationMode-multiplayerOnly-onMineEnter-onMineLeave-onMineTick-
public record class_11109(String key, Text name, Text description, Text unlockHint, @Nullable Identifier itemModel, List<class_11111> components, class_11108 unlockMode, List<class_11057> unlockedBy, List<class_11109> unlockedAfter, int requiredUnlockCount, Set<class_11112> inSets, Set<class_11109> incompatibleWith, float experienceModifier, int randomWeight, class_11104 randomizationMode, boolean multiplayerOnly, Consumer<ServerWorld> onMineEnter, Consumer<ServerWorld> onMineLeave, Consumer<ServerWorld> onMineTick)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11109intermediary net/minecraft/class_11109official fcanamed keyintermediary comp_3992official cnamed nameintermediary comp_3993official dnamed descriptionintermediary comp_3994official enamed unlockHintintermediary comp_3995official fnamed itemModelintermediary comp_3996official gnamed componentsintermediary comp_3997official hnamed unlockModeintermediary comp_3998official inamed unlockedByintermediary comp_3999official jnamed unlockedAfterintermediary comp_4000official knamed requiredUnlockCountintermediary comp_4001official lnamed inSetsintermediary comp_4002official mnamed incompatibleWithintermediary comp_4003official nnamed experienceModifierintermediary comp_4004official onamed randomWeightintermediary comp_4005official pnamed randomizationModeintermediary comp_4006official qnamed multiplayerOnlyintermediary comp_4007official rnamed onMineEnterintermediary comp_4008official snamed onMineLeaveintermediary comp_4009official tnamed onMineTickintermediary comp_4010official u
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<class_11111> The field for thecomponentsrecord component.private final TextThe field for thedescriptionrecord component.private final floatThe field for theexperienceModifierrecord component.static final com.mojang.serialization.Codec<class_11109> static final PacketCodec<RegistryByteBuf, class_11109> private final Set<class_11109> The field for theincompatibleWithrecord component.private final Set<class_11112> The field for theinSetsrecord component.private final @Nullable IdentifierThe field for theitemModelrecord component.private final StringThe field for thekeyrecord component.private final booleanThe field for themultiplayerOnlyrecord component.private final TextThe field for thenamerecord component.private final Consumer<ServerWorld> The field for theonMineEnterrecord component.private final Consumer<ServerWorld> The field for theonMineLeaverecord component.private final Consumer<ServerWorld> The field for theonMineTickrecord component.private final class_11104The field for therandomizationModerecord component.private final intThe field for therandomWeightrecord component.private final intThe field for therequiredUnlockCountrecord component.private final List<class_11109> The field for theunlockedAfterrecord component.private final List<class_11057> The field for theunlockedByrecord component.private final TextThe field for theunlockHintrecord component.private final class_11108The field for theunlockModerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11109(String string, Text text, Text text2, Text text3, @Nullable Identifier identifier, List<class_11111> list, class_11108 class_11108, List<class_11057> list2, List<class_11109> list3, int int2, Set<class_11112> set, Set<class_11109> set2, float float2, int int3, class_11104 class_11104, boolean bool, Consumer<ServerWorld> consumer, Consumer<ServerWorld> consumer2, Consumer<ServerWorld> consumer3) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecomponentsrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.floatReturns the value of theexperienceModifierrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theincompatibleWithrecord component.inSets()Returns the value of theinSetsrecord component.Returns the value of theitemModelrecord component.key()Returns the value of thekeyrecord component.booleanmethod_69919(ServerWorld serverWorld) static booleanmethod_69921(class_11109 class_11109, class_11109 class_111092) <T extends class_11111>
Stream<T> method_69922(Class<T> class2) static class_11109.class_11110method_69924(String string) booleanmethod_69925(Collection<class_11109> collection) booleanmethod_69926(ServerWorld serverWorld) booleanmethod_69927(ServerWorld serverWorld) booleanReturns the value of themultiplayerOnlyrecord component.name()Returns the value of thenamerecord component.Returns the value of theonMineEnterrecord component.Returns the value of theonMineLeaverecord component.Returns the value of theonMineTickrecord component.Returns the value of therandomizationModerecord component.intReturns the value of therandomWeightrecord component.intReturns the value of therequiredUnlockCountrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theunlockedAfterrecord component.Returns the value of theunlockedByrecord component.Returns the value of theunlockHintrecord component.Returns the value of theunlockModerecord component.
-
Field Details
-
key
The field for thekeyrecord component. -
name
The field for thenamerecord component. -
description
The field for thedescriptionrecord component. -
unlockHint
The field for theunlockHintrecord component. -
itemModel
The field for theitemModelrecord component. -
components
The field for thecomponentsrecord component. -
unlockMode
The field for theunlockModerecord component. -
unlockedBy
The field for theunlockedByrecord component. -
unlockedAfter
The field for theunlockedAfterrecord component. -
requiredUnlockCount
private final int requiredUnlockCountThe field for therequiredUnlockCountrecord component. -
inSets
The field for theinSetsrecord component. -
incompatibleWith
The field for theincompatibleWithrecord component. -
experienceModifier
private final float experienceModifierThe field for theexperienceModifierrecord component. -
randomWeight
private final int randomWeightThe field for therandomWeightrecord component. -
randomizationMode
The field for therandomizationModerecord component. -
multiplayerOnly
private final boolean multiplayerOnlyThe field for themultiplayerOnlyrecord component. -
onMineEnter
The field for theonMineEnterrecord component. -
onMineLeave
The field for theonMineLeaverecord component. -
onMineTick
The field for theonMineTickrecord component. -
field_59137
- Mappings:
Namespace Name Mixin selector named field_59137Lnet/minecraft/class_11109;field_59137:Lcom/mojang/serialization/Codec;intermediary field_59137Lnet/minecraft/class_11109;field_59137:Lcom/mojang/serialization/Codec;official aLfca;a:Lcom/mojang/serialization/Codec;
-
field_59138
- Mappings:
Namespace Name Mixin selector named field_59138Lnet/minecraft/class_11109;field_59138:Lnet/minecraft/network/codec/PacketCodec;intermediary field_59138Lnet/minecraft/class_11109;field_59138:Lnet/minecraft/class_9139;official bLfca;b:Lzg;
-
-
Constructor Details
-
class_11109
public class_11109(String string, Text text, Text text2, Text text3, @Nullable @Nullable Identifier identifier, List<class_11111> list, class_11108 class_11108, List<class_11057> list2, List<class_11109> list3, int int2, Set<class_11112> set, Set<class_11109> set2, float float2, int int3, class_11104 class_11104, boolean bool, Consumer<ServerWorld> consumer, Consumer<ServerWorld> consumer2, Consumer<ServerWorld> consumer3)
-
-
Method Details
-
method_69925
- Mappings:
Namespace Name Mixin selector named method_69925Lnet/minecraft/class_11109;method_69925(Ljava/util/Collection;)Zintermediary method_69925Lnet/minecraft/class_11109;method_69925(Ljava/util/Collection;)Zofficial aLfca;a(Ljava/util/Collection;)Z
-
method_69921
- Mappings:
Namespace Name Mixin selector named method_69921Lnet/minecraft/class_11109;method_69921(Lnet/minecraft/class_11109;Lnet/minecraft/class_11109;)Zintermediary method_69921Lnet/minecraft/class_11109;method_69921(Lnet/minecraft/class_11109;Lnet/minecraft/class_11109;)Zofficial aLfca;a(Lfca;Lfca;)Z
-
method_69919
- Mappings:
Namespace Name Mixin selector named method_69919Lnet/minecraft/class_11109;method_69919(Lnet/minecraft/server/world/ServerWorld;)Zintermediary method_69919Lnet/minecraft/class_11109;method_69919(Lnet/minecraft/class_3218;)Zofficial aLfca;a(Last;)Z
-
method_69926
- Mappings:
Namespace Name Mixin selector named method_69926Lnet/minecraft/class_11109;method_69926(Lnet/minecraft/server/world/ServerWorld;)Zintermediary method_69926Lnet/minecraft/class_11109;method_69926(Lnet/minecraft/class_3218;)Zofficial bLfca;b(Last;)Z
-
method_69927
- Mappings:
Namespace Name Mixin selector named method_69927Lnet/minecraft/class_11109;method_69927(Lnet/minecraft/server/world/ServerWorld;)Zintermediary method_69927Lnet/minecraft/class_11109;method_69927(Lnet/minecraft/class_3218;)Zofficial cLfca;c(Last;)Z
-
method_69924
- Mappings:
Namespace Name Mixin selector named method_69924Lnet/minecraft/class_11109;method_69924(Ljava/lang/String;)Lnet/minecraft/class_11109$class_11110;intermediary method_69924Lnet/minecraft/class_11109;method_69924(Ljava/lang/String;)Lnet/minecraft/class_11109$class_11110;official aLfca;a(Ljava/lang/String;)Lfca$a;
-
method_69922
- Mappings:
Namespace Name Mixin selector named method_69922Lnet/minecraft/class_11109;method_69922(Ljava/lang/Class;)Ljava/util/stream/Stream;intermediary method_69922Lnet/minecraft/class_11109;method_69922(Ljava/lang/Class;)Ljava/util/stream/Stream;official aLfca;a(Ljava/lang/Class;)Ljava/util/stream/Stream;
-
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
-
unlockHint
Returns the value of theunlockHintrecord component.- Returns:
- the value of the
unlockHintrecord component
-
itemModel
Returns the value of theitemModelrecord component.- Returns:
- the value of the
itemModelrecord component
-
components
Returns the value of thecomponentsrecord component.- Returns:
- the value of the
componentsrecord component
-
unlockMode
Returns the value of theunlockModerecord component.- Returns:
- the value of the
unlockModerecord 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
-
requiredUnlockCount
public int requiredUnlockCount()Returns the value of therequiredUnlockCountrecord component.- Returns:
- the value of the
requiredUnlockCountrecord component
-
inSets
Returns the value of theinSetsrecord component.- Returns:
- the value of the
inSetsrecord component
-
incompatibleWith
Returns the value of theincompatibleWithrecord component.- Returns:
- the value of the
incompatibleWithrecord component
-
experienceModifier
public float experienceModifier()Returns the value of theexperienceModifierrecord component.- Returns:
- the value of the
experienceModifierrecord component
-
randomWeight
public int randomWeight()Returns the value of therandomWeightrecord component.- Returns:
- the value of the
randomWeightrecord component
-
randomizationMode
Returns the value of therandomizationModerecord component.- Returns:
- the value of the
randomizationModerecord component
-
multiplayerOnly
public boolean multiplayerOnly()Returns the value of themultiplayerOnlyrecord component.- Returns:
- the value of the
multiplayerOnlyrecord component
-
onMineEnter
Returns the value of theonMineEnterrecord component.- Returns:
- the value of the
onMineEnterrecord component
-
onMineLeave
Returns the value of theonMineLeaverecord component.- Returns:
- the value of the
onMineLeaverecord component
-
onMineTick
Returns the value of theonMineTickrecord component.- Returns:
- the value of the
onMineTickrecord component
-