Uses of Class
net.minecraft.predicate.NumberRange.IntRange
Package
Description
-
Uses of NumberRange.IntRange in net.minecraft.advancement.criterion
Modifier and TypeFieldDescriptionprivate final NumberRange.IntRange
BeeNestDestroyedCriterion.Conditions.beeCount
private final NumberRange.IntRange
ItemDurabilityChangedCriterion.Conditions.delta
private final NumberRange.IntRange
ItemDurabilityChangedCriterion.Conditions.durability
private final NumberRange.IntRange
LevitationCriterion.Conditions.duration
private final NumberRange.IntRange
InventoryChangedCriterion.Conditions.empty
private final NumberRange.IntRange
InventoryChangedCriterion.Conditions.full
private final NumberRange.IntRange
ConstructBeaconCriterion.Conditions.level
private final NumberRange.IntRange
EnchantedItemCriterion.Conditions.levels
private final NumberRange.IntRange
InventoryChangedCriterion.Conditions.occupied
private final NumberRange.IntRange
TargetHitCriterion.Conditions.signalStrength
private final NumberRange.IntRange
KilledByCrossbowCriterion.Conditions.uniqueEntityTypes
Modifier and TypeMethodDescriptionBeeNestDestroyedCriterion.Conditions.create
(Block block, ItemPredicate.Builder itemPredicateBuilder, NumberRange.IntRange beeCountRange) ItemDurabilityChangedCriterion.Conditions.create
(LootContextPredicate player, ItemPredicate item, NumberRange.IntRange durability) ItemDurabilityChangedCriterion.Conditions.create
(ItemPredicate item, NumberRange.IntRange durability) KilledByCrossbowCriterion.Conditions.create
(NumberRange.IntRange uniqueEntityTypes) TargetHitCriterion.Conditions.create
(NumberRange.IntRange signalStrength, LootContextPredicate projectile) ConstructBeaconCriterion.Conditions.level
(NumberRange.IntRange level) ModifierConstructorDescriptionConditions
(LootContextPredicate player, @Nullable Block block, ItemPredicate item, NumberRange.IntRange beeCount) Conditions
(LootContextPredicate player, NumberRange.IntRange level) Conditions
(LootContextPredicate player, ItemPredicate item, NumberRange.IntRange levels) Conditions
(LootContextPredicate player, NumberRange.IntRange occupied, NumberRange.IntRange full, NumberRange.IntRange empty, ItemPredicate[] items) Conditions
(LootContextPredicate player, ItemPredicate item, NumberRange.IntRange durability, NumberRange.IntRange delta) Conditions
(LootContextPredicate player, LootContextPredicate[] victims, NumberRange.IntRange uniqueEntityTypes) Conditions
(LootContextPredicate player, DistancePredicate distance, NumberRange.IntRange duration) Conditions
(LootContextPredicate player, NumberRange.IntRange signalStrength, LootContextPredicate projectile) -
Uses of NumberRange.IntRange in net.minecraft.command
Modifier and TypeMethodDescriptionvoid
EntitySelectorReader.setLevelRange
(NumberRange.IntRange levelRange) -
Uses of NumberRange.IntRange in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic NumberRange.IntRange
NumberRangeArgumentType.IntRangeArgumentType.getRangeArgument
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) NumberRangeArgumentType.IntRangeArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) -
Uses of NumberRange.IntRange in net.minecraft.data.server.advancement.vanilla
Modifier and TypeMethodDescriptionprivate static LightningStrikeCriterion.Conditions
VanillaAdventureTabAdvancementGenerator.createLightningStrike
(NumberRange.IntRange range, EntityPredicate entity) -
Uses of NumberRange.IntRange in net.minecraft.data.server.recipe
Modifier and TypeMethodDescriptionprivate static InventoryChangedCriterion.Conditions
RecipeProvider.conditionsFromItem
(NumberRange.IntRange count, ItemConvertible item) -
Uses of NumberRange.IntRange in net.minecraft.predicate
Modifier and TypeFieldDescriptionstatic final NumberRange.IntRange
NumberRange.IntRange.ANY
private NumberRange.IntRange
LightPredicate.Builder.light
private final NumberRange.IntRange
LightPredicate.range
Modifier and TypeMethodDescriptionstatic NumberRange.IntRange
NumberRange.IntRange.atLeast
(int value) static NumberRange.IntRange
NumberRange.IntRange.atMost
(int value) static NumberRange.IntRange
NumberRange.IntRange.between
(int min, int max) static NumberRange.IntRange
NumberRange.IntRange.exactly
(int value) static NumberRange.IntRange
NumberRange.IntRange.fromJson
(@Nullable JsonElement element) static NumberRange.IntRange
NumberRange.IntRange.fromStringReader
(com.mojang.brigadier.StringReader reader, Function<Integer, Integer> converter) static NumberRange.IntRange
NumberRange.IntRange.parse
(com.mojang.brigadier.StringReader reader) private static NumberRange.IntRange
NumberRange.IntRange.parse
(com.mojang.brigadier.StringReader reader, @Nullable Integer min, @Nullable Integer max) -
Uses of NumberRange.IntRange in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionprivate final NumberRange.IntRange
EntityEffectPredicate.EffectData.amplifier
private final NumberRange.IntRange
LightningBoltPredicate.blocksSetOnFire
private final NumberRange.IntRange
EntityEffectPredicate.EffectData.duration
private NumberRange.IntRange
PlayerPredicate.Builder.experienceLevel
private final NumberRange.IntRange
PlayerPredicate.experienceLevel
private final NumberRange.IntRange
SlimePredicate.size
Modifier and TypeFieldDescriptionprivate final Map<Stat<?>,
NumberRange.IntRange> PlayerPredicate.Builder.stats
private final Map<Stat<?>,
NumberRange.IntRange> PlayerPredicate.stats
Modifier and TypeMethodDescriptionPlayerPredicate.Builder.experienceLevel
(NumberRange.IntRange experienceLevel) static LightningBoltPredicate
LightningBoltPredicate.of
(NumberRange.IntRange blocksSetOnFire) static SlimePredicate
SlimePredicate.of
(NumberRange.IntRange size) PlayerPredicate.Builder.stat
(Stat<?> stat, NumberRange.IntRange value) ModifierConstructorDescriptionEffectData
(NumberRange.IntRange amplifier, NumberRange.IntRange duration, @Nullable Boolean ambient, @Nullable Boolean visible) private
LightningBoltPredicate
(NumberRange.IntRange blocksSetOnFire, EntityPredicate entityStruck) (package private)
PlayerPredicate
(NumberRange.IntRange experienceLevel, @Nullable GameMode gameMode, Map<Stat<?>, NumberRange.IntRange> stats, Object2BooleanMap<Identifier> recipes, Map<Identifier, PlayerPredicate.AdvancementPredicate> advancements, EntityPredicate lookingAt) private
ModifierConstructorDescription(package private)
PlayerPredicate
(NumberRange.IntRange experienceLevel, @Nullable GameMode gameMode, Map<Stat<?>, NumberRange.IntRange> stats, Object2BooleanMap<Identifier> recipes, Map<Identifier, PlayerPredicate.AdvancementPredicate> advancements, EntityPredicate lookingAt) -
Uses of NumberRange.IntRange in net.minecraft.predicate.item
Modifier and TypeFieldDescriptionprivate NumberRange.IntRange
ItemPredicate.Builder.count
private final NumberRange.IntRange
ItemPredicate.count
private NumberRange.IntRange
ItemPredicate.Builder.durability
private final NumberRange.IntRange
ItemPredicate.durability
private final NumberRange.IntRange
EnchantmentPredicate.levels
Modifier and TypeMethodDescriptionItemPredicate.Builder.count
(NumberRange.IntRange count) ItemPredicate.Builder.durability
(NumberRange.IntRange durability) ModifierConstructorDescriptionEnchantmentPredicate
(@Nullable Enchantment enchantment, NumberRange.IntRange levels) ItemPredicate
(@Nullable TagKey<Item> tag, @Nullable Set<Item> items, NumberRange.IntRange count, NumberRange.IntRange durability, EnchantmentPredicate[] enchantments, EnchantmentPredicate[] storedEnchantments, @Nullable Potion potion, NbtPredicate nbt) -
Uses of NumberRange.IntRange in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static boolean
ExecuteCommand.testScoreMatch
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, NumberRange.IntRange range)