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 coh
  • 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 g Lcoh;g:Ldcp;
    • 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 h Lcoh;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 Lcoh;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> Lbsr;<init>(Lbsx;Ldcw;)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> Lcoh;<init>(Lcmx;Ldcw;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> Lcoh;<init>(Ldcw;DDDLexc;)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 Lbsr;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 Lcnp;a(Lcnq;Lbsr;Lbsr;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 Lcof;a(Lexc;)V