类的使用
net.minecraft.world.GameRules.IntRule
-
使用GameRules.IntRule的程序包 程序包 说明 net.minecraft.client.gui.screen.world net.minecraft.world -
-
net.minecraft.client.gui.screen.world中GameRules.IntRule的使用
参数类型为GameRules.IntRule的net.minecraft.client.gui.screen.world中的构造器 构造器 说明 IntRuleWidget(Text name, List<OrderedText> description, String ruleName, GameRules.IntRule rule) -
net.minecraft.world中GameRules.IntRule的使用
类型参数类型为GameRules.IntRule的net.minecraft.world中的字段 修饰符和类型 字段 说明 static GameRules.Key<GameRules.IntRule>GameRules. MAX_COMMAND_CHAIN_LENGTHstatic GameRules.Key<GameRules.IntRule>GameRules. MAX_ENTITY_CRAMMINGA game rule which regulates the number of entities that can be crammed into a block space before they incur cramming damage.static GameRules.Key<GameRules.IntRule>GameRules. PLAYERS_SLEEPING_PERCENTAGEstatic GameRules.Key<GameRules.IntRule>GameRules. RANDOM_TICK_SPEEDstatic GameRules.Key<GameRules.IntRule>GameRules. SPAWN_RADIUS返回GameRules.IntRule的net.minecraft.world中的方法 修饰符和类型 方法 说明 protected GameRules.IntRuleGameRules.IntRule. copy()protected GameRules.IntRuleGameRules.IntRule. getThis()返回变量类型为GameRules.IntRule的类型的net.minecraft.world中的方法 修饰符和类型 方法 说明 private static GameRules.Type<GameRules.IntRule>GameRules.IntRule. create(int initialValue)private static GameRules.Type<GameRules.IntRule>GameRules.IntRule. create(int initialValue, BiConsumer<MinecraftServer,GameRules.IntRule> changeCallback)参数类型为GameRules.IntRule的net.minecraft.world中的方法 修饰符和类型 方法 说明 voidGameRules.IntRule. setValue(GameRules.IntRule intRule, @Nullable MinecraftServer minecraftServer)类型变量类型为GameRules.IntRule的net.minecraft.world中的方法参数 修饰符和类型 方法 说明 private static GameRules.Type<GameRules.IntRule>GameRules.IntRule. create(int initialValue, BiConsumer<MinecraftServer,GameRules.IntRule> changeCallback)intGameRules. getInt(GameRules.Key<GameRules.IntRule> rule)default voidGameRules.Visitor. visitInt(GameRules.Key<GameRules.IntRule> key, GameRules.Type<GameRules.IntRule> type)Visit an integer rule.default voidGameRules.Visitor. visitInt(GameRules.Key<GameRules.IntRule> key, GameRules.Type<GameRules.IntRule> type)Visit an integer rule.类型变量类型为GameRules.IntRule的net.minecraft.world中的构造器参数 构造器 说明 IntRule(GameRules.Type<GameRules.IntRule> rule, int initialValue)
-