public class TridentEntity extends AbstractArrowEntity
AbstractArrowEntity.PickupStatus
Entity.IMoveCallback
修飾子とタイプ | フィールドと説明 |
---|---|
int |
returningTicks |
arrowShake, field_212362_a, inGround, pickupStatus, shootingEntity, timeInGround
addedToChunk, cachedUniqueIdString, chunkCoordX, chunkCoordY, chunkCoordZ, collided, collidedHorizontally, collidedVertically, dataManager, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, eyesInWater, fallDistance, firstUpdate, FLAGS, forceSpawn, glowing, hurtResistantTime, ignoreFrustumCheck, inLava, inPortal, inWater, isAirBorne, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, LOGGER, motionMultiplier, noClip, onGround, portalCounter, POSE, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, submergedHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, world
DUMMY
コンストラクタと説明 |
---|
TridentEntity(EntityType<? extends TridentEntity> type,
World worldIn) |
TridentEntity(World worldIn,
double x,
double y,
double z) |
TridentEntity(World worldIn,
LivingEntity thrower,
ItemStack thrownStackIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
func_225516_i_() |
boolean |
func_226572_w_() |
protected ItemStack |
getArrowStack() |
protected SoundEvent |
getHitEntitySound()
The sound made when an entity is hit by this projectile
|
protected float |
getWaterDrag() |
boolean |
isInRangeToRender3d(double x,
double y,
double z) |
void |
onCollideWithPlayer(PlayerEntity entityIn)
Called by a player entity when they collide with an entity
|
protected void |
onEntityHit(EntityRayTraceResult p_213868_1_)
Called when the arrow hits an entity
|
protected EntityRayTraceResult |
rayTraceEntities(Vec3d startVec,
Vec3d endVec)
Gets the EntityRayTraceResult representing the entity hit
|
void |
readAdditional(CompoundNBT compound)
(abstract) Protected helper method to read subclass entity data from NBT.
|
protected void |
registerData() |
void |
tick()
Called to update the entity's position/logic.
|
void |
writeAdditional(CompoundNBT compound) |
arrowHit, canBeAttackedWithItem, canTriggerWalking, createSpawnPacket, getDamage, getEyeHeight, getHitGroundSound, getIsCritical, getNoClip, getPierceLevel, getShooter, getShotFromCrossbow, isInRangeToRenderDist, onHit, setDamage, setEnchantmentEffectsFromEntity, setHitSound, setIsCritical, setKnockbackStrength, setNoClip, setPierceLevel, setPositionAndRotationDirect, setShooter, setShotFromCrossbow, setVelocity, shoot, shoot
addPassenger, addTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, applyEntityCollision, applyOrientationToEntity, applyPlayerInteraction, areEyesInFluid, areEyesInFluid, attackEntityFrom, awardKillScore, baseTick, calculateUpVector, canBeCollidedWith, canBePushed, canBeRidden, canBeRiddenInWater, canExplosionDestroyBlock, canFitPassenger, canPassengerSteer, canRenderOnFire, canSwim, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkDespawn, collideBoundingBox, collideBoundingBoxHeuristically, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, detach, determineNextStepDistance, doBlockCollisions, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fillCrashReport, forceSetPosition, func_225513_by_, func_225514_a_, func_226265_a_, func_226266_a_, func_226276_cg_, getAdjustedHorizontalFacing, getAir, getAllowedMovement, getAlwaysRenderNameTagForRender, getArmorInventoryList, getBoundingBox, getBoundingBox, getBrightness, getCachedUniqueIdString, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSource, getControllingPassenger, getCustomName, getDataManager, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getEyeHeight, getEyePosition, getFireImmuneTicks, getFireTimer, getFlag, getForward, getHeight, getHeldEquipment, getHighspeedSplashSound, getHorizontalFacing, getHoverEvent, getJumpFactor, getLastPortalVec, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxFallHeight, getMaxInPortalTime, getMirroredYaw, getMotion, getMountedYOffset, getName, getOnPosition, getPassengers, getPermissionLevel, getPersistentData, getPitch, getPitchYaw, getPortalCooldown, getPose, getPosition, getPositionUnderneath, getPositionVec, getPositionVector, getPosX, getPosXRandom, getPosXWidth, getPosY, getPosYEye, getPosYHeight, getPosYRandom, getPosZ, getPosZRandom, getPosZWidth, getPushReaction, getRecursivePassengers, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getRotationYawHead, getScoreboardName, getServer, getSize, getSoundCategory, getSpeedFactor, getSplashSound, getSubmergedHeight, getSwimSound, getTags, getTeam, getTeamColor, getTeleportDirection, getType, getUniqueID, getUpVector, getVectorForRotation, getWidth, getYaw, getYOffset, handleFluidAcceleration, handlePistonMovement, handleStatusUpdate, handleWaterMovement, hasCustomName, hashCode, hasNoGravity, hasPermissionLevel, hitByEntity, horizontalMag, ignoreItemEntityData, isActualySwimming, isAddedToWorld, isAlive, isBeingRidden, isBurning, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEntityEqual, isEntityInsideOpaqueBlock, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInvisible, isInvisibleToPlayer, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubbleColumn, isInWaterRainOrBubbleColumn, isLiving, isNonBoss, isOffsetPositionInLiquid, isOnePlayerRiding, isOnSameTeam, isOnScoreboardTeam, isPassenger, isPassenger, isPassenger, isPoseClear, isPushedByWater, isRidingOrBeingRiddenBy, isRidingSameEntity, isShiftKeyDown, isSilent, isSpectatedByPlayer, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isVisuallySwimming, isWet, lookAt, makeFlySound, markVelocityChanged, move, moveForced, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, notifyDataManagerChange, onAddedToWorld, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onInsideBlock, onKillCommand, onKillEntity, onLivingFall, onRemovedFromWorld, onStruckByLightning, outOfWorld, performHurtAnimation, pick, playFlySound, playSound, playStepSound, playSwimSound, preparePlayerToSpawn, processInitialInteract, pushOutOfBlocks, read, recalculateSize, recenterBoundingBox, remove, remove, removePassenger, removePassengers, removeTag, removeTrackingPlayer, replaceItemInInventory, resetPositionToBB, revive, rotateTowards, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFire, setFireTimer, setFlag, setGlowing, setHeadRotation, setInLava, setInvisible, setInvulnerable, setItemStackToSlot, setLocationAndAngles, setMotion, setMotion, setMotionMultiplier, setNoGravity, setOnFireFromLava, setPacketCoordinates, setPortal, setPose, setPosition, setPositionAndRotation, setPositionAndUpdate, setPositionNonDirty, setRawPosition, setRenderDistanceWeight, setRenderYawOffset, setRotation, setRotationYawHead, setSilent, setSneaking, setSprinting, setSwimming, setUniqueId, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, startRiding, stopRiding, teleportKeepLoaded, toString, updateFallState, updatePassenger, updatePortal, updateRidden, updateSwimming, writeUnlessPassenger, writeUnlessRemoved, writeWithoutTypeId
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
canBeRiddenInWater, canRiderInteract, deserializeNBT, getClassification, getEntity, getPickedResult, serializeNBT, shouldRiderSit
getCapability, getCapability
public TridentEntity(EntityType<? extends TridentEntity> type, World worldIn)
public TridentEntity(World worldIn, LivingEntity thrower, ItemStack thrownStackIn)
public TridentEntity(World worldIn, double x, double y, double z)
protected void registerData()
registerData
クラス内 AbstractArrowEntity
public void tick()
tick
クラス内 AbstractArrowEntity
protected ItemStack getArrowStack()
getArrowStack
クラス内 AbstractArrowEntity
public boolean func_226572_w_()
@Nullable protected EntityRayTraceResult rayTraceEntities(Vec3d startVec, Vec3d endVec)
rayTraceEntities
クラス内 AbstractArrowEntity
protected void onEntityHit(EntityRayTraceResult p_213868_1_)
onEntityHit
クラス内 AbstractArrowEntity
protected SoundEvent getHitEntitySound()
getHitEntitySound
クラス内 AbstractArrowEntity
public void onCollideWithPlayer(PlayerEntity entityIn)
onCollideWithPlayer
クラス内 AbstractArrowEntity
public void readAdditional(CompoundNBT compound)
readAdditional
クラス内 AbstractArrowEntity
public void writeAdditional(CompoundNBT compound)
writeAdditional
クラス内 AbstractArrowEntity
public void func_225516_i_()
func_225516_i_
クラス内 AbstractArrowEntity
protected float getWaterDrag()
getWaterDrag
クラス内 AbstractArrowEntity
public boolean isInRangeToRender3d(double x, double y, double z)
isInRangeToRender3d
クラス内 Entity