Package api.entity.mechanical
Class MechanicalPowerSourceEntityHorizontal
java.lang.Object
net.minecraft.src.Entity
api.entity.mechanical.MechanicalPowerSourceEntity
api.entity.mechanical.MechanicalPowerSourceEntityHorizontal
- All Implemented Interfaces:
EntityWithCustomPacket
- Direct Known Subclasses:
WaterWheelEntity,WindMillEntity
-
Field Summary
FieldsFields inherited from class api.entity.mechanical.MechanicalPowerSourceEntity
currentDamage, fullUpdateTickCount, providingPower, rockDirection, rotation, timeSinceHitFields inherited from class net.minecraft.src.Entity
addedToChunk, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityId, fallDistance, field_70135_K, fireResistance, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastGroundPosX, lastGroundPosY, lastGroundPosZ, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, nextBlockCheckDistance, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize -
Constructor Summary
ConstructorsConstructorDescriptionMechanicalPowerSourceEntityHorizontal(World world, double x, double y, double z, boolean bIAligned) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetDead()Will get destroyed next tick.voidprotected booleanMethods inherited from class api.entity.mechanical.MechanicalPowerSourceEntity
attackEntityFrom, attractsLightning, canBeCollidedWith, canBePushed, canTriggerWalking, computeRotation, destroyWithDrop, entityInit, getBoundingBox, getCollisionBox, getDepth, getHeight, getMaxDamage, getRotationSpeed, getRotationSpeedScaled, getShadowSize, getTicksPerFullUpdate, getTrackerUpdateFrequency, getTrackerViewDistance, getTrackMotion, getWidth, isClearOfBlockingEntities, moveEntity, onClientRotationOctantChange, onFullUpdateServer, onUpdate, performHurtAnimation, setFire, setPositionAndRotation2, setRotationSpeed, setRotationSpeedScaled, shouldServerTreatAsOversized, shouldSetPositionOnLoad, validateAreaAroundDeviceMethods inherited from class net.minecraft.src.Entity
addComponent, addEntityCrashInfo, addToPlayerScore, addVelocity, appliesConstantForceWhenRidingBoat, applyEntityCollision, canAttackWithItem, canCollideWithEntity, canEntityTriggerTripwire, canRenderOnFire, copyDataFrom, copyLocationAndAnglesFrom, dealFireDamage, doBlockCollisions, doesEntityApplyToSpawnCap, doesEntityApplyToSquidPossessionCap, doesEntityNotTriggerPressurePlate, doesNotDismountInWater, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, flagAllWatchedObjectsDirty, flingAwayFromEntity, getAir, getAnimalKickMovementMultiplier, getBlockExplosionResistance, getBrightness, getBrightnessForRender, getCanBeHeadCrabbed, getCollisionBorderSize, getComponent, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityName, getEntityString, getEyeHeight, getFlag, getHeadCrabSharedAttackTarget, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getMountedYOffset, getParts, getPortalCooldown, getRotationYawHead, getTeleportDirection, getTranslatedEntityName, getUniqueID, getVisualBoundingBox, getXZDistanceSqToEntity, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hasComponent, hashCode, hasHeadCrabbedSquid, hitByEntity, initComponents, interactFirst, isAffectedByMovementModifiers, isBeingRainedOn, isBurning, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInsideOpaqueBlock, isEntityInsideSuffocatingBlock, isEntityInsideSuffocatingBlock, isEntityInvulnerable, isImmuneToFire, isImmuneToHeadCrabDamage, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isItemEntity, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSecondaryTargetForSquid, isSneaking, isSprinting, isUsingSpecialKey, isValidOngoingAttackTargetForSquid, isValidZombieSecondaryTarget, isWet, kill, mountEntity, mountEntityRemote, moveFlying, movementModifierWhenRidingBoat, newDoubleNBTList, newFloatNBTList, notifyOfWolfHowl, onBlockDispenserConsume, onChunkLoad, onCollideWithPlayer, onEntityUpdate, onFlungBySquidTentacle, onHeadCrabbedBySquid, onKickedByAnimal, onKillEntity, onPossessedRidingEntityDeath, onStruckByLightning, outOfUpdateRangeUpdate, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, readEntityFromNBT, readFromNBT, setAir, setAngles, setBeenAttacked, setCurrentItemOrArmor, setEating, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setVelocity, setWorld, shouldExplodeBlock, shouldSetPosAfterLoading, toString, travelToDimension, tryToSetFireToBlocksInContact, updateCloak, updateFallState, updateRidden, updateRiderPosition, writeEntityToNBT, writeMountToNBT, writeToNBT, writeToNBTOptionalMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface api.entity.EntityWithCustomPacket
getSpawnPacketForThisEntity
-
Field Details
-
alignedToX
public boolean alignedToX
-
-
Constructor Details
-
MechanicalPowerSourceEntityHorizontal
-
MechanicalPowerSourceEntityHorizontal
public MechanicalPowerSourceEntityHorizontal(World world, double x, double y, double z, boolean bIAligned)
-
-
Method Details
-
setDead
public void setDead()Description copied from class:EntityWill get destroyed next tick. -
validateConnectedAxles
protected boolean validateConnectedAxles()- Specified by:
validateConnectedAxlesin classMechanicalPowerSourceEntity
-
transferPowerStateToConnectedAxles
public void transferPowerStateToConnectedAxles()- Specified by:
transferPowerStateToConnectedAxlesin classMechanicalPowerSourceEntity
-
initBoundingBox
public void initBoundingBox()- Specified by:
initBoundingBoxin classMechanicalPowerSourceEntity
-
getDeviceBounds
- Specified by:
getDeviceBoundsin classMechanicalPowerSourceEntity
-