Package btw.entity.item
Class BloodWoodSaplingItemEntity
java.lang.Object
net.minecraft.src.Entity
net.minecraft.src.EntityItem
btw.entity.item.BloodWoodSaplingItemEntity
- All Implemented Interfaces:
EntityWithCustomPacket
-
Field Summary
Fields inherited from class net.minecraft.src.EntityItem
age, delayBeforeCanPickup, hoverStartFields 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
ConstructorsConstructorDescriptionBloodWoodSaplingItemEntity(World world) BloodWoodSaplingItemEntity(World world, double dPosX, double dPosY, double dPosZ, ItemStack itemStack) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckForBloodWoodPlant(int i, int j, int k) intintbooleanvoidonUpdate()Called to update the entity's position/logic.booleanPartially disables server-side visibility tests for interacting with an entityMethods inherited from class net.minecraft.src.EntityItem
attackEntityFrom, canAttackWithItem, canEntityTriggerTripwire, canTriggerWalking, combineItems, dealFireDamage, doBlockCollisions, entityInit, fall, getEntityItem, getEntityName, handleWaterMovement, installationIntegrityTestEntityItem, isItemEntity, onCollideWithPlayer, pushOutOfBlocks, readEntityFromNBT, setAgeToCreativeDespawnTime, setEntityItemAsDroppedOnPlayerDeath, setEntityItemStack, travelToDimension, writeEntityToNBTMethods inherited from class net.minecraft.src.Entity
addComponent, addEntityCrashInfo, addToPlayerScore, addVelocity, appliesConstantForceWhenRidingBoat, applyEntityCollision, attractsLightning, canBeCollidedWith, canBePushed, canCollideWithEntity, canRenderOnFire, copyDataFrom, copyLocationAndAnglesFrom, doesEntityApplyToSpawnCap, doesEntityApplyToSquidPossessionCap, doesEntityNotTriggerPressurePlate, doesNotDismountInWater, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, flagAllWatchedObjectsDirty, flingAwayFromEntity, getAir, getAnimalKickMovementMultiplier, getBlockExplosionResistance, getBoundingBox, getBrightness, getBrightnessForRender, getCanBeHeadCrabbed, getCollisionBorderSize, getCollisionBox, getComponent, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityString, getEyeHeight, getFlag, getHeadCrabSharedAttackTarget, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getMountedYOffset, getParts, getPortalCooldown, getRotationYawHead, getShadowSize, getTeleportDirection, getTranslatedEntityName, getUniqueID, getVisualBoundingBox, getXZDistanceSqToEntity, getYOffset, handleHealthUpdate, handleLavaMovement, 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, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSecondaryTargetForSquid, isSneaking, isSprinting, isUsingSpecialKey, isValidOngoingAttackTargetForSquid, isValidZombieSecondaryTarget, isWet, kill, mountEntity, mountEntityRemote, moveEntity, moveFlying, movementModifierWhenRidingBoat, newDoubleNBTList, newFloatNBTList, notifyOfWolfHowl, onBlockDispenserConsume, onChunkLoad, onEntityUpdate, onFlungBySquidTentacle, onHeadCrabbedBySquid, onKickedByAnimal, onKillEntity, onPossessedRidingEntityDeath, onStruckByLightning, outOfUpdateRangeUpdate, performHurtAnimation, playSound, playStepSound, preparePlayerToSpawn, readFromNBT, setAir, setAngles, setBeenAttacked, setCurrentItemOrArmor, setDead, setEating, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setVelocity, setWorld, shouldExplodeBlock, shouldSetPosAfterLoading, shouldSetPositionOnLoad, toString, tryToSetFireToBlocksInContact, updateCloak, updateFallState, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
-
Constructor Details
-
BloodWoodSaplingItemEntity
-
BloodWoodSaplingItemEntity
-
-
Method Details
-
onUpdate
public void onUpdate()Description copied from class:EntityItemCalled to update the entity's position/logic.- Overrides:
onUpdatein classEntityItem
-
getTrackerViewDistance
public int getTrackerViewDistance()- Specified by:
getTrackerViewDistancein interfaceEntityWithCustomPacket
-
getTrackerUpdateFrequency
public int getTrackerUpdateFrequency()- Specified by:
getTrackerUpdateFrequencyin interfaceEntityWithCustomPacket
-
getTrackMotion
public boolean getTrackMotion()- Specified by:
getTrackMotionin interfaceEntityWithCustomPacket
-
shouldServerTreatAsOversized
public boolean shouldServerTreatAsOversized()Description copied from interface:EntityWithCustomPacketPartially disables server-side visibility tests for interacting with an entity- Specified by:
shouldServerTreatAsOversizedin interfaceEntityWithCustomPacket
-
getSpawnPacketForThisEntity
- Specified by:
getSpawnPacketForThisEntityin interfaceEntityWithCustomPacket- Returns:
- Custom packet containing information for this entity to send from the server to the client
-
checkForBloodWoodPlant
public void checkForBloodWoodPlant(int i, int j, int k)
-