Class WindChargeEntity

All Implemented Interfaces:
DataTracked, FlyingItemEntity, Ownable, ScoreHolder, CommandOutput, Nameable, EntityLike

public class WindChargeEntity extends AbstractWindChargeEntity
Mappings:
Namespace Name
named net/minecraft/entity/projectile/WindChargeEntity
intermediary net/minecraft/class_8956
official cof
  • Field Details

    • EXPLOSION_BEHAVIOR

      private static final ExplosionBehavior EXPLOSION_BEHAVIOR
      Mappings:
      Namespace Name Mixin selector
      named EXPLOSION_BEHAVIOR Lnet/minecraft/entity/projectile/WindChargeEntity;EXPLOSION_BEHAVIOR:Lnet/minecraft/world/explosion/ExplosionBehavior;
      intermediary field_47579 Lnet/minecraft/class_8956;field_47579:Lnet/minecraft/class_5362;
      official f Lcof;f:Ldcn;
    • EXPLOSION_POWER

      private static final float EXPLOSION_POWER
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named EXPLOSION_POWER Lnet/minecraft/entity/projectile/WindChargeEntity;EXPLOSION_POWER:F
      intermediary field_49243 Lnet/minecraft/class_8956;field_49243:F
      official g Lcof;g:F
    • field_52019

      private int field_52019
      Mappings:
      Namespace Name Mixin selector
      named field_52019 Lnet/minecraft/entity/projectile/WindChargeEntity;field_52019:I
      intermediary field_52019 Lnet/minecraft/class_8956;field_52019:I
      official h Lcof;h:I
  • Constructor Details

    • WindChargeEntity

      public WindChargeEntity(EntityType<? extends AbstractWindChargeEntity> 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
    • WindChargeEntity

      public WindChargeEntity(PlayerEntity player, World world, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/projectile/WindChargeEntity;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;DDD)V
      intermediary <init> Lnet/minecraft/class_8956;<init>(Lnet/minecraft/class_1657;Lnet/minecraft/class_1937;DDD)V
      official <init> Lcof;<init>(Lcmv;Ldcu;DDD)V
    • WindChargeEntity

      public WindChargeEntity(World world, double x, double y, double z, Vec3d velocity)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/projectile/WindChargeEntity;<init>(Lnet/minecraft/world/World;DDDLnet/minecraft/util/math/Vec3d;)V
      intermediary <init> Lnet/minecraft/class_8956;<init>(Lnet/minecraft/class_1937;DDDLnet/minecraft/class_243;)V
      official <init> Lcof;<init>(Ldcu;DDDLeww;)V
  • Method Details

    • tick

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class AbstractWindChargeEntity
      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
    • deflect

      public boolean deflect(ProjectileDeflection deflection, @Nullable @Nullable Entity deflector, @Nullable @Nullable Entity owner, boolean fromAttack)
      Overrides:
      deflect in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      named deflect Lnet/minecraft/entity/projectile/ProjectileEntity;deflect(Lnet/minecraft/entity/ProjectileDeflection;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;Z)Z
      intermediary method_59859 Lnet/minecraft/class_1676;method_59859(Lnet/minecraft/class_9109;Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;Z)Z
      official a Lcnn;a(Lcno;Lbsq;Lbsq;Z)Z
    • createExplosion

      protected void createExplosion()
      Specified by:
      createExplosion in class AbstractWindChargeEntity
      Mappings:
      Namespace Name Mixin selector
      named createExplosion Lnet/minecraft/entity/projectile/AbstractWindChargeEntity;createExplosion()V
      intermediary method_55055 Lnet/minecraft/class_9236;method_55055()V
      official y Lcod;y()V