Class WindChargeEntity

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

public class WindChargeEntity extends AbstractWindChargeEntity
Mappings:
Namespace Name
named net/minecraft/entity/projectile/WindChargeEntity
intermediary net/minecraft/class_8956
official crh
  • 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 Lcrh;f:Ldha;
    • 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 Lcrh;g:F
    • MAX_RENDER_DISTANCE_WHEN_NEWLY_SPAWNED

      private static final float MAX_RENDER_DISTANCE_WHEN_NEWLY_SPAWNED
      Mappings:
      Namespace Name Mixin selector
      named MAX_RENDER_DISTANCE_WHEN_NEWLY_SPAWNED Lnet/minecraft/entity/projectile/WindChargeEntity;MAX_RENDER_DISTANCE_WHEN_NEWLY_SPAWNED:F
      intermediary field_52511 Lnet/minecraft/class_8956;field_52511:F
      official h Lcrh;h:F
    • deflectCooldown

      private int deflectCooldown
      Mappings:
      Namespace Name Mixin selector
      named deflectCooldown Lnet/minecraft/entity/projectile/WindChargeEntity;deflectCooldown:I
      intermediary field_52019 Lnet/minecraft/class_8956;field_52019:I
      official i Lcrh;i: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> Lbvj;<init>(Lbvq;Ldhh;)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> Lcrh;<init>(Lcpw;Ldhh;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> Lcrh;<init>(Ldhh;DDDLfbx;)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 h Lbvj;h()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 Lcqp;a(Lcqq;Lbvj;Lbvj;Z)Z
    • createExplosion

      protected void createExplosion(Vec3d pos)
      Specified by:
      createExplosion in class AbstractWindChargeEntity
      Mappings:
      Namespace Name Mixin selector
      named createExplosion Lnet/minecraft/entity/projectile/AbstractWindChargeEntity;createExplosion(Lnet/minecraft/util/math/Vec3d;)V
      intermediary method_55055 Lnet/minecraft/class_9236;method_55055(Lnet/minecraft/class_243;)V
      official a Lcrf;a(Lfbx;)V
    • shouldRender

      public boolean shouldRender(double distance)
      Overrides:
      shouldRender in class ExplosiveProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      named shouldRender Lnet/minecraft/entity/Entity;shouldRender(D)Z
      intermediary method_5640 Lnet/minecraft/class_1297;method_5640(D)Z
      official a Lbvj;a(D)Z