Uses of Class
net.minecraft.entity.effect.StatusEffect
Packages that use StatusEffect
Package
Description
-
Uses of StatusEffect in net.minecraft.block
Method parameters in net.minecraft.block with type arguments of type StatusEffectModifier and TypeMethodDescriptionprotected static SuspiciousStewEffectsComponentFlowerBlock.createStewEffectList(RegistryEntry<StatusEffect> effect, float effectLengthInSeconds) Constructor parameters in net.minecraft.block with type arguments of type StatusEffectModifierConstructorDescriptionFlowerBlock(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
Fields in net.minecraft.block.entity with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate static final Set<RegistryEntry<StatusEffect>> BeaconBlockEntity.EFFECTSstatic final List<List<RegistryEntry<StatusEffect>>> BeaconBlockEntity.EFFECTS_BY_LEVEL(package private) @Nullable RegistryEntry<StatusEffect> BeaconBlockEntity.primary(package private) @Nullable RegistryEntry<StatusEffect> BeaconBlockEntity.secondaryMethods in net.minecraft.block.entity that return types with arguments of type StatusEffectModifier 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) Method parameters in net.minecraft.block.entity with type arguments of type StatusEffectModifier and TypeMethodDescriptionprivate static voidBeaconBlockEntity.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 voidBeaconBlockEntity.writeStatusEffect(NbtCompound nbt, String key, @Nullable RegistryEntry<StatusEffect> effect) -
Uses of StatusEffect in net.minecraft.block.spawner
Methods in net.minecraft.block.spawner that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionprivate static Optional<com.mojang.datafixers.util.Pair<PlayerEntity, RegistryEntry<StatusEffect>>> TrialSpawnerData.findPlayerWithOmen(ServerWorld world, List<UUID> players) -
Uses of StatusEffect in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate RegistryEntry<StatusEffect> BeaconScreen.EffectButtonWidget.effect(package private) @Nullable RegistryEntry<StatusEffect> BeaconScreen.primaryEffect(package private) @Nullable RegistryEntry<StatusEffect> BeaconScreen.secondaryEffectMethod parameters in net.minecraft.client.gui.screen.ingame with type arguments of type StatusEffectModifier and TypeMethodDescriptionprotected MutableTextBeaconScreen.EffectButtonWidget.getEffectName(RegistryEntry<StatusEffect> effect) protected MutableTextBeaconScreen.LevelTwoEffectButtonWidget.getEffectName(RegistryEntry<StatusEffect> effect) protected voidBeaconScreen.EffectButtonWidget.init(RegistryEntry<StatusEffect> effect) Constructor parameters in net.minecraft.client.gui.screen.ingame with type arguments of type StatusEffectModifierConstructorDescriptionEffectButtonWidget(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
Method parameters in net.minecraft.client.network with type arguments of type StatusEffectModifier 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
Methods in net.minecraft.client.render that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionBackgroundRenderer.BlindnessFogModifier.getStatusEffect()BackgroundRenderer.DarknessFogModifier.getStatusEffect()BackgroundRenderer.StatusEffectFogModifier.getStatusEffect() -
Uses of StatusEffect in net.minecraft.client.texture
Method parameters in net.minecraft.client.texture with type arguments of type StatusEffectModifier and TypeMethodDescriptionStatusEffectSpriteManager.getSprite(RegistryEntry<StatusEffect> effect) -
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> RegistryEntryReferenceArgumentType.getStatusEffect(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
Uses of StatusEffect in net.minecraft.component.type
Fields in net.minecraft.component.type with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate final RegistryEntry<StatusEffect> SuspiciousStewEffectsComponent.StewEffect.effectThe field for theeffectrecord component.Methods in net.minecraft.component.type that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionSuspiciousStewEffectsComponent.StewEffect.effect()Returns the value of theeffectrecord component.Constructor parameters in net.minecraft.component.type with type arguments of type StatusEffect -
Uses of StatusEffect in net.minecraft.enchantment.effect.entity
Fields in net.minecraft.enchantment.effect.entity with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate final RegistryEntryList<StatusEffect> ApplyMobEffectEnchantmentEffect.toApplyThe field for thetoApplyrecord component.Methods in net.minecraft.enchantment.effect.entity that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionApplyMobEffectEnchantmentEffect.toApply()Returns the value of thetoApplyrecord component.Constructor parameters in net.minecraft.enchantment.effect.entity with type arguments of type StatusEffectModifierConstructorDescriptionApplyMobEffectEnchantmentEffect(RegistryEntryList<StatusEffect> registryEntryList, EnchantmentLevelBasedValue enchantmentLevelBasedValue, EnchantmentLevelBasedValue enchantmentLevelBasedValue2, EnchantmentLevelBasedValue enchantmentLevelBasedValue3, EnchantmentLevelBasedValue enchantmentLevelBasedValue4) -
Uses of StatusEffect in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate final Map<RegistryEntry<StatusEffect>, StatusEffectInstance> LivingEntity.activeStatusEffectsMethods in net.minecraft.entity that return types with arguments of type StatusEffectMethod parameters in net.minecraft.entity with type arguments of type StatusEffectModifier and TypeMethodDescriptionLivingEntity.getStatusEffect(RegistryEntry<StatusEffect> effect) booleanLivingEntity.hasStatusEffect(RegistryEntry<StatusEffect> effect) booleanLivingEntity.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
Subclasses of StatusEffect in net.minecraft.entity.effectModifier and TypeClassDescription(package private) class(package private) class(package private) class(package private) class(package private) classclass(package private) class(package private) class(package private) class(package private) class(package private) class(package private) class(package private) class(package private) classFields in net.minecraft.entity.effect with type parameters of type StatusEffectModifier and TypeFieldDescriptionstatic final RegistryEntry<StatusEffect> StatusEffects.ABSORPTIONstatic final RegistryEntry<StatusEffect> StatusEffects.BAD_OMENstatic final RegistryEntry<StatusEffect> StatusEffects.BLINDNESSstatic final RegistryEntry<StatusEffect> StatusEffects.CONDUIT_POWERstatic final RegistryEntry<StatusEffect> StatusEffects.DARKNESSstatic final RegistryEntry<StatusEffect> StatusEffects.DOLPHINS_GRACEstatic final com.mojang.serialization.Codec<RegistryEntry<StatusEffect>> StatusEffect.ENTRY_CODECstatic final PacketCodec<RegistryByteBuf, RegistryEntry<StatusEffect>> StatusEffect.ENTRY_PACKET_CODECstatic final RegistryEntry<StatusEffect> StatusEffects.FIRE_RESISTANCEstatic final RegistryEntry<StatusEffect> StatusEffects.GLOWINGstatic final RegistryEntry<StatusEffect> StatusEffects.HASTEstatic final RegistryEntry<StatusEffect> StatusEffects.HEALTH_BOOSTstatic final RegistryEntry<StatusEffect> StatusEffects.HERO_OF_THE_VILLAGEstatic final RegistryEntry<StatusEffect> StatusEffects.HUNGERstatic final RegistryEntry<StatusEffect> StatusEffects.INFESTEDstatic final RegistryEntry<StatusEffect> StatusEffects.INSTANT_DAMAGEstatic final RegistryEntry<StatusEffect> StatusEffects.INSTANT_HEALTHstatic final RegistryEntry<StatusEffect> StatusEffects.INVISIBILITYstatic final RegistryEntry<StatusEffect> StatusEffects.JUMP_BOOSTstatic final RegistryEntry<StatusEffect> StatusEffects.LEVITATIONstatic final RegistryEntry<StatusEffect> StatusEffects.LUCKstatic final RegistryEntry<StatusEffect> StatusEffects.MINING_FATIGUEstatic final RegistryEntry<StatusEffect> StatusEffects.NAUSEAstatic final RegistryEntry<StatusEffect> StatusEffects.NIGHT_VISIONstatic final RegistryEntry<StatusEffect> StatusEffects.OOZINGstatic final RegistryEntry<StatusEffect> StatusEffects.POISONstatic final RegistryEntry<StatusEffect> StatusEffects.RAID_OMENstatic final RegistryEntry<StatusEffect> StatusEffects.REGENERATIONstatic final RegistryEntry<StatusEffect> StatusEffects.RESISTANCEstatic final RegistryEntry<StatusEffect> StatusEffects.SATURATIONstatic final RegistryEntry<StatusEffect> StatusEffects.SLOW_FALLINGstatic final RegistryEntry<StatusEffect> StatusEffects.SLOWNESSstatic final RegistryEntry<StatusEffect> StatusEffects.SPEEDstatic final RegistryEntry<StatusEffect> StatusEffects.STRENGTHstatic final RegistryEntry<StatusEffect> StatusEffects.TRIAL_OMENprivate final RegistryEntry<StatusEffect> StatusEffectInstance.typestatic final RegistryEntry<StatusEffect> StatusEffects.UNLUCKstatic final RegistryEntry<StatusEffect> StatusEffects.WATER_BREATHINGstatic final RegistryEntry<StatusEffect> StatusEffects.WEAKNESSstatic final RegistryEntry<StatusEffect> StatusEffects.WEAVINGstatic final RegistryEntry<StatusEffect> StatusEffects.WIND_CHARGEDstatic final RegistryEntry<StatusEffect> StatusEffects.WITHERMethods in net.minecraft.entity.effect that return StatusEffectModifier and TypeMethodDescriptionStatusEffect.addAttributeModifier(RegistryEntry<EntityAttribute> attribute, Identifier id, 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) Methods in net.minecraft.entity.effect that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionStatusEffectInstance.getEffectType()private static RegistryEntry<StatusEffect> StatusEffects.register(String id, StatusEffect statusEffect) static RegistryEntry<StatusEffect> StatusEffects.registerAndGetDefault(Registry<StatusEffect> registry) Methods in net.minecraft.entity.effect with parameters of type StatusEffectModifier and TypeMethodDescriptionprivate static RegistryEntry<StatusEffect> StatusEffects.register(String id, StatusEffect statusEffect) Method parameters in net.minecraft.entity.effect with type arguments of type StatusEffectModifier and TypeMethodDescriptionbooleanStatusEffectInstance.equals(RegistryEntry<StatusEffect> effect) static RegistryEntry<StatusEffect> StatusEffects.registerAndGetDefault(Registry<StatusEffect> registry) Constructor parameters in net.minecraft.entity.effect with type arguments of type StatusEffectModifierConstructorDescriptionStatusEffectInstance(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) privateStatusEffectInstance(RegistryEntry<StatusEffect> effect, StatusEffectInstance.Parameters parameters) -
Uses of StatusEffect in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob with type parameters of type 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.effectThe field for theeffectrecord component.Methods in net.minecraft.loot.function that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionSetStewEffectLootFunction.StewEffect.effect()Returns the value of theeffectrecord component.Method parameters in net.minecraft.loot.function with type arguments of type StatusEffectModifier and TypeMethodDescriptionSetStewEffectLootFunction.Builder.withEffect(RegistryEntry<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<RegistryEntry<StatusEffect>> UpdateBeaconC2SPacket.primaryThe field for theprimaryrecord component.private final Optional<RegistryEntry<StatusEffect>> UpdateBeaconC2SPacket.secondaryThe field for thesecondaryrecord component.Methods in net.minecraft.network.packet.c2s.play that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionUpdateBeaconC2SPacket.primary()Returns the value of theprimaryrecord component.UpdateBeaconC2SPacket.secondary()Returns the value of thesecondaryrecord component.Constructor parameters in net.minecraft.network.packet.c2s.play with type arguments of type StatusEffectModifierConstructorDescriptionUpdateBeaconC2SPacket(Optional<RegistryEntry<StatusEffect>> primaryEffectId, Optional<RegistryEntry<StatusEffect>> secondaryEffectId) -
Uses of StatusEffect in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play with type parameters of type StatusEffectModifier and TypeFieldDescriptionprivate final RegistryEntry<StatusEffect> RemoveEntityStatusEffectS2CPacket.effectThe field for theeffectrecord component.private final RegistryEntry<StatusEffect> EntityStatusEffectS2CPacket.effectIdMethods in net.minecraft.network.packet.s2c.play that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionRemoveEntityStatusEffectS2CPacket.effect()Returns the value of theeffectrecord component.EntityStatusEffectS2CPacket.getEffectId()Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type StatusEffectModifierConstructorDescriptionRemoveEntityStatusEffectS2CPacket(int entityId, RegistryEntry<StatusEffect> registryEntry) -
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.effectsThe field for theeffectsrecord component.EntityEffectPredicate.Builder.EFFECTSMethods in net.minecraft.predicate.entity that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionEntityEffectPredicate.effects()Returns the value of theeffectsrecord component.Method parameters in net.minecraft.predicate.entity with type arguments of type StatusEffectModifier and TypeMethodDescriptionEntityEffectPredicate.Builder.addEffect(RegistryEntry<StatusEffect> effect) EntityEffectPredicate.Builder.addEffect(RegistryEntry<StatusEffect> effect, EntityEffectPredicate.EffectData effectData) booleanEntityEffectPredicate.test(Map<RegistryEntry<StatusEffect>, StatusEffectInstance> effects) Constructor parameters in net.minecraft.predicate.entity with type arguments of type StatusEffectModifierConstructorDescriptionCreates an instance of aEntityEffectPredicaterecord 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_EFFECTstatic final RegistryKey<Registry<StatusEffect>> RegistryKeys.STATUS_EFFECT -
Uses of StatusEffect in net.minecraft.screen
Methods in net.minecraft.screen that return types with arguments of type StatusEffectModifier and TypeMethodDescriptionBeaconScreenHandler.getPrimaryEffect()BeaconScreenHandler.getSecondaryEffect()static @Nullable RegistryEntry<StatusEffect> BeaconScreenHandler.getStatusEffectForRawId(int id) Method parameters in net.minecraft.screen with type arguments of type StatusEffectModifier and TypeMethodDescriptionstatic intBeaconScreenHandler.getRawIdForStatusEffect(@Nullable RegistryEntry<StatusEffect> effect) voidBeaconScreenHandler.setEffects(Optional<RegistryEntry<StatusEffect>> primary, Optional<RegistryEntry<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.test
Method parameters in net.minecraft.test with type arguments of type StatusEffectModifier and TypeMethodDescriptionvoidTestContext.expectEntityHasEffect(LivingEntity entity, RegistryEntry<StatusEffect> effect, int amplifier) -
Uses of StatusEffect in net.minecraft.village
Constructor parameters in net.minecraft.village with type arguments of type StatusEffectModifierConstructorDescriptionSellSuspiciousStewFactory(RegistryEntry<StatusEffect> effect, int duration, int experience)