Uses of Class
net.minecraft.entity.effect.StatusEffect
-
Uses of StatusEffect in net.minecraft.block
Fields in net.minecraft.block declared as StatusEffect Modifier and Type Field Description private StatusEffectFlowerBlock. effectInStewMethods in net.minecraft.block that return StatusEffect Modifier and Type Method Description StatusEffectFlowerBlock. getEffectInStew()Constructors in net.minecraft.block with parameters of type StatusEffect Constructor Description FlowerBlock(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 StatusEffect Modifier and Type Field Description static StatusEffect[][]BeaconBlockEntity. EFFECTS_BY_LEVELprivate @Nullable StatusEffectBeaconBlockEntity. primaryprivate @Nullable StatusEffectBeaconBlockEntity. secondaryFields in net.minecraft.block.entity with type parameters of type StatusEffect Modifier and Type Field Description private static Set<StatusEffect>BeaconBlockEntity. EFFECTSMethods in net.minecraft.block.entity that return StatusEffect Modifier and Type Method Description private static @Nullable StatusEffectBeaconBlockEntity. getPotionEffectById(int id)Methods in net.minecraft.block.entity with parameters of type StatusEffect Modifier and Type Method Description private 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 StatusEffect Modifier and Type Field Description private StatusEffectBeaconScreen.EffectButtonWidget. effectprivate StatusEffectBeaconScreen. primaryEffectprivate StatusEffectBeaconScreen. secondaryEffectMethods in net.minecraft.client.gui.screen.ingame with parameters of type StatusEffect Modifier and Type Method Description private TextBeaconScreen.EffectButtonWidget. getTextForEffect(StatusEffect effect, boolean primary)Constructors in net.minecraft.client.gui.screen.ingame with parameters of type StatusEffect Constructor Description EffectButtonWidget(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 StatusEffect Modifier and Type Method Description @Nullable StatusEffectInstanceClientPlayerEntity. 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 Modifier and Type Method Description SpriteStatusEffectSpriteManager. getSprite(StatusEffect effect) -
Uses of StatusEffect in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return StatusEffect Modifier and Type Method Description static StatusEffectStatusEffectArgumentType. getStatusEffect(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)StatusEffectStatusEffectArgumentType. parse(com.mojang.brigadier.StringReader stringReader) -
Uses of StatusEffect in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type StatusEffect Modifier and Type Field Description private Map<StatusEffect,StatusEffectInstance>LivingEntity. activeStatusEffectsMethods in net.minecraft.entity that return types with arguments of type StatusEffect Modifier and Type Method Description Map<StatusEffect,StatusEffectInstance>LivingEntity. getActiveStatusEffects()Methods in net.minecraft.entity with parameters of type StatusEffect Modifier and Type Method Description @Nullable StatusEffectInstanceLivingEntity. getStatusEffect(StatusEffect effect)booleanLivingEntity. hasStatusEffect(StatusEffect effect)booleanLivingEntity. removeStatusEffect(StatusEffect type)Removes a status effect from this entity.@Nullable StatusEffectInstanceLivingEntity. 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.effect Modifier and Type Class Description classAbsorptionStatusEffectclassDamageModifierStatusEffectclassHealthBoostStatusEffectclassInstantStatusEffectFields in net.minecraft.entity.effect declared as StatusEffect Modifier and Type Field Description static StatusEffectStatusEffects. ABSORPTIONstatic StatusEffectStatusEffects. BAD_OMENstatic StatusEffectStatusEffects. BLINDNESSstatic StatusEffectStatusEffects. CONDUIT_POWERstatic StatusEffectStatusEffects. DOLPHINS_GRACEstatic StatusEffectStatusEffects. FIRE_RESISTANCEstatic StatusEffectStatusEffects. GLOWINGstatic StatusEffectStatusEffects. HASTEstatic StatusEffectStatusEffects. HEALTH_BOOSTstatic StatusEffectStatusEffects. HERO_OF_THE_VILLAGEstatic StatusEffectStatusEffects. HUNGERstatic StatusEffectStatusEffects. INSTANT_DAMAGEstatic StatusEffectStatusEffects. INSTANT_HEALTHstatic StatusEffectStatusEffects. INVISIBILITYstatic StatusEffectStatusEffects. JUMP_BOOSTstatic StatusEffectStatusEffects. LEVITATIONstatic StatusEffectStatusEffects. LUCKstatic StatusEffectStatusEffects. MINING_FATIGUEstatic StatusEffectStatusEffects. NAUSEAstatic StatusEffectStatusEffects. NIGHT_VISIONstatic StatusEffectStatusEffects. POISONstatic StatusEffectStatusEffects. REGENERATIONstatic StatusEffectStatusEffects. RESISTANCEstatic StatusEffectStatusEffects. SATURATIONstatic StatusEffectStatusEffects. SLOW_FALLINGstatic StatusEffectStatusEffects. SLOWNESSstatic StatusEffectStatusEffects. SPEEDstatic StatusEffectStatusEffects. STRENGTHprivate StatusEffectStatusEffectInstance. typestatic StatusEffectStatusEffects. UNLUCKstatic StatusEffectStatusEffects. WATER_BREATHINGstatic StatusEffectStatusEffects. WEAKNESSstatic StatusEffectStatusEffects. WITHERMethods in net.minecraft.entity.effect that return StatusEffect Modifier and Type Method Description StatusEffectStatusEffect. addAttributeModifier(EntityAttribute attribute, String uuid, double amount, EntityAttributeModifier.Operation operation)static @Nullable StatusEffectStatusEffect. byRawId(int rawId)StatusEffectStatusEffectInstance. getEffectType()private static StatusEffectStatusEffects. register(int rawId, String id, StatusEffect entry)Methods in net.minecraft.entity.effect with parameters of type StatusEffect Modifier and Type Method Description private static StatusEffectInstanceStatusEffectInstance. fromNbt(StatusEffect type, NbtCompound nbt)static intStatusEffect. getRawId(StatusEffect type)private static StatusEffectStatusEffects. register(int rawId, String id, StatusEffect entry)Constructors in net.minecraft.entity.effect with parameters of type StatusEffect Constructor Description StatusEffectInstance(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 Modifier and Type Field Description StatusEffectSpiderEntity.SpiderData. effect -
Uses of StatusEffect in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as StatusEffect Modifier and Type Field Description private StatusEffectMooshroomEntity. stewEffectMethods in net.minecraft.entity.passive that return types with arguments of type StatusEffect Modifier and Type Method Description private Optional<Pair<StatusEffect,Integer>>MooshroomEntity. getStewEffectFrom(ItemStack flower) -
Uses of StatusEffect in net.minecraft.item
Methods in net.minecraft.item with parameters of type StatusEffect Modifier and Type Method Description static 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 StatusEffect Modifier and Type Field Description private Map<StatusEffect,LootNumberProvider>SetStewEffectLootFunction. effectsprivate Map<StatusEffect,LootNumberProvider>SetStewEffectLootFunction.Builder. mapMethods in net.minecraft.loot.function with parameters of type StatusEffect Modifier and Type Method Description SetStewEffectLootFunction.BuilderSetStewEffectLootFunction.Builder. withEffect(StatusEffect effect, LootNumberProvider durationRange)Constructor parameters in net.minecraft.loot.function with type arguments of type StatusEffect Constructor Description 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 StatusEffect Modifier and Type Field Description private StatusEffectRemoveEntityStatusEffectS2CPacket. effectTypeMethods in net.minecraft.network.packet.s2c.play that return StatusEffect Modifier and Type Method Description @Nullable StatusEffectRemoveEntityStatusEffectS2CPacket. getEffectType()Constructors in net.minecraft.network.packet.s2c.play with parameters of type StatusEffect Constructor Description RemoveEntityStatusEffectS2CPacket(int entityId, StatusEffect effectType) -
Uses of StatusEffect in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type StatusEffect Modifier and Type Field Description private Map<StatusEffect,EntityEffectPredicate.EffectData>EntityEffectPredicate. effectsMethods in net.minecraft.predicate.entity with parameters of type StatusEffect Modifier and Type Method Description EntityEffectPredicateEntityEffectPredicate. method_35290(StatusEffect statusEffect, EntityEffectPredicate.EffectData effectData)EntityEffectPredicateEntityEffectPredicate. withEffect(StatusEffect statusEffect)Method parameters in net.minecraft.predicate.entity with type arguments of type StatusEffect Modifier and Type Method Description booleanEntityEffectPredicate. test(Map<StatusEffect,StatusEffectInstance> effects)Constructor parameters in net.minecraft.predicate.entity with type arguments of type StatusEffect Constructor Description EntityEffectPredicate(Map<StatusEffect,EntityEffectPredicate.EffectData> effects) -
Uses of StatusEffect in net.minecraft.screen
Methods in net.minecraft.screen that return StatusEffect Modifier and Type Method Description @Nullable StatusEffectBeaconScreenHandler. getPrimaryEffect()@Nullable StatusEffectBeaconScreenHandler. getSecondaryEffect() -
Uses of StatusEffect in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type StatusEffect Modifier and Type Method Description private static intEffectCommand. executeClear(ServerCommandSource source, Collection<? extends Entity> targets, StatusEffect effect)private static intEffectCommand. 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 StatusEffect Modifier and Type Field Description static RegistryKey<Registry<StatusEffect>>Registry. MOB_EFFECT_KEYstatic Registry<StatusEffect>Registry. STATUS_EFFECT -
Uses of StatusEffect in net.minecraft.village
Fields in net.minecraft.village declared as StatusEffect Modifier and Type Field Description (package private) StatusEffectTradeOffers.SellSuspiciousStewFactory. effectConstructors in net.minecraft.village with parameters of type StatusEffect Constructor Description SellSuspiciousStewFactory(StatusEffect effect, int duration, int experience)