Package net.minecraft.entity.projectile
Class ArrowEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.projectile.AbstractArrowEntity
net.minecraft.entity.projectile.ArrowEntity
- All Implemented Interfaces:
CommandSource,Projectile
- Mappings:
Namespace Name official aamintermediary net/minecraft/class_2675named net/minecraft/entity/projectile/ArrowEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.projectile.AbstractArrowEntity
AbstractArrowEntity.PickupPermission -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TrackedData<Integer>private final Set<StatusEffectInstance>private PotionFields inherited from class net.minecraft.entity.projectile.AbstractArrowEntity
inGround, inGroundTime, owner, pickupType, shakeFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, fireResistance, firstUpdate, FLAGS, 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
ConstructorsConstructorDescriptionArrowEntity(World world) ArrowEntity(World world, double x, double y, double z) ArrowEntity(World world, LivingEntity owner) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEffect(StatusEffectInstance effect) protected ItemStackintgetColor()voidhandleStatus(byte status) protected voidvoidinitFromStack(ItemStack stack) static voidmethod_13300(class_2934 class_2934) protected voidonHit(LivingEntity target) voidprivate voidspawnParticles(int amount) voidtick()voidMethods inherited from class net.minecraft.entity.projectile.AbstractArrowEntity
canClimb, getDamage, getEntityCollision, getEyeHeight, getLightmapCoordinates, isAttackable, isCritical, method_13278, method_13568, method_13569, onHit, onPlayerCollision, setCritical, setDamage, setPunch, setVelocity, setVelocityClient, shouldRender, updateTrackedPositionAndAnglesMethods 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, getRotationClient, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getTranslationKey, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleAttack, handleFallDamage, hasCustomName, hashCode, hasMount, hasNoGravity, 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_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, setNoGravity, 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
-
COLOR
- Mappings:
Namespace Name Mixin selector official fLaam;f:Lkh;intermediary field_12208Lnet/minecraft/class_2675;field_12208:Lnet/minecraft/class_2921;named COLORLnet/minecraft/entity/projectile/ArrowEntity;COLOR:Lnet/minecraft/entity/data/TrackedData;
-
potion
- Mappings:
Namespace Name Mixin selector official gLaam;g:Lafn;intermediary field_12209Lnet/minecraft/class_2675;field_12209:Lnet/minecraft/class_2695;named potionLnet/minecraft/entity/projectile/ArrowEntity;potion:Lnet/minecraft/potion/Potion;
-
effects
- Mappings:
Namespace Name Mixin selector official hLaam;h:Ljava/util/Set;intermediary field_12210Lnet/minecraft/class_2675;field_12210:Ljava/util/Set;named effectsLnet/minecraft/entity/projectile/ArrowEntity;effects:Ljava/util/Set;
-
-
Constructor Details
-
ArrowEntity
- Mappings:
Namespace Name Mixin selector official <init>Lrw;<init>(Laid;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
ArrowEntity
- Mappings:
Namespace Name Mixin selector official <init>Lzv;<init>(Laid;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
-
ArrowEntity
- Mappings:
Namespace Name Mixin selector official <init>Lzv;<init>(Laid;Lsf;)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
-
initFromStack
- Mappings:
Namespace Name Mixin selector official aLaam;a(Ladz;)Vintermediary method_11319Lnet/minecraft/class_2675;method_11319(Lnet/minecraft/class_1071;)Vnamed initFromStackLnet/minecraft/entity/projectile/ArrowEntity;initFromStack(Lnet/minecraft/item/ItemStack;)V
-
addEffect
- Mappings:
Namespace Name Mixin selector official aLaam;a(Lrq;)Vintermediary method_11320Lnet/minecraft/class_2675;method_11320(Lnet/minecraft/class_861;)Vnamed addEffectLnet/minecraft/entity/projectile/ArrowEntity;addEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)V
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classAbstractArrowEntity- Mappings:
Namespace Name Mixin selector official iLrw;i()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
tick
public void tick()- Overrides:
tickin classAbstractArrowEntity- Mappings:
Namespace Name Mixin selector official mLrw;m()Vintermediary method_2558Lnet/minecraft/class_864;method_2558()Vnamed tickLnet/minecraft/entity/Entity;tick()V
-
spawnParticles
private void spawnParticles(int amount) - Mappings:
Namespace Name Mixin selector official bLaam;b(I)Vintermediary method_11321Lnet/minecraft/class_2675;method_11321(I)Vnamed spawnParticlesLnet/minecraft/entity/projectile/ArrowEntity;spawnParticles(I)V
-
getColor
public int getColor()- Mappings:
Namespace Name Mixin selector official nLaam;n()Iintermediary method_11322Lnet/minecraft/class_2675;method_11322()Inamed getColorLnet/minecraft/entity/projectile/ArrowEntity;getColor()I
-
method_13300
- Mappings:
Namespace Name Mixin selector official bLaam;b(Lpd;)Vintermediary method_13300Lnet/minecraft/class_2675;method_13300(Lnet/minecraft/class_2934;)Vnamed method_13300Lnet/minecraft/entity/projectile/ArrowEntity;method_13300(Lnet/minecraft/class_2934;)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classAbstractArrowEntity- Mappings:
Namespace Name Mixin selector official bLrw;b(Ldr;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classAbstractArrowEntity- Mappings:
Namespace Name Mixin selector official aLrw;a(Ldr;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
onHit
- Overrides:
onHitin classAbstractArrowEntity- Mappings:
Namespace Name Mixin selector official aLzv;a(Lsf;)Vintermediary method_13279Lnet/minecraft/class_990;method_13279(Lnet/minecraft/class_1699;)Vnamed onHitLnet/minecraft/entity/projectile/AbstractArrowEntity;onHit(Lnet/minecraft/entity/LivingEntity;)V
-
asItemStack
- Specified by:
asItemStackin classAbstractArrowEntity- Mappings:
Namespace Name Mixin selector official jLzv;j()Ladz;intermediary method_13280Lnet/minecraft/class_990;method_13280()Lnet/minecraft/class_1071;named asItemStackLnet/minecraft/entity/projectile/AbstractArrowEntity;asItemStack()Lnet/minecraft/item/ItemStack;
-
handleStatus
- Overrides:
handleStatusin classEntity- Mappings:
Namespace Name Mixin selector official aLrw;a(B)Vintermediary method_2485Lnet/minecraft/class_864;method_2485(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-