Uses of Record Class
net.minecraft.advancements.critereon.MinMaxBounds.Ints
Package
Description
-
Uses of MinMaxBounds.Ints in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final MinMaxBounds.Ints
MobEffectsPredicate.MobEffectInstancePredicate.amplifier
The field for theamplifier
record component.static final MinMaxBounds.Ints
MinMaxBounds.Ints.ANY
private final MinMaxBounds.Ints
BeeNestDestroyedTrigger.TriggerInstance.beesInside
The field for thebeesInside
record component.private final MinMaxBounds.Ints
LightningBoltPredicate.blocksSetOnFire
The field for theblocksSetOnFire
record component.private MinMaxBounds.Ints
LightPredicate.Builder.composite
private final MinMaxBounds.Ints
LightPredicate.composite
The field for thecomposite
record component.private MinMaxBounds.Ints
ItemPredicate.Builder.count
private final MinMaxBounds.Ints
ItemPredicate.count
The field for thecount
record component.private final MinMaxBounds.Ints
ItemDurabilityTrigger.TriggerInstance.delta
The field for thedelta
record component.private final MinMaxBounds.Ints
ItemDurabilityTrigger.TriggerInstance.durability
The field for thedurability
record component.private MinMaxBounds.Ints
ItemPredicate.Builder.durability
private final MinMaxBounds.Ints
ItemPredicate.durability
The field for thedurability
record component.private final MinMaxBounds.Ints
LevitationTrigger.TriggerInstance.duration
The field for theduration
record component.private final MinMaxBounds.Ints
MobEffectsPredicate.MobEffectInstancePredicate.duration
The field for theduration
record component.private final MinMaxBounds.Ints
InventoryChangeTrigger.TriggerInstance.Slots.empty
The field for theempty
record component.private final MinMaxBounds.Ints
InventoryChangeTrigger.TriggerInstance.Slots.full
The field for thefull
record component.private final MinMaxBounds.Ints
ConstructBeaconTrigger.TriggerInstance.level
The field for thelevel
record component.private final MinMaxBounds.Ints
EnchantmentPredicate.level
The field for thelevel
record component.private MinMaxBounds.Ints
PlayerPredicate.Builder.level
private final MinMaxBounds.Ints
PlayerPredicate.level
The field for thelevel
record component.private final MinMaxBounds.Ints
EnchantedItemTrigger.TriggerInstance.levels
The field for thelevels
record component.private final MinMaxBounds.Ints
InventoryChangeTrigger.TriggerInstance.Slots.occupied
The field for theoccupied
record component.private final MinMaxBounds.Ints
PlayerPredicate.StatMatcher.range
The field for therange
record component.private final MinMaxBounds.Ints
TargetBlockTrigger.TriggerInstance.signalStrength
The field for thesignalStrength
record component.private final MinMaxBounds.Ints
SlimePredicate.size
The field for thesize
record component.private final MinMaxBounds.Ints
KilledByCrossbowTrigger.TriggerInstance.uniqueEntityTypes
The field for theuniqueEntityTypes
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<MinMaxBounds.Ints>
MinMaxBounds.Ints.CODEC
Modifier and TypeMethodDescriptionMobEffectsPredicate.MobEffectInstancePredicate.amplifier()
Returns the value of theamplifier
record component.static MinMaxBounds.Ints
MinMaxBounds.Ints.atLeast
(int p_55387_) static MinMaxBounds.Ints
MinMaxBounds.Ints.atMost
(int p_154820_) BeeNestDestroyedTrigger.TriggerInstance.beesInside()
Returns the value of thebeesInside
record component.static MinMaxBounds.Ints
MinMaxBounds.Ints.between
(int p_154815_, int p_154816_) LightningBoltPredicate.blocksSetOnFire()
Returns the value of theblocksSetOnFire
record component.LightPredicate.composite()
Returns the value of thecomposite
record component.ItemPredicate.count()
Returns the value of thecount
record component.private static MinMaxBounds.Ints
MinMaxBounds.Ints.create
(com.mojang.brigadier.StringReader p_55378_, Optional<Integer> p_297316_, Optional<Integer> p_300359_) ItemDurabilityTrigger.TriggerInstance.delta()
Returns the value of thedelta
record component.ItemDurabilityTrigger.TriggerInstance.durability()
Returns the value of thedurability
record component.ItemPredicate.durability()
Returns the value of thedurability
record component.LevitationTrigger.TriggerInstance.duration()
Returns the value of theduration
record component.MobEffectsPredicate.MobEffectInstancePredicate.duration()
Returns the value of theduration
record component.InventoryChangeTrigger.TriggerInstance.Slots.empty()
Returns the value of theempty
record component.static MinMaxBounds.Ints
MinMaxBounds.Ints.exactly
(int p_55372_) static MinMaxBounds.Ints
MinMaxBounds.Ints.fromReader
(com.mojang.brigadier.StringReader p_55376_) static MinMaxBounds.Ints
MinMaxBounds.Ints.fromReader
(com.mojang.brigadier.StringReader p_55382_, Function<Integer, Integer> p_55383_) InventoryChangeTrigger.TriggerInstance.Slots.full()
Returns the value of thefull
record component.ConstructBeaconTrigger.TriggerInstance.level()
Returns the value of thelevel
record component.EnchantmentPredicate.level()
Returns the value of thelevel
record component.PlayerPredicate.level()
Returns the value of thelevel
record component.EnchantedItemTrigger.TriggerInstance.levels()
Returns the value of thelevels
record component.InventoryChangeTrigger.TriggerInstance.Slots.occupied()
Returns the value of theoccupied
record component.PlayerPredicate.StatMatcher.range()
Returns the value of therange
record component.TargetBlockTrigger.TriggerInstance.signalStrength()
Returns the value of thesignalStrength
record component.SlimePredicate.size()
Returns the value of thesize
record component.KilledByCrossbowTrigger.TriggerInstance.uniqueEntityTypes()
Returns the value of theuniqueEntityTypes
record component.Modifier and TypeMethodDescriptionPlayerPredicate.Builder.addStat
(StatType<T> p_300081_, Holder.Reference<T> p_298048_, MinMaxBounds.Ints p_156770_) static LightningBoltPredicate
LightningBoltPredicate.blockSetOnFire
(MinMaxBounds.Ints p_297323_) ItemDurabilityTrigger.TriggerInstance.changedDurability
(Optional<ContextAwarePredicate> p_299530_, Optional<ItemPredicate> p_300893_, MinMaxBounds.Ints p_286730_) ItemDurabilityTrigger.TriggerInstance.changedDurability
(Optional<ItemPredicate> p_300870_, MinMaxBounds.Ints p_151288_) ConstructBeaconTrigger.TriggerInstance.constructedBeacon
(MinMaxBounds.Ints p_22766_) KilledByCrossbowTrigger.TriggerInstance.crossbowKilled
(MinMaxBounds.Ints p_46894_) BeeNestDestroyedTrigger.TriggerInstance.destroyedBeeNest
(Block p_17513_, ItemPredicate.Builder p_17514_, MinMaxBounds.Ints p_17515_) ItemPredicate.Builder.hasDurability
(MinMaxBounds.Ints p_151450_) LightPredicate.Builder.setComposite
(MinMaxBounds.Ints p_153105_) PlayerPredicate.Builder.setLevel
(MinMaxBounds.Ints p_156776_) static SlimePredicate
SlimePredicate.sized
(MinMaxBounds.Ints p_223427_) TargetBlockTrigger.TriggerInstance.targetHit
(MinMaxBounds.Ints p_286700_, Optional<ContextAwarePredicate> p_299065_) ItemPredicate.Builder.withCount
(MinMaxBounds.Ints p_151444_) ModifierConstructorDescriptionEnchantmentPredicate
(Optional<Holder<Enchantment>> enchantment, MinMaxBounds.Ints level) Creates an instance of aEnchantmentPredicate
record class.EnchantmentPredicate
(Enchantment p_30471_, MinMaxBounds.Ints p_30472_) ItemPredicate
(Optional<TagKey<Item>> tag, Optional<HolderSet<Item>> items, MinMaxBounds.Ints count, MinMaxBounds.Ints durability, List<EnchantmentPredicate> enchantments, List<EnchantmentPredicate> storedEnchantments, Optional<Holder<Potion>> potion, Optional<NbtPredicate> nbt) Creates an instance of aItemPredicate
record class.LightningBoltPredicate
(MinMaxBounds.Ints blocksSetOnFire, Optional<EntityPredicate> entityStruck) Creates an instance of aLightningBoltPredicate
record class.LightPredicate
(MinMaxBounds.Ints composite) Creates an instance of aLightPredicate
record class.MobEffectInstancePredicate
(MinMaxBounds.Ints amplifier, MinMaxBounds.Ints duration, Optional<Boolean> ambient, Optional<Boolean> visible) Creates an instance of aMobEffectInstancePredicate
record class.PlayerPredicate
(MinMaxBounds.Ints level, Optional<GameType> gameType, List<PlayerPredicate.StatMatcher<?>> stats, it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation> recipes, Map<ResourceLocation, PlayerPredicate.AdvancementPredicate> advancements, Optional<EntityPredicate> lookingAt) Creates an instance of aPlayerPredicate
record class.Creates an instance of aSlimePredicate
record class.Slots
(MinMaxBounds.Ints occupied, MinMaxBounds.Ints full, MinMaxBounds.Ints empty) Creates an instance of aSlots
record class.StatMatcher
(StatType<T> p_297612_, Holder<T> p_301288_, MinMaxBounds.Ints p_298901_) (package private)
StatMatcher
(StatType<T> type, Holder<T> value, MinMaxBounds.Ints range, Supplier<Stat<T>> stat) Creates an instance of aStatMatcher
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<Holder<Block>> block, Optional<ItemPredicate> item, MinMaxBounds.Ints beesInside) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, MinMaxBounds.Ints level) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item, MinMaxBounds.Ints levels) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item, MinMaxBounds.Ints durability, MinMaxBounds.Ints delta) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, List<ContextAwarePredicate> victims, MinMaxBounds.Ints uniqueEntityTypes) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<DistancePredicate> distance, MinMaxBounds.Ints duration) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, MinMaxBounds.Ints signalStrength, Optional<ContextAwarePredicate> projectile) Creates an instance of aTriggerInstance
record class. -
Uses of MinMaxBounds.Ints in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionstatic MinMaxBounds.Ints
RangeArgument.Ints.getRange
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_105420_, String p_105421_) RangeArgument.Ints.parse
(com.mojang.brigadier.StringReader p_105418_) -
Uses of MinMaxBounds.Ints in net.minecraft.commands.arguments.selector
Modifier and TypeMethodDescriptionvoid
EntitySelectorParser.setLevel
(MinMaxBounds.Ints p_121246_) -
Uses of MinMaxBounds.Ints in net.minecraft.data.advancements.packs
Modifier and TypeMethodDescriptionprivate static Criterion<LightningStrikeTrigger.TriggerInstance>
VanillaAdventureAdvancements.fireCountAndBystander
(MinMaxBounds.Ints p_252298_, Optional<EntityPredicate> p_300450_) -
Uses of MinMaxBounds.Ints in net.minecraft.data.recipes
Modifier and TypeMethodDescriptionprivate static Criterion<InventoryChangeTrigger.TriggerInstance>
RecipeProvider.has
(MinMaxBounds.Ints p_176521_, ItemLike p_176522_) -
Uses of MinMaxBounds.Ints in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static boolean
ExecuteCommand.checkScore
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137059_, MinMaxBounds.Ints p_137060_) private static int
RandomCommand.randomSample
(CommandSourceStack p_299745_, MinMaxBounds.Ints p_299529_, ResourceLocation p_301238_, boolean p_298006_)