net.minecraft.test

public record TestEnvironmentDefinition$GameRules

implements TestEnvironmentDefinition<ServerGameRules>

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 ServerGameRules
setup(ServerLevel level)
method_67051(class_3218 arg0)
setup(ServerWorld arg0)
private static <T> void
setFromActive(GameRuleMap map, GameRule<T> rule, GameRules rules)
method_1_676(class_12280 arg0, class_12279<T> arg1, class_1928 arg2)
copyRuleValue(ServerGameRules dest, GameRule<T> rule, GameRules src)
public void
teardown(ServerLevel level, GameRuleMap saveData)
method_1_678(class_3218 arg0, class_12280 arg1)
teardown(ServerWorld arg0, ServerGameRules arg1)
public com.mojang.serialization.MapCodec<TestEnvironmentDefinition$GameRules>
codec()
method_67050()
getCodec()
public ServerGameRules
gameRulesMap()
comp_5194()
gameRulesMap()
public void
teardown(ServerLevel level, Object saveData)
method_67054(class_3218 arg0, Object arg1)
teardown(ServerWorld arg0, Object arg1)
public Object
setup(ServerLevel level)
method_67051(class_3218 arg0)
setup(ServerWorld arg0)
private static void
lambda$setup$0(GameRuleMap arg0, GameRules arg1, GameRule arg2)
method_1_675(class_12280 arg0, class_1928 arg1, class_12279 arg2)
method_1_675(ServerGameRules arg0, GameRules arg1, 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)