Record Class ClientUpdateJigsawBlockPacket
java.lang.Object
java.lang.Record
net.minestom.server.network.packet.client.play.ClientUpdateJigsawBlockPacket
- All Implemented Interfaces:
ClientPacket
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefinalStaterecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thejointTyperecord component.location()Returns the value of thelocationrecord component.name()Returns the value of thenamerecord component.intReturns the value of theplacementPriorityrecord component.pool()Returns the value of thepoolrecord component.intReturns the value of theselectionPriorityrecord component.target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
SERIALIZER
-
-
Constructor Details
-
ClientUpdateJigsawBlockPacket
public ClientUpdateJigsawBlockPacket(Point location, String name, String target, String pool, String finalState, String jointType, int selectionPriority, int placementPriority) Creates an instance of aClientUpdateJigsawBlockPacketrecord class.- Parameters:
location- the value for thelocationrecord componentname- the value for thenamerecord componenttarget- the value for thetargetrecord componentpool- the value for thepoolrecord componentfinalState- the value for thefinalStaterecord componentjointType- the value for thejointTyperecord componentselectionPriority- the value for theselectionPriorityrecord componentplacementPriority- the value for theplacementPriorityrecord 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. -
location
Returns the value of thelocationrecord component.- Returns:
- the value of the
locationrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-
pool
Returns the value of thepoolrecord component.- Returns:
- the value of the
poolrecord component
-
finalState
Returns the value of thefinalStaterecord component.- Returns:
- the value of the
finalStaterecord component
-
jointType
Returns the value of thejointTyperecord component.- Returns:
- the value of the
jointTyperecord component
-
selectionPriority
public int selectionPriority()Returns the value of theselectionPriorityrecord component.- Returns:
- the value of the
selectionPriorityrecord component
-
placementPriority
public int placementPriority()Returns the value of theplacementPriorityrecord component.- Returns:
- the value of the
placementPriorityrecord component
-