Record Class OperatorsRpcDispatcher.ConfigEntry
java.lang.Object
java.lang.Record
net.minecraft.server.dedicated.management.dispatch.OperatorsRpcDispatcher.ConfigEntry
- Record Components:
user-permissionLevel-bypassesPlayerLimit-
- Enclosing class:
OperatorsRpcDispatcher
static record OperatorsRpcDispatcher.ConfigEntry(PlayerConfigEntry user, Optional<Integer> permissionLevel, Optional<Boolean> bypassesPlayerLimit)
extends Record
- Mappings:
Namespace Name named net/minecraft/server/dedicated/management/dispatch/OperatorsRpcDispatcher$ConfigEntryintermediary net/minecraft/class_11854$class_11855official avi$anamed userintermediary comp_4740official anamed permissionLevelintermediary comp_4741official bnamed bypassesPlayerLimitintermediary comp_4742official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for thebypassesPlayerLimitrecord component.The field for thepermissionLevelrecord component.private final PlayerConfigEntryThe field for theuserrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionConfigEntry(PlayerConfigEntry playerConfigEntry, Optional<Integer> optional, Optional<Boolean> optional2) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebypassesPlayerLimitrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepermissionLevelrecord component.final StringtoString()Returns a string representation of this record class.user()Returns the value of theuserrecord component.
-
Field Details
-
user
The field for theuserrecord component. -
permissionLevel
The field for thepermissionLevelrecord component. -
bypassesPlayerLimit
The field for thebypassesPlayerLimitrecord component.
-
-
Constructor Details
-
ConfigEntry
ConfigEntry(PlayerConfigEntry playerConfigEntry, Optional<Integer> optional, Optional<Boolean> optional2)
-
-
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). -
user
Returns the value of theuserrecord component.- Returns:
- the value of the
userrecord component
-
permissionLevel
Returns the value of thepermissionLevelrecord component.- Returns:
- the value of the
permissionLevelrecord component
-
bypassesPlayerLimit
Returns the value of thebypassesPlayerLimitrecord component.- Returns:
- the value of the
bypassesPlayerLimitrecord component
-