net.minecraft.world.entity.animal.goat

public class Goat

extends Animal

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting

che
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
cc
LONG_JUMPING_DIMENSIONS
field_30399
LONG_JUMPING_DIMENSIONS
f_149342_
private static final int
cj
ADULT_ATTACK_DAMAGE
field_34022
DEFAULT_ATTACK_DAMAGE
f_182382_
private static final int
ck
BABY_ATTACK_DAMAGE
field_34023
BABY_ATTACK_DAMAGE
f_182383_
protected static final com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super Goat>>>
cd
SENSOR_TYPES
field_30400
SENSORS
f_149343_
protected static final com.google.common.collect.ImmutableList<MemoryModuleType<?>>
ce
MEMORY_TYPES
field_30401
MEMORY_MODULES
f_149344_
public static final int
cg
GOAT_FALL_DAMAGE_REDUCTION
field_30402
FALL_DAMAGE_SUBTRACTOR
f_149345_
public static final double
ch
GOAT_SCREAMING_CHANCE
field_30403
SCREAMING_CHANCE
f_149346_
public static final double
ci
UNIHORN_CHANCE
field_39046
field_39046
f_218749_
private static final EntityDataAccessor<Boolean>
cl
DATA_IS_SCREAMING_GOAT
field_33486
SCREAMING
f_149347_
private static final EntityDataAccessor<Boolean>
cm
DATA_HAS_LEFT_HORN
field_39047
LEFT_HORN
f_218750_
private static final EntityDataAccessor<Boolean>
cn
DATA_HAS_RIGHT_HORN
field_39048
RIGHT_HORN
f_218751_
private boolean
co
isLoweringHead
field_33487
preparingRam
f_149348_
private int
cp
lowerHeadTick
field_33488
headPitch
f_149349_

Constructor summary

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

Method summary

Modifier and TypeMethod
public ItemStack
s()
createHorn()
method_43690()
getGoatHornStack()
m_218763_()
protected Brain$Provider<Goat>
dU()
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
t()
createAttributes()
method_35179()
createGoatAttributes()
m_149401_()
protected void
k()
ageBoundaryReached()
method_5619()
onGrowUp()
m_30232_()
protected int
e(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
v()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(brk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
n_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected void
b(jd arg0, dtc 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
x()
getMilkingSound()
method_35180()
getMilkingSound()
m_149403_()
public Goat
b(aqu arg0, bsl 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>
dT()
getBrain()
method_18868()
getBrain()
m_6274_()
protected void
ab()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
public int
ae()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
m_8085_()
public void
o(float arg0)
setYHeadRot(float arg0)
method_5847(float arg0)
setHeadYaw(float arg0)
m_5616_(float arg0)
public SoundEvent
d(cuq arg0)
getEatingSound(ItemStack arg0)
method_18869(class_1799 arg0)
getEatSound(ItemStack arg0)
m_7866_(C_1391_ arg0)
public boolean
o(cuq arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
public InteractionResult
b(cmx arg0, bqq 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(ddl arg0, bqp arg1, btr arg2, buh arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_149366_, C_469_ p_149367_, C_529_ p_149368_, C_542_ arg3)
protected void
aa()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()
public EntityDimensions
e(bua arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
m_31586_(C_535_ arg0)
public void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ub 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
m_()
aiStep()
method_6007()
tickMovement()
m_8107_()
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 boolean
gk()
hasLeftHorn()
method_43538()
hasLeftHorn()
m_218758_()
public boolean
gl()
hasRightHorn()
method_43539()
hasRightHorn()
m_218759_()
public boolean
gm()
dropHorn()
method_43540()
dropHorn()
m_218760_()
public void
gn()
addHorns()
method_43541()
addHorns()
m_218761_()
public void
go()
removeHorns()
method_43542()
removeHorns()
m_218762_()
public boolean
gu()
isScreamingGoat()
method_35178()
isScreaming()
m_149397_()
public void
x(boolean arg0)
setScreamingGoat(boolean arg0)
method_36284(boolean arg0)
setScreaming(boolean screaming)
m_149405_(boolean arg0)
public float
gv()
getRammingXHeadRot()
method_36283()
getHeadPitch()
m_149398_()
public static boolean
c(bsx<? extends cfe> arg0, dcx arg1, btr arg2, jd arg3, ayw 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_)