net.minecraft.world.entity.animal.goat

public class Goat

extends Animal

All mapped superinterfaces:

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

cjx
net.minecraft.world.entity.animal.goat.Goat
net.minecraft.class_6053
net.minecraft.entity.passive.GoatEntity
net.minecraft.world.entity.animal.goat.Goat

Field summary

Modifier and TypeField
public static final EntityDimensions
bZ
LONG_JUMPING_DIMENSIONS
field_30399
LONG_JUMPING_DIMENSIONS
private static final int
cg
ADULT_ATTACK_DAMAGE
field_34022
DEFAULT_ATTACK_DAMAGE
private static final int
ch
BABY_ATTACK_DAMAGE
field_34023
BABY_ATTACK_DAMAGE
protected static final com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super Goat>>>
ca
SENSOR_TYPES
field_30400
SENSORS
protected static final com.google.common.collect.ImmutableList<MemoryModuleType<?>>
cb
MEMORY_TYPES
field_30401
MEMORY_MODULES
public static final int
cd
GOAT_FALL_DAMAGE_REDUCTION
field_30402
FALL_DAMAGE_SUBTRACTOR
public static final double
ce
GOAT_SCREAMING_CHANCE
field_30403
SCREAMING_CHANCE
public static final double
cf
UNIHORN_CHANCE
field_39046
field_39046
private static final EntityDataAccessor<Boolean>
ci
DATA_IS_SCREAMING_GOAT
field_33486
SCREAMING
private static final EntityDataAccessor<Boolean>
cj
DATA_HAS_LEFT_HORN
field_39047
LEFT_HORN
private static final EntityDataAccessor<Boolean>
ck
DATA_HAS_RIGHT_HORN
field_39048
RIGHT_HORN
private boolean
cl
isLoweringHead
field_33487
preparingRam
private int
cm
lowerHeadTick
field_33488
headPitch

Constructor summary

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

Method summary

Modifier and TypeMethod
public ItemStack
p()
createHorn()
method_43690()
getGoatHornStack()
protected Brain$Provider<Goat>
ed()
brainProvider()
method_28306()
createBrainProfile()
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)
public static AttributeSupplier$Builder
t()
createAttributes()
method_35179()
createGoatAttributes()
protected void
i()
ageBoundaryReached()
method_5619()
onGrowUp()
protected int
f(float arg0, float arg1)
calculateFallDamage(float arg0, float arg1)
method_23329(float arg0, float arg1)
computeFallDamage(float arg0, float arg1)
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected void
b(jh arg0, dxv arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
protected SoundEvent
x()
getMilkingSound()
method_35180()
getMilkingSound()
public Goat
b(ash arg0, bvb arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_35177(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
public Brain<Goat>
ec()
getBrain()
method_18868()
getBrain()
protected void
a(ash arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public int
aa()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
public void
q(float arg0)
setYHeadRot(float arg0)
method_5847(float arg0)
setHeadYaw(float arg0)
protected void
gu()
playEatingSound()
method_61458()
playEatSound()
public boolean
j(cxp arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public InteractionResult
b(cpx arg0, bti arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public SpawnGroupData
a(dhz arg0, bth arg1, bvq arg2, bwz arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason 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)
protected void
Y()
sendDebugPackets()
method_18409()
sendAiDebugData()
public EntityDimensions
e(bws arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
public void
d_()
aiStep()
method_6007()
tickMovement()
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
go()
hasLeftHorn()
method_43538()
hasLeftHorn()
public boolean
gp()
hasRightHorn()
method_43539()
hasRightHorn()
public boolean
gq()
dropHorn()
method_43540()
dropHorn()
public void
gr()
addHorns()
method_43541()
addHorns()
public void
gs()
removeHorns()
method_43542()
removeHorns()
public boolean
gA()
isScreamingGoat()
method_35178()
isScreaming()
public void
x(boolean arg0)
setScreamingGoat(boolean arg0)
method_36284(boolean arg0)
setScreaming(boolean screaming)
public float
gB()
getRammingXHeadRot()
method_36283()
getHeadPitch()
public static boolean
c(bvr<? extends chx> arg0, dhj arg1, bvq arg2, jh arg3, bam arg4)
checkGoatSpawnRules(EntityType<? extends Animal> arg0, LevelAccessor arg1, EntitySpawnReason 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)