History - net.minecraft.world.rule.GameRule

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

Identifier (): getIdentifierWithFallback, method_1_2505, getIdOrFallback

1.21.11_unobfuscated

Names

net.minecraft.world.level.gamerules.GameRule

net.minecraft.class_12279

net.minecraft.world.rule.GameRule

Fields

GameRuleCategory: category, field_64167, category

GameRuleType: gameRuleType, field_64168, type

com.mojang.brigadier.arguments.ArgumentType<T>: argument, field_64169, argumentType

GameRules$Acceptor<T>: visitorCaller, field_64170, acceptor

com.mojang.serialization.Codec<T>: valueCodec, field_64171, codec

ToIntFunction<T>: commandResultFunction, field_64172, commandResultSupplier

T: defaultValue, field_64173, defaultValue

FeatureSet: requiredFeatures, field_64174, requiredFeatures

Constructors

(GameRuleCategory, GameRuleType, com.mojang.brigadier.arguments.ArgumentType<T>, GameRules$Acceptor<T>, com.mojang.serialization.Codec<T>, ToIntFunction<T>, T, FeatureSet)

Methods

String (): id, method_76144, toShortString

Identifier (): getIdentifier, method_76148, getId

String (): getDescriptionId, method_76150, getTranslationKey

String (T): serialize, method_76146, getValueName

com.mojang.serialization.DataResult<T> (String): deserialize, method_76147, deserialize

Class<T> (): valueClass, method_76151, getValueClass

void (GameRuleVisitor): callVisitor, method_76145, accept

int (T): getCommandResult, method_76149, getCommandResult

GameRuleCategory (): category, method_76152, getCategory

GameRuleType (): gameRuleType, method_76153, getType

com.mojang.brigadier.arguments.ArgumentType<T> (): argument, method_76154, getArgumentType

com.mojang.serialization.Codec<T> (): valueCodec, method_76155, getCodec

T (): defaultValue, method_76156, getDefaultValue

FeatureSet (): requiredFeatures, method_45322, getRequiredFeatures

String (): lambda$deserialize$1, method_76158, method_76158

String (): lambda$deserialize$0, method_76159, method_76159