Uses of Record 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
(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item, NumberRange.IntRange durability) ItemDurabilityChangedCriterion.Conditions.create
(Optional<ItemPredicate> item, NumberRange.IntRange durability) KilledByCrossbowCriterion.Conditions.create
(NumberRange.IntRange uniqueEntityTypes) TargetHitCriterion.Conditions.create
(NumberRange.IntRange signalStrength, Optional<LootContextPredicate> projectile) ConstructBeaconCriterion.Conditions.level
(NumberRange.IntRange level) ModifierConstructorDescriptionConditions
(Optional<LootContextPredicate> playerPredicate, @Nullable Block block, Optional<ItemPredicate> item, NumberRange.IntRange beeCount) Conditions
(Optional<LootContextPredicate> playerPredicate, NumberRange.IntRange level) Conditions
(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item, NumberRange.IntRange levels) Conditions
(Optional<LootContextPredicate> playerPredicate, NumberRange.IntRange occupied, NumberRange.IntRange full, NumberRange.IntRange empty, List<ItemPredicate> items) Conditions
(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item, NumberRange.IntRange durability, NumberRange.IntRange delta) Conditions
(Optional<LootContextPredicate> playerPredicate, List<LootContextPredicate> victims, NumberRange.IntRange uniqueEntityTypes) Conditions
(Optional<LootContextPredicate> playerPredicate, Optional<DistancePredicate> distance, NumberRange.IntRange duration) Conditions
(Optional<LootContextPredicate> playerPredicate, NumberRange.IntRange signalStrength, Optional<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 AdvancementCriterion<LightningStrikeCriterion.Conditions>
VanillaAdventureTabAdvancementGenerator.createLightningStrike
(NumberRange.IntRange range, Optional<EntityPredicate> entity) -
Uses of NumberRange.IntRange in net.minecraft.data.server.recipe
Modifier and TypeMethodDescriptionprivate static AdvancementCriterion<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
The field for therange
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<NumberRange.IntRange>
NumberRange.IntRange.CODEC
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 com.google.gson.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, Optional<Integer> optional, Optional<Integer> optional2) LightPredicate.range()
Returns the value of therange
record component.ModifierConstructorDescriptionCreates an instance of aLightPredicate
record class. -
Uses of NumberRange.IntRange in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionprivate final NumberRange.IntRange
EntityEffectPredicate.EffectData.amplifier
The field for theamplifier
record component.private final NumberRange.IntRange
LightningBoltPredicate.blocksSetOnFire
The field for theblocksSetOnFire
record component.private final NumberRange.IntRange
EntityEffectPredicate.EffectData.duration
The field for theduration
record component.private NumberRange.IntRange
PlayerPredicate.Builder.experienceLevel
private final NumberRange.IntRange
PlayerPredicate.experienceLevel
The field for theexperienceLevel
record component.private final NumberRange.IntRange
PlayerPredicate.StatMatcher.range
The field for therange
record component.private final NumberRange.IntRange
SlimePredicate.size
The field for thesize
record component.Modifier and TypeMethodDescriptionEntityEffectPredicate.EffectData.amplifier()
Returns the value of theamplifier
record component.LightningBoltPredicate.blocksSetOnFire()
Returns the value of theblocksSetOnFire
record component.EntityEffectPredicate.EffectData.duration()
Returns the value of theduration
record component.PlayerPredicate.experienceLevel()
Returns the value of theexperienceLevel
record component.PlayerPredicate.StatMatcher.range()
Returns the value of therange
record component.SlimePredicate.size()
Returns the value of thesize
record component.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
(StatType<T> statType, RegistryEntry.Reference<T> value, NumberRange.IntRange range) ModifierConstructorDescriptionEffectData
(NumberRange.IntRange amplifier, NumberRange.IntRange duration, Optional<Boolean> optional, Optional<Boolean> optional2) LightningBoltPredicate
(NumberRange.IntRange blocksSetOnFire, Optional<EntityPredicate> optional) PlayerPredicate
(NumberRange.IntRange experienceLevel, Optional<GameMode> optional, List<PlayerPredicate.StatMatcher<?>> list, Object2BooleanMap<Identifier> recipes, Map<Identifier, PlayerPredicate.AdvancementPredicate> advancements, Optional<EntityPredicate> optional2) Creates an instance of aSlimePredicate
record class.StatMatcher
(StatType<T> type, RegistryEntry<T> value, NumberRange.IntRange range) private
StatMatcher
(StatType<T> statType, RegistryEntry<T> registryEntry, NumberRange.IntRange intRange, Supplier<Stat<T>> supplier) -
Uses of NumberRange.IntRange in net.minecraft.predicate.item
Modifier and TypeFieldDescriptionprivate NumberRange.IntRange
ItemPredicate.Builder.count
private final NumberRange.IntRange
ItemPredicate.count
The field for thecount
record component.private NumberRange.IntRange
ItemPredicate.Builder.durability
private final NumberRange.IntRange
ItemPredicate.durability
The field for thedurability
record component.private final NumberRange.IntRange
EnchantmentPredicate.levels
The field for thelevels
record component.Modifier and TypeMethodDescriptionItemPredicate.count()
Returns the value of thecount
record component.ItemPredicate.durability()
Returns the value of thedurability
record component.EnchantmentPredicate.levels()
Returns the value of thelevels
record component.Modifier and TypeMethodDescriptionItemPredicate.Builder.count
(NumberRange.IntRange count) ItemPredicate.Builder.durability
(NumberRange.IntRange durability) ModifierConstructorDescriptionEnchantmentPredicate
(Optional<RegistryEntry<Enchantment>> optional, NumberRange.IntRange intRange) EnchantmentPredicate
(Enchantment enchantment, NumberRange.IntRange levels) ItemPredicate
(Optional<TagKey<Item>> optional, Optional<RegistryEntryList<Item>> optional2, NumberRange.IntRange count, NumberRange.IntRange durability, List<EnchantmentPredicate> list, List<EnchantmentPredicate> list2, Optional<RegistryEntry<Potion>> optional3, Optional<NbtPredicate> optional4) -
Uses of NumberRange.IntRange in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static int
RandomCommand.execute
(ServerCommandSource source, NumberRange.IntRange range, @Nullable Identifier sequenceId, boolean roll) private static boolean
ExecuteCommand.testScoreMatch
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, NumberRange.IntRange range)