Class PersistentProjectileEntity

java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.projectile.ProjectileEntity
net.minecraft.entity.projectile.PersistentProjectileEntity
All Implemented Interfaces:
CommandOutput, Nameable, EntityLike
Direct Known Subclasses:
ArrowEntity, SpectralArrowEntity, TridentEntity

public abstract class PersistentProjectileEntity extends ProjectileEntity
Mappings:
Namespace Name
official bui
intermediary net/minecraft/class_1665
named net/minecraft/entity/projectile/PersistentProjectileEntity
  • Field Details

    • field_30657

      private static final double field_30657
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lbui;f:D
      intermediary field_30657 Lnet/minecraft/class_1665;field_30657:D
      named field_30657 Lnet/minecraft/entity/projectile/PersistentProjectileEntity;field_30657:D
    • PROJECTILE_FLAGS

      private static final TrackedData<Byte> PROJECTILE_FLAGS
      Mappings:
      Namespace Name Mixin selector
      official ao Lbui;ao:Laaj;
      intermediary field_7573 Lnet/minecraft/class_1665;field_7573:Lnet/minecraft/class_2940;
      named PROJECTILE_FLAGS Lnet/minecraft/entity/projectile/PersistentProjectileEntity;PROJECTILE_FLAGS:Lnet/minecraft/entity/data/TrackedData;
    • PIERCE_LEVEL

      private static final TrackedData<Byte> PIERCE_LEVEL
      Mappings:
      Namespace Name Mixin selector
      official ap Lbui;ap:Laaj;
      intermediary field_7589 Lnet/minecraft/class_1665;field_7589:Lnet/minecraft/class_2940;
      named PIERCE_LEVEL Lnet/minecraft/entity/projectile/PersistentProjectileEntity;PIERCE_LEVEL:Lnet/minecraft/entity/data/TrackedData;
    • CRITICAL_FLAG

      private static final int CRITICAL_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official aq Lbui;aq:I
      intermediary field_30654 Lnet/minecraft/class_1665;field_30654:I
      named CRITICAL_FLAG Lnet/minecraft/entity/projectile/PersistentProjectileEntity;CRITICAL_FLAG:I
    • NO_CLIP_FLAG

      private static final int NO_CLIP_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ar Lbui;ar:I
      intermediary field_30655 Lnet/minecraft/class_1665;field_30655:I
      named NO_CLIP_FLAG Lnet/minecraft/entity/projectile/PersistentProjectileEntity;NO_CLIP_FLAG:I
    • SHOT_FROM_CROSSBOW_FLAG

      private static final int SHOT_FROM_CROSSBOW_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official as Lbui;as:I
      intermediary field_30656 Lnet/minecraft/class_1665;field_30656:I
      named SHOT_FROM_CROSSBOW_FLAG Lnet/minecraft/entity/projectile/PersistentProjectileEntity;SHOT_FROM_CROSSBOW_FLAG:I
    • inBlockState

      @Nullable private @Nullable BlockState inBlockState
      Mappings:
      Namespace Name Mixin selector
      official at Lbui;at:Lcvo;
      intermediary field_7586 Lnet/minecraft/class_1665;field_7586:Lnet/minecraft/class_2680;
      named inBlockState Lnet/minecraft/entity/projectile/PersistentProjectileEntity;inBlockState:Lnet/minecraft/block/BlockState;
    • inGround

      protected boolean inGround
      Mappings:
      Namespace Name Mixin selector
      official b Lbui;b:Z
      intermediary field_7588 Lnet/minecraft/class_1665;field_7588:Z
      named inGround Lnet/minecraft/entity/projectile/PersistentProjectileEntity;inGround:Z
    • inGroundTime

      protected int inGroundTime
      Mappings:
      Namespace Name Mixin selector
      official c Lbui;c:I
      intermediary field_7576 Lnet/minecraft/class_1665;field_7576:I
      named inGroundTime Lnet/minecraft/entity/projectile/PersistentProjectileEntity;inGroundTime:I
    • pickupType

      Mappings:
      Namespace Name Mixin selector
      official d Lbui;d:Lbui$a;
      intermediary field_7572 Lnet/minecraft/class_1665;field_7572:Lnet/minecraft/class_1665$class_1666;
      named pickupType Lnet/minecraft/entity/projectile/PersistentProjectileEntity;pickupType:Lnet/minecraft/entity/projectile/PersistentProjectileEntity$PickupPermission;
    • shake

      public int shake
      Mappings:
      Namespace Name Mixin selector
      official e Lbui;e:I
      intermediary field_7574 Lnet/minecraft/class_1665;field_7574:I
      named shake Lnet/minecraft/entity/projectile/PersistentProjectileEntity;shake:I
    • life

      private int life
      Mappings:
      Namespace Name Mixin selector
      official au Lbui;au:I
      intermediary field_7578 Lnet/minecraft/class_1665;field_7578:I
      named life Lnet/minecraft/entity/projectile/PersistentProjectileEntity;life:I
    • damage

      private double damage
      Mappings:
      Namespace Name Mixin selector
      official av Lbui;av:D
      intermediary field_7571 Lnet/minecraft/class_1665;field_7571:D
      named damage Lnet/minecraft/entity/projectile/PersistentProjectileEntity;damage:D
    • punch

      private int punch
      Mappings:
      Namespace Name Mixin selector
      official aw Lbui;aw:I
      intermediary field_7575 Lnet/minecraft/class_1665;field_7575:I
      named punch Lnet/minecraft/entity/projectile/PersistentProjectileEntity;punch:I
    • sound

      private SoundEvent sound
      Mappings:
      Namespace Name Mixin selector
      official ax Lbui;ax:Lajv;
      intermediary field_7584 Lnet/minecraft/class_1665;field_7584:Lnet/minecraft/class_3414;
      named sound Lnet/minecraft/entity/projectile/PersistentProjectileEntity;sound:Lnet/minecraft/sound/SoundEvent;
    • piercedEntities

      @Nullable private @Nullable IntOpenHashSet piercedEntities
      Mappings:
      Namespace Name Mixin selector
      official ay Lbui;ay:Lit/unimi/dsi/fastutil/ints/IntOpenHashSet;
      intermediary field_7590 Lnet/minecraft/class_1665;field_7590:Lit/unimi/dsi/fastutil/ints/IntOpenHashSet;
      named piercedEntities Lnet/minecraft/entity/projectile/PersistentProjectileEntity;piercedEntities:Lit/unimi/dsi/fastutil/ints/IntOpenHashSet;
    • piercingKilledEntities

      @Nullable private @Nullable List<Entity> piercingKilledEntities
      Mappings:
      Namespace Name Mixin selector
      official az Lbui;az:Ljava/util/List;
      intermediary field_7579 Lnet/minecraft/class_1665;field_7579:Ljava/util/List;
      named piercingKilledEntities Lnet/minecraft/entity/projectile/PersistentProjectileEntity;piercingKilledEntities:Ljava/util/List;
  • Constructor Details

    • PersistentProjectileEntity

      protected PersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbbn;<init>(Lbbr;Lcgx;)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
    • PersistentProjectileEntity

      protected PersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, double x, double y, double z, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbui;<init>(Lbbr;DDDLcgx;)V
      intermediary <init> Lnet/minecraft/class_1665;<init>(Lnet/minecraft/class_1299;DDDLnet/minecraft/class_1937;)V
      named <init> Lnet/minecraft/entity/projectile/PersistentProjectileEntity;<init>(Lnet/minecraft/entity/EntityType;DDDLnet/minecraft/world/World;)V
    • PersistentProjectileEntity

      protected PersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, LivingEntity owner, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbui;<init>(Lbbr;Lbcc;Lcgx;)V
      intermediary <init> Lnet/minecraft/class_1665;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1309;Lnet/minecraft/class_1937;)V
      named <init> Lnet/minecraft/entity/projectile/PersistentProjectileEntity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/world/World;)V
  • Method Details

    • setSound

      public void setSound(SoundEvent sound)
      Mappings:
      Namespace Name Mixin selector
      official b Lbui;b(Lajv;)V
      intermediary method_7444 Lnet/minecraft/class_1665;method_7444(Lnet/minecraft/class_3414;)V
      named setSound Lnet/minecraft/entity/projectile/PersistentProjectileEntity;setSound(Lnet/minecraft/sound/SoundEvent;)V
    • shouldRender

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

      protected void initDataTracker()
      Initializes data tracker.
      Specified by:
      initDataTracker in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a_ Lbbn;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • setVelocity

      public void setVelocity(double x, double y, double z, float speed, float divergence)
      Sets velocity and updates rotation accordingly.

      The velocity and rotation will be set to the same direction.

      The direction is calculated as follows: Based on the direction vector (x, y, z), a random vector is added, then multiplied by the speed.

      Overrides:
      setVelocity in class ProjectileEntity
      Parameters:
      x - the X component of the direction vector
      y - the Y component of the direction vector
      z - the Z component of the direction vector
      speed - the speed
      divergence - the fuzziness added to the direction; player usages have 1.0 and other mobs/tools have higher values; some mobs have difficulty-adjusted values
      Mappings:
      Namespace Name Mixin selector
      official c Lbuu;c(DDDFF)V
      intermediary method_7485 Lnet/minecraft/class_1676;method_7485(DDDFF)V
      named setVelocity Lnet/minecraft/entity/projectile/ProjectileEntity;setVelocity(DDDFF)V
    • updateTrackedPositionAndAngles

      public void updateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate)
      Overrides:
      updateTrackedPositionAndAngles in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbbn;a(DDDFFIZ)V
      intermediary method_5759 Lnet/minecraft/class_1297;method_5759(DDDFFIZ)V
      named updateTrackedPositionAndAngles Lnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFIZ)V
    • setVelocityClient

      public void setVelocityClient(double x, double y, double z)
      Overrides:
      setVelocityClient in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official k Lbbn;k(DDD)V
      intermediary method_5750 Lnet/minecraft/class_1297;method_5750(DDD)V
      named setVelocityClient Lnet/minecraft/entity/Entity;setVelocityClient(DDD)V
    • tick

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class ProjectileEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Lbbn;k()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • shouldFall

      private boolean shouldFall()
      Mappings:
      Namespace Name Mixin selector
      official w Lbui;w()Z
      intermediary method_26351 Lnet/minecraft/class_1665;method_26351()Z
      named shouldFall Lnet/minecraft/entity/projectile/PersistentProjectileEntity;shouldFall()Z
    • fall

      private void fall()
      Mappings:
      Namespace Name Mixin selector
      official A Lbui;A()V
      intermediary method_26352 Lnet/minecraft/class_1665;method_26352()V
      named fall Lnet/minecraft/entity/projectile/PersistentProjectileEntity;fall()V
    • move

      public void move(MovementType movementType, Vec3d movement)
      Overrides:
      move in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbbn;a(Lbci;Ldwq;)V
      intermediary method_5784 Lnet/minecraft/class_1297;method_5784(Lnet/minecraft/class_1313;Lnet/minecraft/class_243;)V
      named move Lnet/minecraft/entity/Entity;move(Lnet/minecraft/entity/MovementType;Lnet/minecraft/util/math/Vec3d;)V
    • age

      protected void age()
      Mappings:
      Namespace Name Mixin selector
      official h Lbui;h()V
      intermediary method_7446 Lnet/minecraft/class_1665;method_7446()V
      named age Lnet/minecraft/entity/projectile/PersistentProjectileEntity;age()V
    • clearPiercingStatus

      private void clearPiercingStatus()
      Mappings:
      Namespace Name Mixin selector
      official C Lbui;C()V
      intermediary method_7453 Lnet/minecraft/class_1665;method_7453()V
      named clearPiercingStatus Lnet/minecraft/entity/projectile/PersistentProjectileEntity;clearPiercingStatus()V
    • onEntityHit

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

      protected SoundEvent getHitSound()
      Mappings:
      Namespace Name Mixin selector
      official i Lbui;i()Lajv;
      intermediary method_7440 Lnet/minecraft/class_1665;method_7440()Lnet/minecraft/class_3414;
      named getHitSound Lnet/minecraft/entity/projectile/PersistentProjectileEntity;getHitSound()Lnet/minecraft/sound/SoundEvent;
    • getSound

      protected final SoundEvent getSound()
      Mappings:
      Namespace Name Mixin selector
      official j Lbui;j()Lajv;
      intermediary method_20011 Lnet/minecraft/class_1665;method_20011()Lnet/minecraft/class_3414;
      named getSound Lnet/minecraft/entity/projectile/PersistentProjectileEntity;getSound()Lnet/minecraft/sound/SoundEvent;
    • onHit

      protected void onHit(LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official a Lbui;a(Lbcc;)V
      intermediary method_7450 Lnet/minecraft/class_1665;method_7450(Lnet/minecraft/class_1309;)V
      named onHit Lnet/minecraft/entity/projectile/PersistentProjectileEntity;onHit(Lnet/minecraft/entity/LivingEntity;)V
    • getEntityCollision

      @Nullable protected @Nullable EntityHitResult getEntityCollision(Vec3d currentPosition, Vec3d nextPosition)
      Mappings:
      Namespace Name Mixin selector
      official a Lbui;a(Ldwq;Ldwq;)Ldwn;
      intermediary method_7434 Lnet/minecraft/class_1665;method_7434(Lnet/minecraft/class_243;Lnet/minecraft/class_243;)Lnet/minecraft/class_3966;
      named getEntityCollision Lnet/minecraft/entity/projectile/PersistentProjectileEntity;getEntityCollision(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/hit/EntityHitResult;
    • canHit

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

      public void writeCustomDataToNbt(NbtCompound nbt)
      Writes custom data to nbt. Subclasses has to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      Overrides:
      writeCustomDataToNbt in class ProjectileEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbbn;b(Lpj;)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

      public void readCustomDataFromNbt(NbtCompound nbt)
      Reads custom data from nbt. Subclasses has to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      nbt might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.

      Overrides:
      readCustomDataFromNbt in class ProjectileEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbbn;a(Lpj;)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
    • setOwner

      public void setOwner(@Nullable @Nullable Entity entity)
      Overrides:
      setOwner in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbuu;b(Lbbn;)V
      intermediary method_7432 Lnet/minecraft/class_1676;method_7432(Lnet/minecraft/class_1297;)V
      named setOwner Lnet/minecraft/entity/projectile/ProjectileEntity;setOwner(Lnet/minecraft/entity/Entity;)V
    • onPlayerCollision

      public void onPlayerCollision(PlayerEntity player)
      Called when a player collides with the entity. Does nothing by default.

      This should be overridden if the collision logic is specific to players, such as picking up item entities, experience orbs, or arrows.

      Overrides:
      onPlayerCollision in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b_ Lbbn;b_(Lbuc;)V
      intermediary method_5694 Lnet/minecraft/class_1297;method_5694(Lnet/minecraft/class_1657;)V
      named onPlayerCollision Lnet/minecraft/entity/Entity;onPlayerCollision(Lnet/minecraft/entity/player/PlayerEntity;)V
    • tryPickup

      protected boolean tryPickup(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lbui;a(Lbuc;)Z
      intermediary method_34713 Lnet/minecraft/class_1665;method_34713(Lnet/minecraft/class_1657;)Z
      named tryPickup Lnet/minecraft/entity/projectile/PersistentProjectileEntity;tryPickup(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • asItemStack

      protected abstract ItemStack asItemStack()
      Mappings:
      Namespace Name Mixin selector
      official l Lbui;l()Lcax;
      intermediary method_7445 Lnet/minecraft/class_1665;method_7445()Lnet/minecraft/class_1799;
      named asItemStack Lnet/minecraft/entity/projectile/PersistentProjectileEntity;asItemStack()Lnet/minecraft/item/ItemStack;
    • getMoveEffect

      protected Entity.MoveEffect getMoveEffect()
      Returns the possible effect(s) of an entity moving.
      Overrides:
      getMoveEffect in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aO Lbbn;aO()Lbbn$b;
      intermediary method_33570 Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;
      named getMoveEffect Lnet/minecraft/entity/Entity;getMoveEffect()Lnet/minecraft/entity/Entity$MoveEffect;
    • setDamage

      public void setDamage(double damage)
      Mappings:
      Namespace Name Mixin selector
      official h Lbui;h(D)V
      intermediary method_7438 Lnet/minecraft/class_1665;method_7438(D)V
      named setDamage Lnet/minecraft/entity/projectile/PersistentProjectileEntity;setDamage(D)V
    • getDamage

      public double getDamage()
      Mappings:
      Namespace Name Mixin selector
      official n Lbui;n()D
      intermediary method_7448 Lnet/minecraft/class_1665;method_7448()D
      named getDamage Lnet/minecraft/entity/projectile/PersistentProjectileEntity;getDamage()D
    • setPunch

      public void setPunch(int punch)
      Mappings:
      Namespace Name Mixin selector
      official a Lbui;a(I)V
      intermediary method_7449 Lnet/minecraft/class_1665;method_7449(I)V
      named setPunch Lnet/minecraft/entity/projectile/PersistentProjectileEntity;setPunch(I)V
    • getPunch

      public int getPunch()
      Mappings:
      Namespace Name Mixin selector
      official o Lbui;o()I
      intermediary method_35207 Lnet/minecraft/class_1665;method_35207()I
      named getPunch Lnet/minecraft/entity/projectile/PersistentProjectileEntity;getPunch()I
    • isAttackable

      public boolean isAttackable()
      Returns whether the entity can be attacked by players.

      Note that this is not called for most entities defined in vanilla as unattackable (such as ItemEntity and ExperienceOrbEntity) as trying to attack them kicks the player.

      Overrides:
      isAttackable in class Entity
      Returns:
      whether the entity can be attacked by players
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ch Lbbn;ch()Z
      intermediary method_5732 Lnet/minecraft/class_1297;method_5732()Z
      named isAttackable Lnet/minecraft/entity/Entity;isAttackable()Z
    • getEyeHeight

      protected float getEyeHeight(EntityPose pose, EntityDimensions dimensions)
      Overrides:
      getEyeHeight in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbbn;a(Lbco;Lbbo;)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
    • setCritical

      public void setCritical(boolean critical)
      Mappings:
      Namespace Name Mixin selector
      official a Lbui;a(Z)V
      intermediary method_7439 Lnet/minecraft/class_1665;method_7439(Z)V
      named setCritical Lnet/minecraft/entity/projectile/PersistentProjectileEntity;setCritical(Z)V
    • setPierceLevel

      public void setPierceLevel(byte level)
      Mappings:
      Namespace Name Mixin selector
      official b Lbui;b(B)V
      intermediary method_7451 Lnet/minecraft/class_1665;method_7451(B)V
      named setPierceLevel Lnet/minecraft/entity/projectile/PersistentProjectileEntity;setPierceLevel(B)V
    • setProjectileFlag

      private void setProjectileFlag(int index, boolean flag)
      Mappings:
      Namespace Name Mixin selector
      official a Lbui;a(IZ)V
      intermediary method_7455 Lnet/minecraft/class_1665;method_7455(IZ)V
      named setProjectileFlag Lnet/minecraft/entity/projectile/PersistentProjectileEntity;setProjectileFlag(IZ)V
    • isCritical

      public boolean isCritical()
      Mappings:
      Namespace Name Mixin selector
      official q Lbui;q()Z
      intermediary method_7443 Lnet/minecraft/class_1665;method_7443()Z
      named isCritical Lnet/minecraft/entity/projectile/PersistentProjectileEntity;isCritical()Z
    • isShotFromCrossbow

      public boolean isShotFromCrossbow()
      Mappings:
      Namespace Name Mixin selector
      official r Lbui;r()Z
      intermediary method_7456 Lnet/minecraft/class_1665;method_7456()Z
      named isShotFromCrossbow Lnet/minecraft/entity/projectile/PersistentProjectileEntity;isShotFromCrossbow()Z
    • getPierceLevel

      public byte getPierceLevel()
      Mappings:
      Namespace Name Mixin selector
      official s Lbui;s()B
      intermediary method_7447 Lnet/minecraft/class_1665;method_7447()B
      named getPierceLevel Lnet/minecraft/entity/projectile/PersistentProjectileEntity;getPierceLevel()B
    • applyEnchantmentEffects

      public void applyEnchantmentEffects(LivingEntity entity, float damageModifier)
      Mappings:
      Namespace Name Mixin selector
      official a Lbui;a(Lbcc;F)V
      intermediary method_7435 Lnet/minecraft/class_1665;method_7435(Lnet/minecraft/class_1309;F)V
      named applyEnchantmentEffects Lnet/minecraft/entity/projectile/PersistentProjectileEntity;applyEnchantmentEffects(Lnet/minecraft/entity/LivingEntity;F)V
    • getDragInWater

      protected float getDragInWater()
      Mappings:
      Namespace Name Mixin selector
      official t Lbui;t()F
      intermediary method_7436 Lnet/minecraft/class_1665;method_7436()F
      named getDragInWater Lnet/minecraft/entity/projectile/PersistentProjectileEntity;getDragInWater()F
    • setNoClip

      public void setNoClip(boolean noClip)
      Mappings:
      Namespace Name Mixin selector
      official p Lbui;p(Z)V
      intermediary method_7433 Lnet/minecraft/class_1665;method_7433(Z)V
      named setNoClip Lnet/minecraft/entity/projectile/PersistentProjectileEntity;setNoClip(Z)V
    • isNoClip

      public boolean isNoClip()
      Mappings:
      Namespace Name Mixin selector
      official u Lbui;u()Z
      intermediary method_7441 Lnet/minecraft/class_1665;method_7441()Z
      named isNoClip Lnet/minecraft/entity/projectile/PersistentProjectileEntity;isNoClip()Z
    • setShotFromCrossbow

      public void setShotFromCrossbow(boolean shotFromCrossbow)
      Mappings:
      Namespace Name Mixin selector
      official q Lbui;q(Z)V
      intermediary method_7442 Lnet/minecraft/class_1665;method_7442(Z)V
      named setShotFromCrossbow Lnet/minecraft/entity/projectile/PersistentProjectileEntity;setShotFromCrossbow(Z)V