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 StatusEffectModifier and TypeMethodDescriptionFlowerBlock.getEffectInStew()SuspiciousStewIngredient.getEffectInStew()Constructors 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 final StatusEffect[][]BeaconBlockEntity.EFFECTS_BY_LEVEL(package private) @Nullable StatusEffectBeaconBlockEntity.primary(package private) @Nullable StatusEffectBeaconBlockEntity.secondaryFields in net.minecraft.block.entity with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate static final Set<StatusEffect>BeaconBlockEntity.EFFECTSMethods in net.minecraft.block.entity that return StatusEffectModifier and TypeMethodDescription(package private) static @Nullable StatusEffectBeaconBlockEntity.getPotionEffectById(int id) Methods in net.minecraft.block.entity with parameters of type StatusEffectModifier and TypeMethodDescriptionprivate static voidBeaconBlockEntity.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 StatusEffectBeaconScreen.EffectButtonWidget.effect(package private) @Nullable StatusEffectBeaconScreen.primaryEffect(package private) @Nullable StatusEffectBeaconScreen.secondaryEffectMethods in net.minecraft.client.gui.screen.ingame with parameters of type StatusEffectModifier and TypeMethodDescriptionprotected MutableTextBeaconScreen.EffectButtonWidget.getEffectName(StatusEffect statusEffect) protected MutableTextBeaconScreen.LevelTwoEffectButtonWidget.getEffectName(StatusEffect statusEffect) protected voidBeaconScreen.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.activeStatusEffectsMethods 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) booleanLivingEntity.hasStatusEffect(StatusEffect effect) booleanLivingEntity.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 TypeClassDescriptionclassclassclassclassFields in net.minecraft.entity.effect declared as StatusEffectModifier and TypeFieldDescriptionstatic final StatusEffectStatusEffects.ABSORPTIONstatic final StatusEffectStatusEffects.BAD_OMENstatic final StatusEffectStatusEffects.BLINDNESSstatic final StatusEffectStatusEffects.CONDUIT_POWERstatic final StatusEffectStatusEffects.DARKNESSstatic final StatusEffectStatusEffects.DOLPHINS_GRACEstatic final StatusEffectStatusEffects.FIRE_RESISTANCEstatic final StatusEffectStatusEffects.GLOWINGstatic final StatusEffectStatusEffects.HASTEstatic final StatusEffectStatusEffects.HEALTH_BOOSTstatic final StatusEffectStatusEffects.HERO_OF_THE_VILLAGEstatic final StatusEffectStatusEffects.HUNGERstatic final StatusEffectStatusEffects.INSTANT_DAMAGEstatic final StatusEffectStatusEffects.INSTANT_HEALTHstatic final StatusEffectStatusEffects.INVISIBILITYstatic final StatusEffectStatusEffects.JUMP_BOOSTstatic final StatusEffectStatusEffects.LEVITATIONstatic final StatusEffectStatusEffects.LUCKstatic final StatusEffectStatusEffects.MINING_FATIGUEstatic final StatusEffectStatusEffects.NAUSEAstatic final StatusEffectStatusEffects.NIGHT_VISIONstatic final StatusEffectStatusEffects.POISONstatic final StatusEffectStatusEffects.REGENERATIONstatic final StatusEffectStatusEffects.RESISTANCEstatic final StatusEffectStatusEffects.SATURATIONstatic final StatusEffectStatusEffects.SLOW_FALLINGstatic final StatusEffectStatusEffects.SLOWNESSstatic final StatusEffectStatusEffects.SPEEDstatic final StatusEffectStatusEffects.STRENGTHprivate final StatusEffectStatusEffectInstance.typestatic final StatusEffectStatusEffects.UNLUCKstatic final StatusEffectStatusEffects.WATER_BREATHINGstatic final StatusEffectStatusEffects.WEAKNESSstatic final StatusEffectStatusEffects.WITHERMethods in net.minecraft.entity.effect that return StatusEffectModifier and TypeMethodDescriptionStatusEffect.addAttributeModifier(EntityAttribute attribute, String uuid, double amount, EntityAttributeModifier.Operation operation) static @Nullable StatusEffectStatusEffect.byRawId(int rawId) StatusEffectInstance.getEffectType()private static StatusEffectStatusEffects.register(int rawId, String id, StatusEffect entry) StatusEffect.setFactorCalculationDataSupplier(Supplier<StatusEffectInstance.FactorCalculationData> factorCalculationDataSupplier) Methods in net.minecraft.entity.effect with parameters of type StatusEffectModifier and TypeMethodDescriptionprivate static StatusEffectInstanceStatusEffectInstance.fromNbt(StatusEffect type, NbtCompound nbt) static intStatusEffect.getRawId(StatusEffect type) static intStatusEffect.getRawIdNullable(@Nullable StatusEffect type) private static StatusEffectStatusEffects.register(int rawId, String id, StatusEffect entry) 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.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 voidSuspiciousStewItem.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 TypeFieldDescription(package private) final Map<StatusEffect,LootNumberProvider> SetStewEffectLootFunction.effectsprivate final Map<StatusEffect,LootNumberProvider> SetStewEffectLootFunction.Builder.mapMethods 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)SetStewEffectLootFunction(LootCondition[] conditions, Map<StatusEffect, LootNumberProvider> effects) -
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.primaryEffectIdprivate final Optional<StatusEffect>UpdateBeaconC2SPacket.secondaryEffectIdMethods 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 StatusEffectEntityStatusEffectS2CPacket.effectIdprivate final StatusEffectRemoveEntityStatusEffectS2CPacket.effectTypeMethods 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<StatusEffect,EntityEffectPredicate.EffectData> EntityEffectPredicate.effectsMethods 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 TypeMethodDescriptionbooleanEntityEffectPredicate.test(Map<StatusEffect, StatusEffectInstance> effects) Constructor parameters in net.minecraft.predicate.entity with type arguments of type StatusEffectModifierConstructorDescription -
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_EFFECTstatic 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()Method parameters in net.minecraft.screen with type arguments of type StatusEffectModifier and TypeMethodDescriptionvoidBeaconScreenHandler.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 intEffectCommand.executeClear(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect) private static intEffectCommand.executeGive(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect, @Nullable Integer seconds, int amplifier, boolean showParticles) -
Uses of StatusEffect in net.minecraft.village
Fields in net.minecraft.village declared as StatusEffectModifier and TypeFieldDescription(package private) final StatusEffectTradeOffers.SellSuspiciousStewFactory.effectConstructors in net.minecraft.village with parameters of type StatusEffectModifierConstructorDescriptionSellSuspiciousStewFactory(StatusEffect effect, int duration, int experience)