Record Class ManipulateEntityMessage.ManipulateEntry
java.lang.Object
java.lang.Record
fr.ghostrider584.axiom.network.packet.client.ManipulateEntityMessage.ManipulateEntry
- Enclosing class:
ManipulateEntityMessage
public static record ManipulateEntityMessage.ManipulateEntry(UUID uuid, @Nullable Set<ManipulateEntityMessage.Relative> relativeMovementSet, @Nullable net.minestom.server.coordinate.Pos position, net.kyori.adventure.nbt.BinaryTag nbt, ManipulateEntityMessage.PassengerManipulation passengerManipulation, List<UUID> passengers)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionManipulateEntry(UUID uuid, @Nullable Set<ManipulateEntityMessage.Relative> relativeMovementSet, @Nullable net.minestom.server.coordinate.Pos position, net.kyori.adventure.nbt.BinaryTag nbt, ManipulateEntityMessage.PassengerManipulation passengerManipulation, List<UUID> passengers) Creates an instance of aManipulateEntryrecord 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.net.kyori.adventure.nbt.BinaryTagnbt()Returns the value of thenbtrecord component.Returns the value of thepassengerManipulationrecord component.Returns the value of thepassengersrecord component.@Nullable net.minestom.server.coordinate.Posposition()Returns the value of thepositionrecord component.@Nullable Set<ManipulateEntityMessage.Relative> Returns the value of therelativeMovementSetrecord component.final StringtoString()Returns a string representation of this record class.uuid()Returns the value of theuuidrecord component.
-
Constructor Details
-
ManipulateEntry
public ManipulateEntry(UUID uuid, @Nullable @Nullable Set<ManipulateEntityMessage.Relative> relativeMovementSet, @Nullable @Nullable net.minestom.server.coordinate.Pos position, net.kyori.adventure.nbt.BinaryTag nbt, ManipulateEntityMessage.PassengerManipulation passengerManipulation, List<UUID> passengers) Creates an instance of aManipulateEntryrecord class.- Parameters:
uuid- the value for theuuidrecord componentrelativeMovementSet- the value for therelativeMovementSetrecord componentposition- the value for thepositionrecord componentnbt- the value for thenbtrecord componentpassengerManipulation- the value for thepassengerManipulationrecord componentpassengers- the value for thepassengersrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
uuid
Returns the value of theuuidrecord component.- Returns:
- the value of the
uuidrecord component
-
relativeMovementSet
Returns the value of therelativeMovementSetrecord component.- Returns:
- the value of the
relativeMovementSetrecord component
-
position
@Nullable public @Nullable net.minestom.server.coordinate.Pos position()Returns the value of thepositionrecord component.- Returns:
- the value of the
positionrecord component
-
nbt
public net.kyori.adventure.nbt.BinaryTag nbt()Returns the value of thenbtrecord component.- Returns:
- the value of the
nbtrecord component
-
passengerManipulation
Returns the value of thepassengerManipulationrecord component.- Returns:
- the value of the
passengerManipulationrecord component
-
passengers
-