Package net.minecraft
Record Class class_11088.class_11092
java.lang.Object
java.lang.Record
net.minecraft.class_11088.class_11092
- Record Components:
type-offset-range-allowInAir-
- Enclosing class:
class_11088
public static record class_11088.class_11092(class_11088.class_11094 type, BlockPos offset, int range, boolean allowInAir)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11088$class_11092intermediary net/minecraft/class_11088$class_11092official fbp$cnamed typeintermediary comp_3974official bnamed offsetintermediary comp_3975official cnamed rangeintermediary comp_3976official dnamed allowInAirintermediary comp_3977official e
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanThe field for theallowInAirrecord component.static final com.mojang.serialization.Codec<class_11088.class_11092> private final BlockPosThe field for theoffsetrecord component.private final intThe field for therangerecord component.private final class_11088.class_11094The field for thetyperecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11092(class_11088.class_11094 class_11094, BlockPos blockPos, int int2, boolean bool) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theallowInAirrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.method_69867(ServerWorld serverWorld) method_69868(ServerWorld serverWorld, BlockPos blockPos) method_69871(ServerWorld serverWorld) private static booleanmethod_69872(ServerWorld serverWorld, BlockPos blockPos) private static booleanmethod_69873(ServerWorld serverWorld, BlockPos blockPos) offset()Returns the value of theoffsetrecord component.intrange()Returns the value of therangerecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Field Details
-
type
The field for thetyperecord component. -
offset
The field for theoffsetrecord component. -
range
private final int rangeThe field for therangerecord component. -
allowInAir
private final boolean allowInAirThe field for theallowInAirrecord component. -
field_59071
- Mappings:
Namespace Name Mixin selector named field_59071Lnet/minecraft/class_11088$class_11092;field_59071:Lcom/mojang/serialization/Codec;intermediary field_59071Lnet/minecraft/class_11088$class_11092;field_59071:Lcom/mojang/serialization/Codec;official aLfbp$c;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_11092
-
-
Method Details
-
method_69867
- Mappings:
Namespace Name Mixin selector named method_69867Lnet/minecraft/class_11088$class_11092;method_69867(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/util/math/BlockPos;intermediary method_69867Lnet/minecraft/class_11088$class_11092;method_69867(Lnet/minecraft/class_3218;)Lnet/minecraft/class_2338;official aLfbp$c;a(Last;)Lix;
-
method_69868
- Mappings:
Namespace Name Mixin selector named method_69868Lnet/minecraft/class_11088$class_11092;method_69868(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;intermediary method_69868Lnet/minecraft/class_11088$class_11092;method_69868(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;official aLfbp$c;a(Last;Lix;)Lix;
-
method_69872
- Mappings:
Namespace Name Mixin selector named method_69872Lnet/minecraft/class_11088$class_11092;method_69872(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_69872Lnet/minecraft/class_11088$class_11092;method_69872(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Zofficial bLfbp$c;b(Last;Lix;)Z
-
method_69873
- Mappings:
Namespace Name Mixin selector named method_69873Lnet/minecraft/class_11088$class_11092;method_69873(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_69873Lnet/minecraft/class_11088$class_11092;method_69873(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Zofficial cLfbp$c;c(Last;Lix;)Z
-
method_69871
- Mappings:
Namespace Name Mixin selector named method_69871Lnet/minecraft/class_11088$class_11092;method_69871(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/util/math/BlockPos;intermediary method_69871Lnet/minecraft/class_11088$class_11092;method_69871(Lnet/minecraft/class_3218;)Lnet/minecraft/class_2338;official bLfbp$c;b(Last;)Lix;
-
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 '=='. -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
offset
Returns the value of theoffsetrecord component.- Returns:
- the value of the
offsetrecord component
-
range
public int range()Returns the value of therangerecord component.- Returns:
- the value of the
rangerecord component
-
allowInAir
public boolean allowInAir()Returns the value of theallowInAirrecord component.- Returns:
- the value of the
allowInAirrecord component
-