net.minecraft.entity.decoration

public abstract class DecorationEntity

extends Entity

All mapped superinterfaces:

CommandSource

yy
net.minecraft.class_1396
net.minecraft.entity.decoration.DecorationEntity
net.minecraft.entity.EntityHanging

Field summary

Modifier and TypeField
private static final com.google.common.base.Predicate<Entity>
c
field_14735
HANGING_ENTITY
IS_HANGING_ENTITY
private int
d
field_5332
ticksSinceValidation
tickCounter1
protected BlockPos
a
field_12033
pos
hangingPosition
public Direction
b
field_12034
dir
facingDirection

Constructor summary

ModifierConstructor
public (World arg0)
public (World world, BlockPos pos)

Method summary

Modifier and TypeMethod
protected void
i()
method_2484()
registerSyncedData()
entityInit()
protected void
a(cv arg0)
method_11147(class_1354 arg0)
setDirection(Direction dir)
updateFacingWithBoundingBox(EnumFacing facingDirectionIn)
protected void
j()
method_11149()
updateShape()
updateBoundingBox()
private double
a(int arg0)
method_11146(int arg0)
offsetCenter(int length)
offs(int arg0)
public void
A_()
method_2558()
tick()
onUpdate()
public boolean
k()
method_4461()
canSurvive()
onValidSurface()
public boolean
aq()
method_2471()
hasCollision()
canBeCollidedWith()
public boolean
t(sn arg0)
method_4453(class_864 arg0)
onPunched(Entity arg0)
hitByEntity(Entity arg0)
public Direction
bl()
method_10943()
getHorizontalFacing()
getHorizontalFacing()
public boolean
a(ry arg0, float arg1)
method_2499(class_856 arg0, float arg1)
takeDamage(DamageSource arg0, float arg1)
attackEntityFrom(DamageSource arg0, float arg1)
public void
a(tc arg0, double arg1, double arg2, double arg3)
method_2539(class_3131 arg0, double arg1, double arg2, double arg3)
move(MoverType arg0, double arg1, double arg2, double arg3)
move(MoverType arg0, double arg1, double arg2, double arg3)
public void
f(double arg0, double arg1, double arg2)
method_2553(double arg0, double arg1, double arg2)
addVelocity(double arg0, double arg1, double arg2)
addVelocity(double arg0, double arg1, double arg2)
public void
b(du arg0)
method_2528(class_322 arg0)
writeCustomNbt(NbtCompound arg0)
writeEntityToNBT(NBTTagCompound arg0)
public void
a(du arg0)
method_2498(class_322 arg0)
readCustomNbt(NbtCompound arg0)
readEntityFromNBT(NBTTagCompound arg0)
public abstract int
l()
method_4462()
getWidth()
getWidthPixels()
public abstract int
n()
method_4463()
getHeight()
getHeightPixels()
public abstract void
a(sn arg0)
method_6101(class_864 arg0)
onAttack(Entity entity)
onBroken(Entity brokenEntity)
public abstract void
o()
method_13209()
playPlacementSound()
playPlaceSound()
public ItemEntity
a(afj arg0, float arg1)
method_2503(class_1071 arg0, float arg1)
dropItem(ItemStack arg0, float arg1)
entityDropItem(ItemStack arg0, float arg1)
protected boolean
as()
method_6096()
shouldSetPositionOnLoad()
shouldSetPosAfterLoading()
public void
b(double arg0, double arg1, double arg2)
method_2522(double arg0, double arg1, double arg2)
setPosition(double arg0, double arg1, double arg2)
setPosition(double arg0, double arg1, double arg2)
public BlockPos
q()
method_11148()
getBlockPos()
getHangingPosition()
public float
a(aqi arg0)
method_12969(class_2734 arg0)
rotate(BlockRotation arg0)
getRotatedYaw(Rotation arg0)
public float
a(aou arg0)
method_12968(class_2727 arg0)
mirror(BlockMirror arg0)
getMirroredYaw(Mirror arg0)
public void
a(zg arg0)
method_2502(class_961 arg0)
struckByLightning(LightningBoltEntity arg0)
onStruckByLightning(EntityLightningBolt arg0)