Package net.minecraft.entity.projectile
Class PersistentProjectileEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.projectile.ProjectileEntity
net.minecraft.entity.projectile.PersistentProjectileEntity
- All Implemented Interfaces:
EntityLike
,CommandOutput
,Nameable
- Direct Known Subclasses:
ArrowEntity
,SpectralArrowEntity
,TridentEntity
public abstract class PersistentProjectileEntity extends ProjectileEntity
- Mappings:
Namespace Name official bhp
intermediary net/minecraft/class_1665
named net/minecraft/entity/projectile/PersistentProjectileEntity
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PersistentProjectileEntity.PickupPermission
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.class_5799, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Fields Modifier and Type Field Description private double
damage
private BlockState
inBlockState
protected boolean
inGround
protected int
inGroundTime
private int
life
PersistentProjectileEntity.PickupPermission
pickupType
private static TrackedData<Byte>
PIERCE_LEVEL
private IntOpenHashSet
piercedEntities
private List<Entity>
piercingKilledEntities
private static TrackedData<Byte>
PROJECTILE_FLAGS
private int
punch
int
shake
private SoundEvent
sound
Fields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_28629, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, world, yaw
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
Constructors Modifier Constructor Description protected
PersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, double x, double y, double z, World world)
protected
PersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, LivingEntity owner, World world)
protected
PersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, World world)
-
Method Summary
Modifier and Type Method Description protected void
age()
void
applyEnchantmentEffects(LivingEntity entity, float damageModifier)
protected abstract ItemStack
asItemStack()
protected boolean
canHit(Entity entity)
private void
clearPiercingStatus()
private void
fall()
double
getDamage()
protected float
getDragInWater()
protected EntityHitResult
getEntityCollision(Vec3d currentPosition, Vec3d nextPosition)
protected float
getEyeHeight(EntityPose pose, EntityDimensions dimensions)
protected SoundEvent
getHitSound()
byte
getPierceLevel()
protected SoundEvent
getSound()
protected void
initDataTracker()
boolean
isAttackable()
boolean
isCritical()
boolean
isNoClip()
boolean
isShotFromCrossbow()
protected Entity.class_5799
method_33570()
void
move(MovementType movementType, Vec3d movement)
protected void
onBlockHit(BlockHitResult blockHitResult)
protected void
onEntityHit(EntityHitResult entityHitResult)
protected void
onHit(LivingEntity target)
void
onPlayerCollision(PlayerEntity player)
void
readCustomDataFromTag(CompoundTag tag)
void
setCritical(boolean critical)
void
setDamage(double damage)
void
setNoClip(boolean noClip)
void
setOwner(Entity entity)
void
setPierceLevel(byte level)
private void
setProjectileFlag(int index, boolean flag)
void
setPunch(int punch)
void
setShotFromCrossbow(boolean shotFromCrossbow)
void
setSound(SoundEvent sound)
void
setVelocity(double x, double y, double z, float speed, float divergence)
void
setVelocityClient(double x, double y, double z)
private boolean
shouldFall()
boolean
shouldRender(double distance)
void
tick()
void
updateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate)
void
writeCustomDataToTag(CompoundTag tag)
Methods inherited from class net.minecraft.entity.projectile.ProjectileEntity
createSpawnPacket, getOwner, onCollision, onSpawnPacket, setProperties, updateRotation, updateRotation
Methods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, animateDamage, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeRiddenInWater, canBeSpectated, canExplosionDestroyBlock, canFly, canFreeze, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collides, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, damage, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, fall, fromTag, getAir, getArmorItems, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHeadYaw, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getItemsHand, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPistonBehavior, getPitch, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getX, getY, getYaw, getZ, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interact, interactAt, isAlive, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushable, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lookAt, method_29241, method_29919, method_30330, method_30633, method_30951, method_31744, method_32318, method_32877, method_33332, method_33567, method_33568, method_33569, method_33571, method_33573, method_33574, method_33575, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playFlySound, playSound, playStepSound, playSwimSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, raycast, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, scheduleVelocityUpdate, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPos, setPose, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setYaw, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, startRiding, stopRiding, streamPassengers, streamPassengersRecursively, teleport, tickInVoid, tickNetherPortal, tickNetherPortalCooldown, tickRiding, toListTag, toListTag, toString, toTag, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide
-
Field Details
-
PROJECTILE_FLAGS
- Mappings:
Namespace Name Mixin selector official f
Lbhp;f:Lvk;
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
- Mappings:
Namespace Name Mixin selector official g
Lbhp;g:Lvk;
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;
-
inBlockState
- Mappings:
Namespace Name Mixin selector official ae
Lbhp;ae:Lcht;
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
Lbhp;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
Lbhp;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
Lbhp;d:Lbhp$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
Lbhp;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 af
Lbhp;af: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 ag
Lbhp;ag: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 ah
Lbhp;ah:I
intermediary field_7575
Lnet/minecraft/class_1665;field_7575:I
named punch
Lnet/minecraft/entity/projectile/PersistentProjectileEntity;punch:I
-
sound
- Mappings:
Namespace Name Mixin selector official ai
Lbhp;ai:Laef;
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
- Mappings:
Namespace Name Mixin selector official aj
Lbhp;aj: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
- Mappings:
Namespace Name Mixin selector official ak
Lbhp;ak: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>
Laqv;<init>(Laqz;Lbtv;)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>
Lbhp;<init>(Laqz;DDDLbtv;)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>
Lbhp;<init>(Laqz;Lari;Lbtv;)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
- Mappings:
Namespace Name Mixin selector official a
Lbhp;a(Laef;)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
- Overrides:
shouldRender
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;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()- Specified by:
initDataTracker
in classEntity
- Mappings:
Namespace Name Mixin selector official e
Laqv;e()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)- Overrides:
setVelocity
in classProjectileEntity
- Mappings:
Namespace Name Mixin selector official c
Lbib;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
@Environment(CLIENT) public void updateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate)- Overrides:
updateTrackedPositionAndAngles
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(DDDFFIZ)V
intermediary method_5759
Lnet/minecraft/class_1297;method_5759(DDDFFIZ)V
named updateTrackedPositionAndAngles
Lnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFIZ)V
-
setVelocityClient
- Overrides:
setVelocityClient
in classProjectileEntity
- Mappings:
Namespace Name Mixin selector official k
Laqv;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()- Overrides:
tick
in classProjectileEntity
- Mappings:
Namespace Name Mixin selector official j
Laqv;j()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 u
Lbhp;u()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 x
Lbhp;x()V
intermediary method_26352
Lnet/minecraft/class_1665;method_26352()V
named fall
Lnet/minecraft/entity/projectile/PersistentProjectileEntity;fall()V
-
move
- Overrides:
move
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Larn;Ldiu;)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 g
Lbhp;g()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 z
Lbhp;z()V
intermediary method_7453
Lnet/minecraft/class_1665;method_7453()V
named clearPiercingStatus
Lnet/minecraft/entity/projectile/PersistentProjectileEntity;clearPiercingStatus()V
-
onEntityHit
- Overrides:
onEntityHit
in classProjectileEntity
- Mappings:
Namespace Name Mixin selector official a
Lbib;a(Ldir;)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
- Overrides:
onBlockHit
in classProjectileEntity
- Mappings:
Namespace Name Mixin selector official a
Lbib;a(Ldiq;)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
- Mappings:
Namespace Name Mixin selector official h
Lbhp;h()Laef;
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
- Mappings:
Namespace Name Mixin selector official i
Lbhp;i()Laef;
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
- Mappings:
Namespace Name Mixin selector official a
Lbhp;a(Lari;)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
- Mappings:
Namespace Name Mixin selector official a
Lbhp;a(Ldiu;Ldiu;)Ldir;
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
- Overrides:
canHit
in classProjectileEntity
- Mappings:
Namespace Name Mixin selector official a
Lbib;a(Laqv;)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
-
writeCustomDataToTag
- Overrides:
writeCustomDataToTag
in classProjectileEntity
- Mappings:
Namespace Name Mixin selector official b
Laqv;b(Lmq;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToTag
Lnet/minecraft/entity/Entity;writeCustomDataToTag(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromTag
- Overrides:
readCustomDataFromTag
in classProjectileEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Lmq;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromTag
Lnet/minecraft/entity/Entity;readCustomDataFromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
setOwner
- Overrides:
setOwner
in classProjectileEntity
- Mappings:
Namespace Name Mixin selector official b
Lbib;b(Laqv;)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
- Overrides:
onPlayerCollision
in classEntity
- Mappings:
Namespace Name Mixin selector official a_
Laqv;a_(Lbhl;)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
-
asItemStack
- Mappings:
Namespace Name Mixin selector official k
Lbhp;k()Lbnv;
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;
-
method_33570
- Overrides:
method_33570
in classEntity
- Mappings:
Namespace Name Mixin selector official aE
Laqv;aE()Laqv$b;
intermediary method_33570
Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;
named method_33570
Lnet/minecraft/entity/Entity;method_33570()Lnet/minecraft/entity/Entity$class_5799;
-
setDamage
public void setDamage(double damage)- Mappings:
Namespace Name Mixin selector official h
Lbhp;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 m
Lbhp;m()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
Lbhp;a(I)V
intermediary method_7449
Lnet/minecraft/class_1665;method_7449(I)V
named setPunch
Lnet/minecraft/entity/projectile/PersistentProjectileEntity;setPunch(I)V
-
isAttackable
public boolean isAttackable()- Overrides:
isAttackable
in classEntity
- Mappings:
Namespace Name Mixin selector official bV
Laqv;bV()Z
intermediary method_5732
Lnet/minecraft/class_1297;method_5732()Z
named isAttackable
Lnet/minecraft/entity/Entity;isAttackable()Z
-
getEyeHeight
- Overrides:
getEyeHeight
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Lart;Laqw;)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
Lbhp;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
Lbhp;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
Lbhp;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 o
Lbhp;o()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 p
Lbhp;p()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 q
Lbhp;q()B
intermediary method_7447
Lnet/minecraft/class_1665;method_7447()B
named getPierceLevel
Lnet/minecraft/entity/projectile/PersistentProjectileEntity;getPierceLevel()B
-
applyEnchantmentEffects
- Mappings:
Namespace Name Mixin selector official a
Lbhp;a(Lari;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 r
Lbhp;r()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
Lbhp;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 s
Lbhp;s()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
Lbhp;q(Z)V
intermediary method_7442
Lnet/minecraft/class_1665;method_7442(Z)V
named setShotFromCrossbow
Lnet/minecraft/entity/projectile/PersistentProjectileEntity;setShotFromCrossbow(Z)V
-