public class EntityPainting extends EntityHanging
Modifier and Type | Class and Description |
---|---|
static class |
EntityPainting.EnumArt |
Modifier and Type | Field and Description |
---|---|
EntityPainting.EnumArt |
art |
facingDirection, hangingPosition
addedToChunk, 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 |
---|
EntityPainting(World worldIn) |
EntityPainting(World worldIn,
BlockPos pos,
EnumFacing facing) |
EntityPainting(World worldIn,
BlockPos pos,
EnumFacing facing,
java.lang.String title) |
Modifier and Type | Method and Description |
---|---|
int |
getHeightPixels() |
int |
getWidthPixels() |
void |
onBroken(Entity brokenEntity) |
void |
playPlaceSound() |
void |
readEntityFromNBT(NBTTagCompound compound) |
void |
setLocationAndAngles(double x,
double y,
double z,
float yaw,
float pitch) |
void |
setPositionAndRotationDirect(double x,
double y,
double z,
float yaw,
float pitch,
int posRotationIncrements,
boolean teleport) |
void |
writeEntityToNBT(NBTTagCompound compound) |
addVelocity, attackEntityFrom, canBeCollidedWith, entityDropItem, entityInit, getHangingPosition, getHorizontalFacing, getMirroredYaw, getRotatedYaw, hitByEntity, move, onStruckByLightning, onUpdate, onValidSurface, setPosition, shouldSetPosAfterLoading, updateBoundingBox, updateFacingWithBoundingBox
addEntityCrashInfo, addPassenger, addTag, addTrackingPlayer, applyEnchantments, applyEntityCollision, applyOrientationToEntity, applyPlayerInteraction, awardKillScore, canBeAttackedWithItem, canBePushed, canBeRidden, canExplosionDestroyBlock, canFitPassenger, canPassengerSteer, canRenderOnFire, canRiderInteract, canTrample, canTriggerWalking, canUseCommand, changeDimension, changeDimension, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, deserializeNBT, dismountRidingEntity, doBlockCollisions, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, dropItem, dropItemWithOffset, equals, extinguish, fall, getAdjustedHorizontalFacing, getAir, getAlwaysRenderNameTag, getAlwaysRenderNameTagForRender, getArmorInventoryList, getBrightness, getBrightnessForRender, getCachedUniqueIdString, getCapability, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSenderEntity, getCommandStats, getControllingPassenger, getCustomNameTag, getDataManager, getDisplayName, getDistance, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getEntityBoundingBox, getEntityData, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getFireImmuneTicks, getFlag, getForward, getHeldEquipment, getHoverEvent, getIsInvulnerable, getLastPortalVec, getLook, getLookVec, getLowestRidingEntity, getMaxFallHeight, getMaxInPortalTime, getMountedYOffset, getName, getParts, getPassengers, getPersistentID, getPickedResult, getPitchYaw, getPortalCooldown, getPosition, getPositionEyes, getPositionVector, getPushReaction, getRecursivePassengers, getRecursivePassengersByType, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotationYawHead, getServer, getSoundCategory, getSplashSound, getSwimSound, getTags, getTeam, getTeleportDirection, getUniqueID, getVectorForRotation, getYOffset, handleStatusUpdate, handleWaterMovement, hasCapability, hasCustomName, hashCode, hasNoGravity, ignoreItemEntityData, isAddedToWorld, isBeingRidden, isBurning, isCreatureType, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isNonBoss, isOffsetPositionInLiquid, isOnSameTeam, isOnScoreboardTeam, isOutsideBorder, isOverWater, isPassenger, isPushedByWater, isRiding, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSprinting, isWet, makeFlySound, markVelocityChanged, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, notifyDataManagerChange, onAddedToWorld, onCollideWithPlayer, onEntityUpdate, onInsideBlock, onKillCommand, onKillEntity, onRemovedFromWorld, outOfWorld, performHurtAnimation, playFlySound, playSound, playStepSound, preparePlayerToSpawn, processInitialInteract, pushOutOfBlocks, rayTrace, readFromNBT, registerFixes, removePassenger, removePassengers, removeTag, removeTrackingPlayer, replaceItemInInventory, resetEntityId, resetPositionToBB, sendCommandFeedback, sendMessage, serializeNBT, setAir, setAlwaysRenderNameTag, setCommandStat, setCommandStats, setCustomNameTag, setDead, setDropItemsWhenDead, setEntityBoundingBox, setEntityId, setEntityInvulnerable, setFire, setFlag, setGlowing, setInvisible, setInWeb, setItemStackToSlot, setNoGravity, setOnFireFromLava, setOutsideBorder, setPortal, setPositionAndRotation, setPositionAndUpdate, setPositionNonDirty, setRenderDistanceWeight, setRenderYawOffset, setRotation, setRotationYawHead, setSilent, setSize, setSneaking, setSprinting, setUniqueId, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, spawnRunningParticles, startRiding, startRiding, toString, turn, updateFallState, updatePassenger, updateRidden, writeToNBT, writeToNBTAtomically, writeToNBTOptional
public EntityPainting.EnumArt art
public EntityPainting(World worldIn)
public EntityPainting(World worldIn, BlockPos pos, EnumFacing facing)
public EntityPainting(World worldIn, BlockPos pos, EnumFacing facing, java.lang.String title)
public void writeEntityToNBT(NBTTagCompound compound)
writeEntityToNBT
in class EntityHanging
public void readEntityFromNBT(NBTTagCompound compound)
readEntityFromNBT
in class EntityHanging
public int getWidthPixels()
getWidthPixels
in class EntityHanging
public int getHeightPixels()
getHeightPixels
in class EntityHanging
public void onBroken(@Nullable Entity brokenEntity)
onBroken
in class EntityHanging
public void playPlaceSound()
playPlaceSound
in class EntityHanging
public void setLocationAndAngles(double x, double y, double z, float yaw, float pitch)
setLocationAndAngles
in class Entity
public void setPositionAndRotationDirect(double x, double y, double z, float yaw, float pitch, int posRotationIncrements, boolean teleport)
setPositionAndRotationDirect
in class Entity