类 AttackDamageMobEffect

java.lang.Object
net.minecraft.world.effect.MobEffect
mod.chloeprime.gunsmithlib.common.util.AttackDamageMobEffect
所有已实现的接口:
net.minecraft.world.flag.FeatureElement, net.neoforged.neoforge.common.extensions.IMobEffectExtension

public class AttackDamageMobEffect extends net.minecraft.world.effect.MobEffect
  • 嵌套类概要

    从类继承的嵌套类/接口 net.minecraft.world.effect.MobEffect

    net.minecraft.world.effect.MobEffect.AttributeTemplate
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    protected final DoubleSupplier
     

    从类继承的字段 net.minecraft.world.effect.MobEffect

    CODEC, STREAM_CODEC

    从接口继承的字段 net.minecraft.world.flag.FeatureElement

    FILTERED_REGISTRIES
  • 构造器概要

    构造器
    构造器
    说明
    AttackDamageMobEffect(net.minecraft.world.effect.MobEffectCategory category, Color color, DoubleSupplier multiplier)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    double
    getAttributeModifierValue(int amplifier, @NotNull net.minecraft.world.entity.ai.attributes.AttributeModifier modifier)
     

    从类继承的方法 net.minecraft.world.effect.MobEffect

    addAttributeModifier, addAttributeModifier, addAttributeModifiers, applyEffectTick, applyInstantenousEffect, createModifiers, createParticleOptions, getBlendDurationTicks, getCategory, getColor, getDescriptionId, getDisplayName, getOrCreateDescriptionId, initializeClient, isBeneficial, isInstantenous, onEffectAdded, onEffectStarted, onMobHurt, onMobRemoved, removeAttributeModifiers, requiredFeatures, requiredFeatures, setBlendDuration, shouldApplyEffectTickThisTick, withSoundOnAdded

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 net.minecraft.world.flag.FeatureElement

    isEnabled

    从接口继承的方法 net.neoforged.neoforge.common.extensions.IMobEffectExtension

    fillEffectCures, getSortOrder
  • 字段详细资料

  • 构造器详细资料

    • AttackDamageMobEffect

      public AttackDamageMobEffect(net.minecraft.world.effect.MobEffectCategory category, Color color, DoubleSupplier multiplier)
  • 方法详细资料

    • getAttributeModifierValue

      public double getAttributeModifierValue(int amplifier, @NotNull @NotNull net.minecraft.world.entity.ai.attributes.AttributeModifier modifier)