net.minecraft.test

public record TestEnvironmentDefinition$GameRules

implements TestEnvironmentDefinition

net.minecraft.gametest.framework.TestEnvironmentDefinition$SetGameRules
net.minecraft.class_10665$class_10668
net.minecraft.test.TestEnvironmentDefinition$GameRules

Field summary

Modifier and TypeField
private final ServerGameRules
gameRulesMap
comp_5194
gameRulesMap
public static final com.mojang.serialization.MapCodec<TestEnvironmentDefinition$GameRules>
CODEC
field_56205
CODEC

Constructor summary

ModifierConstructor
public (ServerGameRules gameRulesMap)

Method summary

Modifier and TypeMethod
public void
setup(ServerLevel level)
method_67051(class_3218 arg0)
setup(ServerWorld arg0)
public void
teardown(ServerLevel level)
method_67054(class_3218 arg0)
teardown(ServerWorld arg0)
private <T> void
resetRule(ServerLevel level, GameRule<T> gameRule)
method_76326(class_3218 arg0, class_12279<T> arg1)
resetValue(ServerWorld serverWorld, GameRule<T> rule)
public com.mojang.serialization.MapCodec<TestEnvironmentDefinition$GameRules>
codec()
method_67050()
getCodec()
public ServerGameRules
gameRulesMap()
comp_5194()
gameRulesMap()
private void
lambda$teardown$1(ServerLevel arg0, GameRule arg1)
method_76328(class_3218 arg0, class_12279 arg1)
method_76328(ServerWorld arg0, GameRule rule)
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_76327(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_76327(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)