类 SuperLeashKnotEntity
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.entity.Entity>
net.minecraft.world.entity.Entity
net.minecraft.world.entity.decoration.HangingEntity
net.minecraft.world.entity.decoration.LeashFenceKnotEntity
top.r3944realms.superleadrope.content.entity.SuperLeashKnotEntity
- 所有已实现的接口:
net.minecraft.commands.CommandSource,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 SuperLeashKnotEntity
extends net.minecraft.world.entity.decoration.LeashFenceKnotEntity
The type Super leash knot entity.
-
嵌套类概要
从类继承的嵌套类/接口 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.decoration.LeashFenceKnotEntity
OFFSET_Y从类继承的字段 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 -
构造器概要
构造器构造器说明SuperLeashKnotEntity(net.minecraft.world.entity.EntityType<? extends SuperLeashKnotEntity> pEntityType, net.minecraft.world.level.Level pLevel) Instantiates a new Super leash knot entity.SuperLeashKnotEntity(net.minecraft.world.level.Level pLevel, net.minecraft.core.BlockPos pPos) Instantiates a new Super leash knot entity. -
方法概要
修饰符和类型方法说明static @NotNull SuperLeashKnotEntitycreateKnot(@NotNull net.minecraft.world.level.Level pLevel, @NotNull net.minecraft.core.BlockPos pPos, boolean isEmpty) 创建拴绳结,请不用直接调用这个,除非你知道自己在干上面static @NotNull Optional<SuperLeashKnotEntity>get(@NotNull net.minecraft.world.level.Level level, @NotNull net.minecraft.core.BlockPos pos) Get optional.static @NotNull SuperLeashKnotEntitygetOrCreateKnot(@NotNull net.minecraft.world.level.Level pLevel, @NotNull net.minecraft.core.BlockPos pPos) Gets or create knot.net.minecraft.world.item.ItemStackbooleanhurt(@NotNull net.minecraft.world.damagesource.DamageSource source, float amount) @NotNull net.minecraft.world.InteractionResultinteract(@NotNull net.minecraft.world.entity.player.Player player, @NotNull net.minecraft.world.InteractionHand hand) static booleanisSupportBlock(net.minecraft.world.level.block.state.BlockState state) Is support block boolean.booleansurvives()从类继承的方法 net.minecraft.world.entity.decoration.LeashFenceKnotEntity
addAdditionalSaveData, dropItem, getAddEntityPacket, getHeight, getRopeHoldPosition, getWidth, playPlacementSound, readAdditionalSaveData, setDirection, shouldRenderAtSqrDistance从类继承的方法 net.minecraft.world.entity.decoration.HangingEntity
getDirection, getPos, isPickable, mirror, move, push, refreshDimensions, rotate, setPos, skipAttackInteraction, spawnAtLocation, thunderHit, tick从类继承的方法 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, 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, getPistonPushReaction, getPortalCooldown, getPortalWaitTime, getPose, getPosition, getPositionCodec, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRemovalReason, getRootVehicle, 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, 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, lerpMotion, lerpTo, level, load, lookAt, makeStuckInBlock, maxUpStep, mayInteract, moveRelative, moveTo, moveTo, moveTo, moveTo, onAboveBubbleCol, onAddedToWorld, onClientRemoval, onGround, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, onSyncedDataUpdated, onSyncedDataUpdated, pick, playerTouch, playSound, playSound, position, positionRider, push, recreateFromPacket, remove, removeTag, removeVehicle, resetFallDistance, restoreFrom, revive, rideTick, 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, setPose, setPosRaw, setRemainingFireTicks, setRemoved, setSecondsOnFire, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSprinting, setSwimming, setTicksFrozen, setUUID, setViewScale, setXRot, setYBodyRot, setYHeadRot, setYRot, shouldBeSaved, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldShowName, showVehicleHealth, spawnAtLocation, spawnAtLocation, spawnAtLocation, startRiding, startRiding, startSeenByPlayer, stopRiding, stopSeenByPlayer, syncPacketPositionCodec, teleportRelative, teleportTo, teleportTo, teleportToWithTicket, toString, touchingUnloadedChunk, trackingPosition, turn, unRide, updateDynamicGameEventListener, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateSwimming从类继承的方法 net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, getCapability, invalidateCaps, reviveCaps从接口继承的方法 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
-
构造器详细资料
-
SuperLeashKnotEntity
public SuperLeashKnotEntity(net.minecraft.world.entity.EntityType<? extends SuperLeashKnotEntity> pEntityType, net.minecraft.world.level.Level pLevel) Instantiates a new Super leash knot entity.- 参数:
pEntityType- the p entity typepLevel- the p level
-
SuperLeashKnotEntity
public SuperLeashKnotEntity(net.minecraft.world.level.Level pLevel, net.minecraft.core.BlockPos pPos) Instantiates a new Super leash knot entity.- 参数:
pLevel- the p levelpPos- the p pos
-
-
方法详细资料
-
hurt
public boolean hurt(@NotNull @NotNull net.minecraft.world.damagesource.DamageSource source, float amount) - 覆盖:
hurt在类中net.minecraft.world.entity.decoration.HangingEntity
-
survives
public boolean survives()- 覆盖:
survives在类中net.minecraft.world.entity.decoration.LeashFenceKnotEntity
-
getOrCreateKnot
@NotNull public static @NotNull SuperLeashKnotEntity getOrCreateKnot(@NotNull @NotNull net.minecraft.world.level.Level pLevel, @NotNull @NotNull net.minecraft.core.BlockPos pPos) Gets or create knot.- 参数:
pLevel- the p levelpPos- the p pos- 返回:
- the or create knot
-
get
@NotNull public static @NotNull Optional<SuperLeashKnotEntity> get(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.core.BlockPos pos) Get optional.- 参数:
level- the levelpos- the pos- 返回:
- the optional
-
createKnot
@NotNull public static @NotNull SuperLeashKnotEntity createKnot(@NotNull @NotNull net.minecraft.world.level.Level pLevel, @NotNull @NotNull net.minecraft.core.BlockPos pPos, boolean isEmpty) 创建拴绳结,请不用直接调用这个,除非你知道自己在干上面- 参数:
pLevel- the p levelpPos- the p posisEmpty- the is empty- 返回:
- 拴绳结 super leash knot entity
-
isSupportBlock
public static boolean isSupportBlock(net.minecraft.world.level.block.state.BlockState state) Is support block boolean.- 参数:
state- the state- 返回:
- the boolean
-
interact
@NotNull public @NotNull net.minecraft.world.InteractionResult interact(@NotNull @NotNull net.minecraft.world.entity.player.Player player, @NotNull @NotNull net.minecraft.world.InteractionHand hand) - 覆盖:
interact在类中net.minecraft.world.entity.decoration.LeashFenceKnotEntity
-
getPickResult
public net.minecraft.world.item.ItemStack getPickResult()- 覆盖:
getPickResult在类中net.minecraft.world.entity.decoration.LeashFenceKnotEntity
-