Package net.minecraft.entity.projectile
Class AbstractArrowEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.projectile.AbstractArrowEntity
- All Implemented Interfaces:
CommandSource,Projectile
- Mappings:
Namespace Name official ahjintermediary net/minecraft/class_990named net/minecraft/entity/projectile/AbstractArrowEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Blockprivate intprivate intprivate intprivate intprivate doubleprivate intprivate booleanprivate intintprivate intintFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_22434, field_3223, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, updateNeeded, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
ConstructorsConstructorDescriptionAbstractArrowEntity(World world) AbstractArrowEntity(World world, double x, double y, double z) AbstractArrowEntity(World world, LivingEntity livingEntity, float float2) AbstractArrowEntity(World world, LivingEntity livingEntity, LivingEntity livingEntity2, float float2, float float3) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanClimb()doubleprotected voidbooleanbooleanvoidonPlayerCollision(PlayerEntity player) voidvoidsetCritical(boolean critical) voidsetDamage(double damage) voidsetPunch(int punch) voidsetVelocity(double x, double y, double z, float speed, float divergence) voidsetVelocityClient(double x, double y, double z) voidtick()voidupdateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate) voidMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, animateDamage, attemptSprintingParticles, baseTick, burn, canAvoidTraps, canExplosionDestroyBlock, canFly, canUseCommand, checkBlockCollision, collides, copyPortalInfo, copyPosition, damage, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, equals, equip, extinguish, fall, fromClientNbt, fromNbt, getAir, getArmorStacks, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEyeHeight, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getPos, getRotation, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getSplashSound, getSwimSound, getTargetingMargin, getTranslationKey, getUuid, getWorld, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAlive, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isSwimming, isTouchingLava, isTouchingWater, kill, method_10786, method_10941, method_10948, method_10957, method_10965, method_6097, method_6344, method_8364, move, onKilledOther, onLightningStrike, onSwimmingStart, openInventory, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setArmorSlot, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setHeadYaw, setInLava, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setWorld, shouldRender, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, teleportToDimension, tickFire, tickRiding, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Field Details
-
blockX
private int blockX- Mappings:
Namespace Name Mixin selector official dLahj;d:Iintermediary field_4027Lnet/minecraft/class_990;field_4027:Inamed blockXLnet/minecraft/entity/projectile/AbstractArrowEntity;blockX:I
-
blockY
private int blockY- Mappings:
Namespace Name Mixin selector official eLahj;e:Iintermediary field_4028Lnet/minecraft/class_990;field_4028:Inamed blockYLnet/minecraft/entity/projectile/AbstractArrowEntity;blockY:I
-
blockZ
private int blockZ- Mappings:
Namespace Name Mixin selector official fLahj;f:Iintermediary field_4029Lnet/minecraft/class_990;field_4029:Inamed blockZLnet/minecraft/entity/projectile/AbstractArrowEntity;blockZ:I
-
block
- Mappings:
Namespace Name Mixin selector official gLahj;g:Latr;intermediary field_9141Lnet/minecraft/class_990;field_9141:Lnet/minecraft/class_197;named blockLnet/minecraft/entity/projectile/AbstractArrowEntity;block:Lnet/minecraft/block/Block;
-
blockData
private int blockData- Mappings:
Namespace Name Mixin selector official hLahj;h:Iintermediary field_4031Lnet/minecraft/class_990;field_4031:Inamed blockDataLnet/minecraft/entity/projectile/AbstractArrowEntity;blockData:I
-
inGround
private boolean inGround- Mappings:
Namespace Name Mixin selector official iLahj;i:Zintermediary field_4032Lnet/minecraft/class_990;field_4032:Znamed inGroundLnet/minecraft/entity/projectile/AbstractArrowEntity;inGround:Z
-
pickup
public int pickup- Mappings:
Namespace Name Mixin selector official aLahj;a:Iintermediary field_4021Lnet/minecraft/class_990;field_4021:Inamed pickupLnet/minecraft/entity/projectile/AbstractArrowEntity;pickup:I
-
shake
public int shake- Mappings:
Namespace Name Mixin selector official bLahj;b:Iintermediary field_4025Lnet/minecraft/class_990;field_4025:Inamed shakeLnet/minecraft/entity/projectile/AbstractArrowEntity;shake:I
-
owner
- Mappings:
Namespace Name Mixin selector official cLahj;c:Lwv;intermediary field_4026Lnet/minecraft/class_990;field_4026:Lnet/minecraft/class_864;named ownerLnet/minecraft/entity/projectile/AbstractArrowEntity;owner:Lnet/minecraft/entity/Entity;
-
life
private int life- Mappings:
Namespace Name Mixin selector official apLahj;ap:Iintermediary field_4033Lnet/minecraft/class_990;field_4033:Inamed lifeLnet/minecraft/entity/projectile/AbstractArrowEntity;life:I
-
field_4022
private int field_4022- Mappings:
Namespace Name Mixin selector official aqLahj;aq:Iintermediary field_4022Lnet/minecraft/class_990;field_4022:Inamed field_4022Lnet/minecraft/entity/projectile/AbstractArrowEntity;field_4022:I
-
damage
private double damage- Mappings:
Namespace Name Mixin selector official arLahj;ar:Dintermediary field_4023Lnet/minecraft/class_990;field_4023:Dnamed damageLnet/minecraft/entity/projectile/AbstractArrowEntity;damage:D
-
punch
private int punch- Mappings:
Namespace Name Mixin selector official asLahj;as:Iintermediary field_4024Lnet/minecraft/class_990;field_4024:Inamed punchLnet/minecraft/entity/projectile/AbstractArrowEntity;punch:I
-
-
Constructor Details
-
AbstractArrowEntity
- Mappings:
Namespace Name Mixin selector official <init>Lwv;<init>(Laqu;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
AbstractArrowEntity
- Mappings:
Namespace Name Mixin selector official <init>Lahj;<init>(Laqu;DDD)Vintermediary <init>Lnet/minecraft/class_990;<init>(Lnet/minecraft/class_1150;DDD)Vnamed <init>Lnet/minecraft/entity/projectile/AbstractArrowEntity;<init>(Lnet/minecraft/world/World;DDD)V
-
AbstractArrowEntity
public AbstractArrowEntity(World world, LivingEntity livingEntity, LivingEntity livingEntity2, float float2, float float3) - Mappings:
Namespace Name Mixin selector official <init>Lahj;<init>(Laqu;Lxm;Lxm;FF)Vintermediary <init>Lnet/minecraft/class_990;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_1699;Lnet/minecraft/class_1699;FF)Vnamed <init>Lnet/minecraft/entity/projectile/AbstractArrowEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;FF)V
-
AbstractArrowEntity
- Mappings:
Namespace Name Mixin selector official <init>Lahj;<init>(Laqu;Lxm;F)Vintermediary <init>Lnet/minecraft/class_990;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_1699;F)Vnamed <init>Lnet/minecraft/entity/projectile/AbstractArrowEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;F)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official hLwv;h()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
setVelocity
public void setVelocity(double x, double y, double z, float speed, float divergence) - Specified by:
setVelocityin interfaceProjectile- Mappings:
Namespace Name Mixin selector official cLaho;c(DDDFF)Vintermediary method_3233Lnet/minecraft/class_1417;method_3233(DDDFF)Vnamed setVelocityLnet/minecraft/entity/projectile/Projectile;setVelocity(DDDFF)V
-
updateTrackedPositionAndAngles
@Environment(CLIENT) public void updateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate) - Overrides:
updateTrackedPositionAndAnglesin classEntity- Mappings:
Namespace Name Mixin selector official aLwv;a(DDDFFIZ)Vintermediary method_2488Lnet/minecraft/class_864;method_2488(DDDFFIZ)Vnamed updateTrackedPositionAndAnglesLnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFIZ)V
-
setVelocityClient
- Overrides:
setVelocityClientin classEntity- Mappings:
Namespace Name Mixin selector official iLwv;i(DDD)Vintermediary method_2556Lnet/minecraft/class_864;method_2556(DDD)Vnamed setVelocityClientLnet/minecraft/entity/Entity;setVelocityClient(DDD)V
-
tick
public void tick() -
writeCustomDataToNbt
- Specified by:
writeCustomDataToNbtin classEntity- Mappings:
Namespace Name Mixin selector official bLwv;b(Lfn;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Specified by:
readCustomDataFromNbtin classEntity- Mappings:
Namespace Name Mixin selector official aLwv;a(Lfn;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
onPlayerCollision
- Overrides:
onPlayerCollisionin classEntity- Mappings:
Namespace Name Mixin selector official dLwv;d(Lahd;)Vintermediary method_2530Lnet/minecraft/class_864;method_2530(Lnet/minecraft/class_988;)Vnamed onPlayerCollisionLnet/minecraft/entity/Entity;onPlayerCollision(Lnet/minecraft/entity/player/PlayerEntity;)V
-
canClimb
protected boolean canClimb() -
setDamage
public void setDamage(double damage) - Mappings:
Namespace Name Mixin selector official bLahj;b(D)Vintermediary method_3223Lnet/minecraft/class_990;method_3223(D)Vnamed setDamageLnet/minecraft/entity/projectile/AbstractArrowEntity;setDamage(D)V
-
getDamage
public double getDamage()- Mappings:
Namespace Name Mixin selector official jLahj;j()Dintermediary method_3225Lnet/minecraft/class_990;method_3225()Dnamed getDamageLnet/minecraft/entity/projectile/AbstractArrowEntity;getDamage()D
-
setPunch
public void setPunch(int punch) - Mappings:
Namespace Name Mixin selector official aLahj;a(I)Vintermediary method_3222Lnet/minecraft/class_990;method_3222(I)Vnamed setPunchLnet/minecraft/entity/projectile/AbstractArrowEntity;setPunch(I)V
-
isAttackable
public boolean isAttackable()- Overrides:
isAttackablein classEntity- Mappings:
Namespace Name Mixin selector official aELwv;aE()Zintermediary method_2521Lnet/minecraft/class_864;method_2521()Znamed isAttackableLnet/minecraft/entity/Entity;isAttackable()Z
-
setCritical
public void setCritical(boolean critical) - Mappings:
Namespace Name Mixin selector official aLahj;a(Z)Vintermediary method_3226Lnet/minecraft/class_990;method_3226(Z)Vnamed setCriticalLnet/minecraft/entity/projectile/AbstractArrowEntity;setCritical(Z)V
-
isCritical
public boolean isCritical()- Mappings:
Namespace Name Mixin selector official lLahj;l()Zintermediary method_3227Lnet/minecraft/class_990;method_3227()Znamed isCriticalLnet/minecraft/entity/projectile/AbstractArrowEntity;isCritical()Z
-