public class HelicopterEntity extends CarEntity
CarEntity.Seat, CarEntity.Speed, CarEntity.WheelData| Modifier and Type | Field and Description |
|---|---|
float |
gearLift |
InterpValue |
interpRotationPitch |
InterpValue |
interpRotationRoll |
boolean |
isFlying |
double |
rotAmount |
float |
rotationAmount |
float |
rotorRotationAmount |
boolean |
shouldGearLift |
float |
sideRotationAmount |
allWheels, backLeftWheel, backRightWheel, backValue, estimatedSpeed, frontLeftWheel, frontRightWheel, frontValue, interpProgress, interpTargetY, interpTargetYaw, interpTargetZ, leftValue, MAX_HEALTH, prevWheelRotateAmount, RECORD_ITEM, rightValue, rotationDelta, seats, sound, speedModifier, steerAmount, wasOnGroundLastTick, WATCHER_HEALTH, WATCHER_SPEED, WATCHER_STATE, wheeldata, wheelDataList, wheelRotateAmount, wheelRotationaddedToChunk, cachedUniqueIdString, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, collided, collidedHorizontally, collidedVertically, dataManager, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, fallDistance, firstUpdate, FLAGS, forceSpawn, glowing, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isDead, isImmuneToFire, isInWeb, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, updateBlocked, velocityChanged, width, world| Constructor and Description |
|---|
HelicopterEntity(net.minecraft.world.World worldIn) |
| Modifier and Type | Method and Description |
|---|---|
protected CarEntity.Seat[] |
createSeats() |
protected CarEntity.WheelData |
createWheels() |
protected void |
doBlockCollisions() |
void |
dropItems() |
net.minecraft.util.EnumFacing |
getAdjustedHorizontalFacing() |
float |
getCollisionBorderSize() |
static net.minecraft.entity.Entity |
getEntity() |
float |
getSoundVolume() |
void |
onEntityUpdate() |
void |
onUpdate() |
protected void |
readEntityFromNBT(net.minecraft.nbt.NBTTagCompound compound) |
protected void |
removePassenger(net.minecraft.entity.Entity passenger) |
protected boolean |
shouldStopUpdates() |
protected boolean |
shouldTyresRender() |
void |
updatePassenger(net.minecraft.entity.Entity passenger) |
protected void |
writeEntityToNBT(net.minecraft.nbt.NBTTagCompound compound) |
addPassenger, applyMovement, attackEntityFrom, backward, backward, calculateWheelHeight, canBeCollidedWith, canFitPassenger, canRunoverEntity, canTriggerWalking, createWheelParticles, createWheelParticles, entityInit, forward, forward, getBackWheelRotationPoint, getCarDimensions, getControllingPassenger, getControlState, getEntityInSeat, getHealth, getItem, getSeat, getSeatForEntity, getSpeed, handleControl, isInRangeToRenderDist, left, left, processInitialInteract, processWheel, right, right, runOverEntity, setControlState, setDead, setHealth, setPositionAndRotationDirect, setSpeed, tryPutInSeataddEntityCrashInfo, addTag, addTrackingPlayer, addVelocity, applyEnchantments, applyEntityCollision, applyOrientationToEntity, applyPlayerInteraction, awardKillScore, canBeAttackedWithItem, canBePushed, canBeRidden, canExplosionDestroyBlock, canPassengerSteer, canRenderOnFire, canRiderInteract, canTrample, canUseCommand, changeDimension, changeDimension, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, deserializeNBT, dismountRidingEntity, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, getAir, getAlwaysRenderNameTag, getAlwaysRenderNameTagForRender, getArmorInventoryList, getBrightness, getBrightnessForRender, getCachedUniqueIdString, getCapability, getCollisionBoundingBox, getCollisionBox, getCommandSenderEntity, getCommandStats, getCustomNameTag, getDataManager, getDisplayName, getDistance, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getEntityBoundingBox, getEntityData, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getFireImmuneTicks, getFlag, getForward, getHeldEquipment, getHorizontalFacing, getHoverEvent, getIsInvulnerable, getLastPortalVec, getLook, getLookVec, getLowestRidingEntity, getMaxFallHeight, getMaxInPortalTime, getMirroredYaw, getMountedYOffset, getName, getParts, getPassengers, getPersistentID, getPickedResult, getPitchYaw, getPortalCooldown, getPosition, getPositionEyes, getPositionVector, getPushReaction, getRecursivePassengers, getRecursivePassengersByType, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getRotationYawHead, getServer, getSoundCategory, getSplashSound, getSwimSound, getTags, getTeam, getTeleportDirection, getUniqueID, getVectorForRotation, getYOffset, handleStatusUpdate, handleWaterMovement, hasCapability, hasCustomName, hashCode, hasNoGravity, hitByEntity, ignoreItemEntityData, isBeingRidden, isBurning, isCreatureType, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isNonBoss, isOffsetPositionInLiquid, isOnSameTeam, isOnScoreboardTeam, isOutsideBorder, isOverWater, isPassenger, isPushedByWater, isRiding, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSprinting, isWet, makeFlySound, markVelocityChanged, move, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, notifyDataManagerChange, onCollideWithPlayer, onInsideBlock, onKillCommand, onKillEntity, onStruckByLightning, outOfWorld, performHurtAnimation, playFlySound, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, rayTrace, readFromNBT, registerFixes, removePassengers, removeTag, removeTrackingPlayer, replaceItemInInventory, resetEntityId, resetPositionToBB, sendCommandFeedback, sendMessage, serializeNBT, setAir, setAlwaysRenderNameTag, setCommandStat, setCommandStats, setCustomNameTag, setDropItemsWhenDead, setEntityBoundingBox, setEntityId, setEntityInvulnerable, setFire, setFlag, setGlowing, setInvisible, setInWeb, setItemStackToSlot, setLocationAndAngles, setNoGravity, setOnFireFromLava, setOutsideBorder, setPortal, setPosition, setPositionAndRotation, setPositionAndUpdate, setPositionNonDirty, setRenderDistanceWeight, setRenderYawOffset, setRotation, setRotationYawHead, setSilent, setSize, setSneaking, setSprinting, setUniqueId, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, startRiding, toString, turn, updateFallState, updateRidden, writeToNBT, writeToNBTAtomically, writeToNBTOptionalpublic float gearLift
public boolean shouldGearLift
public boolean isFlying
public float rotorRotationAmount
public final InterpValue interpRotationPitch
public final InterpValue interpRotationRoll
public float rotationAmount
public float sideRotationAmount
public double rotAmount
protected CarEntity.Seat[] createSeats()
createSeats in class CarEntityprotected boolean shouldStopUpdates()
shouldStopUpdates in class CarEntityprotected void doBlockCollisions()
doBlockCollisions in class net.minecraft.entity.Entitypublic static net.minecraft.entity.Entity getEntity()
protected void removePassenger(net.minecraft.entity.Entity passenger)
removePassenger in class CarEntitypublic void onEntityUpdate()
onEntityUpdate in class CarEntityprotected void writeEntityToNBT(net.minecraft.nbt.NBTTagCompound compound)
writeEntityToNBT in class CarEntityprotected void readEntityFromNBT(net.minecraft.nbt.NBTTagCompound compound)
readEntityFromNBT in class CarEntitypublic float getSoundVolume()
getSoundVolume in class CarEntity@Nonnull public net.minecraft.util.EnumFacing getAdjustedHorizontalFacing()
getAdjustedHorizontalFacing in class net.minecraft.entity.Entityprotected CarEntity.WheelData createWheels()
createWheels in class CarEntityprotected boolean shouldTyresRender()
shouldTyresRender in class CarEntitypublic void updatePassenger(net.minecraft.entity.Entity passenger)
updatePassenger in class CarEntitypublic float getCollisionBorderSize()
getCollisionBorderSize in class net.minecraft.entity.Entity