Uses of Class
net.minecraft.entity.effect.StatusEffect
Package
Description
-
Uses of StatusEffect in net.minecraft.block
Modifier and TypeMethodDescriptionFlowerBlock.getEffectInStew()
SuspiciousStewIngredient.getEffectInStew()
ModifierConstructorDescriptionFlowerBlock
(StatusEffect suspiciousStewEffect, int effectDuration, AbstractBlock.Settings settings) WitherRoseBlock
(StatusEffect effect, AbstractBlock.Settings settings) -
Uses of StatusEffect in net.minecraft.block.entity
Modifier and TypeFieldDescriptionstatic final StatusEffect[][]
BeaconBlockEntity.EFFECTS_BY_LEVEL
(package private) @Nullable StatusEffect
BeaconBlockEntity.primary
(package private) @Nullable StatusEffect
BeaconBlockEntity.secondary
Modifier and TypeFieldDescriptionprivate static final Set<StatusEffect>
BeaconBlockEntity.EFFECTS
Modifier and TypeMethodDescription(package private) static @Nullable StatusEffect
BeaconBlockEntity.getPotionEffectById
(int id) Modifier and TypeMethodDescriptionprivate static void
BeaconBlockEntity.applyPlayerEffects
(World world, BlockPos pos, int beaconLevel, @Nullable StatusEffect primaryEffect, @Nullable StatusEffect secondaryEffect) -
Uses of StatusEffect in net.minecraft.client.gui.screen.ingame
Modifier and TypeFieldDescriptionprivate StatusEffect
BeaconScreen.EffectButtonWidget.effect
(package private) @Nullable StatusEffect
BeaconScreen.primaryEffect
(package private) @Nullable StatusEffect
BeaconScreen.secondaryEffect
Modifier and TypeMethodDescriptionprotected MutableText
BeaconScreen.EffectButtonWidget.getEffectName
(StatusEffect statusEffect) protected MutableText
BeaconScreen.LevelTwoEffectButtonWidget.getEffectName
(StatusEffect statusEffect) protected void
BeaconScreen.EffectButtonWidget.init
(StatusEffect statusEffect) ModifierConstructorDescriptionEffectButtonWidget
(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
Modifier 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
Modifier and TypeMethodDescriptionBackgroundRenderer.BlindnessFogModifier.getStatusEffect()
BackgroundRenderer.DarknessFogModifier.getStatusEffect()
BackgroundRenderer.StatusEffectFogModifier.getStatusEffect()
-
Uses of StatusEffect in net.minecraft.client.texture
-
Uses of StatusEffect in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic RegistryEntry.Reference<StatusEffect>
RegistryEntryArgumentType.getStatusEffect
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
Uses of StatusEffect in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate final Map<StatusEffect,
StatusEffectInstance> LivingEntity.activeStatusEffects
Modifier 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
Modifier and TypeClassDescriptionclass
class
class
class
Modifier 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
Modifier and TypeMethodDescriptionStatusEffect.addAttributeModifier
(EntityAttribute attribute, String uuid, double amount, EntityAttributeModifier.Operation operation) static @Nullable StatusEffect
StatusEffect.byRawId
(int rawId) StatusEffectInstance.getEffectType()
private static StatusEffect
StatusEffects.register
(int rawId, String id, StatusEffect entry) StatusEffect.setFactorCalculationDataSupplier
(Supplier<StatusEffectInstance.FactorCalculationData> factorCalculationDataSupplier) Modifier and TypeMethodDescriptionprivate static StatusEffectInstance
StatusEffectInstance.fromNbt
(StatusEffect type, NbtCompound nbt) static int
StatusEffect.getRawId
(StatusEffect type) static int
StatusEffect.getRawIdNullable
(@Nullable StatusEffect type) private static StatusEffect
StatusEffects.register
(int rawId, String id, StatusEffect entry) ModifierConstructorDescriptionStatusEffectInstance
(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
-
Uses of StatusEffect in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionprivate Optional<Pair<StatusEffect,
Integer>> MooshroomEntity.getStewEffectFrom
(ItemStack flower) -
Uses of StatusEffect in net.minecraft.item
Modifier and TypeMethodDescriptionstatic void
SuspiciousStewItem.addEffectToStew
(ItemStack stew, StatusEffect effect, int duration) -
Uses of StatusEffect in net.minecraft.loot.function
Modifier and TypeFieldDescription(package private) final Map<StatusEffect,
LootNumberProvider> SetStewEffectLootFunction.effects
private final Map<StatusEffect,
LootNumberProvider> SetStewEffectLootFunction.Builder.map
Modifier and TypeMethodDescriptionSetStewEffectLootFunction.Builder.withEffect
(StatusEffect effect, LootNumberProvider durationRange) ModifierConstructorDescription(package private)
SetStewEffectLootFunction
(LootCondition[] conditions, Map<StatusEffect, LootNumberProvider> effects) -
Uses of StatusEffect in net.minecraft.network.packet.c2s.play
Modifier and TypeFieldDescriptionprivate final Optional<StatusEffect>
UpdateBeaconC2SPacket.primaryEffectId
private final Optional<StatusEffect>
UpdateBeaconC2SPacket.secondaryEffectId
Modifier and TypeMethodDescriptionUpdateBeaconC2SPacket.getPrimaryEffectId()
UpdateBeaconC2SPacket.getSecondaryEffectId()
ModifierConstructorDescriptionUpdateBeaconC2SPacket
(Optional<StatusEffect> primaryEffectId, Optional<StatusEffect> secondaryEffectId) -
Uses of StatusEffect in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final StatusEffect
EntityStatusEffectS2CPacket.effectId
private final StatusEffect
RemoveEntityStatusEffectS2CPacket.effectType
Modifier and TypeMethodDescriptionEntityStatusEffectS2CPacket.getEffectId()
RemoveEntityStatusEffectS2CPacket.getEffectType()
ModifierConstructorDescriptionRemoveEntityStatusEffectS2CPacket
(int entityId, StatusEffect effectType) -
Uses of StatusEffect in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionprivate final Map<StatusEffect,
EntityEffectPredicate.EffectData> EntityEffectPredicate.effects
Modifier and TypeMethodDescriptionEntityEffectPredicate.withEffect
(StatusEffect statusEffect) EntityEffectPredicate.withEffect
(StatusEffect statusEffect, EntityEffectPredicate.EffectData data) Modifier and TypeMethodDescriptionboolean
EntityEffectPredicate.test
(Map<StatusEffect, StatusEffectInstance> effects) ModifierConstructorDescription -
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()
Modifier and TypeMethodDescriptionvoid
BeaconScreenHandler.setEffects
(Optional<StatusEffect> primary, Optional<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.village
Modifier and TypeFieldDescription(package private) final StatusEffect
TradeOffers.SellSuspiciousStewFactory.effect
ModifierConstructorDescriptionSellSuspiciousStewFactory
(StatusEffect effect, int duration, int experience)