Package net.minecraft.entity.projectile
Class PersistentProjectileEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.projectile.ProjectileEntity
net.minecraft.entity.projectile.PersistentProjectileEntity
- All Implemented Interfaces:
CommandOutput,Nameable,EntityLike
- Direct Known Subclasses:
ArrowEntity,SpectralArrowEntity,TridentEntity
- Mappings:
Namespace Name official bkhintermediary net/minecraft/class_1665named net/minecraft/entity/projectile/PersistentProjectileEntity
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static intprivate doubleprivate static doubleprivate @Nullable BlockStateprotected booleanprotected intprivate intprivate static intprivate static TrackedData<Byte>private @Nullable IntOpenHashSetprivate static TrackedData<Byte>private intintprivate static intprivate SoundEventFields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_28627, field_29973, field_29974, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, worldFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, double x, double y, double z, World world)protectedPersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, LivingEntity owner, World world)protectedPersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, World world) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidage()voidapplyEnchantmentEffects(LivingEntity entity, float damageModifier)protected abstract ItemStackprotected booleanprivate voidprivate voidfall()doubleprotected floatprotected @Nullable EntityHitResultgetEntityCollision(Vec3d currentPosition, Vec3d nextPosition)protected floatgetEyeHeight(EntityPose pose, EntityDimensions dimensions)protected SoundEventprotected Entity.MoveEffectReturns the possible effect(s) of an entity moving.byteintgetPunch()protected SoundEventgetSound()protected voidbooleanbooleanbooleanisNoClip()booleanvoidmove(MovementType movementType, Vec3d movement)protected voidonBlockHit(BlockHitResult blockHitResult)protected voidonEntityHit(EntityHitResult entityHitResult)protected voidonHit(LivingEntity target)voidonPlayerCollision(PlayerEntity player)voidvoidsetCritical(boolean critical)voidsetDamage(double damage)voidsetNoClip(boolean noClip)voidvoidsetPierceLevel(byte level)private voidsetProjectileFlag(int index, boolean flag)voidsetPunch(int punch)voidsetShotFromCrossbow(boolean shotFromCrossbow)voidsetSound(SoundEvent sound)voidsetVelocity(double x, double y, double z, float speed, float divergence)voidsetVelocityClient(double x, double y, double z)private booleanbooleanshouldRender(double distance)voidtick()protected booleantryPickup(PlayerEntity player)voidupdateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate)voidMethods inherited from class net.minecraft.entity.projectile.ProjectileEntity
canModifyAt, createSpawnPacket, getOwner, isOwner, method_37225, onCollision, onSpawnPacket, setProperties, updateRotation, updateRotationMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, animateDamage, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeRiddenInWater, canBeSpectated, canExplosionDestroyBlock, canFreeze, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collides, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, damage, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, fall, getAir, getArmorItems, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandItemSlot, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeadYaw, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getItemsHand, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getX, getY, getYaw, getYaw, getZ, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interact, interactAt, isAlive, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isGlowingLocal, isImmuneToExplosion, isInLava, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushable, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lookAt, method_30951, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playExtinguishSound, playSound, playStepSound, playSwimSound, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendSystemMessage, setAir, setBodyYaw, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setYaw, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickInVoid, tickNetherPortal, tickNetherPortalCooldown, tickRiding, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
field_30657
private static final double field_30657- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official fLbkh;f:Dintermediary field_30657Lnet/minecraft/class_1665;field_30657:Dnamed field_30657Lnet/minecraft/entity/projectile/PersistentProjectileEntity;field_30657:D
-
PROJECTILE_FLAGS
- Mappings:
Namespace Name Mixin selector official aoLbkh;ao:Lwf;intermediary field_7573Lnet/minecraft/class_1665;field_7573:Lnet/minecraft/class_2940;named PROJECTILE_FLAGSLnet/minecraft/entity/projectile/PersistentProjectileEntity;PROJECTILE_FLAGS:Lnet/minecraft/entity/data/TrackedData;
-
PIERCE_LEVEL
- Mappings:
Namespace Name Mixin selector official apLbkh;ap:Lwf;intermediary field_7589Lnet/minecraft/class_1665;field_7589:Lnet/minecraft/class_2940;named PIERCE_LEVELLnet/minecraft/entity/projectile/PersistentProjectileEntity;PIERCE_LEVEL:Lnet/minecraft/entity/data/TrackedData;
-
CRITICAL_FLAG
private static final int CRITICAL_FLAG- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official aqLbkh;aq:Iintermediary field_30654Lnet/minecraft/class_1665;field_30654:Inamed CRITICAL_FLAGLnet/minecraft/entity/projectile/PersistentProjectileEntity;CRITICAL_FLAG:I
-
NO_CLIP_FLAG
private static final int NO_CLIP_FLAG- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official arLbkh;ar:Iintermediary field_30655Lnet/minecraft/class_1665;field_30655:Inamed NO_CLIP_FLAGLnet/minecraft/entity/projectile/PersistentProjectileEntity;NO_CLIP_FLAG:I
-
SHOT_FROM_CROSSBOW_FLAG
private static final int SHOT_FROM_CROSSBOW_FLAG- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official asLbkh;as:Iintermediary field_30656Lnet/minecraft/class_1665;field_30656:Inamed SHOT_FROM_CROSSBOW_FLAGLnet/minecraft/entity/projectile/PersistentProjectileEntity;SHOT_FROM_CROSSBOW_FLAG:I
-
inBlockState
- Mappings:
Namespace Name Mixin selector official atLbkh;at:Lcks;intermediary field_7586Lnet/minecraft/class_1665;field_7586:Lnet/minecraft/class_2680;named inBlockStateLnet/minecraft/entity/projectile/PersistentProjectileEntity;inBlockState:Lnet/minecraft/block/BlockState;
-
inGround
protected boolean inGround- Mappings:
Namespace Name Mixin selector official bLbkh;b:Zintermediary field_7588Lnet/minecraft/class_1665;field_7588:Znamed inGroundLnet/minecraft/entity/projectile/PersistentProjectileEntity;inGround:Z
-
inGroundTime
protected int inGroundTime- Mappings:
Namespace Name Mixin selector official cLbkh;c:Iintermediary field_7576Lnet/minecraft/class_1665;field_7576:Inamed inGroundTimeLnet/minecraft/entity/projectile/PersistentProjectileEntity;inGroundTime:I
-
pickupType
- Mappings:
Namespace Name Mixin selector official dLbkh;d:Lbkh$a;intermediary field_7572Lnet/minecraft/class_1665;field_7572:Lnet/minecraft/class_1665$class_1666;named pickupTypeLnet/minecraft/entity/projectile/PersistentProjectileEntity;pickupType:Lnet/minecraft/entity/projectile/PersistentProjectileEntity$PickupPermission;
-
shake
public int shake- Mappings:
Namespace Name Mixin selector official eLbkh;e:Iintermediary field_7574Lnet/minecraft/class_1665;field_7574:Inamed shakeLnet/minecraft/entity/projectile/PersistentProjectileEntity;shake:I
-
life
private int life- Mappings:
Namespace Name Mixin selector official auLbkh;au:Iintermediary field_7578Lnet/minecraft/class_1665;field_7578:Inamed lifeLnet/minecraft/entity/projectile/PersistentProjectileEntity;life:I
-
damage
private double damage- Mappings:
Namespace Name Mixin selector official avLbkh;av:Dintermediary field_7571Lnet/minecraft/class_1665;field_7571:Dnamed damageLnet/minecraft/entity/projectile/PersistentProjectileEntity;damage:D
-
punch
private int punch- Mappings:
Namespace Name Mixin selector official awLbkh;aw:Iintermediary field_7575Lnet/minecraft/class_1665;field_7575:Inamed punchLnet/minecraft/entity/projectile/PersistentProjectileEntity;punch:I
-
sound
- Mappings:
Namespace Name Mixin selector official axLbkh;ax:Lafd;intermediary field_7584Lnet/minecraft/class_1665;field_7584:Lnet/minecraft/class_3414;named soundLnet/minecraft/entity/projectile/PersistentProjectileEntity;sound:Lnet/minecraft/sound/SoundEvent;
-
piercedEntities
- Mappings:
Namespace Name Mixin selector official ayLbkh;ay:Lit/unimi/dsi/fastutil/ints/IntOpenHashSet;intermediary field_7590Lnet/minecraft/class_1665;field_7590:Lit/unimi/dsi/fastutil/ints/IntOpenHashSet;named piercedEntitiesLnet/minecraft/entity/projectile/PersistentProjectileEntity;piercedEntities:Lit/unimi/dsi/fastutil/ints/IntOpenHashSet;
-
piercingKilledEntities
- Mappings:
Namespace Name Mixin selector official azLbkh;az:Ljava/util/List;intermediary field_7579Lnet/minecraft/class_1665;field_7579:Ljava/util/List;named piercingKilledEntitiesLnet/minecraft/entity/projectile/PersistentProjectileEntity;piercingKilledEntities:Ljava/util/List;
-
-
Constructor Details
-
PersistentProjectileEntity
protected PersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, World world)- Mappings:
Namespace Name Mixin selector official <init>Latf;<init>(Latj;Lbwp;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
PersistentProjectileEntity
protected PersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, double x, double y, double z, World world)- Mappings:
Namespace Name Mixin selector official <init>Lbkh;<init>(Latj;DDDLbwp;)Vintermediary <init>Lnet/minecraft/class_1665;<init>(Lnet/minecraft/class_1299;DDDLnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/projectile/PersistentProjectileEntity;<init>(Lnet/minecraft/entity/EntityType;DDDLnet/minecraft/world/World;)V
-
PersistentProjectileEntity
protected PersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, LivingEntity owner, World world)- Mappings:
Namespace Name Mixin selector official <init>Lbkh;<init>(Latj;Latt;Lbwp;)Vintermediary <init>Lnet/minecraft/class_1665;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1309;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/projectile/PersistentProjectileEntity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/world/World;)V
-
-
Method Details
-
setSound
- Mappings:
Namespace Name Mixin selector official aLbkh;a(Lafd;)Vintermediary method_7444Lnet/minecraft/class_1665;method_7444(Lnet/minecraft/class_3414;)Vnamed setSoundLnet/minecraft/entity/projectile/PersistentProjectileEntity;setSound(Lnet/minecraft/sound/SoundEvent;)V
-
shouldRender
public boolean shouldRender(double distance)- Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector official aLatf;a(D)Zintermediary method_5640Lnet/minecraft/class_1297;method_5640(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official a_Latf;a_()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
setVelocity
public void setVelocity(double x, double y, double z, float speed, float divergence)- Overrides:
setVelocityin classProjectileEntity- Mappings:
Namespace Name Mixin selector official cLbkt;c(DDDFF)Vintermediary method_7485Lnet/minecraft/class_1676;method_7485(DDDFF)Vnamed setVelocityLnet/minecraft/entity/projectile/ProjectileEntity;setVelocity(DDDFF)V
-
updateTrackedPositionAndAngles
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 aLatf;a(DDDFFIZ)Vintermediary method_5759Lnet/minecraft/class_1297;method_5759(DDDFFIZ)Vnamed updateTrackedPositionAndAnglesLnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFIZ)V
-
setVelocityClient
public void setVelocityClient(double x, double y, double z)- Overrides:
setVelocityClientin classProjectileEntity- Mappings:
Namespace Name Mixin selector official kLatf;k(DDD)Vintermediary method_5750Lnet/minecraft/class_1297;method_5750(DDD)Vnamed setVelocityClientLnet/minecraft/entity/Entity;setVelocityClient(DDD)V
-
tick
public void tick()- Overrides:
tickin classProjectileEntity- Mappings:
Namespace Name Mixin selector official kLatf;k()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vnamed tickLnet/minecraft/entity/Entity;tick()V
-
shouldFall
private boolean shouldFall()- Mappings:
Namespace Name Mixin selector official vLbkh;v()Zintermediary method_26351Lnet/minecraft/class_1665;method_26351()Znamed shouldFallLnet/minecraft/entity/projectile/PersistentProjectileEntity;shouldFall()Z
-
fall
private void fall()- Mappings:
Namespace Name Mixin selector official ALbkh;A()Vintermediary method_26352Lnet/minecraft/class_1665;method_26352()Vnamed fallLnet/minecraft/entity/projectile/PersistentProjectileEntity;fall()V
-
move
- Overrides:
movein classEntity- Mappings:
Namespace Name Mixin selector official aLatf;a(Latz;Ldna;)Vintermediary method_5784Lnet/minecraft/class_1297;method_5784(Lnet/minecraft/class_1313;Lnet/minecraft/class_243;)Vnamed moveLnet/minecraft/entity/Entity;move(Lnet/minecraft/entity/MovementType;Lnet/minecraft/util/math/Vec3d;)V
-
age
protected void age()- Mappings:
Namespace Name Mixin selector official hLbkh;h()Vintermediary method_7446Lnet/minecraft/class_1665;method_7446()Vnamed ageLnet/minecraft/entity/projectile/PersistentProjectileEntity;age()V
-
clearPiercingStatus
private void clearPiercingStatus()- Mappings:
Namespace Name Mixin selector official BLbkh;B()Vintermediary method_7453Lnet/minecraft/class_1665;method_7453()Vnamed clearPiercingStatusLnet/minecraft/entity/projectile/PersistentProjectileEntity;clearPiercingStatus()V
-
onEntityHit
- Overrides:
onEntityHitin classProjectileEntity- Mappings:
Namespace Name Mixin selector official aLbkt;a(Ldmx;)Vintermediary method_7454Lnet/minecraft/class_1676;method_7454(Lnet/minecraft/class_3966;)Vnamed onEntityHitLnet/minecraft/entity/projectile/ProjectileEntity;onEntityHit(Lnet/minecraft/util/hit/EntityHitResult;)V
-
onBlockHit
- Overrides:
onBlockHitin classProjectileEntity- Mappings:
Namespace Name Mixin selector official aLbkt;a(Ldmw;)Vintermediary method_24920Lnet/minecraft/class_1676;method_24920(Lnet/minecraft/class_3965;)Vnamed onBlockHitLnet/minecraft/entity/projectile/ProjectileEntity;onBlockHit(Lnet/minecraft/util/hit/BlockHitResult;)V
-
getHitSound
- Mappings:
Namespace Name Mixin selector official iLbkh;i()Lafd;intermediary method_7440Lnet/minecraft/class_1665;method_7440()Lnet/minecraft/class_3414;named getHitSoundLnet/minecraft/entity/projectile/PersistentProjectileEntity;getHitSound()Lnet/minecraft/sound/SoundEvent;
-
getSound
- Mappings:
Namespace Name Mixin selector official jLbkh;j()Lafd;intermediary method_20011Lnet/minecraft/class_1665;method_20011()Lnet/minecraft/class_3414;named getSoundLnet/minecraft/entity/projectile/PersistentProjectileEntity;getSound()Lnet/minecraft/sound/SoundEvent;
-
onHit
- Mappings:
Namespace Name Mixin selector official aLbkh;a(Latt;)Vintermediary method_7450Lnet/minecraft/class_1665;method_7450(Lnet/minecraft/class_1309;)Vnamed onHitLnet/minecraft/entity/projectile/PersistentProjectileEntity;onHit(Lnet/minecraft/entity/LivingEntity;)V
-
getEntityCollision
@Nullable protected @Nullable EntityHitResult getEntityCollision(Vec3d currentPosition, Vec3d nextPosition)- Mappings:
Namespace Name Mixin selector official aLbkh;a(Ldna;Ldna;)Ldmx;intermediary method_7434Lnet/minecraft/class_1665;method_7434(Lnet/minecraft/class_243;Lnet/minecraft/class_243;)Lnet/minecraft/class_3966;named getEntityCollisionLnet/minecraft/entity/projectile/PersistentProjectileEntity;getEntityCollision(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/hit/EntityHitResult;
-
canHit
- Overrides:
canHitin classProjectileEntity- Mappings:
Namespace Name Mixin selector official aLbkt;a(Latf;)Zintermediary method_26958Lnet/minecraft/class_1676;method_26958(Lnet/minecraft/class_1297;)Znamed canHitLnet/minecraft/entity/projectile/ProjectileEntity;canHit(Lnet/minecraft/entity/Entity;)Z
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classProjectileEntity- Mappings:
Namespace Name Mixin selector official bLatf;b(Lna;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classProjectileEntity- Mappings:
Namespace Name Mixin selector official aLatf;a(Lna;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
setOwner
- Overrides:
setOwnerin classProjectileEntity- Mappings:
Namespace Name Mixin selector official bLbkt;b(Latf;)Vintermediary method_7432Lnet/minecraft/class_1676;method_7432(Lnet/minecraft/class_1297;)Vnamed setOwnerLnet/minecraft/entity/projectile/ProjectileEntity;setOwner(Lnet/minecraft/entity/Entity;)V
-
onPlayerCollision
- Overrides:
onPlayerCollisionin classEntity- Mappings:
Namespace Name Mixin selector official bLatf;b(Lbkd;)Vintermediary method_5694Lnet/minecraft/class_1297;method_5694(Lnet/minecraft/class_1657;)Vnamed onPlayerCollisionLnet/minecraft/entity/Entity;onPlayerCollision(Lnet/minecraft/entity/player/PlayerEntity;)V
-
tryPickup
- Mappings:
Namespace Name Mixin selector official aLbkh;a(Lbkd;)Zintermediary method_34713Lnet/minecraft/class_1665;method_34713(Lnet/minecraft/class_1657;)Znamed tryPickupLnet/minecraft/entity/projectile/PersistentProjectileEntity;tryPickup(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
asItemStack
- Mappings:
Namespace Name Mixin selector official lLbkh;l()Lbqp;intermediary method_7445Lnet/minecraft/class_1665;method_7445()Lnet/minecraft/class_1799;named asItemStackLnet/minecraft/entity/projectile/PersistentProjectileEntity;asItemStack()Lnet/minecraft/item/ItemStack;
-
getMoveEffect
Returns the possible effect(s) of an entity moving.- Overrides:
getMoveEffectin classEntity- Mappings:
Namespace Name Mixin selector official aILatf;aI()Latf$b;intermediary method_33570Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;named getMoveEffectLnet/minecraft/entity/Entity;getMoveEffect()Lnet/minecraft/entity/Entity$MoveEffect;
-
setDamage
public void setDamage(double damage)- Mappings:
Namespace Name Mixin selector official hLbkh;h(D)Vintermediary method_7438Lnet/minecraft/class_1665;method_7438(D)Vnamed setDamageLnet/minecraft/entity/projectile/PersistentProjectileEntity;setDamage(D)V
-
getDamage
public double getDamage()- Mappings:
Namespace Name Mixin selector official nLbkh;n()Dintermediary method_7448Lnet/minecraft/class_1665;method_7448()Dnamed getDamageLnet/minecraft/entity/projectile/PersistentProjectileEntity;getDamage()D
-
setPunch
public void setPunch(int punch)- Mappings:
Namespace Name Mixin selector official aLbkh;a(I)Vintermediary method_7449Lnet/minecraft/class_1665;method_7449(I)Vnamed setPunchLnet/minecraft/entity/projectile/PersistentProjectileEntity;setPunch(I)V
-
getPunch
public int getPunch()- Mappings:
Namespace Name Mixin selector official oLbkh;o()Iintermediary method_35207Lnet/minecraft/class_1665;method_35207()Inamed getPunchLnet/minecraft/entity/projectile/PersistentProjectileEntity;getPunch()I
-
isAttackable
public boolean isAttackable()- Overrides:
isAttackablein classEntity- Mappings:
Namespace Name Mixin selector official caLatf;ca()Zintermediary method_5732Lnet/minecraft/class_1297;method_5732()Znamed isAttackableLnet/minecraft/entity/Entity;isAttackable()Z
-
getEyeHeight
- Overrides:
getEyeHeightin classEntity- Mappings:
Namespace Name Mixin selector official aLatf;a(Lauf;Latg;)Fintermediary method_18378Lnet/minecraft/class_1297;method_18378(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
setCritical
public void setCritical(boolean critical)- Mappings:
Namespace Name Mixin selector official aLbkh;a(Z)Vintermediary method_7439Lnet/minecraft/class_1665;method_7439(Z)Vnamed setCriticalLnet/minecraft/entity/projectile/PersistentProjectileEntity;setCritical(Z)V
-
setPierceLevel
public void setPierceLevel(byte level)- Mappings:
Namespace Name Mixin selector official bLbkh;b(B)Vintermediary method_7451Lnet/minecraft/class_1665;method_7451(B)Vnamed setPierceLevelLnet/minecraft/entity/projectile/PersistentProjectileEntity;setPierceLevel(B)V
-
setProjectileFlag
private void setProjectileFlag(int index, boolean flag)- Mappings:
Namespace Name Mixin selector official aLbkh;a(IZ)Vintermediary method_7455Lnet/minecraft/class_1665;method_7455(IZ)Vnamed setProjectileFlagLnet/minecraft/entity/projectile/PersistentProjectileEntity;setProjectileFlag(IZ)V
-
isCritical
public boolean isCritical()- Mappings:
Namespace Name Mixin selector official pLbkh;p()Zintermediary method_7443Lnet/minecraft/class_1665;method_7443()Znamed isCriticalLnet/minecraft/entity/projectile/PersistentProjectileEntity;isCritical()Z
-
isShotFromCrossbow
public boolean isShotFromCrossbow()- Mappings:
Namespace Name Mixin selector official qLbkh;q()Zintermediary method_7456Lnet/minecraft/class_1665;method_7456()Znamed isShotFromCrossbowLnet/minecraft/entity/projectile/PersistentProjectileEntity;isShotFromCrossbow()Z
-
getPierceLevel
public byte getPierceLevel()- Mappings:
Namespace Name Mixin selector official rLbkh;r()Bintermediary method_7447Lnet/minecraft/class_1665;method_7447()Bnamed getPierceLevelLnet/minecraft/entity/projectile/PersistentProjectileEntity;getPierceLevel()B
-
applyEnchantmentEffects
- Mappings:
Namespace Name Mixin selector official aLbkh;a(Latt;F)Vintermediary method_7435Lnet/minecraft/class_1665;method_7435(Lnet/minecraft/class_1309;F)Vnamed applyEnchantmentEffectsLnet/minecraft/entity/projectile/PersistentProjectileEntity;applyEnchantmentEffects(Lnet/minecraft/entity/LivingEntity;F)V
-
getDragInWater
protected float getDragInWater()- Mappings:
Namespace Name Mixin selector official sLbkh;s()Fintermediary method_7436Lnet/minecraft/class_1665;method_7436()Fnamed getDragInWaterLnet/minecraft/entity/projectile/PersistentProjectileEntity;getDragInWater()F
-
setNoClip
public void setNoClip(boolean noClip)- Mappings:
Namespace Name Mixin selector official pLbkh;p(Z)Vintermediary method_7433Lnet/minecraft/class_1665;method_7433(Z)Vnamed setNoClipLnet/minecraft/entity/projectile/PersistentProjectileEntity;setNoClip(Z)V
-
isNoClip
public boolean isNoClip()- Mappings:
Namespace Name Mixin selector official tLbkh;t()Zintermediary method_7441Lnet/minecraft/class_1665;method_7441()Znamed isNoClipLnet/minecraft/entity/projectile/PersistentProjectileEntity;isNoClip()Z
-
setShotFromCrossbow
public void setShotFromCrossbow(boolean shotFromCrossbow)- Mappings:
Namespace Name Mixin selector official qLbkh;q(Z)Vintermediary method_7442Lnet/minecraft/class_1665;method_7442(Z)Vnamed setShotFromCrossbowLnet/minecraft/entity/projectile/PersistentProjectileEntity;setShotFromCrossbow(Z)V
-