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 afaintermediary 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 booleanprivate 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, 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()static intgetCustomPotionColor(ItemStack stack) voidhandleStatus(byte status) private voidprotected voidvoidinitFromStack(ItemStack stack) static voidmethod_13300(class_2934 class_2934) protected voidonHit(LivingEntity target) voidprivate voidsetColor(int color) private voidspawnParticles(int amount) voidtick()voidMethods inherited from class net.minecraft.entity.projectile.AbstractArrowEntity
applyEnchantmentEffects, canClimb, getDamage, getEntityCollision, getEyeHeight, isAttackable, isCritical, method_13278, method_13568, method_13569, move, 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, getBurningDuration, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getItemsHand, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMinecraftServer, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPassengersDeep, getPistonBehavior, getPos, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationClient, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getTranslatedName, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleAttack, handleFallDamage, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, interact, interactAt, isAlive, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, kill, method_10965, method_12984, method_12985, method_12991, method_13003, method_13932, method_15051, method_15052, method_15055, method_2492, method_6344, onBlockCollision, 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, updateKilledAchievement, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateWaterState
-
Field Details
-
COLOR
- Mappings:
Namespace Name Mixin selector official fLafa;f:Lmy;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 gLafa;g:Lakg;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 hLafa;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;
-
colorSet
private boolean colorSet- Mappings:
Namespace Name Mixin selector official atLafa;at:Zintermediary field_15097Lnet/minecraft/class_2675;field_15097:Znamed colorSetLnet/minecraft/entity/projectile/ArrowEntity;colorSet:Z
-
-
Constructor Details
-
ArrowEntity
- Mappings:
Namespace Name Mixin selector official <init>Lvg;<init>(Lamu;)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>Laeh;<init>(Lamu;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>Laeh;<init>(Lamu;Lvp;)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 aLafa;a(Laip;)Vintermediary method_11319Lnet/minecraft/class_2675;method_11319(Lnet/minecraft/class_1071;)Vnamed initFromStackLnet/minecraft/entity/projectile/ArrowEntity;initFromStack(Lnet/minecraft/item/ItemStack;)V
-
getCustomPotionColor
- Mappings:
Namespace Name Mixin selector official bLafa;b(Laip;)Iintermediary method_13636Lnet/minecraft/class_2675;method_13636(Lnet/minecraft/class_1071;)Inamed getCustomPotionColorLnet/minecraft/entity/projectile/ArrowEntity;getCustomPotionColor(Lnet/minecraft/item/ItemStack;)I
-
initColor
private void initColor()- Mappings:
Namespace Name Mixin selector official qLafa;q()Vintermediary method_13638Lnet/minecraft/class_2675;method_13638()Vnamed initColorLnet/minecraft/entity/projectile/ArrowEntity;initColor()V
-
addEffect
- Mappings:
Namespace Name Mixin selector official aLafa;a(Lva;)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 iLvg;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 B_Lvg;B_()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 cLafa;c(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 pLafa;p()Iintermediary method_11322Lnet/minecraft/class_2675;method_11322()Inamed getColorLnet/minecraft/entity/projectile/ArrowEntity;getColor()I
-
setColor
private void setColor(int color) - Mappings:
Namespace Name Mixin selector official dLafa;d(I)Vintermediary method_13637Lnet/minecraft/class_2675;method_13637(I)Vnamed setColorLnet/minecraft/entity/projectile/ArrowEntity;setColor(I)V
-
method_13300
- Mappings:
Namespace Name Mixin selector official cLafa;c(Lry;)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 bLvg;b(Lfy;)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 aLvg;a(Lfy;)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 aLaeh;a(Lvp;)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 jLaeh;j()Laip;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 aLvg;a(B)Vintermediary method_2485Lnet/minecraft/class_864;method_2485(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-