Package net.minecraft
Record Class class_11068
java.lang.Object
java.lang.Record
net.minecraft.class_11068
- Record Components:
unlocked-locked-
- All Implemented Interfaces:
Predicate<ServerPlayerEntity>
public record class_11068(List<RegistryEntry<class_10976>> unlocked, List<RegistryEntry<class_10976>> locked)
extends Record
implements Predicate<ServerPlayerEntity>
- Mappings:
Namespace Name named net/minecraft/class_11068intermediary net/minecraft/class_11068official dynamed unlockedintermediary comp_3949official cnamed lockedintermediary comp_3950official d
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_11068> static final class_11068private final List<RegistryEntry<class_10976>> The field for thelockedrecord component.private final List<RegistryEntry<class_10976>> The field for theunlockedrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11068(List<RegistryEntry<class_10976>> list, List<RegistryEntry<class_10976>> list2) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.locked()Returns the value of thelockedrecord component.booleantest(ServerPlayerEntity serverPlayerEntity) final StringtoString()Returns a string representation of this record class.unlocked()Returns the value of theunlockedrecord component.
-
Field Details
-
unlocked
The field for theunlockedrecord component. -
locked
The field for thelockedrecord component. -
field_58940
- Mappings:
Namespace Name Mixin selector named field_58940Lnet/minecraft/class_11068;field_58940:Lcom/mojang/serialization/Codec;intermediary field_58940Lnet/minecraft/class_11068;field_58940:Lcom/mojang/serialization/Codec;official aLdy;a:Lcom/mojang/serialization/Codec;
-
field_58941
- Mappings:
Namespace Name Mixin selector named field_58941Lnet/minecraft/class_11068;field_58941:Lnet/minecraft/class_11068;intermediary field_58941Lnet/minecraft/class_11068;field_58941:Lnet/minecraft/class_11068;official bLdy;b:Ldy;
-
-
Constructor Details
-
class_11068
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<ServerPlayerEntity>- Mappings:
Namespace Name Mixin selector named testLnet/minecraft/class_11068;test(Lnet/minecraft/server/network/ServerPlayerEntity;)Zintermediary method_69721Lnet/minecraft/class_11068;method_69721(Lnet/minecraft/class_3222;)Zofficial aLdy;a(Lasu;)Z
-
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). -
unlocked
Returns the value of theunlockedrecord component.- Returns:
- the value of the
unlockedrecord component
-
locked
Returns the value of thelockedrecord component.- Returns:
- the value of the
lockedrecord component
-