Package net.minecraft
Record Class class_11068
java.lang.Object
java.lang.Record
net.minecraft.class_11068
- All Implemented Interfaces:
Predicate<ServerPlayerEntity>
public record class_11068(List<RegistryEntry<class_10976>> c, List<RegistryEntry<class_10976>> d)
extends Record
implements Predicate<ServerPlayerEntity>
- Mappings:
Namespace Name named net/minecraft/class_11068intermediary net/minecraft/class_11068official dy
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<RegistryEntry<class_10976>> The field for thecrecord component.private final List<RegistryEntry<class_10976>> The field for thedrecord component.static final com.mojang.serialization.Codec<class_11068> static final class_11068 -
Constructor Summary
ConstructorsConstructorDescriptionclass_11068(List<RegistryEntry<class_10976>> list, List<RegistryEntry<class_10976>> list2) -
Method Summary
Modifier and TypeMethodDescriptionc()Returns the value of thecrecord component.d()Returns the value of thedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleantest(ServerPlayerEntity serverPlayerEntity) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
c
The field for thecrecord component. -
d
The field for thedrecord 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). -
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
-