Uses of Class
net.minecraft.entity.effect.StatusEffect
Package
Description
-
Uses of StatusEffect in net.minecraft.block
Modifier and TypeMethodDescriptionprotected static SuspiciousStewEffectsComponent
FlowerBlock.createStewEffectList
(RegistryEntry<StatusEffect> effect, float effectLengthInSeconds) ModifierConstructorDescriptionFlowerBlock
(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
Modifier 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
Modifier 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) Modifier 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.client.gui.screen.ingame
Modifier and TypeFieldDescriptionprivate RegistryEntry
<StatusEffect> BeaconScreen.EffectButtonWidget.effect
(package private) @Nullable RegistryEntry
<StatusEffect> BeaconScreen.primaryEffect
(package private) @Nullable RegistryEntry
<StatusEffect> BeaconScreen.secondaryEffect
Modifier 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) ModifierConstructorDescriptionEffectButtonWidget
(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
Modifier 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
Modifier and TypeMethodDescriptionBackgroundRenderer.BlindnessFogModifier.getStatusEffect()
BackgroundRenderer.DarknessFogModifier.getStatusEffect()
BackgroundRenderer.StatusEffectFogModifier.getStatusEffect()
-
Uses of StatusEffect in net.minecraft.client.texture
Modifier and TypeMethodDescriptionStatusEffectSpriteManager.getSprite
(RegistryEntry<StatusEffect> effect) -
Uses of StatusEffect in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic RegistryEntry.Reference
<StatusEffect> RegistryEntryReferenceArgumentType.getStatusEffect
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
Uses of StatusEffect in net.minecraft.component.type
Modifier and TypeFieldDescriptionprivate final RegistryEntry
<StatusEffect> SuspiciousStewEffectsComponent.StewEffect.effect
The field for theeffect
record component. -
Uses of StatusEffect in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate final Map
<RegistryEntry<StatusEffect>, StatusEffectInstance> LivingEntity.activeStatusEffects
Modifier 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
Modifier and TypeClassDescription(package private) class
(package private) class
(package private) class
(package private) class
(package private) class
class
(package private) class
(package private) class
(package private) class
(package private) class
(package private) class
(package private) class
(package private) class
(package private) class
Modifier 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 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
Modifier and TypeMethodDescriptionStatusEffect.addAttributeModifier
(RegistryEntry<EntityAttribute> attribute, String uuid, 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) Modifier and TypeMethodDescriptionStatusEffectInstance.getEffectType()
private static RegistryEntry
<StatusEffect> StatusEffects.register
(String id, StatusEffect statusEffect) static RegistryEntry
<StatusEffect> StatusEffects.registerAndGetDefault
(Registry<StatusEffect> registry) Modifier and TypeMethodDescriptionprivate static RegistryEntry
<StatusEffect> StatusEffects.register
(String id, StatusEffect statusEffect) Modifier and TypeMethodDescriptionboolean
StatusEffectInstance.equals
(RegistryEntry<StatusEffect> effect) static RegistryEntry
<StatusEffect> StatusEffects.registerAndGetDefault
(Registry<StatusEffect> registry) ModifierConstructorDescriptionStatusEffectInstance
(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
-
Uses of StatusEffect in net.minecraft.loot.function
Modifier and TypeFieldDescriptionprivate final RegistryEntry
<StatusEffect> SetStewEffectLootFunction.StewEffect.effect
The field for theeffect
record component.Modifier and TypeMethodDescriptionSetStewEffectLootFunction.StewEffect.effect()
Returns the value of theeffect
record component.Modifier and TypeMethodDescriptionSetStewEffectLootFunction.Builder.withEffect
(RegistryEntry<StatusEffect> effect, LootNumberProvider durationRange) ModifierConstructorDescription(package private)
StewEffect
(RegistryEntry<StatusEffect> registryEntry, LootNumberProvider lootNumberProvider) -
Uses of StatusEffect in net.minecraft.network.packet.c2s.play
Modifier 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.Modifier and TypeMethodDescriptionUpdateBeaconC2SPacket.primary()
Returns the value of theprimary
record component.UpdateBeaconC2SPacket.secondary()
Returns the value of thesecondary
record component.ModifierConstructorDescriptionUpdateBeaconC2SPacket
(Optional<RegistryEntry<StatusEffect>> primaryEffectId, Optional<RegistryEntry<StatusEffect>> secondaryEffectId) -
Uses of StatusEffect in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final RegistryEntry
<StatusEffect> RemoveEntityStatusEffectS2CPacket.effect
The field for theeffect
record component.private final RegistryEntry
<StatusEffect> EntityStatusEffectS2CPacket.effectId
Modifier and TypeMethodDescriptionRemoveEntityStatusEffectS2CPacket.effect()
Returns the value of theeffect
record component.EntityStatusEffectS2CPacket.getEffectId()
ModifierConstructorDescriptionRemoveEntityStatusEffectS2CPacket
(int entityId, RegistryEntry<StatusEffect> registryEntry) -
Uses of StatusEffect in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionprivate final Map
<RegistryEntry<StatusEffect>, EntityEffectPredicate.EffectData> EntityEffectPredicate.effects
The field for theeffects
record component.EntityEffectPredicate.Builder.EFFECTS
Modifier and TypeMethodDescriptionEntityEffectPredicate.effects()
Returns the value of theeffects
record component.Modifier and TypeMethodDescriptionEntityEffectPredicate.Builder.addEffect
(RegistryEntry<StatusEffect> effect) EntityEffectPredicate.Builder.addEffect
(RegistryEntry<StatusEffect> effect, EntityEffectPredicate.EffectData effectData) boolean
EntityEffectPredicate.test
(Map<RegistryEntry<StatusEffect>, StatusEffectInstance> effects) ModifierConstructorDescriptionCreates an instance of aEntityEffectPredicate
record class. -
Uses of StatusEffect in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final Registry
<StatusEffect> Registries.STATUS_EFFECT
static final RegistryKey
<Registry<StatusEffect>> RegistryKeys.STATUS_EFFECT
-
Uses of StatusEffect in net.minecraft.screen
Modifier and TypeMethodDescriptionBeaconScreenHandler.getPrimaryEffect()
BeaconScreenHandler.getSecondaryEffect()
static @Nullable RegistryEntry
<StatusEffect> BeaconScreenHandler.getStatusEffectForRawId
(int id) Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionvoid
TestContext.expectEntityHasEffect
(LivingEntity entity, RegistryEntry<StatusEffect> effect, int amplifier) -
Uses of StatusEffect in net.minecraft.village
ModifierConstructorDescriptionSellSuspiciousStewFactory
(RegistryEntry<StatusEffect> effect, int duration, int experience)