net.minecraft.entity.projectile

public class WitherSkullEntity

extends ExplosiveProjectileEntity

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Ownable

net.minecraft.world.entity.projectile.hurtingprojectile.WitherSkull
net.minecraft.class_1687
net.minecraft.entity.projectile.WitherSkullEntity

Field summary

Modifier and TypeField
private static final TrackedData<Boolean>
DATA_DANGEROUS
field_7654
CHARGED
private static final boolean
DEFAULT_DANGEROUS
field_57746
DEFAULT_DANGEROUS

Constructor summary

ModifierConstructor
public (EntityType<? extends WitherSkullEntity> type, World level)
public (World world, LivingEntity owner, Vec3d velocity)

Method summary

Modifier and TypeMethod
protected float
getInertia()
method_7466()
getDrag()
public boolean
isOnFire()
method_5809()
isOnFire()
public float
getBlockExplosionResistance(Explosion explosion, BlockGetter level, BlockPos pos, BlockState block, FluidState fluid, float resistance)
method_5774(class_1927 arg0, class_1922 arg1, class_2338 arg2, class_2680 arg3, class_3610 arg4, float arg5)
getEffectiveExplosionResistance(Explosion arg0, BlockView arg1, BlockPos arg2, BlockState arg3, FluidState arg4, float arg5)
protected void
onHitEntity(EntityHitResult hitResult)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult arg0)
protected void
onHit(HitResult hitResult)
method_7488(class_239 arg0)
onCollision(HitResult arg0)
protected void
defineSynchedData(SynchedEntityData$Builder entityData)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
isDangerous()
method_7503()
isCharged()
public void
setDangerous(boolean value)
method_7502(boolean arg0)
setCharged(boolean charged)
protected boolean
shouldBurn()
method_7468()
isBurning()
protected void
addAdditionalSaveData(ValueOutput output)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
protected void
readAdditionalSaveData(ValueInput input)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)