Class EvokerFangsEntity

java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.mob.EvokerFangsEntity
All Implemented Interfaces:
DataTracked, Ownable, ScoreHolder, CommandOutput, Nameable, EntityLike

public class EvokerFangsEntity extends Entity implements Ownable
Mappings:
Namespace Name
named net/minecraft/entity/mob/EvokerFangsEntity
intermediary net/minecraft/class_1669
official cnf
  • Field Details

    • field_30662

      public static final int field_30662
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30662 Lnet/minecraft/entity/mob/EvokerFangsEntity;field_30662:I
      intermediary field_30662 Lnet/minecraft/class_1669;field_30662:I
      official b Lcnf;b:I
    • field_30663

      public static final int field_30663
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30663 Lnet/minecraft/entity/mob/EvokerFangsEntity;field_30663:I
      intermediary field_30663 Lnet/minecraft/class_1669;field_30663:I
      official c Lcnf;c:I
    • field_30664

      public static final int field_30664
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30664 Lnet/minecraft/entity/mob/EvokerFangsEntity;field_30664:I
      intermediary field_30664 Lnet/minecraft/class_1669;field_30664:I
      official d Lcnf;d:I
    • warmup

      private int warmup
      Mappings:
      Namespace Name Mixin selector
      named warmup Lnet/minecraft/entity/mob/EvokerFangsEntity;warmup:I
      intermediary field_7609 Lnet/minecraft/class_1669;field_7609:I
      official e Lcnf;e:I
    • startedAttack

      private boolean startedAttack
      Mappings:
      Namespace Name Mixin selector
      named startedAttack Lnet/minecraft/entity/mob/EvokerFangsEntity;startedAttack:Z
      intermediary field_7610 Lnet/minecraft/class_1669;field_7610:Z
      official f Lcnf;f:Z
    • ticksLeft

      private int ticksLeft
      Mappings:
      Namespace Name Mixin selector
      named ticksLeft Lnet/minecraft/entity/mob/EvokerFangsEntity;ticksLeft:I
      intermediary field_7607 Lnet/minecraft/class_1669;field_7607:I
      official g Lcnf;g:I
    • playingAnimation

      private boolean playingAnimation
      Mappings:
      Namespace Name Mixin selector
      named playingAnimation Lnet/minecraft/entity/mob/EvokerFangsEntity;playingAnimation:Z
      intermediary field_7608 Lnet/minecraft/class_1669;field_7608:Z
      official h Lcnf;h:Z
    • owner

      Mappings:
      Namespace Name Mixin selector
      named owner Lnet/minecraft/entity/mob/EvokerFangsEntity;owner:Lnet/minecraft/entity/LivingEntity;
      intermediary field_7605 Lnet/minecraft/class_1669;field_7605:Lnet/minecraft/class_1309;
      official i Lcnf;i:Lbtl;
    • ownerUuid

      @Nullable private @Nullable UUID ownerUuid
      Mappings:
      Namespace Name Mixin selector
      named ownerUuid Lnet/minecraft/entity/mob/EvokerFangsEntity;ownerUuid:Ljava/util/UUID;
      intermediary field_7606 Lnet/minecraft/class_1669;field_7606:Ljava/util/UUID;
      official j Lcnf;j:Ljava/util/UUID;
  • Constructor Details

    • EvokerFangsEntity

      public EvokerFangsEntity(EntityType<? extends EvokerFangsEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      official <init> Lbsq;<init>(Lbsw;Ldcu;)V
    • EvokerFangsEntity

      public EvokerFangsEntity(World world, double x, double y, double z, float yaw, int warmup, LivingEntity owner)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/mob/EvokerFangsEntity;<init>(Lnet/minecraft/world/World;DDDFILnet/minecraft/entity/LivingEntity;)V
      intermediary <init> Lnet/minecraft/class_1669;<init>(Lnet/minecraft/class_1937;DDDFILnet/minecraft/class_1309;)V
      official <init> Lcnf;<init>(Ldcu;DDDFILbtl;)V
  • Method Details

    • initDataTracker

      protected void initDataTracker(DataTracker.Builder builder)
      Initializes data tracker.
      Specified by:
      initDataTracker in class Entity
      API Note:
      Subclasses should override this and add to the builder any data that needs to be tracked.
      Mappings:
      Namespace Name Mixin selector
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)V
      official a Lbsq;a(Lajz$a;)V
    • setOwner

      public void setOwner(@Nullable @Nullable LivingEntity owner)
      Mappings:
      Namespace Name Mixin selector
      named setOwner Lnet/minecraft/entity/mob/EvokerFangsEntity;setOwner(Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_7473 Lnet/minecraft/class_1669;method_7473(Lnet/minecraft/class_1309;)V
      official a Lcnf;a(Lbtl;)V
    • getOwner

      @Nullable public @Nullable LivingEntity getOwner()
      Specified by:
      getOwner in interface Ownable
      Mappings:
      Namespace Name Mixin selector
      named getOwner Lnet/minecraft/entity/mob/EvokerFangsEntity;getOwner()Lnet/minecraft/entity/LivingEntity;
      intermediary method_7470 Lnet/minecraft/class_1669;method_7470()Lnet/minecraft/class_1309;
      official p Lcnf;p()Lbtl;
    • readCustomDataFromNbt

      protected void readCustomDataFromNbt(NbtCompound nbt)
      Reads custom data from nbt. Subclasses have to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      nbt might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.

      Specified by:
      readCustomDataFromNbt in class Entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      official a Lbsq;a(Lua;)V
    • writeCustomDataToNbt

      protected void writeCustomDataToNbt(NbtCompound nbt)
      Writes custom data to nbt. Subclasses have to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      Specified by:
      writeCustomDataToNbt in class Entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      official b Lbsq;b(Lua;)V
    • tick

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class Entity
      See Also:
      API Note:
      This can be overridden to add additional logics. super.tick(); should be called in those cases.
      Implementation Note:
      By default, this delegates all logics to Entity.baseTick().
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/Entity;tick()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      official l Lbsq;l()V
    • damage

      private void damage(LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      named damage Lnet/minecraft/entity/mob/EvokerFangsEntity;damage(Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_7471 Lnet/minecraft/class_1669;method_7471(Lnet/minecraft/class_1309;)V
      official c Lcnf;c(Lbtl;)V
    • handleStatus

      public void handleStatus(byte status)
      Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.
      Overrides:
      handleStatus in class Entity
      See Also:
      API Note:
      To send an entity status, use World.sendEntityStatus(net.minecraft.entity.Entity, byte).
      Mappings:
      Namespace Name Mixin selector
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V
      intermediary method_5711 Lnet/minecraft/class_1297;method_5711(B)V
      official b Lbsq;b(B)V
    • getAnimationProgress

      public float getAnimationProgress(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      named getAnimationProgress Lnet/minecraft/entity/mob/EvokerFangsEntity;getAnimationProgress(F)F
      intermediary method_7472 Lnet/minecraft/class_1669;method_7472(F)F
      official a Lcnf;a(F)F