Uses of Class
net.minecraft.class_12279
Packages that use class_12279
Package
Description
The base package for all Minecraft classes.
-
Uses of class_12279 in net.minecraft
Fields in net.minecraft with type parameters of type class_12279Modifier and TypeFieldDescriptionprivate final Reference2ObjectMap<class_12279<?>, Object> class_12280.field_64177(package private) final Reference2ObjectMap<class_12279<?>, Object> class_12280.class_12281.field_64178Methods in net.minecraft that return types with arguments of type class_12279Modifier and TypeMethodDescriptionSet<class_12279<?>> class_12280.method_76172()private Reference2ObjectMap<class_12279<?>, Object> class_12280.method_76177()Methods in net.minecraft with parameters of type class_12279Modifier and TypeMethodDescriptionbooleanclass_12280.method_76164(class_12279<?> class_12279) <T> voidclass_12280.method_76165(class_12279<T> class_12279, T t) private static <T> voidclass_12280.method_76167(class_12280 class_12280, class_12279<T> class_12279, class_12280 class_122802) <T> @Nullable Tclass_12280.method_76173(class_12279<T> class_12279) <T> @Nullable Tclass_12280.method_76176(class_12279<T> class_12279) class_12280.class_12281.method_76180(class_12279<T> class_12279, T t) Method parameters in net.minecraft with type arguments of type class_12279Modifier and TypeMethodDescriptionvoidclass_12280.method_76168(class_12280 class_12280, Predicate<class_12279<?>> predicate) private static class_12280class_12280.method_76170(Map<class_12279<?>, Object> map) static class_12280class_12280.method_76171(Stream<class_12279<?>> stream) Constructor parameters in net.minecraft with type arguments of type class_12279ModifierConstructorDescription(package private)class_12280(Reference2ObjectMap<class_12279<?>, Object> reference2ObjectMap) -
Uses of class_12279 in net.minecraft.client.gui.screen.world
Methods in net.minecraft.client.gui.screen.world with parameters of type class_12279Modifier and TypeMethodDescriptionEditGameRulesScreen.RuleWidgetFactory.create(Text name, List<OrderedText> description, String ruleName, class_12279<T> rule) Constructors in net.minecraft.client.gui.screen.world with parameters of type class_12279ModifierConstructorDescriptionBooleanRuleWidget(Text text, List<OrderedText> list, String ruleName, class_12279<Boolean> class_12279) IntRuleWidget(Text name, List<OrderedText> description, String ruleName, class_12279<Integer> rule) -
Uses of class_12279 in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type class_12279Modifier and TypeFieldDescriptionstatic final Registry<class_12279<?>> Registries.field_64251static final RegistryKey<Registry<class_12279<?>>> RegistryKeys.GAME_RULE -
Uses of class_12279 in net.minecraft.server
Methods in net.minecraft.server with parameters of type class_12279Modifier and TypeMethodDescription<T> voidMinecraftServer.onGameRuleUpdated(class_12279<T> class_12279, T t) -
Uses of class_12279 in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type class_12279Modifier and TypeMethodDescription(package private) static <T> intGameRuleCommand.executeQuery(ServerCommandSource source, class_12279<T> key) (package private) static <T> intGameRuleCommand.executeSet(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, class_12279<T> key) -
Uses of class_12279 in net.minecraft.server.dedicated.management.dispatch
Fields in net.minecraft.server.dedicated.management.dispatch declared as class_12279Modifier and TypeFieldDescriptionprivate final class_12279<T> GameRuleRpcDispatcher.class_12254.gameRuleThe field for thegameRulerecord component.Methods in net.minecraft.server.dedicated.management.dispatch that return class_12279Modifier and TypeMethodDescriptionGameRuleRpcDispatcher.class_12254.gameRule()Returns the value of thegameRulerecord component.Methods in net.minecraft.server.dedicated.management.dispatch with parameters of type class_12279Modifier and TypeMethodDescriptionprivate static <T> voidGameRuleRpcDispatcher.method_76047(ManagementHandlerDispatcher managementHandlerDispatcher, class_12279<T> class_12279, List<GameRuleRpcDispatcher.class_12254<?>> list) private static <T> com.mojang.serialization.MapCodec<? extends GameRuleRpcDispatcher.class_12254<T>> GameRuleRpcDispatcher.class_12254.method_76050(class_12279<T> class_12279) private static <T> GameRuleRpcDispatcher.class_12254<T> GameRuleRpcDispatcher.class_12254.method_76052(class_12279<T> class_12279, GameRuleType gameRuleType, T t) private static <T> com.mojang.serialization.MapCodec<? extends GameRuleRpcDispatcher.class_12254<T>> GameRuleRpcDispatcher.class_12254.method_76054(class_12279<T> class_12279) static <T> GameRuleRpcDispatcher.class_12254<T> GameRuleRpcDispatcher.toTypedRule(ManagementHandlerDispatcher dispatcher, class_12279<T> class_12279, T t) Constructors in net.minecraft.server.dedicated.management.dispatch with parameters of type class_12279ModifierConstructorDescriptionclass_12254(class_12279<T> gameRule, T value) Creates an instance of aclass_12254record class. -
Uses of class_12279 in net.minecraft.server.dedicated.management.handler
Methods in net.minecraft.server.dedicated.management.handler that return types with arguments of type class_12279Modifier and TypeMethodDescriptionStream<class_12279<?>> GameRuleManagementHandler.getRules()Stream<class_12279<?>> GameRuleManagementHandlerImpl.getRules()Methods in net.minecraft.server.dedicated.management.handler with parameters of type class_12279Modifier and TypeMethodDescription<T> TGameRuleManagementHandler.getRule(class_12279<T> class_12279) <T> TGameRuleManagementHandlerImpl.getRule(class_12279<T> class_12279) GameRuleManagementHandler.toTypedRule(class_12279<T> class_12279, T t) GameRuleManagementHandlerImpl.toTypedRule(class_12279<T> class_12279, T t) -
Uses of class_12279 in net.minecraft.server.dedicated.management.listener
Methods in net.minecraft.server.dedicated.management.listener with parameters of type class_12279Modifier and TypeMethodDescription<T> voidBlankManagementListener.onGameRuleUpdated(class_12279<T> class_12279, T t) <T> voidCompositeManagementListener.onGameRuleUpdated(class_12279<T> class_12279, T t) <T> voidManagementListener.onGameRuleUpdated(class_12279<T> class_12279, T t) <T> voidNotificationManagementListener.onGameRuleUpdated(class_12279<T> class_12279, T t) -
Uses of class_12279 in net.minecraft.server.world
Methods in net.minecraft.server.world with parameters of type class_12279Modifier and TypeMethodDescriptionprivate Explosion.DestructionTypeServerWorld.getDestructionType(class_12279<Boolean> decayRule) -
Uses of class_12279 in net.minecraft.test
Methods in net.minecraft.test with parameters of type class_12279Modifier and TypeMethodDescriptionprivate <T> voidTestEnvironmentDefinition.GameRules.method_76326(ServerWorld serverWorld, class_12279<T> class_12279) -
Uses of class_12279 in net.minecraft.world
Fields in net.minecraft.world declared as class_12279Modifier and TypeFieldDescriptionstatic final class_12279<Boolean> GameRules.ADVANCE_TIMEstatic final class_12279<Boolean> GameRules.ADVANCE_WEATHERstatic final class_12279<Boolean> GameRules.ALLOW_ENTERING_NETHER_USING_PORTALSstatic final class_12279<Boolean> GameRules.ANNOUNCE_ADVANCEMENTSAwhich regulates whether a player's advancements should be announced in chat.invalid reference
game rule
static final class_12279<Boolean> GameRules.BLOCK_EXPLOSION_DROP_DECAYstatic final class_12279<Boolean> GameRules.COMMAND_BLOCK_OUTPUTstatic final class_12279<Boolean> GameRules.COMMAND_BLOCKS_WORKstatic final class_12279<Boolean> GameRules.DISABLE_RAIDSAwhich regulates whether raids should occur.invalid reference
game rule
static final class_12279<Boolean> GameRules.DO_IMMEDIATE_RESPAWNAwhich regulates whether a player should immediately respawn upon death.invalid reference
game rule
static final class_12279<Boolean> GameRules.DO_MOB_GRIEFINGAwhich regulates whether mobs can modify the world.invalid reference
game rule
static final class_12279<Boolean> GameRules.DO_MOB_LOOTAwhich regulates whether mobs should drop loot on death.invalid reference
game rule
static final class_12279<Boolean> GameRules.DO_MOB_SPAWNINGAwhich regulates whether mobs can spawn naturally.invalid reference
game rule
static final class_12279<Boolean> GameRules.DO_TILE_DROPSAwhich regulates whether blocks should drop their items when broken.invalid reference
game rule
static final class_12279<Boolean> GameRules.DROWNING_DAMAGEstatic final class_12279<Boolean> GameRules.ELYTRA_MOVEMENT_CHECKstatic final class_12279<Boolean> GameRules.ENDER_PEARLS_VANISH_ON_DEATHstatic final class_12279<Boolean> GameRules.ENTITY_DROPSstatic final class_12279<Boolean> GameRules.FALL_DAMAGEstatic final class_12279<Boolean> GameRules.FIRE_DAMAGEstatic final class_12279<Integer> GameRules.FIRE_SPREAD_RADIUS_AROUND_PLAYERstatic final class_12279<Boolean> GameRules.FORGIVE_DEAD_PLAYERSstatic final class_12279<Boolean> GameRules.FREEZE_DAMAGEstatic final class_12279<Boolean> GameRules.GLOBAL_SOUND_EVENTSstatic final class_12279<Boolean> GameRules.KEEP_INVENTORYAwhich regulates whether player inventories should be persist through respawning.invalid reference
game rule
static final class_12279<Boolean> GameRules.LAVA_SOURCE_CONVERSIONstatic final class_12279<Boolean> GameRules.LIMITED_CRAFTINGstatic final class_12279<Boolean> GameRules.LOCATOR_BARstatic final class_12279<Boolean> GameRules.LOG_ADMIN_COMMANDSstatic final class_12279<Integer> GameRules.MAX_BLOCK_MODIFICATIONSstatic final class_12279<Integer> GameRules.MAX_COMMAND_FORKSstatic final class_12279<Integer> GameRules.MAX_COMMAND_SEQUENCE_LENGTHstatic final class_12279<Integer> GameRules.MAX_ENTITY_CRAMMINGAwhich regulates the number of entities that can be crammed into a block space before they incur cramming damage.invalid reference
game rule
static final class_12279<Integer> GameRules.MAX_MINECART_SPEEDstatic final class_12279<Integer> GameRules.MAX_SNOW_ACCUMULATION_HEIGHTstatic final class_12279<Boolean> GameRules.MOB_EXPLOSION_DROP_DECAYstatic final class_12279<Boolean> GameRules.NATURAL_HEALTH_REGENERATIONstatic final class_12279<Boolean> GameRules.PLAYER_MOVEMENT_CHECKstatic final class_12279<Integer> GameRules.PLAYERS_NETHER_PORTAL_CREATIVE_DELAYstatic final class_12279<Integer> GameRules.PLAYERS_NETHER_PORTAL_DEFAULT_DELAYstatic final class_12279<Integer> GameRules.PLAYERS_SLEEPING_PERCENTAGEstatic final class_12279<Boolean> GameRules.PROJECTILES_CAN_BREAK_BLOCKSstatic final class_12279<Boolean> GameRules.PVPstatic final class_12279<Integer> GameRules.RANDOM_TICK_SPEEDstatic final class_12279<Boolean> GameRules.REDUCED_DEBUG_INFOAwhich regulates whether clients' debug HUDs show reduced information.invalid reference
game rule
static final class_12279<Integer> GameRules.RESPAWN_RADIUSstatic final class_12279<Boolean> GameRules.SEND_COMMAND_FEEDBACKstatic final class_12279<Boolean> GameRules.SHOW_DEATH_MESSAGESstatic final class_12279<Boolean> GameRules.SPAWN_MONSTERSstatic final class_12279<Boolean> GameRules.SPAWN_PATROLSstatic final class_12279<Boolean> GameRules.SPAWN_PHANTOMSstatic final class_12279<Boolean> GameRules.SPAWN_WANDERING_TRADERSstatic final class_12279<Boolean> GameRules.SPAWN_WARDENSstatic final class_12279<Boolean> GameRules.SPAWNER_BLOCKS_WORKstatic final class_12279<Boolean> GameRules.SPECTATORS_GENERATE_CHUNKSstatic final class_12279<Boolean> GameRules.SPREAD_VINESstatic final class_12279<Boolean> GameRules.TNT_EXPLODESstatic final class_12279<Boolean> GameRules.TNT_EXPLOSION_DROP_DECAYstatic final class_12279<Boolean> GameRules.UNIVERSAL_ANGERstatic final class_12279<Boolean> GameRules.WATER_SOURCE_CONVERSIONMethods in net.minecraft.world that return class_12279Modifier and TypeMethodDescriptionprivate static class_12279<Integer> GameRules.method_76195(String string, Category category, int int2, int int3) private static class_12279<Integer> GameRules.method_76196(String string, Category category, int int2, int int3, int int4) private static class_12279<Integer> GameRules.method_76197(String string, Category category, int int2, int int3, int int4, FeatureSet featureSet) private static class_12279<Boolean> GameRules.method_76198(String string, Category category, boolean bool) static class_12279<?> GameRules.method_76199(Registry<class_12279<?>> registry) private static <T> class_12279<T> GameRules.register(String string, Category category, GameRuleType gameRuleType, com.mojang.brigadier.arguments.ArgumentType<T> argumentType, com.mojang.serialization.Codec<T> codec, T t, FeatureSet featureSet, GameRules.Acceptor<T> acceptor, ToIntFunction<T> toIntFunction) Methods in net.minecraft.world that return types with arguments of type class_12279Methods in net.minecraft.world with parameters of type class_12279Modifier and TypeMethodDescriptionvoidGameRules.Acceptor.call(Visitor consumer, class_12279<T> class_12279) <T> TGameRules.method_76185(class_12279<T> class_12279) <T> voidGameRules.method_76186(class_12279<T> class_12279, T t, @Nullable MinecraftServer minecraftServer) private <T> voidGameRules.method_76187(class_12280 class_12280, class_12279<T> class_12279, @Nullable MinecraftServer minecraftServer) <T> StringGameRules.method_76200(class_12279<T> class_12279) default <T> voidVisitor.visit(class_12279<T> class_12279) Visit a game rule.default voidVisitor.visitBoolean(class_12279<Boolean> class_12279) Visit a boolean rule.default voidVisitor.visitInt(class_12279<Integer> class_12279) Visit an integer rule.Method parameters in net.minecraft.world with type arguments of type class_12279Modifier and TypeMethodDescriptionstatic class_12279<?> GameRules.method_76199(Registry<class_12279<?>> registry)