Record Class SubmitNodeStorage.BreakingBlockModelSubmit
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.SubmitNodeStorage.BreakingBlockModelSubmit
- Enclosing class:
SubmitNodeStorage
public static record SubmitNodeStorage.BreakingBlockModelSubmit(PoseStack.Pose pose, BlockStateModel model, long seed, int progress)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockStateModelThe field for themodelrecord component.private final PoseStack.PoseThe field for theposerecord component.private final intThe field for theprogressrecord component.private final longThe field for theseedrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionBreakingBlockModelSubmit(PoseStack.Pose pose, BlockStateModel model, long seed, int progress) Creates an instance of aBreakingBlockModelSubmitrecord class. -
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.model()Returns the value of themodelrecord component.pose()Returns the value of theposerecord component.intprogress()Returns the value of theprogressrecord component.longseed()Returns the value of theseedrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
pose
The field for theposerecord component. -
model
The field for themodelrecord component. -
seed
private final long seedThe field for theseedrecord component. -
progress
private final int progressThe field for theprogressrecord component.
-
-
Constructor Details
-
BreakingBlockModelSubmit
public BreakingBlockModelSubmit(PoseStack.Pose pose, BlockStateModel model, long seed, int progress) Creates an instance of aBreakingBlockModelSubmitrecord class.- Parameters:
pose- the value for theposerecord componentmodel- the value for themodelrecord componentseed- the value for theseedrecord componentprogress- the value for theprogressrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
pose
Returns the value of theposerecord component.- Returns:
- the value of the
poserecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
seed
public long seed()Returns the value of theseedrecord component.- Returns:
- the value of the
seedrecord component
-
progress
public int progress()Returns the value of theprogressrecord component.- Returns:
- the value of the
progressrecord component
-