net.minecraft.entity.mob

public class BoggedEntity

extends AbstractSkeletonEntity implements Shearable

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Attackable, ServerWaypoint, Waypoint, Targeter, EquipmentHolder, Leashable, Monster, RangedAttackMob, Shearable

net.minecraft.world.entity.monster.skeleton.Bogged
net.minecraft.class_9254
net.minecraft.entity.mob.BoggedEntity

Field summary

Modifier and TypeField
private static final TrackedData<Boolean>
DATA_SHEARED
field_49241
SHEARED
private static final String
SHEARED_TAG_NAME
field_49240
SHEARED_KEY
private static final boolean
DEFAULT_SHEARED
field_57664
DEFAULT_SHEARED

Constructor summary

ModifierConstructor
public (EntityType<? extends BoggedEntity> type, World level)

Method summary

Modifier and TypeMethod
public static DefaultAttributeContainer$Builder
createAttributes()
method_57080()
createBoggedAttributes()
protected void
defineSynchedData(SynchedEntityData$Builder entityData)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
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)
public boolean
isSheared()
method_57308()
isSheared()
public void
setSheared(boolean sheared)
method_57310(boolean arg0)
setSheared(boolean sheared)
protected ActionResult
mobInteract(Player player, InteractionHand hand)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
protected SoundEvent
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
getHurtSound(DamageSource source)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
getStepSound()
method_6998()
getStepSound()
protected PersistentProjectileEntity
getArrow(ItemStack projectile, float power, ItemStack firingWeapon)
method_6996(class_1799 arg0, float arg1, class_1799 arg2)
createArrowProjectile(ItemStack arg0, float arg1, ItemStack arg2)
protected int
getHardAttackInterval()
method_57078()
getHardAttackInterval()
protected int
getAttackInterval()
method_57079()
getRegularAttackInterval()
public void
shear(ServerLevel level, SoundSource soundSource, ItemStack tool)
method_6636(class_3218 arg0, class_3419 arg1, class_1799 arg2)
sheared(ServerWorld arg0, SoundCategory arg1, ItemStack arg2)
private void
spawnShearedMushrooms(ServerLevel level, ItemStack tool)
method_57309(class_3218 arg0, class_1799 arg1)
dropShearedItems(ServerWorld world, ItemStack shears)
public boolean
readyForShearing()
method_27072()
isShearable()
private void
lambda$spawnShearedMushrooms$0(ServerLevel arg0, ItemStack arg1)
method_61491(class_3218 arg0, class_1799 arg1)
method_61491(ServerWorld worldx, ItemStack stack)