Package net.minecraft
Record Class class_7237.FunctionLoaderConfig
java.lang.Object
java.lang.Record
net.minecraft.class_7237.FunctionLoaderConfig
- Record Components:
packConfig-commandEnvironment-functionPermissionLevel-
- Enclosing class:
class_7237
public static record class_7237.FunctionLoaderConfig(class_7237.class_7238 packConfig, CommandManager.RegistrationEnvironment commandEnvironment, int functionPermissionLevel)
extends Record
- Mappings:
Namespace Name official zr$aintermediary net/minecraft/class_7237$class_6906named net/minecraft/class_7237$FunctionLoaderConfigofficial aintermediary comp_634named packConfigofficial bintermediary comp_361named commandEnvironmentofficial cintermediary comp_362named functionPermissionLevel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CommandManager.RegistrationEnvironmentThe field for thecommandEnvironmentrecord component.private final intThe field for thefunctionPermissionLevelrecord component.private final class_7237.class_7238The field for thepackConfigrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionFunctionLoaderConfig(class_7237.class_7238 class_7238, CommandManager.RegistrationEnvironment registrationEnvironment, int int2) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecommandEnvironmentrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of thefunctionPermissionLevelrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thepackConfigrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
packConfig
The field for thepackConfigrecord component. -
commandEnvironment
The field for thecommandEnvironmentrecord component. -
functionPermissionLevel
private final int functionPermissionLevelThe field for thefunctionPermissionLevelrecord component.
-
-
Constructor Details
-
FunctionLoaderConfig
public FunctionLoaderConfig(class_7237.class_7238 class_7238, CommandManager.RegistrationEnvironment registrationEnvironment, int int2)
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
packConfig
Returns the value of thepackConfigrecord component.- Returns:
- the value of the
packConfigrecord component
-
commandEnvironment
Returns the value of thecommandEnvironmentrecord component.- Returns:
- the value of the
commandEnvironmentrecord component
-
functionPermissionLevel
public int functionPermissionLevel()Returns the value of thefunctionPermissionLevelrecord component.- Returns:
- the value of the
functionPermissionLevelrecord component
-