Package net.minecraft
Record Class class_9751
java.lang.Object
java.lang.Record
net.minecraft.class_9751
- Record Components:
offset-
- All Implemented Interfaces:
BiPredicate<StructureWorldAccess,,BlockPos> BlockPredicate
- Mappings:
Namespace Name named net/minecraft/class_9751intermediary net/minecraft/class_9751official dztnamed offsetintermediary comp_2779official e
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic com.mojang.serialization.MapCodec<class_9751> private final Vec3iThe field for theoffsetrecord component.Fields inherited from interface net.minecraft.world.gen.blockpredicate.BlockPredicate
BASE_CODEC, IS_AIR, IS_AIR_OR_WATER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.getType()final inthashCode()Returns a hash code value for this object.offset()Returns the value of theoffsetrecord component.booleantest(StructureWorldAccess structureWorldAccess, BlockPos blockPos) final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Field Details
-
offset
The field for theoffsetrecord component. -
field_51789
- Mappings:
Namespace Name Mixin selector named field_51789Lnet/minecraft/class_9751;field_51789:Lcom/mojang/serialization/MapCodec;intermediary field_51789Lnet/minecraft/class_9751;field_51789:Lcom/mojang/serialization/MapCodec;official aLdzt;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_9751
class_9751(Vec3i vec3i)
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceBlockPredicate- Mappings:
Namespace Name Mixin selector named getTypeLnet/minecraft/world/gen/blockpredicate/BlockPredicate;getType()Lnet/minecraft/world/gen/blockpredicate/BlockPredicateType;intermediary method_38873Lnet/minecraft/class_6646;method_38873()Lnet/minecraft/class_6647;official aLdzg;a()Ldzh;
-
test
- Specified by:
testin interfaceBiPredicate<StructureWorldAccess,BlockPos> - Mappings:
Namespace Name Mixin selector named testLnet/minecraft/class_9751;test(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_60287Lnet/minecraft/class_9751;method_60287(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;)Zofficial aLdzt;a(Ldcz;Lja;)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). -
offset
Returns the value of theoffsetrecord component.- Returns:
- the value of the
offsetrecord component
-