Class WerewolfNightVisionEffectInstance

java.lang.Object
net.minecraft.world.effect.MobEffectInstance
de.teamlapen.werewolves.effects.inst.WerewolfNightVisionEffectInstance
All Implemented Interfaces:
Comparable<net.minecraft.world.effect.MobEffectInstance>

public class WerewolfNightVisionEffectInstance extends net.minecraft.world.effect.MobEffectInstance
  • Field Summary

    Fields inherited from class net.minecraft.world.effect.MobEffectInstance

    CODEC, INFINITE_DURATION, MAX_AMPLIFIER, MIN_AMPLIFIER, STREAM_CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    WerewolfNightVisionEffectInstance(@Nullable net.minecraft.world.effect.MobEffectInstance otherEffect)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object other)
     
    boolean
    tick(net.minecraft.world.entity.LivingEntity entityIn, Runnable p_76455_2_)
     
    boolean
    update(net.minecraft.world.effect.MobEffectInstance other)
     

    Methods inherited from class net.minecraft.world.effect.MobEffectInstance

    compareTo, copyBlendState, endsWithin, getAmplifier, getBlendFactor, getCures, getDescriptionId, getDuration, getEffect, getParticleOptions, hashCode, is, isAmbient, isInfiniteDuration, isVisible, load, mapDuration, onEffectAdded, onEffectStarted, onMobHurt, onMobRemoved, save, showIcon, skipBlending, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • WerewolfNightVisionEffectInstance

      public WerewolfNightVisionEffectInstance()
    • WerewolfNightVisionEffectInstance

      public WerewolfNightVisionEffectInstance(@Nullable @Nullable net.minecraft.world.effect.MobEffectInstance otherEffect)
  • Method Details

    • update

      public boolean update(@Nonnull net.minecraft.world.effect.MobEffectInstance other)
      Overrides:
      update in class net.minecraft.world.effect.MobEffectInstance
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class net.minecraft.world.effect.MobEffectInstance
    • tick

      public boolean tick(@Nonnull net.minecraft.world.entity.LivingEntity entityIn, @Nonnull Runnable p_76455_2_)
      Overrides:
      tick in class net.minecraft.world.effect.MobEffectInstance