net.minecraft.world.entity.vehicle

public abstract class VehicleEntity

extends Entity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder

cso
net.minecraft.world.entity.vehicle.VehicleEntity
net.minecraft.class_8836
net.minecraft.entity.vehicle.VehicleEntity
net.minecraft.world.entity.vehicle.VehicleEntity

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
b(bua arg0)
hurtClient(DamageSource arg0)
method_5643(class_1282 arg0)
clientDamage(DamageSource arg0)
public boolean
a(ash arg0, bua arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
boolean
a(bua arg0)
shouldSourceDestroy(DamageSource arg0)
method_55056(class_1282 arg0)
shouldAlwaysKill(DamageSource source)
public boolean
a(dha arg0)
ignoreExplosion(Explosion arg0)
method_5659(class_1927 arg0)
isImmuneToExplosion(Explosion arg0)
public void
a(ash arg0, cxl arg1)
destroy(ServerLevel arg0, Item arg1)
method_54298(class_3218 arg0, class_1792 arg1)
killAndDropItem(ServerWorld world, Item item)
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
d(int arg0)
setHurtTime(int arg0)
method_54299(int arg0)
setDamageWobbleTicks(int damageWobbleTicks)
public void
l(int arg0)
setHurtDir(int arg0)
method_54300(int arg0)
setDamageWobbleSide(int damageWobbleSide)
public void
b(float arg0)
setDamage(float arg0)
method_54297(float arg0)
setDamageWobbleStrength(float damageWobbleStrength)
public float
L()
getDamage()
method_54294()
getDamageWobbleStrength()
public int
N()
getHurtTime()
method_54295()
getDamageWobbleTicks()
public int
O()
getHurtDir()
method_54296()
getDamageWobbleSide()
protected void
a(ash arg0, bua arg1)
destroy(ServerLevel arg0, DamageSource arg1)
method_7516(class_3218 arg0, class_1282 arg1)
killAndDropSelf(ServerWorld world, DamageSource damageSource)
public int
bX()
getDimensionChangingDelay()
method_5806()
getDefaultPortalCooldown()
protected abstract Item
u()
getDropItem()
method_7557()
asItem()