Package org.geysermc.geyser.dump
Record Class DumpInfo.NetherNetInfo
java.lang.Object
java.lang.Record
org.geysermc.geyser.dump.DumpInfo.NetherNetInfo
- Record Components:
builtin- null when built-in signaling is not runningnxs- null when the external signaling service is not running
- Enclosing class:
DumpInfo
public static record DumpInfo.NetherNetInfo(@Nullable DumpInfo.NetherNetInfo.Builtin builtin, @Nullable DumpInfo.NetherNetInfo.Nxs nxs)
extends Record
What each running signaling mode sends to joining players, see
NetherNetServer.advertised(). Public
addresses are censored unless the dump is full.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionNetherNetInfo(@Nullable DumpInfo.NetherNetInfo.Builtin builtin, @Nullable DumpInfo.NetherNetInfo.Nxs nxs) Creates an instance of aNetherNetInforecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable DumpInfo.NetherNetInfo.Builtinbuiltin()Returns the value of thebuiltinrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable DumpInfo.NetherNetInfo.Nxsnxs()Returns the value of thenxsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NetherNetInfo
public NetherNetInfo(@Nullable DumpInfo.NetherNetInfo.Builtin builtin, @Nullable DumpInfo.NetherNetInfo.Nxs nxs) Creates an instance of aNetherNetInforecord class.
-
-
Method Details
-
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). -
builtin
Returns the value of thebuiltinrecord component.- Returns:
- the value of the
builtinrecord component
-
nxs
Returns the value of thenxsrecord component.- Returns:
- the value of the
nxsrecord component
-