Class Painting
- java.lang.Object
-
- net.minecraft.world.entity.Entity
-
- net.minecraft.world.entity.decoration.Painting
-
public class Painting extends Entity
-
-
Field Summary
Fields Modifier and Type Field Description EnumArt
art
int
direction
int
xPosition
int
yPosition
int
zPosition
-
Fields inherited from class net.minecraft.world.entity.Entity
addedToChunk, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dataWatcher, distanceWalkedModified, entityCollisionReduction, entityId, fallDistance, field_9293_aM, fireResistance, heartsLife, height, ignoreFrustumCheck, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, isJesusColliding, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, playerNameForSkin, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, slim, stepHeight, ticksExisted, velocityChanged, width, worldObj, yOffset, ySize
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addVelocity(double var1, double var3, double var5)
boolean
attackEntityFrom(DamageSource var1, int var2)
boolean
canBeCollidedWith()
protected void
entityInit()
void
func_412_b(int var1)
void
moveEntity(double var1, double var3, double var5)
void
onUpdate()
boolean
onValidSurface()
void
readEntityFromNBT(NBTTagCompound var1)
void
writeEntityToNBT(NBTTagCompound var1)
-
Methods inherited from class net.minecraft.world.entity.Entity
addEntityID, addToPlayerScore, applyEntityCollision, canAttackWithItem, canBePushed, canTriggerWalking, dealFireDamage, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, func_48079_f, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCurrentBiomeName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityString, getEyeHeight, getFlag, getHeadYaw, getInventory, getLookVec, getMountedYOffset, getParts, getShadowSize, getTexture, getUsername, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, interact, isBurning, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isImmuneToFire, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isSprinting, isSubmergedInAnyFluid, isWet, kill, mountEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, outfitWithItem, performHurtAnimation, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setAir, setAngles, setBeenAttacked, setDead, setEating, setFire, setFlag, setInPortal, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setSize, setSneaking, setSprinting, setVelocity, setWorld, toString, updateFallState, updateRidden, updateRiderPosition, writeToNBT
-
-
-
-
Field Detail
-
direction
public int direction
-
xPosition
public int xPosition
-
yPosition
public int yPosition
-
zPosition
public int zPosition
-
art
public EnumArt art
-
-
Method Detail
-
entityInit
protected void entityInit()
- Specified by:
entityInit
in classEntity
-
func_412_b
public void func_412_b(int var1)
-
onValidSurface
public boolean onValidSurface()
-
canBeCollidedWith
public boolean canBeCollidedWith()
- Overrides:
canBeCollidedWith
in classEntity
-
attackEntityFrom
public boolean attackEntityFrom(DamageSource var1, int var2)
- Overrides:
attackEntityFrom
in classEntity
-
writeEntityToNBT
public void writeEntityToNBT(NBTTagCompound var1)
- Specified by:
writeEntityToNBT
in classEntity
-
readEntityFromNBT
public void readEntityFromNBT(NBTTagCompound var1)
- Specified by:
readEntityFromNBT
in classEntity
-
moveEntity
public void moveEntity(double var1, double var3, double var5)
- Overrides:
moveEntity
in classEntity
-
addVelocity
public void addVelocity(double var1, double var3, double var5)
- Overrides:
addVelocity
in classEntity
-
-