Class WindChargeEntity

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

public class WindChargeEntity extends ExplosiveProjectileEntity implements FlyingItemEntity
Mappings:
Namespace Name
official cgn
intermediary net/minecraft/class_8956
named net/minecraft/entity/projectile/WindChargeEntity
  • Field Details

    • EXPLOSION_BEHAVIOR

      public static final WindChargeEntity.WindChargeExplosionBehavior EXPLOSION_BEHAVIOR
      Mappings:
      Namespace Name Mixin selector
      official e Lcgn;e:Lcgn$a;
      intermediary field_47579 Lnet/minecraft/class_8956;field_47579:Lnet/minecraft/class_8956$class_9036;
      named EXPLOSION_BEHAVIOR Lnet/minecraft/entity/projectile/WindChargeEntity;EXPLOSION_BEHAVIOR:Lnet/minecraft/entity/projectile/WindChargeEntity$WindChargeExplosionBehavior;
  • Constructor Details

    • WindChargeEntity

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

      public WindChargeEntity(EntityType<? extends WindChargeEntity> type, BreezeEntity breeze, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcgn;<init>(Lblz;Lcdl;Lctp;)V
      intermediary <init> Lnet/minecraft/class_8956;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_8949;Lnet/minecraft/class_1937;)V
      named <init> Lnet/minecraft/entity/projectile/WindChargeEntity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/entity/mob/BreezeEntity;Lnet/minecraft/world/World;)V
  • Method Details

    • calculateBoundingBox

      protected Box calculateBoundingBox()
      Overrides:
      calculateBoundingBox in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aq Lblv;aq()Lelo;
      intermediary method_33332 Lnet/minecraft/class_1297;method_33332()Lnet/minecraft/class_238;
      named calculateBoundingBox Lnet/minecraft/entity/Entity;calculateBoundingBox()Lnet/minecraft/util/math/Box;
    • getEyeHeight

      protected float getEyeHeight(EntityPose pose, EntityDimensions dimensions)
      Overrides:
      getEyeHeight in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lblv;a(Lbmx;Lblw;)F
      intermediary method_18378 Lnet/minecraft/class_1297;method_18378(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
      named getEyeHeight Lnet/minecraft/entity/Entity;getEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
    • collidesWith

      public boolean collidesWith(Entity other)
      Returns whether this entity cannot occupy the same space with other.

      This returns false if other is connected through vehicles.

      Overrides:
      collidesWith in class Entity
      Returns:
      whether this entity cannot occupy the same space with other
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Lblv;h(Lblv;)Z
      intermediary method_30949 Lnet/minecraft/class_1297;method_30949(Lnet/minecraft/class_1297;)Z
      named collidesWith Lnet/minecraft/entity/Entity;collidesWith(Lnet/minecraft/entity/Entity;)Z
    • canHit

      protected boolean canHit(Entity entity)
      Overrides:
      canHit in class ExplosiveProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lcga;a(Lblv;)Z
      intermediary method_26958 Lnet/minecraft/class_1676;method_26958(Lnet/minecraft/class_1297;)Z
      named canHit Lnet/minecraft/entity/projectile/ProjectileEntity;canHit(Lnet/minecraft/entity/Entity;)Z
    • onEntityHit

      protected void onEntityHit(EntityHitResult entityHitResult)
      Overrides:
      onEntityHit in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lcga;a(Lelq;)V
      intermediary method_7454 Lnet/minecraft/class_1676;method_7454(Lnet/minecraft/class_3966;)V
      named onEntityHit Lnet/minecraft/entity/projectile/ProjectileEntity;onEntityHit(Lnet/minecraft/util/hit/EntityHitResult;)V
    • createExplosion

      private void createExplosion()
      Mappings:
      Namespace Name Mixin selector
      official z Lcgn;z()V
      intermediary method_55055 Lnet/minecraft/class_8956;method_55055()V
      named createExplosion Lnet/minecraft/entity/projectile/WindChargeEntity;createExplosion()V
    • onBlockHit

      protected void onBlockHit(BlockHitResult blockHitResult)
      Overrides:
      onBlockHit in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lcga;a(Lelp;)V
      intermediary method_24920 Lnet/minecraft/class_1676;method_24920(Lnet/minecraft/class_3965;)V
      named onBlockHit Lnet/minecraft/entity/projectile/ProjectileEntity;onBlockHit(Lnet/minecraft/util/hit/BlockHitResult;)V
    • onCollision

      protected void onCollision(HitResult hitResult)
      Overrides:
      onCollision in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lcga;a(Lelr;)V
      intermediary method_7488 Lnet/minecraft/class_1676;method_7488(Lnet/minecraft/class_239;)V
      named onCollision Lnet/minecraft/entity/projectile/ProjectileEntity;onCollision(Lnet/minecraft/util/hit/HitResult;)V
    • isBurning

      protected boolean isBurning()
      Overrides:
      isBurning in class ExplosiveProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official s Lcfp;s()Z
      intermediary method_7468 Lnet/minecraft/class_1668;method_7468()Z
      named isBurning Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;isBurning()Z
    • getStack

      public ItemStack getStack()
      Specified by:
      getStack in interface FlyingItemEntity
      Mappings:
      Namespace Name Mixin selector
      official q Lcfx;q()Lcmy;
      intermediary method_7495 Lnet/minecraft/class_3856;method_7495()Lnet/minecraft/class_1799;
      named getStack Lnet/minecraft/entity/FlyingItemEntity;getStack()Lnet/minecraft/item/ItemStack;
    • getDrag

      protected float getDrag()
      Overrides:
      getDrag in class ExplosiveProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official x Lcfp;x()F
      intermediary method_7466 Lnet/minecraft/class_1668;method_7466()F
      named getDrag Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;getDrag()F
    • getDragInWater

      protected float getDragInWater()
      Overrides:
      getDragInWater in class ExplosiveProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official y Lcfp;y()F
      intermediary method_55583 Lnet/minecraft/class_1668;method_55583()F
      named getDragInWater Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;getDragInWater()F
    • getParticleType

      @Nullable protected @Nullable ParticleEffect getParticleType()
      Overrides:
      getParticleType in class ExplosiveProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official u Lcfp;u()Ljv;
      intermediary method_7467 Lnet/minecraft/class_1668;method_7467()Lnet/minecraft/class_2394;
      named getParticleType Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;getParticleType()Lnet/minecraft/particle/ParticleEffect;
    • getRaycastShapeType

      protected RaycastContext.ShapeType getRaycastShapeType()
      Overrides:
      getRaycastShapeType in class ExplosiveProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official ag_ Lcfp;ag_()Lcsy$a;
      intermediary method_55053 Lnet/minecraft/class_1668;method_55053()Lnet/minecraft/class_3959$class_3960;
      named getRaycastShapeType Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;getRaycastShapeType()Lnet/minecraft/world/RaycastContext$ShapeType;