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.beesInside
The field for thebeesInside
record component.private final NumberRange.IntRange
ItemDurabilityChangedCriterion.Conditions.delta
The field for thedelta
record component.private final NumberRange.IntRange
ItemDurabilityChangedCriterion.Conditions.durability
The field for thedurability
record component.private final NumberRange.IntRange
LevitationCriterion.Conditions.duration
The field for theduration
record component.private final NumberRange.IntRange
InventoryChangedCriterion.Conditions.Slots.empty
The field for theempty
record component.private final NumberRange.IntRange
InventoryChangedCriterion.Conditions.Slots.full
The field for thefull
record component.private final NumberRange.IntRange
ConstructBeaconCriterion.Conditions.level
The field for thelevel
record component.private final NumberRange.IntRange
EnchantedItemCriterion.Conditions.levels
The field for thelevels
record component.private final NumberRange.IntRange
InventoryChangedCriterion.Conditions.Slots.occupied
The field for theoccupied
record component.private final NumberRange.IntRange
TargetHitCriterion.Conditions.signalStrength
The field for thesignalStrength
record component.private final NumberRange.IntRange
KilledByCrossbowCriterion.Conditions.uniqueEntityTypes
The field for theuniqueEntityTypes
record component.Modifier and TypeMethodDescriptionBeeNestDestroyedCriterion.Conditions.beesInside()
Returns the value of thebeesInside
record component.ItemDurabilityChangedCriterion.Conditions.delta()
Returns the value of thedelta
record component.ItemDurabilityChangedCriterion.Conditions.durability()
Returns the value of thedurability
record component.LevitationCriterion.Conditions.duration()
Returns the value of theduration
record component.InventoryChangedCriterion.Conditions.Slots.empty()
Returns the value of theempty
record component.InventoryChangedCriterion.Conditions.Slots.full()
Returns the value of thefull
record component.ConstructBeaconCriterion.Conditions.level()
Returns the value of thelevel
record component.EnchantedItemCriterion.Conditions.levels()
Returns the value of thelevels
record component.InventoryChangedCriterion.Conditions.Slots.occupied()
Returns the value of theoccupied
record component.TargetHitCriterion.Conditions.signalStrength()
Returns the value of thesignalStrength
record component.KilledByCrossbowCriterion.Conditions.uniqueEntityTypes()
Returns the value of theuniqueEntityTypes
record component.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, Optional<RegistryEntry<Block>> optional, 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, 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) Slots
(NumberRange.IntRange intRange, NumberRange.IntRange intRange2, NumberRange.IntRange intRange3) -
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.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> min, Optional<Integer> max) LightPredicate.range()
Returns the value of therange
record component.ModifierConstructorDescriptionCreates an instance of aLightPredicate
record class. -
Uses of NumberRange.IntRange in net.minecraft.predicate.collection
Modifier and TypeFieldDescriptionprivate final NumberRange.IntRange
CollectionCountsPredicate.Entry.count
The field for thecount
record component.Modifier and TypeFieldDescriptionprivate final Optional
<NumberRange.IntRange> CollectionPredicate.size
The field for thesize
record component.Modifier and TypeMethodDescriptionCollectionCountsPredicate.Entry.count()
Returns the value of thecount
record component. -
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 final NumberRange.IntRange
DamagePredicate.damage
The field for thedamage
record component.private final NumberRange.IntRange
DamagePredicate.durability
The field for thedurability
record component.private final NumberRange.IntRange
FireworksPredicate.flightDuration
The field for theflightDuration
record component.private final NumberRange.IntRange
WrittenBookContentPredicate.generation
The field for thegeneration
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.DamagePredicate.damage()
Returns the value of thedamage
record component.DamagePredicate.durability()
Returns the value of thedurability
record component.FireworksPredicate.flightDuration()
Returns the value of theflightDuration
record component.WrittenBookContentPredicate.generation()
Returns the value of thegeneration
record component.EnchantmentPredicate.levels()
Returns the value of thelevels
record component.Modifier and TypeMethodDescriptionItemPredicate.Builder.count
(NumberRange.IntRange count) static DamagePredicate
DamagePredicate.durability
(NumberRange.IntRange durability) ModifierConstructorDescriptionDamagePredicate
(NumberRange.IntRange intRange, NumberRange.IntRange intRange2) EnchantmentPredicate
(Optional<RegistryEntry<Enchantment>> optional, NumberRange.IntRange intRange) EnchantmentPredicate
(Enchantment enchantment, NumberRange.IntRange levels) FireworksPredicate
(Optional<CollectionPredicate<FireworkExplosionComponent, FireworkExplosionPredicate.Predicate>> optional, NumberRange.IntRange intRange) ItemPredicate
(Optional<RegistryEntryList<Item>> optional, NumberRange.IntRange intRange, ComponentPredicate componentPredicate, Map<ItemSubPredicate.Type<?>, ItemSubPredicate> map) WrittenBookContentPredicate
(Optional<CollectionPredicate<RawFilteredPair<Text>, WrittenBookContentPredicate.RawTextPredicate>> optional, Optional<String> optional2, Optional<String> optional3, NumberRange.IntRange intRange, Optional<Boolean> 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)