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 declared as StatusEffectModifier and TypeFieldDescriptionprivate final StatusEffect
SuspiciousStewIngredient.StewEffect.effect
The field for theeffect
record component.Methods in net.minecraft.block that return StatusEffectModifier and TypeMethodDescriptionSuspiciousStewIngredient.StewEffect.effect()
Returns the value of theeffect
record component.Methods in net.minecraft.block with parameters of type StatusEffectModifier and TypeMethodDescriptionprotected static List<SuspiciousStewIngredient.StewEffect>
FlowerBlock.createStewEffectList
(StatusEffect stewEffect, int duration) Constructors in net.minecraft.block with parameters of type StatusEffectModifierConstructorDescriptionFlowerBlock
(StatusEffect stewEffect, int duration, AbstractBlock.Settings settings) StewEffect
(StatusEffect statusEffect, int int2) WitherRoseBlock
(StatusEffect effect, int int2, AbstractBlock.Settings settings) -
Uses of StatusEffect in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as StatusEffectModifier and TypeFieldDescriptionstatic final StatusEffect[][]
BeaconBlockEntity.EFFECTS_BY_LEVEL
(package private) @Nullable StatusEffect
BeaconBlockEntity.primary
(package private) @Nullable StatusEffect
BeaconBlockEntity.secondary
Fields in net.minecraft.block.entity with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate static final Set<StatusEffect>
BeaconBlockEntity.EFFECTS
Methods in net.minecraft.block.entity that return StatusEffectModifier and TypeMethodDescription(package private) static @Nullable StatusEffect
BeaconBlockEntity.getEffectOrNull
(@Nullable StatusEffect effect) private static @Nullable StatusEffect
BeaconBlockEntity.readStatusEffect
(NbtCompound nbt, String key) Methods in net.minecraft.block.entity with parameters of type StatusEffectModifier and TypeMethodDescriptionprivate static void
BeaconBlockEntity.applyPlayerEffects
(World world, BlockPos pos, int beaconLevel, @Nullable StatusEffect primaryEffect, @Nullable StatusEffect secondaryEffect) (package private) static @Nullable StatusEffect
BeaconBlockEntity.getEffectOrNull
(@Nullable StatusEffect effect) private static void
BeaconBlockEntity.writeStatusEffect
(NbtCompound nbt, String key, @Nullable StatusEffect effect) -
Uses of StatusEffect in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame declared as StatusEffectModifier and TypeFieldDescriptionprivate StatusEffect
BeaconScreen.EffectButtonWidget.effect
(package private) @Nullable StatusEffect
BeaconScreen.primaryEffect
(package private) @Nullable StatusEffect
BeaconScreen.secondaryEffect
Methods in net.minecraft.client.gui.screen.ingame with parameters of type StatusEffectModifier and TypeMethodDescriptionprotected MutableText
BeaconScreen.EffectButtonWidget.getEffectName
(StatusEffect statusEffect) protected MutableText
BeaconScreen.LevelTwoEffectButtonWidget.getEffectName
(StatusEffect statusEffect) protected void
BeaconScreen.EffectButtonWidget.init
(StatusEffect statusEffect) Constructors in net.minecraft.client.gui.screen.ingame with parameters of type StatusEffectModifierConstructorDescriptionEffectButtonWidget
(int x, int y, StatusEffect statusEffect, boolean primary, int level) LevelTwoEffectButtonWidget
(int x, int y, StatusEffect statusEffect) -
Uses of StatusEffect in net.minecraft.client.network
Methods in net.minecraft.client.network with parameters of type StatusEffectModifier and TypeMethodDescriptionClientPlayerEntity.removeStatusEffectInternal
(@Nullable StatusEffect type) 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 StatusEffectModifier and TypeMethodDescriptionBackgroundRenderer.BlindnessFogModifier.getStatusEffect()
BackgroundRenderer.DarknessFogModifier.getStatusEffect()
BackgroundRenderer.StatusEffectFogModifier.getStatusEffect()
-
Uses of StatusEffect in net.minecraft.client.texture
Methods in net.minecraft.client.texture with parameters of type StatusEffect -
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>
RegistryEntryArgumentType.getStatusEffect
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
Uses of StatusEffect in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate final Map<StatusEffect,
StatusEffectInstance> LivingEntity.activeStatusEffects
Methods in net.minecraft.entity that return types with arguments of type StatusEffectMethods in net.minecraft.entity with parameters of type StatusEffectModifier and TypeMethodDescriptionLivingEntity.getStatusEffect
(StatusEffect effect) boolean
LivingEntity.hasStatusEffect
(StatusEffect effect) boolean
LivingEntity.removeStatusEffect
(StatusEffect type) Removes a status effect from this entity.LivingEntity.removeStatusEffectInternal
(@Nullable StatusEffect type) 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
class
(package private) class
(package private) class
(package private) class
(package private) class
Fields in net.minecraft.entity.effect declared as StatusEffectModifier and TypeFieldDescriptionstatic final StatusEffect
StatusEffects.ABSORPTION
static final StatusEffect
StatusEffects.BAD_OMEN
static final StatusEffect
StatusEffects.BLINDNESS
static final StatusEffect
StatusEffects.CONDUIT_POWER
static final StatusEffect
StatusEffects.DARKNESS
static final StatusEffect
StatusEffects.DOLPHINS_GRACE
static final StatusEffect
StatusEffects.FIRE_RESISTANCE
static final StatusEffect
StatusEffects.GLOWING
static final StatusEffect
StatusEffects.HASTE
static final StatusEffect
StatusEffects.HEALTH_BOOST
static final StatusEffect
StatusEffects.HERO_OF_THE_VILLAGE
static final StatusEffect
StatusEffects.HUNGER
static final StatusEffect
StatusEffects.INSTANT_DAMAGE
static final StatusEffect
StatusEffects.INSTANT_HEALTH
static final StatusEffect
StatusEffects.INVISIBILITY
static final StatusEffect
StatusEffects.JUMP_BOOST
static final StatusEffect
StatusEffects.LEVITATION
static final StatusEffect
StatusEffects.LUCK
static final StatusEffect
StatusEffects.MINING_FATIGUE
static final StatusEffect
StatusEffects.NAUSEA
static final StatusEffect
StatusEffects.NIGHT_VISION
static final StatusEffect
StatusEffects.POISON
static final StatusEffect
StatusEffects.REGENERATION
static final StatusEffect
StatusEffects.RESISTANCE
static final StatusEffect
StatusEffects.SATURATION
static final StatusEffect
StatusEffects.SLOW_FALLING
static final StatusEffect
StatusEffects.SLOWNESS
static final StatusEffect
StatusEffects.SPEED
static final StatusEffect
StatusEffects.STRENGTH
private final StatusEffect
StatusEffectInstance.type
static final StatusEffect
StatusEffects.UNLUCK
static final StatusEffect
StatusEffects.WATER_BREATHING
static final StatusEffect
StatusEffects.WEAKNESS
static final StatusEffect
StatusEffects.WITHER
Fields in net.minecraft.entity.effect with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate final RegistryEntry.Reference<StatusEffect>
StatusEffect.registryEntry
Methods in net.minecraft.entity.effect that return StatusEffectModifier and TypeMethodDescriptionStatusEffect.addAttributeModifier
(EntityAttribute attribute, String uuid, double amount, EntityAttributeModifier.Operation operation) StatusEffectInstance.getEffectType()
private static StatusEffect
StatusEffects.register
(String id, StatusEffect statusEffect) StatusEffect.setFactorCalculationDataSupplier
(Supplier<StatusEffectInstance.FactorCalculationData> factorCalculationDataSupplier) Methods in net.minecraft.entity.effect that return types with arguments of type StatusEffectMethods in net.minecraft.entity.effect with parameters of type StatusEffectModifier and TypeMethodDescriptionprivate static StatusEffectInstance
StatusEffectInstance.fromNbt
(StatusEffect type, NbtCompound nbt) private static StatusEffect
StatusEffects.register
(String id, StatusEffect statusEffect) Constructors in net.minecraft.entity.effect with parameters of type StatusEffectModifierConstructorDescriptionStatusEffectInstance
(StatusEffect type, int duration) StatusEffectInstance
(StatusEffect type, int duration, int amplifier) StatusEffectInstance
(StatusEffect type, int duration, int amplifier, boolean ambient, boolean visible) StatusEffectInstance
(StatusEffect type, int duration, int amplifier, boolean ambient, boolean showParticles, boolean showIcon) StatusEffectInstance
(StatusEffect type, int duration, int amplifier, boolean ambient, boolean showParticles, boolean showIcon, @Nullable StatusEffectInstance hiddenEffect, Optional<StatusEffectInstance.FactorCalculationData> factorCalculationData) -
Uses of StatusEffect in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as StatusEffect -
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.Methods in net.minecraft.loot.function with parameters of type StatusEffectModifier and TypeMethodDescriptionSetStewEffectLootFunction.Builder.withEffect
(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<StatusEffect>
UpdateBeaconC2SPacket.primaryEffectId
private final Optional<StatusEffect>
UpdateBeaconC2SPacket.secondaryEffectId
Methods in net.minecraft.network.packet.c2s.play that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionUpdateBeaconC2SPacket.getPrimaryEffectId()
UpdateBeaconC2SPacket.getSecondaryEffectId()
Constructor parameters in net.minecraft.network.packet.c2s.play with type arguments of type StatusEffectModifierConstructorDescriptionUpdateBeaconC2SPacket
(Optional<StatusEffect> primaryEffectId, Optional<StatusEffect> secondaryEffectId) -
Uses of StatusEffect in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as StatusEffectModifier and TypeFieldDescriptionprivate final StatusEffect
EntityStatusEffectS2CPacket.effectId
private final StatusEffect
RemoveEntityStatusEffectS2CPacket.effectType
Methods in net.minecraft.network.packet.s2c.play that return StatusEffectModifier and TypeMethodDescriptionEntityStatusEffectS2CPacket.getEffectId()
RemoveEntityStatusEffectS2CPacket.getEffectType()
Constructors in net.minecraft.network.packet.s2c.play with parameters of type StatusEffectModifierConstructorDescriptionRemoveEntityStatusEffectS2CPacket
(int entityId, StatusEffect effectType) -
Uses of StatusEffect in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate final Map<RegistryEntry<StatusEffect>,
EntityEffectPredicate.EffectData> EntityEffectPredicate.effects
The field for theeffects
record component.EntityEffectPredicate.Builder.EFFECTS
Methods in net.minecraft.predicate.entity that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionEntityEffectPredicate.effects()
Returns the value of theeffects
record component.Methods in net.minecraft.predicate.entity with parameters of type StatusEffectModifier and TypeMethodDescriptionEntityEffectPredicate.Builder.addEffect
(StatusEffect effect) EntityEffectPredicate.Builder.addEffect
(StatusEffect effect, EntityEffectPredicate.EffectData effectData) Method parameters in net.minecraft.predicate.entity with type arguments of type StatusEffectModifier and TypeMethodDescriptionboolean
EntityEffectPredicate.test
(Map<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 StatusEffectModifier and TypeMethodDescriptionBeaconScreenHandler.getPrimaryEffect()
BeaconScreenHandler.getSecondaryEffect()
static @Nullable StatusEffect
BeaconScreenHandler.getStatusEffectForRawId
(int id) Methods in net.minecraft.screen with parameters of type StatusEffectModifier and TypeMethodDescriptionstatic int
BeaconScreenHandler.getRawIdForStatusEffect
(@Nullable StatusEffect statusEffect) Method parameters in net.minecraft.screen with type arguments of type StatusEffectModifier and TypeMethodDescriptionvoid
BeaconScreenHandler.setEffects
(Optional<StatusEffect> primary, Optional<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
Methods in net.minecraft.test with parameters of type StatusEffectModifier and TypeMethodDescriptionvoid
TestContext.expectEntityHasEffect
(LivingEntity entity, StatusEffect effect, int amplifier) -
Uses of StatusEffect in net.minecraft.village
Constructors in net.minecraft.village with parameters of type StatusEffectModifierConstructorDescriptionSellSuspiciousStewFactory
(StatusEffect effect, int duration, int experience)