Uses of Class
net.minecraft.entity.effect.StatusEffect
Packages that use StatusEffect
Package
Description
-
Uses of StatusEffect in net.minecraft.block
Fields in net.minecraft.block with type parameters of type StatusEffectModifier and TypeFieldDescription(package private) final RegistryEntry
<StatusEffect> EyeblossomBlock.EyeblossomState.stewEffect
Method parameters in net.minecraft.block with type arguments of type StatusEffectModifier and TypeMethodDescriptionprotected static SuspiciousStewEffectsComponent
FlowerBlock.createStewEffectList
(RegistryEntry<StatusEffect> effect, float effectLengthInSeconds) Constructor parameters in net.minecraft.block with type arguments of type StatusEffectModifierConstructorDescriptionprivate
EyeblossomState
(boolean open, RegistryEntry<StatusEffect> stewEffect, float effectLengthInSeconds, SoundEvent longSound, SoundEvent sound, int particleColor) FlowerBlock
(RegistryEntry<StatusEffect> stewEffect, float effectLengthInSeconds, AbstractBlock.Settings settings) WitherRoseBlock
(RegistryEntry<StatusEffect> stewEffect, float effectLengthInSeconds, AbstractBlock.Settings settings) -
Uses of StatusEffect in net.minecraft.block.entity
Fields in net.minecraft.block.entity with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate static final Set
<RegistryEntry<StatusEffect>> BeaconBlockEntity.EFFECTS
static final List
<List<RegistryEntry<StatusEffect>>> BeaconBlockEntity.EFFECTS_BY_LEVEL
(package private) @Nullable RegistryEntry
<StatusEffect> BeaconBlockEntity.primary
(package private) @Nullable RegistryEntry
<StatusEffect> BeaconBlockEntity.secondary
Methods in net.minecraft.block.entity that return types with arguments of type StatusEffectModifier and TypeMethodDescription(package private) static @Nullable RegistryEntry
<StatusEffect> BeaconBlockEntity.getEffectOrNull
(@Nullable RegistryEntry<StatusEffect> effect) private static @Nullable RegistryEntry
<StatusEffect> BeaconBlockEntity.readStatusEffect
(NbtCompound nbt, String key) Method parameters in net.minecraft.block.entity with type arguments of type StatusEffectModifier and TypeMethodDescriptionprivate static void
BeaconBlockEntity.applyPlayerEffects
(World world, BlockPos pos, int beaconLevel, @Nullable RegistryEntry<StatusEffect> primaryEffect, @Nullable RegistryEntry<StatusEffect> secondaryEffect) (package private) static @Nullable RegistryEntry
<StatusEffect> BeaconBlockEntity.getEffectOrNull
(@Nullable RegistryEntry<StatusEffect> effect) private static void
BeaconBlockEntity.writeStatusEffect
(NbtCompound nbt, String key, @Nullable RegistryEntry<StatusEffect> effect) -
Uses of StatusEffect in net.minecraft.block.spawner
Methods in net.minecraft.block.spawner that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionprivate static Optional
<com.mojang.datafixers.util.Pair<PlayerEntity, RegistryEntry<StatusEffect>>> TrialSpawnerData.findPlayerWithOmen
(ServerWorld world, List<UUID> players) -
Uses of StatusEffect in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate RegistryEntry
<StatusEffect> BeaconScreen.EffectButtonWidget.effect
(package private) @Nullable RegistryEntry
<StatusEffect> BeaconScreen.primaryEffect
(package private) @Nullable RegistryEntry
<StatusEffect> BeaconScreen.secondaryEffect
Method parameters in net.minecraft.client.gui.screen.ingame with type arguments of type StatusEffectModifier and TypeMethodDescriptionprotected MutableText
BeaconScreen.EffectButtonWidget.getEffectName
(RegistryEntry<StatusEffect> effect) protected MutableText
BeaconScreen.LevelTwoEffectButtonWidget.getEffectName
(RegistryEntry<StatusEffect> effect) protected void
BeaconScreen.EffectButtonWidget.init
(RegistryEntry<StatusEffect> effect) Constructor parameters in net.minecraft.client.gui.screen.ingame with type arguments of type StatusEffectModifierConstructorDescriptionEffectButtonWidget
(int x, int y, RegistryEntry<StatusEffect> effect, boolean primary, int level) LevelTwoEffectButtonWidget
(int x, int y, RegistryEntry<StatusEffect> effect) -
Uses of StatusEffect in net.minecraft.client.network
Method parameters in net.minecraft.client.network with type arguments of type StatusEffectModifier and TypeMethodDescriptionClientPlayerEntity.removeStatusEffectInternal
(RegistryEntry<StatusEffect> effect) Removes a status effect from this entity without calling any listener. -
Uses of StatusEffect in net.minecraft.client.render
Methods in net.minecraft.client.render that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionBackgroundRenderer.BlindnessFogModifier.getStatusEffect()
BackgroundRenderer.DarknessFogModifier.getStatusEffect()
BackgroundRenderer.StatusEffectFogModifier.getStatusEffect()
-
Uses of StatusEffect in net.minecraft.client.texture
Method parameters in net.minecraft.client.texture with type arguments of type StatusEffectModifier and TypeMethodDescriptionStatusEffectSpriteManager.getSprite
(RegistryEntry<StatusEffect> effect) -
Uses of StatusEffect in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionstatic RegistryEntry.Reference
<StatusEffect> RegistryEntryReferenceArgumentType.getStatusEffect
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
Uses of StatusEffect in net.minecraft.component.type
Fields in net.minecraft.component.type with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate final RegistryEntry
<StatusEffect> SuspiciousStewEffectsComponent.StewEffect.effect
The field for theeffect
record component.Methods in net.minecraft.component.type that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionSuspiciousStewEffectsComponent.StewEffect.effect()
Returns the value of theeffect
record component.Constructor parameters in net.minecraft.component.type with type arguments of type StatusEffect -
Uses of StatusEffect in net.minecraft.enchantment.effect.entity
Fields in net.minecraft.enchantment.effect.entity with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate final RegistryEntryList
<StatusEffect> ApplyMobEffectEnchantmentEffect.toApply
The field for thetoApply
record component.Methods in net.minecraft.enchantment.effect.entity that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionApplyMobEffectEnchantmentEffect.toApply()
Returns the value of thetoApply
record component.Constructor parameters in net.minecraft.enchantment.effect.entity with type arguments of type StatusEffectModifierConstructorDescriptionApplyMobEffectEnchantmentEffect
(RegistryEntryList<StatusEffect> registryEntryList, EnchantmentLevelBasedValue enchantmentLevelBasedValue, EnchantmentLevelBasedValue enchantmentLevelBasedValue2, EnchantmentLevelBasedValue enchantmentLevelBasedValue3, EnchantmentLevelBasedValue enchantmentLevelBasedValue4) -
Uses of StatusEffect in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate final Map
<RegistryEntry<StatusEffect>, StatusEffectInstance> LivingEntity.activeStatusEffects
Methods in net.minecraft.entity that return types with arguments of type StatusEffectMethod parameters in net.minecraft.entity with type arguments of type StatusEffectModifier and TypeMethodDescriptionLivingEntity.getStatusEffect
(RegistryEntry<StatusEffect> effect) boolean
LivingEntity.hasStatusEffect
(RegistryEntry<StatusEffect> effect) boolean
LivingEntity.removeStatusEffect
(RegistryEntry<StatusEffect> effect) Removes a status effect from this entity.LivingEntity.removeStatusEffectInternal
(RegistryEntry<StatusEffect> effect) Removes a status effect from this entity without calling any listener. -
Uses of StatusEffect in net.minecraft.entity.effect
Subclasses of StatusEffect in net.minecraft.entity.effectModifier and TypeClassDescription(package private) class
(package private) class
(package private) class
(package private) class
(package private) class
class
(package private) class
class
(package private) class
(package private) class
(package private) class
(package private) class
(package private) class
class
Fields in net.minecraft.entity.effect with type parameters of type StatusEffectModifier and TypeFieldDescriptionstatic final RegistryEntry
<StatusEffect> StatusEffects.ABSORPTION
static final RegistryEntry
<StatusEffect> StatusEffects.BAD_OMEN
static final RegistryEntry
<StatusEffect> StatusEffects.BLINDNESS
static final RegistryEntry
<StatusEffect> StatusEffects.CONDUIT_POWER
static final RegistryEntry
<StatusEffect> StatusEffects.DARKNESS
static final RegistryEntry
<StatusEffect> StatusEffects.DOLPHINS_GRACE
static final com.mojang.serialization.Codec
<RegistryEntry<StatusEffect>> StatusEffect.ENTRY_CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<StatusEffect>> StatusEffect.ENTRY_PACKET_CODEC
static final RegistryEntry
<StatusEffect> StatusEffects.FIRE_RESISTANCE
static final RegistryEntry
<StatusEffect> StatusEffects.GLOWING
static final RegistryEntry
<StatusEffect> StatusEffects.HASTE
static final RegistryEntry
<StatusEffect> StatusEffects.HEALTH_BOOST
static final RegistryEntry
<StatusEffect> StatusEffects.HERO_OF_THE_VILLAGE
static final RegistryEntry
<StatusEffect> StatusEffects.HUNGER
static final RegistryEntry
<StatusEffect> StatusEffects.INFESTED
static final RegistryEntry
<StatusEffect> StatusEffects.INSTANT_DAMAGE
static final RegistryEntry
<StatusEffect> StatusEffects.INSTANT_HEALTH
static final RegistryEntry
<StatusEffect> StatusEffects.INVISIBILITY
static final RegistryEntry
<StatusEffect> StatusEffects.JUMP_BOOST
static final RegistryEntry
<StatusEffect> StatusEffects.LEVITATION
static final RegistryEntry
<StatusEffect> StatusEffects.LUCK
static final RegistryEntry
<StatusEffect> StatusEffects.MINING_FATIGUE
static final RegistryEntry
<StatusEffect> StatusEffects.NAUSEA
static final RegistryEntry
<StatusEffect> StatusEffects.NIGHT_VISION
static final RegistryEntry
<StatusEffect> StatusEffects.OOZING
static final RegistryEntry
<StatusEffect> StatusEffects.POISON
static final RegistryEntry
<StatusEffect> StatusEffects.RAID_OMEN
static final RegistryEntry
<StatusEffect> StatusEffects.REGENERATION
static final RegistryEntry
<StatusEffect> StatusEffects.RESISTANCE
static final RegistryEntry
<StatusEffect> StatusEffects.SATURATION
static final RegistryEntry
<StatusEffect> StatusEffects.SLOW_FALLING
static final RegistryEntry
<StatusEffect> StatusEffects.SLOWNESS
static final RegistryEntry
<StatusEffect> StatusEffects.SPEED
static final RegistryEntry
<StatusEffect> StatusEffects.STRENGTH
static final RegistryEntry
<StatusEffect> StatusEffects.TRIAL_OMEN
private final RegistryEntry
<StatusEffect> StatusEffectInstance.type
static final RegistryEntry
<StatusEffect> StatusEffects.UNLUCK
static final RegistryEntry
<StatusEffect> StatusEffects.WATER_BREATHING
static final RegistryEntry
<StatusEffect> StatusEffects.WEAKNESS
static final RegistryEntry
<StatusEffect> StatusEffects.WEAVING
static final RegistryEntry
<StatusEffect> StatusEffects.WIND_CHARGED
static final RegistryEntry
<StatusEffect> StatusEffects.WITHER
Methods in net.minecraft.entity.effect that return StatusEffectModifier and TypeMethodDescriptionStatusEffect.addAttributeModifier
(RegistryEntry<EntityAttribute> attribute, Identifier id, double amount, EntityAttributeModifier.Operation operation) StatusEffect.applySound
(SoundEvent sound) StatusEffect.fadeTicks
(int fadeTicks) Sets the duration of effect fade-in and fade-out.StatusEffect.requires
(FeatureFlag[] requiredFeatures) Methods in net.minecraft.entity.effect that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionStatusEffectInstance.getEffectType()
private static RegistryEntry
<StatusEffect> StatusEffects.register
(String id, StatusEffect statusEffect) static RegistryEntry
<StatusEffect> StatusEffects.registerAndGetDefault
(Registry<StatusEffect> registry) Methods in net.minecraft.entity.effect with parameters of type StatusEffectModifier and TypeMethodDescriptionprivate static RegistryEntry
<StatusEffect> StatusEffects.register
(String id, StatusEffect statusEffect) Method parameters in net.minecraft.entity.effect with type arguments of type StatusEffectModifier and TypeMethodDescriptionboolean
StatusEffectInstance.equals
(RegistryEntry<StatusEffect> effect) static RegistryEntry
<StatusEffect> StatusEffects.registerAndGetDefault
(Registry<StatusEffect> registry) Constructor parameters in net.minecraft.entity.effect with type arguments of type StatusEffectModifierConstructorDescriptionStatusEffectInstance
(RegistryEntry<StatusEffect> effect, int duration) StatusEffectInstance
(RegistryEntry<StatusEffect> effect, int duration, int amplifier) StatusEffectInstance
(RegistryEntry<StatusEffect> effect, int duration, int amplifier, boolean ambient, boolean visible) StatusEffectInstance
(RegistryEntry<StatusEffect> effect, int duration, int amplifier, boolean ambient, boolean showParticles, boolean showIcon) StatusEffectInstance
(RegistryEntry<StatusEffect> effect, int duration, int amplifier, boolean ambient, boolean showParticles, boolean showIcon, @Nullable StatusEffectInstance hiddenEffect) private
StatusEffectInstance
(RegistryEntry<StatusEffect> effect, StatusEffectInstance.Parameters parameters) -
Uses of StatusEffect in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob with type parameters of type StatusEffect -
Uses of StatusEffect in net.minecraft.item.consume
Fields in net.minecraft.item.consume with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate final RegistryEntryList
<StatusEffect> RemoveEffectsConsumeEffect.effects
The field for theeffects
record component.Methods in net.minecraft.item.consume that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionRemoveEffectsConsumeEffect.effects()
Returns the value of theeffects
record component.Constructor parameters in net.minecraft.item.consume with type arguments of type StatusEffectModifierConstructorDescriptionRemoveEffectsConsumeEffect
(RegistryEntryList<StatusEffect> registryEntryList) -
Uses of StatusEffect in net.minecraft.loot.function
Fields in net.minecraft.loot.function with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate final RegistryEntry
<StatusEffect> SetStewEffectLootFunction.StewEffect.effect
The field for theeffect
record component.Methods in net.minecraft.loot.function that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionSetStewEffectLootFunction.StewEffect.effect()
Returns the value of theeffect
record component.Method parameters in net.minecraft.loot.function with type arguments of type StatusEffectModifier and TypeMethodDescriptionSetStewEffectLootFunction.Builder.withEffect
(RegistryEntry<StatusEffect> effect, LootNumberProvider durationRange) Constructor parameters in net.minecraft.loot.function with type arguments of type StatusEffectModifierConstructorDescription(package private)
StewEffect
(RegistryEntry<StatusEffect> registryEntry, LootNumberProvider lootNumberProvider) -
Uses of StatusEffect in net.minecraft.network.packet.c2s.play
Fields in net.minecraft.network.packet.c2s.play with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate final Optional
<RegistryEntry<StatusEffect>> UpdateBeaconC2SPacket.primary
The field for theprimary
record component.private final Optional
<RegistryEntry<StatusEffect>> UpdateBeaconC2SPacket.secondary
The field for thesecondary
record component.Methods in net.minecraft.network.packet.c2s.play that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionUpdateBeaconC2SPacket.primary()
Returns the value of theprimary
record component.UpdateBeaconC2SPacket.secondary()
Returns the value of thesecondary
record component.Constructor parameters in net.minecraft.network.packet.c2s.play with type arguments of type StatusEffectModifierConstructorDescriptionUpdateBeaconC2SPacket
(Optional<RegistryEntry<StatusEffect>> primaryEffectId, Optional<RegistryEntry<StatusEffect>> secondaryEffectId) -
Uses of StatusEffect in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate final RegistryEntry
<StatusEffect> RemoveEntityStatusEffectS2CPacket.effect
The field for theeffect
record component.private final RegistryEntry
<StatusEffect> EntityStatusEffectS2CPacket.effectId
Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionRemoveEntityStatusEffectS2CPacket.effect()
Returns the value of theeffect
record component.EntityStatusEffectS2CPacket.getEffectId()
Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type StatusEffectModifierConstructorDescriptionRemoveEntityStatusEffectS2CPacket
(int entityId, RegistryEntry<StatusEffect> registryEntry) -
Uses of StatusEffect in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type StatusEffectModifier and TypeFieldDescriptionEntityEffectPredicate.Builder.effects
private final Map
<RegistryEntry<StatusEffect>, EntityEffectPredicate.EffectData> EntityEffectPredicate.effects
The field for theeffects
record component.Methods in net.minecraft.predicate.entity that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionEntityEffectPredicate.effects()
Returns the value of theeffects
record component.Method parameters in net.minecraft.predicate.entity with type arguments of type StatusEffectModifier and TypeMethodDescriptionEntityEffectPredicate.Builder.addEffect
(RegistryEntry<StatusEffect> effect) EntityEffectPredicate.Builder.addEffect
(RegistryEntry<StatusEffect> effect, EntityEffectPredicate.EffectData effectData) boolean
EntityEffectPredicate.test
(Map<RegistryEntry<StatusEffect>, StatusEffectInstance> effects) Constructor parameters in net.minecraft.predicate.entity with type arguments of type StatusEffectModifierConstructorDescriptionCreates an instance of aEntityEffectPredicate
record class. -
Uses of StatusEffect in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type StatusEffectModifier and TypeFieldDescriptionstatic final Registry
<StatusEffect> Registries.STATUS_EFFECT
static final RegistryKey
<Registry<StatusEffect>> RegistryKeys.STATUS_EFFECT
-
Uses of StatusEffect in net.minecraft.screen
Methods in net.minecraft.screen that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionBeaconScreenHandler.getPrimaryEffect()
BeaconScreenHandler.getSecondaryEffect()
static @Nullable RegistryEntry
<StatusEffect> BeaconScreenHandler.getStatusEffectForRawId
(int id) Method parameters in net.minecraft.screen with type arguments of type StatusEffectModifier and TypeMethodDescriptionstatic int
BeaconScreenHandler.getRawIdForStatusEffect
(@Nullable RegistryEntry<StatusEffect> effect) void
BeaconScreenHandler.setEffects
(Optional<RegistryEntry<StatusEffect>> primary, Optional<RegistryEntry<StatusEffect>> secondary) -
Uses of StatusEffect in net.minecraft.server.command
Method parameters in net.minecraft.server.command with type arguments of type StatusEffectModifier and TypeMethodDescriptionprivate static int
EffectCommand.executeClear
(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect) private static int
EffectCommand.executeGive
(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect, @Nullable Integer seconds, int amplifier, boolean showParticles) -
Uses of StatusEffect in net.minecraft.test
Method parameters in net.minecraft.test with type arguments of type StatusEffectModifier and TypeMethodDescriptionvoid
TestContext.expectEntityHasEffect
(LivingEntity entity, RegistryEntry<StatusEffect> effect, int amplifier) -
Uses of StatusEffect in net.minecraft.village
Constructor parameters in net.minecraft.village with type arguments of type StatusEffectModifierConstructorDescriptionSellSuspiciousStewFactory
(RegistryEntry<StatusEffect> effect, int duration, int experience)