类 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.
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    applyEffectTick(@NotNull net.minecraft.world.entity.LivingEntity pLivingEntity, int pAmplifier)
     
    boolean
    isDurationEffectTick(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

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

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

    从接口继承的方法 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 category
      color - 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