类 NoSuperLeashEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
top.r3944realms.superleadrope.content.effect.NoSuperLeashEffect
- 所有已实现的接口:
net.minecraftforge.common.extensions.IForgeMobEffect
public class NoSuperLeashEffect
extends net.minecraft.world.effect.MobEffect
The type No super leash effect.
-
构造器概要
构造器构造器说明NoSuperLeashEffect(net.minecraft.world.effect.MobEffectCategory category, int color) Instantiates a new No super leash effect. -
方法概要
修饰符和类型方法说明voidapplyEffectTick(@NotNull net.minecraft.world.entity.LivingEntity pLivingEntity, int pAmplifier) booleanisDurationEffectTick(int duration, int amplifier) 从类继承的方法 net.minecraft.world.effect.MobEffect
addAttributeModifier, addAttributeModifiers, applyInstantenousEffect, byId, createFactorData, getAttributeModifiers, getAttributeModifierValue, getCategory, getColor, getDescriptionId, getDisplayName, getEffectRendererInternal, getId, getIdFromNullable, initializeClient, isBeneficial, isInstantenous, removeAttributeModifiers, setFactorDataFactory从接口继承的方法 net.minecraftforge.common.extensions.IForgeMobEffect
getCurativeItems, getSortOrder
-
构造器详细资料
-
NoSuperLeashEffect
public NoSuperLeashEffect(net.minecraft.world.effect.MobEffectCategory category, int color) Instantiates a new No super leash effect.- 参数:
category- the categorycolor- the color
-
-
方法详细资料
-
applyEffectTick
public void applyEffectTick(@NotNull @NotNull net.minecraft.world.entity.LivingEntity pLivingEntity, int pAmplifier) - 覆盖:
applyEffectTick在类中net.minecraft.world.effect.MobEffect
-
isDurationEffectTick
public boolean isDurationEffectTick(int duration, int amplifier) - 覆盖:
isDurationEffectTick在类中net.minecraft.world.effect.MobEffect
-