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 final MinMaxBounds.Ints
CollectionCountsPredicate.Entry.count
The field for thecount
record component.private MinMaxBounds.Ints
ItemPredicate.Builder.count
private final MinMaxBounds.Ints
ItemPredicate.count
The field for thecount
record component.private final MinMaxBounds.Ints
ItemDamagePredicate.damage
The field for thedamage
record component.private final MinMaxBounds.Ints
ItemDurabilityTrigger.TriggerInstance.delta
The field for thedelta
record component.private final MinMaxBounds.Ints
ItemDamagePredicate.durability
The field for thedurability
record component.private final MinMaxBounds.Ints
ItemDurabilityTrigger.TriggerInstance.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
ItemFireworksPredicate.flightDuration
The field for theflightDuration
record component.private final MinMaxBounds.Ints
InventoryChangeTrigger.TriggerInstance.Slots.full
The field for thefull
record component.private final MinMaxBounds.Ints
ItemWrittenBookPredicate.generation
The field for thegeneration
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
private final Optional
<MinMaxBounds.Ints> CollectionPredicate.size
The field for thesize
record component.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.CollectionCountsPredicate.Entry.count()
Returns the value of thecount
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_298250_, Optional<Integer> p_298579_) ItemDamagePredicate.damage()
Returns the value of thedamage
record component.ItemDurabilityTrigger.TriggerInstance.delta()
Returns the value of thedelta
record component.ItemDamagePredicate.durability()
Returns the value of thedurability
record component.ItemDurabilityTrigger.TriggerInstance.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_) ItemFireworksPredicate.flightDuration()
Returns the value of theflightDuration
record component.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.ItemWrittenBookPredicate.generation()
Returns the value of thegeneration
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 TypeMethodDescriptionCollectionPredicate.size()
Returns the value of thesize
record component.Modifier and TypeMethodDescriptionPlayerPredicate.Builder.addStat
(StatType<T> p_299266_, Holder.Reference<T> p_299053_, MinMaxBounds.Ints p_156770_) static LightningBoltPredicate
LightningBoltPredicate.blockSetOnFire
(MinMaxBounds.Ints p_299013_) ItemDurabilityTrigger.TriggerInstance.changedDurability
(Optional<ContextAwarePredicate> p_299196_, Optional<ItemPredicate> p_299039_, MinMaxBounds.Ints p_286730_) ItemDurabilityTrigger.TriggerInstance.changedDurability
(Optional<ItemPredicate> p_299020_, MinMaxBounds.Ints p_151288_) ConstructBeaconTrigger.TriggerInstance.constructedBeacon
(MinMaxBounds.Ints p_301138_) KilledByCrossbowTrigger.TriggerInstance.crossbowKilled
(MinMaxBounds.Ints p_301148_) BeeNestDestroyedTrigger.TriggerInstance.destroyedBeeNest
(Block p_17513_, ItemPredicate.Builder p_17514_, MinMaxBounds.Ints p_17515_) static ItemDamagePredicate
ItemDamagePredicate.durability
(MinMaxBounds.Ints p_334087_) 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_298563_) ItemPredicate.Builder.withCount
(MinMaxBounds.Ints p_151444_) ModifierConstructorDescriptionEnchantmentPredicate
(Optional<HolderSet<Enchantment>> enchantments, MinMaxBounds.Ints level) Creates an instance of aEnchantmentPredicate
record class.EnchantmentPredicate
(Holder<Enchantment> p_345021_, MinMaxBounds.Ints p_345012_) EnchantmentPredicate
(HolderSet<Enchantment> p_346051_, MinMaxBounds.Ints p_30472_) Entry
(P test, MinMaxBounds.Ints count) Creates an instance of aEntry
record class.ItemDamagePredicate
(MinMaxBounds.Ints durability, MinMaxBounds.Ints damage) Creates an instance of aItemDamagePredicate
record class.ItemFireworksPredicate
(Optional<CollectionPredicate<FireworkExplosion, ItemFireworkExplosionPredicate.FireworkPredicate>> explosions, MinMaxBounds.Ints flightDuration) Creates an instance of aItemFireworksPredicate
record class.ItemPredicate
(Optional<HolderSet<Item>> items, MinMaxBounds.Ints count, DataComponentPredicate components, Map<ItemSubPredicate.Type<?>, ItemSubPredicate> subPredicates) Creates an instance of aItemPredicate
record class.ItemWrittenBookPredicate
(Optional<CollectionPredicate<Filterable<Component>, ItemWrittenBookPredicate.PagePredicate>> pages, Optional<String> author, Optional<String> title, MinMaxBounds.Ints generation, Optional<Boolean> resolved) Creates an instance of aItemWrittenBookPredicate
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, GameTypePredicate 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_299207_, Holder<T> p_298208_, MinMaxBounds.Ints p_299102_) (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_299106_) -
Uses of MinMaxBounds.Ints in net.minecraft.data.recipes
Modifier and TypeMethodDescriptionprotected 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_295774_, MinMaxBounds.Ints p_295453_, ResourceLocation p_294336_, boolean p_296222_)