Package net.minecraft
Record Class class_10701
java.lang.Object
java.lang.Record
net.minecraft.class_10701
- Record Components:
pos-level-biome-
public record class_10701(BlockPos pos, ServerWorldAccess level, RegistryEntry<Biome> biome)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_10701intermediary net/minecraft/class_10701official csxnamed posintermediary comp_3580official anamed levelintermediary comp_3581official bnamed biomeintermediary comp_3582official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RegistryEntry<Biome> The field for thebiomerecord component.private final ServerWorldAccessThe field for thelevelrecord component.private final BlockPosThe field for theposrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10701(BlockPos blockPos, ServerWorldAccess serverWorldAccess, RegistryEntry<Biome> registryEntry) -
Method Summary
Modifier and TypeMethodDescriptionbiome()Returns the value of thebiomerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.level()Returns the value of thelevelrecord component.static class_10701method_67169(ServerWorldAccess serverWorldAccess, BlockPos blockPos) pos()Returns the value of theposrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_10701
public class_10701(BlockPos blockPos, ServerWorldAccess serverWorldAccess, RegistryEntry<Biome> registryEntry)
-
-
Method Details
-
method_67169
- Mappings:
Namespace Name Mixin selector named method_67169Lnet/minecraft/class_10701;method_67169(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/class_10701;intermediary method_67169Lnet/minecraft/class_10701;method_67169(Lnet/minecraft/class_5425;Lnet/minecraft/class_2338;)Lnet/minecraft/class_10701;official aLcsx;a(Ldjg;Liu;)Lcsx;
-
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). -
pos
Returns the value of theposrecord component.- Returns:
- the value of the
posrecord component
-
level
Returns the value of thelevelrecord component.- Returns:
- the value of the
levelrecord component
-
biome
Returns the value of thebiomerecord component.- Returns:
- the value of the
biomerecord component
-