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
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
private final MinMaxBounds.Ints
ItemDurabilityTrigger.TriggerInstance.durability
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
private final MinMaxBounds.Ints
MobEffectsPredicate.MobEffectInstancePredicate.duration
The field for theduration
record component.private final MinMaxBounds.Ints
ConstructBeaconTrigger.TriggerInstance.level
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
private final MinMaxBounds.Ints
BeeNestDestroyedTrigger.TriggerInstance.numBees
private final MinMaxBounds.Ints
PlayerPredicate.StatMatcher.range
The field for therange
record component.private final MinMaxBounds.Ints
TargetBlockTrigger.TriggerInstance.signalStrength
private final MinMaxBounds.Ints
SlimePredicate.size
The field for thesize
record component.private final MinMaxBounds.Ints
InventoryChangeTrigger.TriggerInstance.slotsEmpty
private final MinMaxBounds.Ints
InventoryChangeTrigger.TriggerInstance.slotsFull
private final MinMaxBounds.Ints
InventoryChangeTrigger.TriggerInstance.slotsOccupied
private final MinMaxBounds.Ints
KilledByCrossbowTrigger.TriggerInstance.uniqueEntityTypes
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_) 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_) ItemPredicate.durability()
Returns the value of thedurability
record component.MobEffectsPredicate.MobEffectInstancePredicate.duration()
Returns the value of theduration
record component.static MinMaxBounds.Ints
MinMaxBounds.Ints.exactly
(int p_55372_) static MinMaxBounds.Ints
MinMaxBounds.Ints.fromJson
(com.google.gson.JsonElement p_55374_) 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_) EnchantmentPredicate.level()
Returns the value of thelevel
record component.PlayerPredicate.level()
Returns the value of thelevel
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.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.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> p_299887_, Block p_286264_, Optional<ItemPredicate> p_300755_, MinMaxBounds.Ints p_286574_) TriggerInstance
(Optional<ContextAwarePredicate> p_297785_, MinMaxBounds.Ints p_286272_) TriggerInstance
(Optional<ContextAwarePredicate> p_299804_, Optional<ItemPredicate> p_297635_, MinMaxBounds.Ints p_286367_) TriggerInstance
(Optional<ContextAwarePredicate> p_300026_, MinMaxBounds.Ints p_286313_, MinMaxBounds.Ints p_286767_, MinMaxBounds.Ints p_286601_, List<ItemPredicate> p_297907_) TriggerInstance
(Optional<ContextAwarePredicate> p_300271_, Optional<ItemPredicate> p_297485_, MinMaxBounds.Ints p_286431_, MinMaxBounds.Ints p_286460_) TriggerInstance
(Optional<ContextAwarePredicate> p_297734_, List<ContextAwarePredicate> p_299724_, MinMaxBounds.Ints p_286571_) TriggerInstance
(Optional<ContextAwarePredicate> p_298212_, Optional<DistancePredicate> p_301220_, MinMaxBounds.Ints p_286676_) TriggerInstance
(Optional<ContextAwarePredicate> p_300415_, MinMaxBounds.Ints p_286505_, Optional<ContextAwarePredicate> p_297232_) -
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_)