net.minecraft.world.entity.animal.goat

public class Goat

extends Animal

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting

btg
net.minecraft.world.entity.animal.goat.Goat
net.minecraft.class_6053
net.minecraft.entity.passive.GoatEntity
net.minecraft.src.C_141129_
net.minecraft.world.entity.animal.goat.Goat

Field summary

Modifier and TypeField
public static final EntityDimensions
bT
LONG_JUMPING_DIMENSIONS
field_30399
LONG_JUMPING_DIMENSIONS
f_149342_
private static final int
ca
ADULT_ATTACK_DAMAGE
field_34022
DEFAULT_ATTACK_DAMAGE
f_182382_
private static final int
cb
BABY_ATTACK_DAMAGE
field_34023
BABY_ATTACK_DAMAGE
f_182383_
protected static final com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super Goat>>>
bU
SENSOR_TYPES
field_30400
SENSORS
f_149343_
protected static final com.google.common.collect.ImmutableList<MemoryModuleType<?>>
bW
MEMORY_TYPES
field_30401
MEMORY_MODULES
f_149344_
public static final int
bX
GOAT_FALL_DAMAGE_REDUCTION
field_30402
FALL_DAMAGE_SUBTRACTOR
f_149345_
public static final double
bY
GOAT_SCREAMING_CHANCE
field_30403
SCREAMING_CHANCE
f_149346_
public static final double
bZ
UNIHORN_CHANCE
field_39046
field_39046
f_218749_
private static final EntityDataAccessor<Boolean>
cc
DATA_IS_SCREAMING_GOAT
field_33486
SCREAMING
f_149347_
private static final EntityDataAccessor<Boolean>
cd
DATA_HAS_LEFT_HORN
field_39047
LEFT_HORN
f_218750_
private static final EntityDataAccessor<Boolean>
ce
DATA_HAS_RIGHT_HORN
field_39048
RIGHT_HORN
f_218751_
private boolean
cf
isLoweringHead
field_33487
preparingRam
f_149348_
private int
cg
lowerHeadTick
field_33488
headPitch
f_149349_

Constructor summary

ModifierConstructor
public (EntityType<? extends Goat> p_149353_, Level arg1)

Method summary

Modifier and TypeMethod
public ItemStack
q()
createHorn()
method_43690()
getGoatHornStack()
m_218763_()
protected Brain$Provider<Goat>
dL()
brainProvider()
method_28306()
createBrainProfile()
m_5490_()
protected Brain<?>
a(com.mojang.serialization.Dynamic<?> arg0)
makeBrain(com.mojang.serialization.Dynamic<?> arg0)
method_18867(com.mojang.serialization.Dynamic<?> arg0)
deserializeBrain(com.mojang.serialization.Dynamic<?> arg0)
m_8075_(com.mojang.serialization.Dynamic<?> arg0)
public static AttributeSupplier$Builder
r()
createAttributes()
method_35179()
createGoatAttributes()
m_149401_()
protected void
m()
ageBoundaryReached()
method_5619()
onGrowUp()
m_30232_()
protected int
d(float arg0, float arg1)
calculateFallDamage(float arg0, float arg1)
method_23329(float arg0, float arg1)
computeFallDamage(float arg0, float arg1)
m_5639_(float p_149390_, float arg1)
protected SoundEvent
s()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(ben arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
g_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected void
b(gu arg0, dcb arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_149383_, C_2064_ arg1)
protected SoundEvent
w()
getMilkingSound()
method_35180()
getMilkingSound()
m_149403_()
public Goat
b(aif arg0, bfe arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_35177(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_149377_, C_141062_ arg1)
public Brain<Goat>
dK()
getBrain()
method_18868()
getBrain()
m_6274_()
protected void
W()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
public int
fC()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
m_8085_()
public void
n(float arg0)
setYHeadRot(float arg0)
method_5847(float arg0)
setHeadYaw(float arg0)
m_5616_(float arg0)
public SoundEvent
d(cfz arg0)
getEatingSound(ItemStack arg0)
method_18869(class_1799 arg0)
getEatSound(ItemStack arg0)
m_7866_(C_1391_ arg0)
public InteractionResult
b(byo arg0, bdw arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_149380_, C_470_ arg1)
public SpawnGroupData
a(cnb arg0, bdv arg1, bgd arg2, bgt arg3, qr arg4)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
m_6518_(C_1618_ p_149366_, C_469_ p_149367_, C_529_ p_149368_, C_542_ p_149369_, C_4917_ arg4)
protected void
V()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()
public EntityDimensions
a(bgl arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
getDimensions(EntityPose arg0)
m_6972_(C_535_ arg0)
public void
b(qr arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(qr arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public void
b_()
aiStep()
method_6007()
tickMovement()
m_8107_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public boolean
fY()
hasLeftHorn()
method_43538()
hasLeftHorn()
m_218758_()
public boolean
ge()
hasRightHorn()
method_43539()
hasRightHorn()
m_218759_()
public boolean
gf()
dropHorn()
method_43540()
dropHorn()
m_218760_()
public void
gg()
addHorns()
method_43541()
addHorns()
m_218761_()
public void
gh()
removeHorns()
method_43542()
removeHorns()
m_218762_()
public boolean
gi()
isScreamingGoat()
method_35178()
isScreaming()
m_149397_()
public void
w(boolean arg0)
setScreamingGoat(boolean arg0)
method_36284(boolean arg0)
setScreaming(boolean screaming)
m_149405_(boolean arg0)
public float
gj()
getRammingXHeadRot()
method_36283()
getHeadPitch()
m_149398_()
public static boolean
c(bfn<? extends brl> arg0, cmn arg1, bgd arg2, gu arg3, apf arg4)
checkGoatSpawnRules(EntityType<? extends Animal> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, RandomSource arg4)
method_38067(class_1299<? extends class_1429> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<? extends AnimalEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_218752_(C_513_<? extends C_801_> p_218753_, C_1598_ p_218754_, C_529_ p_218755_, C_4675_ p_218756_, C_212974_ p_218757_)