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 StatusEffectMethods in net.minecraft.block that return StatusEffectConstructors in net.minecraft.block with parameters of type StatusEffectModifierConstructorDescriptionFlowerBlock(StatusEffect suspiciousStewEffect, int effectDuration, AbstractBlock.Settings settings)
WitherRoseBlock(StatusEffect effect, AbstractBlock.Settings settings)
-
Uses of StatusEffect in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as StatusEffectModifier and TypeFieldDescriptionstatic StatusEffect[][]
BeaconBlockEntity.EFFECTS_BY_LEVEL
private @Nullable StatusEffect
BeaconBlockEntity.primary
private @Nullable StatusEffect
BeaconBlockEntity.secondary
Fields in net.minecraft.block.entity with type parameters of type StatusEffectMethods in net.minecraft.block.entity that return StatusEffectModifier and TypeMethodDescriptionprivate static @Nullable StatusEffect
BeaconBlockEntity.getPotionEffectById(int id)
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)
-
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
private StatusEffect
BeaconScreen.primaryEffect
private StatusEffect
BeaconScreen.secondaryEffect
Methods in net.minecraft.client.gui.screen.ingame with parameters of type StatusEffectModifier and TypeMethodDescriptionprivate Text
BeaconScreen.EffectButtonWidget.getTextForEffect(StatusEffect effect, boolean primary)
Constructors in net.minecraft.client.gui.screen.ingame with parameters of type StatusEffectModifierConstructorDescriptionEffectButtonWidget(int x, int y, StatusEffect statusEffect, boolean primary)
-
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.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 StatusEffectModifier and TypeMethodDescriptionstatic StatusEffect
StatusEffectArgumentType.getStatusEffect(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)
StatusEffectArgumentType.parse(com.mojang.brigadier.StringReader stringReader)
-
Uses of StatusEffect in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate 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 TypeClassDescriptionclass
class
class
class
Fields in net.minecraft.entity.effect declared as StatusEffectModifier and TypeFieldDescriptionstatic StatusEffect
StatusEffects.ABSORPTION
static StatusEffect
StatusEffects.BAD_OMEN
static StatusEffect
StatusEffects.BLINDNESS
static StatusEffect
StatusEffects.CONDUIT_POWER
static StatusEffect
StatusEffects.DOLPHINS_GRACE
static StatusEffect
StatusEffects.FIRE_RESISTANCE
static StatusEffect
StatusEffects.GLOWING
static StatusEffect
StatusEffects.HASTE
static StatusEffect
StatusEffects.HEALTH_BOOST
static StatusEffect
StatusEffects.HERO_OF_THE_VILLAGE
static StatusEffect
StatusEffects.HUNGER
static StatusEffect
StatusEffects.INSTANT_DAMAGE
static StatusEffect
StatusEffects.INSTANT_HEALTH
static StatusEffect
StatusEffects.INVISIBILITY
static StatusEffect
StatusEffects.JUMP_BOOST
static StatusEffect
StatusEffects.LEVITATION
static StatusEffect
StatusEffects.LUCK
static StatusEffect
StatusEffects.MINING_FATIGUE
static StatusEffect
StatusEffects.NAUSEA
static StatusEffect
StatusEffects.NIGHT_VISION
static StatusEffect
StatusEffects.POISON
static StatusEffect
StatusEffects.REGENERATION
static StatusEffect
StatusEffects.RESISTANCE
static StatusEffect
StatusEffects.SATURATION
static StatusEffect
StatusEffects.SLOW_FALLING
static StatusEffect
StatusEffects.SLOWNESS
static StatusEffect
StatusEffects.SPEED
static StatusEffect
StatusEffects.STRENGTH
private StatusEffect
StatusEffectInstance.type
static StatusEffect
StatusEffects.UNLUCK
static StatusEffect
StatusEffects.WATER_BREATHING
static StatusEffect
StatusEffects.WEAKNESS
static StatusEffect
StatusEffects.WITHER
Methods in net.minecraft.entity.effect that return StatusEffectModifier 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)
Methods in net.minecraft.entity.effect with parameters of type StatusEffectModifier and TypeMethodDescriptionprivate static StatusEffectInstance
StatusEffectInstance.fromNbt(StatusEffect type, NbtCompound nbt)
static int
StatusEffect.getRawId(StatusEffect type)
private static StatusEffect
StatusEffects.register(int rawId, String id, StatusEffect entry)
Constructors in net.minecraft.entity.effect with parameters of type StatusEffectModifierConstructorDescriptionStatusEffectInstance(StatusEffect type)
StatusEffectInstance(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)
-
Uses of StatusEffect in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as StatusEffect -
Uses of StatusEffect in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as StatusEffectMethods in net.minecraft.entity.passive that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionprivate Optional<Pair<StatusEffect,Integer>>
MooshroomEntity.getStewEffectFrom(ItemStack flower)
-
Uses of StatusEffect in net.minecraft.item
Methods in net.minecraft.item with parameters of type StatusEffectModifier and TypeMethodDescriptionstatic void
SuspiciousStewItem.addEffectToStew(ItemStack stew, StatusEffect effect, int duration)
-
Uses of StatusEffect in net.minecraft.loot.function
Fields in net.minecraft.loot.function with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate Map<StatusEffect,LootNumberProvider>
SetStewEffectLootFunction.effects
private Map<StatusEffect,LootNumberProvider>
SetStewEffectLootFunction.Builder.map
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 StatusEffectModifierConstructorDescriptionprivate
SetStewEffectLootFunction(LootCondition[] conditions, Map<StatusEffect,LootNumberProvider> effects)
-
Uses of StatusEffect in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as StatusEffectModifier and TypeFieldDescriptionprivate StatusEffect
RemoveEntityStatusEffectS2CPacket.effectType
Methods in net.minecraft.network.packet.s2c.play that return StatusEffectConstructors 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 Map<StatusEffect,EntityEffectPredicate.EffectData>
EntityEffectPredicate.effects
Methods in net.minecraft.predicate.entity with parameters of type StatusEffectModifier and TypeMethodDescriptionEntityEffectPredicate.withEffect(StatusEffect statusEffect)
EntityEffectPredicate.withEffect(StatusEffect statusEffect, EntityEffectPredicate.EffectData data)
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 StatusEffectModifierConstructorDescription -
Uses of StatusEffect in net.minecraft.screen
Methods in net.minecraft.screen that return StatusEffectModifier and TypeMethodDescriptionBeaconScreenHandler.getPrimaryEffect()
BeaconScreenHandler.getSecondaryEffect()
-
Uses of StatusEffect in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type StatusEffectModifier and TypeMethodDescriptionprivate static int
EffectCommand.executeClear(ServerCommandSource source, Collection<? extends Entity> targets, StatusEffect effect)
private static int
EffectCommand.executeGive(ServerCommandSource source, Collection<? extends Entity> targets, StatusEffect effect, @Nullable Integer seconds, int amplifier, boolean showParticles)
-
Uses of StatusEffect in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type StatusEffectModifier and TypeFieldDescriptionstatic RegistryKey<Registry<StatusEffect>>
Registry.MOB_EFFECT_KEY
static Registry<StatusEffect>
Registry.STATUS_EFFECT
-
Uses of StatusEffect in net.minecraft.village
Fields in net.minecraft.village declared as StatusEffectModifier and TypeFieldDescription(package private) StatusEffect
TradeOffers.SellSuspiciousStewFactory.effect
Constructors in net.minecraft.village with parameters of type StatusEffectModifierConstructorDescriptionSellSuspiciousStewFactory(StatusEffect effect, int duration, int experience)