public class EntityTrident extends EntityArrow
EntityArrow.PickupStatus
Modifier and Type | Field and Description |
---|---|
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, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isImmuneToFire, isInWeb, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, LOGGER, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, submergedHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, world
Constructor and Description |
---|
EntityTrident(World p_i48789_1_) |
EntityTrident(World p_i48791_1_,
double p_i48791_2_,
double p_i48791_4_,
double p_i48791_6_) |
EntityTrident(World p_i48790_1_,
EntityLivingBase p_i48790_2_,
ItemStack p_i48790_3_) |
Modifier and Type | Method and Description |
---|---|
protected Entity |
findEntityOnPath(Vec3d start,
Vec3d end) |
protected ItemStack |
getArrowStack() |
protected SoundEvent |
getHitGroundSound() |
protected float |
getWaterDrag() |
boolean |
isInRangeToRender3d(double x,
double y,
double z) |
void |
onCollideWithPlayer(EntityPlayer entityIn) |
protected void |
onHitEntity(RayTraceResult p_203046_1_) |
void |
readAdditional(NBTTagCompound compound) |
protected void |
registerData() |
void |
tick() |
protected void |
tryDespawn() |
void |
writeAdditional(NBTTagCompound compound) |
arrowHit, canBeAttackedWithItem, canTriggerWalking, func_203045_n, func_203047_q, func_212360_k, func_212361_a, getDamage, getEyeHeight, getIsCritical, isInRangeToRenderDist, move, onHit, setDamage, setEnchantmentEffectsFromEntity, setIsCritical, setKnockbackStrength, setPositionAndRotationDirect, setVelocity, shoot, shoot
addPassenger, addTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, applyEntityCollision, applyOrientationToEntity, applyPlayerInteraction, areEyesInFluid, attackEntityFrom, awardKillScore, baseTick, canBeCollidedWith, canBePushed, canBeRidden, canBeRiddenInWater, canExplosionDestroyBlock, canFitPassenger, canPassengerSteer, canRenderOnFire, canSwim, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, determineNextStepDistance, doBlockCollisions, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fall, fillCrashReport, func_212321_a, getAdjustedHorizontalFacing, getAir, getAlwaysRenderNameTagForRender, getArmorInventoryList, getBoundingBox, getBrightness, getBrightnessForRender, getCachedUniqueIdString, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSource, getControllingPassenger, getCustomName, getDataManager, getDisplayName, getDistance, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getEntityData, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyePosition, getFireImmuneTicks, getFlag, getForward, getHeldEquipment, getHighspeedSplashSound, getHorizontalFacing, getHoverEvent, getLastPortalVec, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxFallHeight, getMaxInPortalTime, getMirroredYaw, getMountedYOffset, getName, getParts, getPassengers, getPermissionLevel, getPitch, getPitchYaw, getPortalCooldown, getPosition, getPositionVector, getPushReaction, getRecursivePassengers, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getRotationYawHead, getScoreboardName, getServer, getSoundCategory, getSplashSound, getSubmergedHeight, getSwimSound, getTags, getTeam, getTeleportDirection, getType, getUniqueID, getVectorForRotation, getYaw, getYOffset, handleFluidAcceleration, 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, isOutsideBorder, isPassenger, isPassenger, isPassenger, isPushedByWater, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSprinting, isSwimming, isWet, lookAt, makeFlySound, markVelocityChanged, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, notifyDataManagerChange, onAddedToWorld, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onInsideBlock, onKillCommand, onKillEntity, onRemovedFromWorld, onStruckByLightning, outOfWorld, performHurtAnimation, playFlySound, playSound, playStepSound, playSwimSound, preparePlayerToSpawn, processInitialInteract, pushOutOfBlocks, rayTrace, read, remove, remove, removePassenger, removePassengers, removeTag, removeTrackingPlayer, replaceItemInInventory, resetPositionToBB, revive, rotateTowards, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setDropItemsWhenDead, setEntityId, setFire, setFlag, setGlowing, setHeadRotation, setInvisible, setInvulnerable, setInWeb, setItemStackToSlot, setLocationAndAngles, setNoGravity, setOnFireFromLava, setOutsideBorder, setPortal, setPosition, setPositionAndRotation, setPositionAndUpdate, setPositionNonDirty, setRenderDistanceWeight, setRenderYawOffset, setRotation, setRotationYawHead, setSilent, setSize, setSneaking, setSprinting, setSwimming, setUniqueId, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, startRiding, stopRiding, toString, updateFallState, updatePassenger, updateRidden, updateSwimming, writeUnlessPassenger, writeUnlessRemoved, writeWithoutTypeId
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
canBeRiddenInWater, canRiderInteract, deserializeNBT, getEntity, getPickedResult, isCreatureType, serializeNBT, shouldRenderInPass, shouldRiderSit
getCapability, getCapability
public EntityTrident(World p_i48789_1_)
public EntityTrident(World p_i48790_1_, EntityLivingBase p_i48790_2_, ItemStack p_i48790_3_)
public EntityTrident(World p_i48791_1_, double p_i48791_2_, double p_i48791_4_, double p_i48791_6_)
protected void registerData()
registerData
in class EntityArrow
public void tick()
tick
in class EntityArrow
protected ItemStack getArrowStack()
getArrowStack
in class EntityArrow
@Nullable protected Entity findEntityOnPath(Vec3d start, Vec3d end)
findEntityOnPath
in class EntityArrow
protected void onHitEntity(RayTraceResult p_203046_1_)
onHitEntity
in class EntityArrow
protected SoundEvent getHitGroundSound()
getHitGroundSound
in class EntityArrow
public void onCollideWithPlayer(EntityPlayer entityIn)
onCollideWithPlayer
in class EntityArrow
public void readAdditional(NBTTagCompound compound)
readAdditional
in class EntityArrow
public void writeAdditional(NBTTagCompound compound)
writeAdditional
in class EntityArrow
protected void tryDespawn()
tryDespawn
in class EntityArrow
protected float getWaterDrag()
getWaterDrag
in class EntityArrow
public boolean isInRangeToRender3d(double x, double y, double z)
isInRangeToRender3d
in class Entity