Class ShulkerBulletEntity

All Implemented Interfaces:
CommandOutput, Nameable, EntityLike

public class ShulkerBulletEntity extends ProjectileEntity
Mappings:
Namespace Name
official bkv
intermediary net/minecraft/class_1678
named net/minecraft/entity/projectile/ShulkerBulletEntity
  • Field Details

    • field_30666

      private static final double field_30666
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official b Lbkv;b:D
      intermediary field_30666 Lnet/minecraft/class_1678;field_30666:D
      named field_30666 Lnet/minecraft/entity/projectile/ShulkerBulletEntity;field_30666:D
    • target

      @Nullable private @Nullable Entity target
      Mappings:
      Namespace Name Mixin selector
      official c Lbkv;c:Latf;
      intermediary field_7626 Lnet/minecraft/class_1678;field_7626:Lnet/minecraft/class_1297;
      named target Lnet/minecraft/entity/projectile/ShulkerBulletEntity;target:Lnet/minecraft/entity/Entity;
    • direction

      @Nullable private @Nullable Direction direction
      Mappings:
      Namespace Name Mixin selector
      official d Lbkv;d:Lgl;
      intermediary field_7628 Lnet/minecraft/class_1678;field_7628:Lnet/minecraft/class_2350;
      named direction Lnet/minecraft/entity/projectile/ShulkerBulletEntity;direction:Lnet/minecraft/util/math/Direction;
    • stepCount

      private int stepCount
      Mappings:
      Namespace Name Mixin selector
      official e Lbkv;e:I
      intermediary field_7627 Lnet/minecraft/class_1678;field_7627:I
      named stepCount Lnet/minecraft/entity/projectile/ShulkerBulletEntity;stepCount:I
    • targetX

      private double targetX
      Mappings:
      Namespace Name Mixin selector
      official f Lbkv;f:D
      intermediary field_7635 Lnet/minecraft/class_1678;field_7635:D
      named targetX Lnet/minecraft/entity/projectile/ShulkerBulletEntity;targetX:D
    • targetY

      private double targetY
      Mappings:
      Namespace Name Mixin selector
      official ao Lbkv;ao:D
      intermediary field_7633 Lnet/minecraft/class_1678;field_7633:D
      named targetY Lnet/minecraft/entity/projectile/ShulkerBulletEntity;targetY:D
    • targetZ

      private double targetZ
      Mappings:
      Namespace Name Mixin selector
      official ap Lbkv;ap:D
      intermediary field_7625 Lnet/minecraft/class_1678;field_7625:D
      named targetZ Lnet/minecraft/entity/projectile/ShulkerBulletEntity;targetZ:D
    • targetUuid

      @Nullable private @Nullable UUID targetUuid
      Mappings:
      Namespace Name Mixin selector
      official aq Lbkv;aq:Ljava/util/UUID;
      intermediary field_7632 Lnet/minecraft/class_1678;field_7632:Ljava/util/UUID;
      named targetUuid Lnet/minecraft/entity/projectile/ShulkerBulletEntity;targetUuid:Ljava/util/UUID;
  • Constructor Details

    • ShulkerBulletEntity

      public ShulkerBulletEntity(EntityType<? extends ShulkerBulletEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Latf;<init>(Latj;Lbwp;)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
    • ShulkerBulletEntity

      public ShulkerBulletEntity(World world, LivingEntity owner, Entity target, Direction.Axis axis)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbkv;<init>(Lbwp;Latt;Latf;Lgl$a;)V
      intermediary <init> Lnet/minecraft/class_1678;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_1309;Lnet/minecraft/class_1297;Lnet/minecraft/class_2350$class_2351;)V
      named <init> Lnet/minecraft/entity/projectile/ShulkerBulletEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Direction$Axis;)V
  • Method Details

    • getSoundCategory

      public SoundCategory getSoundCategory()
      Overrides:
      getSoundCategory in class Entity
      Mappings:
      Namespace Name Mixin selector
      official cJ Latf;cJ()Laff;
      intermediary method_5634 Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;
      named getSoundCategory Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
    • writeCustomDataToNbt

      protected void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official b Latf;b(Lna;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      protected void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Latf;a(Lna;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • initDataTracker

      protected void initDataTracker()
      Specified by:
      initDataTracker in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a_ Latf;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • getDirection

      @Nullable private @Nullable Direction getDirection()
      Mappings:
      Namespace Name Mixin selector
      official h Lbkv;h()Lgl;
      intermediary method_35208 Lnet/minecraft/class_1678;method_35208()Lnet/minecraft/class_2350;
      named getDirection Lnet/minecraft/entity/projectile/ShulkerBulletEntity;getDirection()Lnet/minecraft/util/math/Direction;
    • setDirection

      private void setDirection(@Nullable @Nullable Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lbkv;a(Lgl;)V
      intermediary method_7487 Lnet/minecraft/class_1678;method_7487(Lnet/minecraft/class_2350;)V
      named setDirection Lnet/minecraft/entity/projectile/ShulkerBulletEntity;setDirection(Lnet/minecraft/util/math/Direction;)V
    • method_7486

      private void method_7486(@Nullable Direction.Axis axis)
      Mappings:
      Namespace Name Mixin selector
      official a Lbkv;a(Lgl$a;)V
      intermediary method_7486 Lnet/minecraft/class_1678;method_7486(Lnet/minecraft/class_2350$class_2351;)V
      named method_7486 Lnet/minecraft/entity/projectile/ShulkerBulletEntity;method_7486(Lnet/minecraft/util/math/Direction$Axis;)V
    • checkDespawn

      public void checkDespawn()
      Overrides:
      checkDespawn in class Entity
      Mappings:
      Namespace Name Mixin selector
      official de Latf;de()V
      intermediary method_5982 Lnet/minecraft/class_1297;method_5982()V
      named checkDespawn Lnet/minecraft/entity/Entity;checkDespawn()V
    • tick

      public void tick()
      Overrides:
      tick in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official k Latf;k()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • canHit

      protected boolean canHit(Entity entity)
      Overrides:
      canHit in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbkt;a(Latf;)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
    • isOnFire

      public boolean isOnFire()
      Overrides:
      isOnFire in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bz Latf;bz()Z
      intermediary method_5809 Lnet/minecraft/class_1297;method_5809()Z
      named isOnFire Lnet/minecraft/entity/Entity;isOnFire()Z
    • shouldRender

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

      public float getBrightnessAtEyes()
      Overrides:
      getBrightnessAtEyes in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aY Latf;aY()F
      intermediary method_5718 Lnet/minecraft/class_1297;method_5718()F
      named getBrightnessAtEyes Lnet/minecraft/entity/Entity;getBrightnessAtEyes()F
    • onEntityHit

      protected void onEntityHit(EntityHitResult entityHitResult)
      Overrides:
      onEntityHit in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbkt;a(Ldmx;)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
    • onBlockHit

      protected void onBlockHit(BlockHitResult blockHitResult)
      Overrides:
      onBlockHit in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbkt;a(Ldmw;)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 Lbkt;a(Ldmy;)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
    • collides

      public boolean collides()
      Overrides:
      collides in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bc Latf;bc()Z
      intermediary method_5863 Lnet/minecraft/class_1297;method_5863()Z
      named collides Lnet/minecraft/entity/Entity;collides()Z
    • damage

      public boolean damage(DamageSource source, float amount)
      Overrides:
      damage in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Latf;a(Lasp;F)Z
      intermediary method_5643 Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Z
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
    • onSpawnPacket

      public void onSpawnPacket(EntitySpawnS2CPacket packet)
      Overrides:
      onSpawnPacket in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Latf;a(Lpo;)V
      intermediary method_31471 Lnet/minecraft/class_1297;method_31471(Lnet/minecraft/class_2604;)V
      named onSpawnPacket Lnet/minecraft/entity/Entity;onSpawnPacket(Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;)V