Class GameRuleMap
java.lang.Object
net.minecraft.world.level.gamerules.GameRuleMap
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGameRuleMap(it.unimi.dsi.fastutil.objects.Reference2ObjectMap<GameRule<?>, Object> map) -
Method Summary
Modifier and TypeMethodDescriptionstatic GameRuleMapcopyOf(GameRuleMap other) boolean<T> @Nullable TbooleaninthashCode()keySet()map()static GameRuleMapof()static GameRuleMapprivate static GameRuleMap<T> @Nullable T<T> voidvoidsetFromIf(GameRuleMap map, Predicate<GameRule<?>> predicate) private static <T> voidsetGameRule(GameRuleMap map, GameRule<T> gameRule, GameRuleMap source) intsize()toString()withOther(GameRuleMap other)
-
Field Details
-
CODEC
-
map
-
-
Constructor Details
-
GameRuleMap
-
-
Method Details