Package net.minecraft
Record Class class_9566.class_9567
java.lang.Object
java.lang.Record
net.minecraft.class_9566.class_9567
- Record Components:
newState-oldState-
- Enclosing class:
class_9566
- Mappings:
Namespace Name official dno$aintermediary net/minecraft/class_9566$class_9567named net/minecraft/class_9566$class_9567official aintermediary comp_2582named newStateofficial bintermediary comp_2583named oldState
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockStateThe field for thenewStaterecord component.private final BlockStateThe field for theoldStaterecord component. -
Constructor Summary
Constructors -
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.method_59159(ServerWorld serverWorld, BlockPos blockPos, Random random) newState()Returns the value of thenewStaterecord component.oldState()Returns the value of theoldStaterecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_9567
-
-
Method Details
-
method_59159
- Mappings:
Namespace Name Mixin selector official aLdno$a;a(Laqt;Lir;Layt;)Ljava/util/List;intermediary method_59159Lnet/minecraft/class_9566$class_9567;method_59159(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Ljava/util/List;named method_59159Lnet/minecraft/class_9566$class_9567;method_59159(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Ljava/util/List;
-
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). -
newState
Returns the value of thenewStaterecord component.- Returns:
- the value of the
newStaterecord component
-
oldState
Returns the value of theoldStaterecord component.- Returns:
- the value of the
oldStaterecord component
-