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:
class_3893,Projectile,Nameable
- Mappings:
Namespace Name official aomintermediary 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
field_17094, field_17096, inGround, inGroundTime, pickupType, shakeFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, distanceTraveled, fallDistance, field_16693, field_16694, field_16696, field_3223, firstUpdate, FLAGS, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, LOGGER_, 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) 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_15946, method_15947, method_15948, method_15949, method_15950, method_15951, method_15952, method_15953, 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, canFly, canStartRiding, canUsePortals, checkBlockCollision, collides, copyPortalInfo, copyPosition, damage, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, entityDataRequiresOperator, equals, equip, equipStack, extinguish, fall, fromNbt, getAir, getArmorItems, getBoundingBox, getBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getDataTracker, getDefaultNetherPortalCooldown, getEntityId, getEntityName, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getItemsHand, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPistonBehavior, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationClient, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getUuid, getVehicle, getVisibilityBoundingBox, handleAttack, handleFallDamage, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, interact, interactAt, isAlive, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, kill, method_10787, method_10931, method_10932, method_10933, method_10936, method_12265, method_12833, method_12984, method_12985, method_12991, method_13003, method_15051, method_15055, method_15540, method_15541, method_15557, method_15558, method_15559, method_15560, method_15561, method_15562, method_15563, method_15564, method_15566, method_15567, method_15569, method_15570, method_15571, method_15572, method_15573, method_15574, method_15575, method_15576, method_15577, method_15578, method_15580, method_15581, method_15582, method_15583, method_15584, method_15585, method_15586, method_15588, method_15589, method_15590, method_15591, method_15592, method_15593, method_15594, method_17412, method_17413, method_17414, method_2492, method_4086, method_5505, method_5506, method_6344, onBlockCollision, onKilledOther, onLightningStrike, onPassengerLookAround, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, onTrackedDataSet, playSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, setAir, setBoundingBox, setBounds, setCustomNameVisible, setEntityId, setFlag, setGlowing, setHeadYaw, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, 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 gLaom;g:Lor;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 hLaom;h:Laut;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 awLaom;aw: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 axLaom;ax: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>Laer;<init>(Laxy;)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>Laok;<init>(Laxy;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>Laok;<init>(Laxy;Lafa;)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 bLaom;b(Late;)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 cLaom;c(Late;)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 sLaom;s()Vintermediary method_13638Lnet/minecraft/class_2675;method_13638()Vnamed initColorLnet/minecraft/entity/projectile/ArrowEntity;initColor()V
-
addEffect
- Mappings:
Namespace Name Mixin selector official aLaom;a(Laek;)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 x_Laer;x_()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 R_Laer;R_()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 bLaom;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 rLaom;r()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 cLaom;c(I)Vintermediary method_13637Lnet/minecraft/class_2675;method_13637(I)Vnamed setColorLnet/minecraft/entity/projectile/ArrowEntity;setColor(I)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classAbstractArrowEntity- Mappings:
Namespace Name Mixin selector official bLaer;b(Lgy;)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 aLaer;a(Lgy;)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 aLaok;a(Lafa;)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 lLaok;l()Late;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 aLaer;a(B)Vintermediary method_2485Lnet/minecraft/class_864;method_2485(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-