java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.projectile.ProjectileEntity
net.minecraft.entity.projectile.PersistentProjectileEntity
pers.saikel0rado1iu.spontaneousreplace.entity.projectile.SteelArrowEntity
所有已实现的接口:
net.fabricmc.fabric.api.attachment.v1.AttachmentTarget, net.minecraft.entity.data.DataTracked, net.minecraft.entity.Ownable, net.minecraft.scoreboard.ScoreHolder, net.minecraft.server.command.CommandOutput, net.minecraft.util.Nameable, net.minecraft.world.entity.EntityLike, pers.saikel0rado1iu.silk.api.spore.projectile.FixedDamage

public class SteelArrowEntity extends net.minecraft.entity.projectile.PersistentProjectileEntity implements pers.saikel0rado1iu.silk.api.spore.projectile.FixedDamage

钢箭实体

钢箭实体
从以下版本开始:
1.0.0
  • 嵌套类概要

    从类继承的嵌套类/接口 net.minecraft.entity.projectile.PersistentProjectileEntity

    net.minecraft.entity.projectile.PersistentProjectileEntity.PickupPermission

    从类继承的嵌套类/接口 net.minecraft.entity.Entity

    net.minecraft.entity.Entity.MoveEffect, net.minecraft.entity.Entity.PositionUpdater, net.minecraft.entity.Entity.RemovalReason
  • 字段概要

    从类继承的字段 net.minecraft.entity.projectile.PersistentProjectileEntity

    inGround, inGroundTime, pickupType, shake

    从类继承的字段 net.minecraft.entity.Entity

    age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inPowderSnow, intersectionChecked, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, portalManager, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire

    从接口继承的字段 net.fabricmc.fabric.api.attachment.v1.AttachmentTarget

    NBT_ATTACHMENT_KEY

    从接口继承的字段 net.minecraft.server.command.CommandOutput

    DUMMY

    从接口继承的字段 net.minecraft.scoreboard.ScoreHolder

    WILDCARD, WILDCARD_NAME
  • 构造器概要

    构造器
    构造器
    说明
    SteelArrowEntity(net.minecraft.entity.EntityType<? extends SteelArrowEntity> entityType, net.minecraft.world.World world)
     
    SteelArrowEntity(net.minecraft.world.World world, double x, double y, double z, net.minecraft.item.ItemStack stack, @Nullable net.minecraft.item.ItemStack shotFrom)
     
    SteelArrowEntity(net.minecraft.world.World world, net.minecraft.entity.LivingEntity owner, net.minecraft.item.ItemStack stack, @Nullable net.minecraft.item.ItemStack shotFrom)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    float
    固定伤害
    protected net.minecraft.item.ItemStack
     
    void
     

    从类继承的方法 net.minecraft.entity.projectile.PersistentProjectileEntity

    age, applyDamageModifier, asItemStack, canHit, canHit, getDamage, getDragInWater, getEntityCollision, getGravity, getHitSound, getItemStack, getMoveEffect, getPierceLevel, getSound, getStackReference, getWeaponStack, initDataTracker, isAttackable, isCritical, isNoClip, isShotFromCrossbow, knockback, move, onBlockHit, onBlockHitEnchantmentEffects, onEntityHit, onHit, onPlayerCollision, readCustomDataFromNbt, setCritical, setDamage, setNoClip, setOwner, setSound, setStack, setVelocity, setVelocityClient, shouldRender, tryPickup, updateTrackedPositionAndAngles, writeCustomDataToNbt

    从类继承的方法 net.minecraft.entity.projectile.ProjectileEntity

    calculateVelocity, canBreakBlocks, canModifyAt, copyFrom, createSpawnPacket, deflect, getEffectCause, getKnockback, getOwner, getTargetingMargin, hitOrDeflect, isOwner, onCollision, onDeflected, onSpawnPacket, setVelocity, updateRotation, updateRotation

    从类继承的方法 net.minecraft.entity.Entity

    addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, animateDamage, applyGravity, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canFreeze, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, collidesWithStateAtPos, copyPositionAndRotation, couldAcceptPassenger, damage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, fall, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBodyYaw, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeadYaw, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPos, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, getMaxAir, getMinFreezeDamageTicks, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengerRidingPos, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getStepHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getYaw, getZ, handleAttack, handleFallDamage, handleStatus, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interact, interactAt, isAlive, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowing, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushable, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lerpPosAndRotation, lerpYaw, limitFallDistance, lookAt, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDamaged, onDataTrackerUpdate, onExplodedBy, onKilledOther, onLanding, onPassengerLookAround, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readNbt, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, remove, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setAngles, setBodyYaw, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireForTicks, setOnFireFromLava, setOnGround, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportTo, tickInVoid, tickPortalCooldown, tickPortalTeleportation, tickRiding, toNbtList, toNbtList, toString, tryCheckBlockCollision, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateVelocity, updateWaterState, writeNbt

    从类继承的方法 java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    从接口继承的方法 net.fabricmc.fabric.api.attachment.v1.AttachmentTarget

    getAttached, getAttachedOrCreate, getAttachedOrCreate, getAttachedOrElse, getAttachedOrGet, getAttachedOrSet, getAttachedOrThrow, hasAttached, modifyAttached, removeAttached, setAttached

    从接口继承的方法 net.minecraft.server.command.CommandOutput

    cannotBeSilenced

    从接口继承的方法 net.minecraft.scoreboard.ScoreHolder

    getStyledDisplayName
  • 构造器详细资料

    • SteelArrowEntity

      public SteelArrowEntity(net.minecraft.entity.EntityType<? extends SteelArrowEntity> entityType, net.minecraft.world.World world)
    • SteelArrowEntity

      public SteelArrowEntity(net.minecraft.world.World world, double x, double y, double z, net.minecraft.item.ItemStack stack, @Nullable @Nullable net.minecraft.item.ItemStack shotFrom)
    • SteelArrowEntity

      public SteelArrowEntity(net.minecraft.world.World world, net.minecraft.entity.LivingEntity owner, net.minecraft.item.ItemStack stack, @Nullable @Nullable net.minecraft.item.ItemStack shotFrom)
  • 方法详细资料

    • tick

      public void tick()
      覆盖:
      tick 在类中 net.minecraft.entity.projectile.PersistentProjectileEntity
    • getDefaultItemStack

      protected net.minecraft.item.ItemStack getDefaultItemStack()
      指定者:
      getDefaultItemStack 在类中 net.minecraft.entity.projectile.PersistentProjectileEntity
    • fixedDamage

      public float fixedDamage()
      固定伤害
      指定者:
      fixedDamage 在接口中 pers.saikel0rado1iu.silk.api.spore.projectile.FixedDamage
      返回:
      固定伤害值