Package net.minecraft.entity.projectile
Class AbstractArrowEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.projectile.AbstractArrowEntity
- All Implemented Interfaces:
CommandSource,Projectile
- Direct Known Subclasses:
ArrowEntity,SpetraclArrowEntity
- Mappings:
Namespace Name official zmintermediary net/minecraft/class_990named net/minecraft/entity/projectile/AbstractArrowEntity
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Blockprivate intprivate intprivate intprivate intprivate doubleprivate intprotected booleanprotected intprivate intprivate static final TrackedData<Byte>private intintFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, ridingCooldown, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, tracedX, tracedY, tracedZ, updateNeeded, uuidString, 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 owner) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ItemStackprotected booleancanClimb()doubleprotected EntitygetEntityCollision(Vec3d currentPosition, Vec3d nextPosition) floatintgetLightmapCoordinates(float float2) protected voidbooleanbooleanvoidmethod_13278(Entity entity, float float2, float float3, float float4, float float5, float float6) protected voidonHit(LivingEntity target) protected voidonHit(BlockHitResult result) voidonPlayerCollision(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) booleanshouldRender(double distance) voidtick()voidupdateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate) voidMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, afterSpawn, animateDamage, applyMirror, applyRotation, attemptSprintingParticles, baseTick, burn, canAddPassenger, canAvoidTraps, canExplosionDestroyBlock, canFly, canStartRiding, canUseCommand, canUsePortals, changeDimension, checkBlockCollision, collides, copyPosition, damage, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, entityDataRequiresOperator, equals, equip, equipStack, extinguish, fall, fromNbt, getAir, getArmorItems, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getItemsHand, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getMaxNetherPortalTime, getMinecraftServer, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPassengersDeep, getPistonBehavior, getPos, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getTranslatedName, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasMount, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, isAlive, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, kill, method_10965, method_12976, method_12984, method_12985, method_12991, method_13003, method_6097, method_6100, method_6344, move, onKilledOther, onLightningStrike, onPassengerLookAround, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, onTrackedDataSet, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setGlowing, setHeadYaw, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setStat, setUuid, setWorld, setYaw, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, stopRiding, teleportRequested, tickFire, tickNetherPortalCooldown, tickRiding, toListNbt, toListNbt, toNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateVelocity, updateWaterState
-
Field Details
-
CAN_HIT
- Mappings:
Namespace Name Mixin selector official fLzm;f:Lcom/google/common/base/Predicate;intermediary field_14800Lnet/minecraft/class_990;field_14800:Lcom/google/common/base/Predicate;named CAN_HITLnet/minecraft/entity/projectile/AbstractArrowEntity;CAN_HIT:Lcom/google/common/base/Predicate;
-
PROJECTILE_FLAGS
- Mappings:
Namespace Name Mixin selector official gLzm;g:Lkf;intermediary field_14801Lnet/minecraft/class_990;field_14801:Lnet/minecraft/class_2921;named PROJECTILE_FLAGSLnet/minecraft/entity/projectile/AbstractArrowEntity;PROJECTILE_FLAGS:Lnet/minecraft/entity/data/TrackedData;
-
blockX
private int blockX- Mappings:
Namespace Name Mixin selector official hLzm;h: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 atLzm;at: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 auLzm;au:Iintermediary field_4029Lnet/minecraft/class_990;field_4029:Inamed blockZLnet/minecraft/entity/projectile/AbstractArrowEntity;blockZ:I
-
block
- Mappings:
Namespace Name Mixin selector official avLzm;av:Lajt;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 awLzm;aw:Iintermediary field_4031Lnet/minecraft/class_990;field_4031:Inamed blockDataLnet/minecraft/entity/projectile/AbstractArrowEntity;blockData:I
-
inGround
protected boolean inGround- Mappings:
Namespace Name Mixin selector official aLzm;a:Zintermediary field_4032Lnet/minecraft/class_990;field_4032:Znamed inGroundLnet/minecraft/entity/projectile/AbstractArrowEntity;inGround:Z
-
inGroundTime
protected int inGroundTime- Mappings:
Namespace Name Mixin selector official bLzm;b:Iintermediary field_14798Lnet/minecraft/class_990;field_14798:Inamed inGroundTimeLnet/minecraft/entity/projectile/AbstractArrowEntity;inGroundTime:I
-
pickupType
- Mappings:
Namespace Name Mixin selector official cLzm;c:Lzm$a;intermediary field_14799Lnet/minecraft/class_990;field_14799:Lnet/minecraft/class_990$class_3002;named pickupTypeLnet/minecraft/entity/projectile/AbstractArrowEntity;pickupType:Lnet/minecraft/entity/projectile/AbstractArrowEntity$PickupPermission;
-
shake
public int shake- Mappings:
Namespace Name Mixin selector official dLzm;d:Iintermediary field_4025Lnet/minecraft/class_990;field_4025:Inamed shakeLnet/minecraft/entity/projectile/AbstractArrowEntity;shake:I
-
owner
- Mappings:
Namespace Name Mixin selector official eLzm;e:Lrr;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 axLzm;ax: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 ayLzm;ay: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 azLzm;az: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 aALzm;aA: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>Lrr;<init>(Laht;)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>Lzm;<init>(Laht;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
- Mappings:
Namespace Name Mixin selector official <init>Lzm;<init>(Laht;Lsa;)Vintermediary <init>Lnet/minecraft/class_990;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_1699;)Vnamed <init>Lnet/minecraft/entity/projectile/AbstractArrowEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;)V
-
-
Method Details
-
shouldRender
- Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector official aLrr;a(D)Zintermediary method_2486Lnet/minecraft/class_864;method_2486(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official iLrr;i()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
method_13278
public void method_13278(Entity entity, float float2, float float3, float float4, float float5, float float6) - Mappings:
Namespace Name Mixin selector official aLzm;a(Lrr;FFFFF)Vintermediary method_13278Lnet/minecraft/class_990;method_13278(Lnet/minecraft/class_864;FFFFF)Vnamed method_13278Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_13278(Lnet/minecraft/entity/Entity;FFFFF)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 cLzs;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 aLrr;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 iLrr;i(DDD)Vintermediary method_2556Lnet/minecraft/class_864;method_2556(DDD)Vnamed setVelocityClientLnet/minecraft/entity/Entity;setVelocityClient(DDD)V
-
tick
public void tick() -
onHit
- Mappings:
Namespace Name Mixin selector official aLzm;a(Lbbg;)Vintermediary method_13276Lnet/minecraft/class_990;method_13276(Lnet/minecraft/class_234;)Vnamed onHitLnet/minecraft/entity/projectile/AbstractArrowEntity;onHit(Lnet/minecraft/util/hit/BlockHitResult;)V
-
onHit
- Mappings:
Namespace Name Mixin selector official aLzm;a(Lsa;)Vintermediary method_13279Lnet/minecraft/class_990;method_13279(Lnet/minecraft/class_1699;)Vnamed onHitLnet/minecraft/entity/projectile/AbstractArrowEntity;onHit(Lnet/minecraft/entity/LivingEntity;)V
-
getEntityCollision
- Mappings:
Namespace Name Mixin selector official aLzm;a(Lbbh;Lbbh;)Lrr;intermediary method_13277Lnet/minecraft/class_990;method_13277(Lnet/minecraft/class_236;Lnet/minecraft/class_236;)Lnet/minecraft/class_864;named getEntityCollisionLnet/minecraft/entity/projectile/AbstractArrowEntity;getEntityCollision(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/entity/Entity;
-
writeCustomDataToNbt
- Specified by:
writeCustomDataToNbtin classEntity- Mappings:
Namespace Name Mixin selector official bLrr;b(Ldq;)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 aLrr;a(Ldq;)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 dLrr;d(Lzj;)Vintermediary method_2530Lnet/minecraft/class_864;method_2530(Lnet/minecraft/class_988;)Vnamed onPlayerCollisionLnet/minecraft/entity/Entity;onPlayerCollision(Lnet/minecraft/entity/player/PlayerEntity;)V
-
asItemStack
- Mappings:
Namespace Name Mixin selector official jLzm;j()Ladq;intermediary method_13280Lnet/minecraft/class_990;method_13280()Lnet/minecraft/class_1071;named asItemStackLnet/minecraft/entity/projectile/AbstractArrowEntity;asItemStack()Lnet/minecraft/item/ItemStack;
-
canClimb
protected boolean canClimb() -
getLightmapCoordinates
- Overrides:
getLightmapCoordinatesin classEntity- Mappings:
Namespace Name Mixin selector official dLrr;d(F)Iintermediary method_2524Lnet/minecraft/class_864;method_2524(F)Inamed getLightmapCoordinatesLnet/minecraft/entity/Entity;getLightmapCoordinates(F)I
-
setDamage
public void setDamage(double damage) - Mappings:
Namespace Name Mixin selector official cLzm;c(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 kLzm;k()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 aLzm;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 aTLrr;aT()Zintermediary method_2521Lnet/minecraft/class_864;method_2521()Znamed isAttackableLnet/minecraft/entity/Entity;isAttackable()Z
-
getEyeHeight
public float getEyeHeight()- Overrides:
getEyeHeightin classEntity- Mappings:
Namespace Name Mixin selector official boLrr;bo()Fintermediary method_2544Lnet/minecraft/class_864;method_2544()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-
setCritical
public void setCritical(boolean critical) - Mappings:
Namespace Name Mixin selector official aLzm;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 lLzm;l()Zintermediary method_3227Lnet/minecraft/class_990;method_3227()Znamed isCriticalLnet/minecraft/entity/projectile/AbstractArrowEntity;isCritical()Z
-