类 SuperLeashRopeEntity

java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.entity.Entity>
net.minecraft.world.entity.Entity
net.minecraft.world.entity.projectile.Projectile
top.r3944realms.superleadrope.content.entity.SuperLeashRopeEntity
所有已实现的接口:
net.minecraft.commands.CommandSource, net.minecraft.world.entity.TraceableEntity, net.minecraft.world.level.entity.EntityAccess, net.minecraft.world.Nameable, net.minecraftforge.common.capabilities.ICapabilityProvider, net.minecraftforge.common.capabilities.ICapabilityProviderImpl<net.minecraft.world.entity.Entity>, net.minecraftforge.common.capabilities.ICapabilitySerializable<net.minecraft.nbt.CompoundTag>, net.minecraftforge.common.extensions.IForgeEntity, net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>

public class SuperLeashRopeEntity extends net.minecraft.world.entity.projectile.Projectile
The type Super leash rope entity.
  • 嵌套类概要

    嵌套类
    修饰符和类型
    说明
    static class 
    The type Super leash rope item behavior.

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

    net.minecraft.world.entity.Entity.MoveFunction, net.minecraft.world.entity.Entity.MovementEmission, net.minecraft.world.entity.Entity.RemovalReason

    从类继承的嵌套类/接口 net.minecraftforge.common.capabilities.CapabilityProvider

    net.minecraftforge.common.capabilities.CapabilityProvider.AsField<B extends net.minecraftforge.common.capabilities.ICapabilityProviderImpl<B>>
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    net.minecraft.world.entity.projectile.AbstractArrow.Pickup
    The Pickup.

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

    BASE_TICKS_REQUIRED_TO_FREEZE, blocksBuilding, BOARDING_COOLDOWN, BREATHING_DISTANCE_BELOW_EYES, DEFAULT_BB_HEIGHT, DEFAULT_BB_WIDTH, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_2, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_5, DELTA_AFFECTED_BY_BLOCKS_BELOW_1_0, fallDistance, flyDist, FREEZE_HURT_FREQUENCY, hasImpulse, horizontalCollision, hurtMarked, ID_TAG, invulnerableTime, isInPowderSnow, mainSupportingBlockPos, MAX_ENTITY_TAG_COUNT, minorHorizontalCollision, moveDist, noCulling, noPhysics, PASSENGERS_TAG, tickCount, TOTAL_AIR_SUPPLY, UUID_TAG, verticalCollision, verticalCollisionBelow, walkDist, walkDistO, wasInPowderSnow, wasOnFire, xo, xOld, xRotO, yo, yOld, yRotO, zo, zOld

    从接口继承的字段 net.minecraft.commands.CommandSource

    NULL
  • 构造器概要

    构造器
    构造器
    说明
    SuperLeashRopeEntity(net.minecraft.world.entity.EntityType<? extends net.minecraft.world.entity.projectile.Projectile> entityType, net.minecraft.world.level.Level level)
    Instantiates a new Super leash rope entity.
    SuperLeashRopeEntity(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos dispenserPos, @NotNull net.minecraft.world.item.ItemStack itemStack)
    Instantiates a new Super leash rope entity.
    SuperLeashRopeEntity(net.minecraft.world.level.Level level, net.minecraft.world.entity.LivingEntity thrower, @NotNull net.minecraft.world.item.ItemStack itemStack)
    Instantiates a new Super leash rope entity.
  • 方法概要

    修饰符和类型
    方法
    说明
    @NotNull net.minecraft.network.protocol.Packet<net.minecraft.network.protocol.game.ClientGamePacketListener>
     
    net.minecraft.core.BlockPos
    Gets dispenser pos.
    int
    Gets enchantment level.
    net.minecraft.world.item.ItemStack
    Gets rope item.
    float
    Gets rotation.
    @Nullable net.minecraft.world.entity.Entity
    Gets target.
    @Nullable net.minecraft.world.entity.Entity
    Gets thrower.
    boolean
    Has prisoner curse boolean.
    boolean
    Has target boolean.
    boolean
    hurt(@NotNull net.minecraft.world.damagesource.DamageSource source, float amount)
     
    boolean
     
    boolean
    Is returning boolean.
    boolean
    Is shoot by dispenser boolean.
    void
    setChargePower(float chargePower)
    Sets charge power.
    void
    setLevel(int level)
    Sets level.
    void
    setThrower(@NotNull net.minecraft.world.entity.Entity thrower)
    Sets thrower.
    boolean
    shouldRender(double x, double y, double z)
     
    void
    Start thrown.
    void
     

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

    getEffectSource, getOwner, lerpMotion, mayInteract, recreateFromPacket, setOwner, shoot, shootFromRotation

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

    absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addDeltaMovement, addTag, animateHurt, awardKillScore, baseTick, blockPosition, broadcastToPlayer, canBeCollidedWith, canBeHitByProjectile, canChangeDimensions, canCollideWith, canFreeze, canSpawnSprintParticle, canSprint, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, causeFallDamage, changeDimension, changeDimension, checkBelowWorld, checkDespawn, checkSlowFallDistance, chunkPosition, clearFire, closerThan, closerThan, collideBoundingBox, copyPosition, createCommandSourceStack, damageSources, dampensVibrations, discard, dismountsUnderwater, dismountTo, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, fireImmune, gameEvent, gameEvent, getAirSupply, getAllSlots, getArmorSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockStateOn, getBlockX, getBlockY, getBlockZ, getBoundingBox, getBoundingBoxForCulling, getCommandSenderWorld, getControlledVehicle, getControllingPassenger, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDimensions, getDimensionsForge, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFeetBlockState, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getHandHoldingItemAngle, getHandSlots, getId, getIndirectPassengers, getLeashOffset, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxFallDistance, getMaxHeightFluidType, getMotionDirection, getMyRidingOffset, getName, getNameTagOffsetY, getOnPos, getOnPosLegacy, getPassengers, getPassengersAndSelf, getPassengersRidingOffset, getPercentFrozen, getPersistentData, getPickRadius, getPickResult, getPistonPushReaction, getPortalCooldown, getPortalWaitTime, getPose, getPosition, getPositionCodec, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRemovalReason, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSlot, getSoundSource, getStringUUID, getTags, getTeam, getTeamColor, getTicksFrozen, getTicksRequiredToFreeze, getType, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getViewYRot, getVisualRotationYInDegrees, getX, getX, getXRot, getY, getY, getYHeadRot, getYRot, getZ, getZ, handleDamageEvent, handleEntityEvent, handleInsidePortal, hasControllingPassenger, hasCustomName, hasExactlyOnePlayerPassenger, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPermissions, hasPose, ignoreExplosion, interact, interactAt, is, isAddedToWorld, isAlive, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCurrentlyGlowing, isCustomNameVisible, isDescending, isDiscrete, isEffectiveAi, isEyeInFluid, isFree, isFreezing, isFullyFrozen, isIgnoringBlockTriggers, isInFluidType, isInFluidType, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWall, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isNoGravity, isOnFire, isOnPortalCooldown, isOnRails, isPassenger, isPassengerOfSameVehicle, isPushable, isPushedByFluid, isRemoved, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSupportedBy, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, isVisuallySwimming, kill, killedEntity, lavaHurt, lerpHeadTo, lerpTo, level, load, lookAt, makeStuckInBlock, maxUpStep, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, onAboveBubbleCol, onAddedToWorld, onClientRemoval, onGround, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, onSyncedDataUpdated, onSyncedDataUpdated, pick, playerTouch, playSound, playSound, position, positionRider, push, push, refreshDimensions, remove, removeTag, removeVehicle, resetFallDistance, restoreFrom, revive, rideTick, rotate, save, saveAsPassenger, saveWithoutId, sendSystemMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setGlowingTag, setId, setInvisible, setInvulnerable, setIsInPowderSnow, setItemSlot, setLevelCallback, setMaxUpStep, setNoGravity, setOldPosAndRot, setOnGround, setOnGroundWithKnownMovement, setPortalCooldown, setPortalCooldown, setPos, setPos, setPose, setPosRaw, setRemainingFireTicks, setRemoved, setSecondsOnFire, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSprinting, setSwimming, setTicksFrozen, setUUID, setViewScale, setXRot, setYBodyRot, setYHeadRot, setYRot, shouldBeSaved, shouldBlockExplode, shouldInformAdmins, shouldRenderAtSqrDistance, shouldShowName, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, startRiding, startRiding, startSeenByPlayer, stopRiding, stopSeenByPlayer, syncPacketPositionCodec, teleportRelative, teleportTo, teleportTo, teleportToWithTicket, thunderHit, toString, touchingUnloadedChunk, trackingPosition, turn, unRide, updateDynamicGameEventListener, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateSwimming

    从类继承的方法 net.minecraftforge.common.capabilities.CapabilityProvider

    areCapsCompatible, areCapsCompatible, getCapability, invalidateCaps, reviveCaps

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

    getClass, notify, notifyAll, wait, wait, wait

    从接口继承的方法 net.minecraft.commands.CommandSource

    alwaysAccepts

    从接口继承的方法 net.minecraftforge.common.capabilities.ICapabilityProvider

    getCapability, getCapability

    从接口继承的方法 net.minecraftforge.common.extensions.IForgeEntity

    canBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canSwimInFluidType, deserializeNBT, getClassification, getEyeHeightForge, getFluidFallDistanceModifier, getFluidMotionScale, getParts, getPickedResult, getSoundFromFluidType, getStepHeight, hasCustomOutlineRendering, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isMultipartEntity, isPushedByFluid, serializeNBT, shouldRiderSit, shouldUpdateFluidWhileBoating
  • 字段详细资料

    • pickup

      public net.minecraft.world.entity.projectile.AbstractArrow.Pickup pickup
      The Pickup.
  • 构造器详细资料

    • SuperLeashRopeEntity

      public SuperLeashRopeEntity(net.minecraft.world.entity.EntityType<? extends net.minecraft.world.entity.projectile.Projectile> entityType, net.minecraft.world.level.Level level)
      Instantiates a new Super leash rope entity.
      参数:
      entityType - the entity type
      level - the level
    • SuperLeashRopeEntity

      public SuperLeashRopeEntity(net.minecraft.world.level.Level level, net.minecraft.world.entity.LivingEntity thrower, @NotNull @NotNull net.minecraft.world.item.ItemStack itemStack)
      Instantiates a new Super leash rope entity.
      参数:
      level - the level
      thrower - the thrower
      itemStack - the item stack
    • SuperLeashRopeEntity

      public SuperLeashRopeEntity(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos dispenserPos, @NotNull @NotNull net.minecraft.world.item.ItemStack itemStack)
      Instantiates a new Super leash rope entity.
      参数:
      level - the level
      dispenserPos - the dispenser pos
      itemStack - the item stack
  • 方法详细资料

    • getRopeItem

      public net.minecraft.world.item.ItemStack getRopeItem()
      Gets rope item.
      返回:
      the rope item
    • setLevel

      public void setLevel(int level)
      Sets level.
      参数:
      level - the level
    • hasPrisonerCurse

      public boolean hasPrisonerCurse()
      Has prisoner curse boolean.
      返回:
      the boolean
    • isShootByDispenser

      public boolean isShootByDispenser()
      Is shoot by dispenser boolean.
      返回:
      the boolean
    • getDispenserPos

      public net.minecraft.core.BlockPos getDispenserPos()
      Gets dispenser pos.
      返回:
      the dispenser pos
    • getEnchantmentLevel

      public int getEnchantmentLevel()
      Gets enchantment level.
      返回:
      the enchantment level
    • setChargePower

      public void setChargePower(float chargePower)
      Sets charge power.
      参数:
      chargePower - the charge power
    • hasTarget

      public boolean hasTarget()
      Has target boolean.
      返回:
      the boolean
    • isReturning

      public boolean isReturning()
      Is returning boolean.
      返回:
      the boolean
    • getRotation

      public float getRotation()
      Gets rotation.
      返回:
      the rotation
    • startThrown

      public void startThrown()
      Start thrown.
    • getThrower

      @Nullable public @Nullable net.minecraft.world.entity.Entity getThrower()
      Gets thrower.
      返回:
      the thrower
    • setThrower

      public void setThrower(@NotNull @NotNull net.minecraft.world.entity.Entity thrower)
      Sets thrower.
      参数:
      thrower - the thrower
    • tick

      public void tick()
      覆盖:
      tick 在类中 net.minecraft.world.entity.projectile.Projectile
    • getTarget

      @Nullable public @Nullable net.minecraft.world.entity.Entity getTarget()
      Gets target.
      返回:
      the target
    • hurt

      public boolean hurt(@NotNull @NotNull net.minecraft.world.damagesource.DamageSource source, float amount)
      覆盖:
      hurt 在类中 net.minecraft.world.entity.Entity
    • isPickable

      public boolean isPickable()
      覆盖:
      isPickable 在类中 net.minecraft.world.entity.Entity
    • shouldRender

      public boolean shouldRender(double x, double y, double z)
      覆盖:
      shouldRender 在类中 net.minecraft.world.entity.Entity
    • getAddEntityPacket

      @NotNull public @NotNull net.minecraft.network.protocol.Packet<net.minecraft.network.protocol.game.ClientGamePacketListener> getAddEntityPacket()
      覆盖:
      getAddEntityPacket 在类中 net.minecraft.world.entity.projectile.Projectile