Package net.minecraft.predicate.entity
Record Class LocationPredicate.class_8747
java.lang.Object
java.lang.Record
net.minecraft.predicate.entity.LocationPredicate.class_8747
- Record Components:
x-y-z-
- Enclosing class:
LocationPredicate
private static record LocationPredicate.class_8747(NumberRange.FloatRange x, NumberRange.FloatRange y, NumberRange.FloatRange z)
extends Record
- Mappings:
Namespace Name official ch$bintermediary net/minecraft/class_2090$class_8747named net/minecraft/predicate/entity/LocationPredicate$class_8747official bintermediary comp_1802named xofficial cintermediary comp_1803named yofficial dintermediary comp_1804named z
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LocationPredicate.class_8747>private final NumberRange.FloatRangeThe field for thexrecord component.private final NumberRange.FloatRangeThe field for theyrecord component.private final NumberRange.FloatRangeThe field for thezrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateclass_8747(NumberRange.FloatRange floatRange, NumberRange.FloatRange floatRange2, NumberRange.FloatRange floatRange3) -
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.booleanmethod_53184(double double2, double double3, double double4) (package private) static Optional<LocationPredicate.class_8747>method_53185(NumberRange.FloatRange floatRange, NumberRange.FloatRange floatRange2, NumberRange.FloatRange floatRange3) final StringtoString()Returns a string representation of this record class.x()Returns the value of thexrecord component.y()Returns the value of theyrecord component.z()Returns the value of thezrecord component.
-
Field Details
-
x
The field for thexrecord component. -
y
The field for theyrecord component. -
z
The field for thezrecord component. -
field_45761
- Mappings:
Namespace Name Mixin selector official aLch$b;a:Lcom/mojang/serialization/Codec;intermediary field_45761Lnet/minecraft/class_2090$class_8747;field_45761:Lcom/mojang/serialization/Codec;named field_45761Lnet/minecraft/predicate/entity/LocationPredicate$class_8747;field_45761:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_8747
private class_8747(NumberRange.FloatRange floatRange, NumberRange.FloatRange floatRange2, NumberRange.FloatRange floatRange3)
-
-
Method Details
-
method_53185
static Optional<LocationPredicate.class_8747> method_53185(NumberRange.FloatRange floatRange, NumberRange.FloatRange floatRange2, NumberRange.FloatRange floatRange3) - Mappings:
Namespace Name Mixin selector official aLch$b;a(Lcj$c;Lcj$c;Lcj$c;)Ljava/util/Optional;intermediary method_53185Lnet/minecraft/class_2090$class_8747;method_53185(Lnet/minecraft/class_2096$class_2099;Lnet/minecraft/class_2096$class_2099;Lnet/minecraft/class_2096$class_2099;)Ljava/util/Optional;named method_53185Lnet/minecraft/predicate/entity/LocationPredicate$class_8747;method_53185(Lnet/minecraft/predicate/NumberRange$FloatRange;Lnet/minecraft/predicate/NumberRange$FloatRange;Lnet/minecraft/predicate/NumberRange$FloatRange;)Ljava/util/Optional;
-
method_53184
public boolean method_53184(double double2, double double3, double double4) - Mappings:
Namespace Name Mixin selector official aLch$b;a(DDD)Zintermediary method_53184Lnet/minecraft/class_2090$class_8747;method_53184(DDD)Znamed method_53184Lnet/minecraft/predicate/entity/LocationPredicate$class_8747;method_53184(DDD)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). -
x
Returns the value of thexrecord component.- Returns:
- the value of the
xrecord component
-
y
Returns the value of theyrecord component.- Returns:
- the value of the
yrecord component
-
z
Returns the value of thezrecord component.- Returns:
- the value of the
zrecord component
-