类 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 -
字段概要
字段从类继承的字段 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) -
方法概要
修饰符和类型方法说明doublegetAttributeModifierValue(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
-
字段详细资料
-
multiplier
-
-
构造器详细资料
-
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)
-