net.minecraft.world.entity.vehicle

public abstract class VehicleEntity

extends Entity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder

cpg
net.minecraft.world.entity.vehicle.VehicleEntity
net.minecraft.class_8836
net.minecraft.entity.vehicle.VehicleEntity
net.minecraft.src.C_302183_
net.minecraft.world.entity.vehicle.VehicleEntity

Field summary

Modifier and TypeField
protected static final EntityDataAccessor<Integer>
f
DATA_ID_HURT
field_46655
DAMAGE_WOBBLE_TICKS
f_302249_
protected static final EntityDataAccessor<Integer>
g
DATA_ID_HURTDIR
field_46656
DAMAGE_WOBBLE_SIDE
f_302571_
protected static final EntityDataAccessor<Float>
h
DATA_ID_DAMAGE
field_46657
DAMAGE_WOBBLE_STRENGTH
f_302371_

Constructor summary

ModifierConstructor
public (EntityType<?> p_309578_, Level arg1)

Method summary

Modifier and TypeMethod
public boolean
a(brk arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_310313_, float arg1)
boolean
d(brk arg0)
shouldSourceDestroy(DamageSource arg0)
method_55056(class_1282 arg0)
shouldAlwaysKill(DamageSource source)
m_304763_(C_489_ arg0)
public void
b(cul arg0)
destroy(Item arg0)
method_54298(class_1792 arg0)
killAndDropItem(Item selfAsItem)
m_305179_(C_1381_ arg0)
protected void
a(aka$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
d(int arg0)
setHurtTime(int arg0)
method_54299(int arg0)
setDamageWobbleTicks(int damageWobbleTicks)
m_307446_(int arg0)
public void
m(int arg0)
setHurtDir(int arg0)
method_54300(int arg0)
setDamageWobbleSide(int damageWobbleSide)
m_306256_(int arg0)
public void
b(float arg0)
setDamage(float arg0)
method_54297(float arg0)
setDamageWobbleStrength(float damageWobbleStrength)
m_305563_(float arg0)
public float
N()
getDamage()
method_54294()
getDamageWobbleStrength()
m_304923_()
public int
O()
getHurtTime()
method_54295()
getDamageWobbleTicks()
m_305464_()
public int
P()
getHurtDir()
method_54296()
getDamageWobbleSide()
m_305195_()
protected void
a(brk arg0)
destroy(DamageSource arg0)
method_7516(class_1282 arg0)
killAndDropSelf(DamageSource source)
m_38227_(C_489_ arg0)
abstract Item
ak_()
getDropItem()
method_7557()
asItem()
m_38369_()