Record Class DebugGameEventListenersCustomPayload
java.lang.Object
java.lang.Record
net.minecraft.network.packet.s2c.custom.DebugGameEventListenersCustomPayload
- Record Components:
listenerPos-listenerRange-
- All Implemented Interfaces:
CustomPayload
public record DebugGameEventListenersCustomPayload(PositionSource listenerPos, int listenerRange)
extends Record
implements CustomPayload
- Mappings:
Namespace Name official zbintermediary net/minecraft/class_8713named net/minecraft/network/packet/s2c/custom/DebugGameEventListenersCustomPayloadofficial cintermediary comp_1681named listenerPosofficial dintermediary comp_1682named listenerRange
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.network.packet.CustomPayload
CustomPayload.class_9153<B extends PacketByteBuf>, CustomPayload.class_9154<T extends CustomPayload>, CustomPayload.class_9155<B extends PacketByteBuf,T extends CustomPayload> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final class_9139<class_9129,DebugGameEventListenersCustomPayload> static final CustomPayload.class_9154<DebugGameEventListenersCustomPayload>private final PositionSourceThe field for thelistenerPosrecord component.private final intThe field for thelistenerRangerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionDebugGameEventListenersCustomPayload(PositionSource positionSource, int int2) -
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.Returns the value of thelistenerPosrecord component.intReturns the value of thelistenerRangerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
listenerPos
The field for thelistenerPosrecord component. -
listenerRange
private final int listenerRangeThe field for thelistenerRangerecord component. -
field_48662
- Mappings:
Namespace Name Mixin selector official aLzb;a:Lxo;intermediary field_48662Lnet/minecraft/class_8713;field_48662:Lnet/minecraft/class_9139;named field_48662Lnet/minecraft/network/packet/s2c/custom/DebugGameEventListenersCustomPayload;field_48662:Lnet/minecraft/class_9139;
-
field_48663
- Mappings:
Namespace Name Mixin selector official bLzb;b:Lyy$b;intermediary field_48663Lnet/minecraft/class_8713;field_48663:Lnet/minecraft/class_8710$class_9154;named field_48663Lnet/minecraft/network/packet/s2c/custom/DebugGameEventListenersCustomPayload;field_48663:Lnet/minecraft/network/packet/CustomPayload$class_9154;
-
-
Constructor Details
-
DebugGameEventListenersCustomPayload
-
-
Method Details
-
method_56479
- Specified by:
method_56479in interfaceCustomPayload- Mappings:
Namespace Name Mixin selector official aLyy;a()Lyy$b;intermediary method_56479Lnet/minecraft/class_8710;method_56479()Lnet/minecraft/class_8710$class_9154;named method_56479Lnet/minecraft/network/packet/CustomPayload;method_56479()Lnet/minecraft/network/packet/CustomPayload$class_9154;
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
listenerPos
Returns the value of thelistenerPosrecord component.- Returns:
- the value of the
listenerPosrecord component
-
listenerRange
public int listenerRange()Returns the value of thelistenerRangerecord component.- Returns:
- the value of the
listenerRangerecord component
-