public class TridentEntity extends AbstractArrowEntity
AbstractArrowEntity.PickupStatus| Modifier and Type | Field and Description |
|---|---|
int |
returningTicks |
arrowShake, field_212362_a, inGround, pickupStatus, shootingEntity, timeInGroundaddedToChunk, 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, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, submergedHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, worldfield_213139_a_| Constructor and Description |
|---|
TridentEntity(EntityType<? extends TridentEntity> p_i50148_1_,
World p_i50148_2_) |
TridentEntity(World p_i48791_1_,
double p_i48791_2_,
double p_i48791_4_,
double p_i48791_6_) |
TridentEntity(World p_i48790_1_,
LivingEntity p_i48790_2_,
ItemStack p_i48790_3_) |
| Modifier and Type | Method and Description |
|---|---|
protected EntityRayTraceResult |
func_213866_a(Vec3d p_213866_1_,
Vec3d p_213866_2_) |
protected SoundEvent |
func_213867_k() |
protected void |
func_213868_a(EntityRayTraceResult p_213868_1_) |
protected ItemStack |
getArrowStack() |
protected float |
getWaterDrag() |
boolean |
isInRangeToRender3d(double x,
double y,
double z) |
void |
onCollideWithPlayer(PlayerEntity entityIn) |
void |
readAdditional(CompoundNBT compound) |
protected void |
registerData() |
void |
tick() |
protected void |
tryDespawn() |
void |
writeAdditional(CompoundNBT compound) |
arrowHit, canBeAttackedWithItem, canTriggerWalking, createSpawnPacket, func_203045_n, func_203047_q, func_213865_o, func_213872_b, func_213873_r, func_213874_s, getDamage, getEyeHeight, getHitGroundSound, getIsCritical, getShooter, isInRangeToRenderDist, onHit, setDamage, setEnchantmentEffectsFromEntity, setHitSound, setIsCritical, setKnockbackStrength, setPositionAndRotationDirect, setShooter, setVelocity, shoot, shootaddPassenger, addTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, applyEntityCollision, applyOrientationToEntity, applyPlayerInteraction, areEyesInFluid, areEyesInFluid, attackEntityFrom, awardKillScore, baseTick, canBeCollidedWith, canBePushed, canBeRidden, canBeRiddenInWater, canExplosionDestroyBlock, canFitPassenger, canPassengerSteer, canRenderOnFire, canSwim, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, detach, determineNextStepDistance, doBlockCollisions, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fall, fillCrashReport, func_213286_i, func_213296_b, func_213300_bk, func_213312_b, func_213314_bj, func_213320_d, func_213324_a, func_223307_a, func_223308_g, func_223310_a, func_223314_ad, getAbsoluteMotion, getAdjustedHorizontalFacing, getAir, getAllowedMovement, getAlwaysRenderNameTagForRender, getArmorInventoryList, getBoundingBox, getBoundingBox, getBrightness, getBrightnessForRender, getCachedUniqueIdString, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSource, getControllingPassenger, getCustomName, getDataManager, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getEyeHeight, getEyePosition, getFireImmuneTicks, getFlag, getForward, getHeight, getHeldEquipment, getHighspeedSplashSound, getHorizontalFacing, getHoverEvent, getLastPortalVec, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxFallHeight, getMaxInPortalTime, getMirroredYaw, getMotion, getMountedYOffset, getName, getPassengers, getPermissionLevel, getPersistentData, getPitch, getPitchYaw, getPortalCooldown, getPose, getPosition, getPositionVec, getPositionVector, getPushReaction, getRecursivePassengers, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getRotationYawHead, getScoreboardName, getServer, getSize, getSoundCategory, getSplashSound, getSubmergedHeight, getSwimSound, getTags, getTeam, getTeleportDirection, getType, getUniqueID, getVectorForRotation, getWidth, getYaw, getYOffset, handleFluidAcceleration, handlePistonMovement, handleSneakMovement, handleStatusUpdate, handleWaterMovement, hasCustomName, hashCode, hasNoGravity, hasPermissionLevel, hitByEntity, ignoreItemEntityData, isAddedToWorld, isAlive, isBeingRidden, isBurning, isCustomNameVisible, 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, isSilent, isSneaking, isSpectatedByPlayer, isSpectator, isSprinting, isSwimming, isWet, lookAt, makeFlySound, markVelocityChanged, move, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, notifyDataManagerChange, onAddedToWorld, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onInsideBlock, onKillCommand, onKillEntity, onRemovedFromWorld, onStruckByLightning, outOfWorld, performHurtAnimation, playFlySound, playSound, playStepSound, playSwimSound, preparePlayerToSpawn, processInitialInteract, pushOutOfBlocks, read, recalculateSize, remove, remove, removePassenger, removePassengers, removeTag, removeTrackingPlayer, replaceItemInInventory, resetPositionToBB, revive, rotateTowards, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFire, setFlag, setGlowing, setHeadRotation, setInLava, setInvisible, setInvulnerable, setItemStackToSlot, setLocationAndAngles, setMotion, setMotion, setMotionMultiplier, setNoGravity, setOnFireFromLava, setPortal, setPose, setPosition, setPositionAndRotation, setPositionAndUpdate, setPositionNonDirty, setRenderDistanceWeight, setRenderYawOffset, setRotation, setRotationYawHead, setSilent, setSneaking, setSprinting, setSwimming, setUniqueId, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldRenderSneaking, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, startRiding, stopRiding, teleportKeepLoaded, toString, updateFallState, updatePassenger, updatePortal, updateRidden, updateSwimming, writeUnlessPassenger, writeUnlessRemoved, writeWithoutTypeIdareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanBeRiddenInWater, canRiderInteract, deserializeNBT, getClassification, getEntity, getPickedResult, serializeNBT, shouldRiderSitgetCapability, getCapabilitypublic TridentEntity(EntityType<? extends TridentEntity> p_i50148_1_, World p_i50148_2_)
public TridentEntity(World p_i48790_1_, LivingEntity p_i48790_2_, ItemStack p_i48790_3_)
public TridentEntity(World p_i48791_1_, double p_i48791_2_, double p_i48791_4_, double p_i48791_6_)
protected void registerData()
registerData in class AbstractArrowEntitypublic void tick()
tick in class AbstractArrowEntityprotected ItemStack getArrowStack()
getArrowStack in class AbstractArrowEntity@Nullable protected EntityRayTraceResult func_213866_a(Vec3d p_213866_1_, Vec3d p_213866_2_)
func_213866_a in class AbstractArrowEntityprotected void func_213868_a(EntityRayTraceResult p_213868_1_)
func_213868_a in class AbstractArrowEntityprotected SoundEvent func_213867_k()
func_213867_k in class AbstractArrowEntitypublic void onCollideWithPlayer(PlayerEntity entityIn)
onCollideWithPlayer in class AbstractArrowEntitypublic void readAdditional(CompoundNBT compound)
readAdditional in class AbstractArrowEntitypublic void writeAdditional(CompoundNBT compound)
writeAdditional in class AbstractArrowEntityprotected void tryDespawn()
tryDespawn in class AbstractArrowEntityprotected float getWaterDrag()
getWaterDrag in class AbstractArrowEntitypublic boolean isInRangeToRender3d(double x,
double y,
double z)
isInRangeToRender3d in class Entity