net.minecraft.world.entity.animal.goat

public class Goat

extends Animal

All mapped superinterfaces:

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

ciz
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
bY
LONG_JUMPING_DIMENSIONS
field_30399
LONG_JUMPING_DIMENSIONS
private static final int
cf
ADULT_ATTACK_DAMAGE
field_34022
DEFAULT_ATTACK_DAMAGE
private static final int
cg
BABY_ATTACK_DAMAGE
field_34023
BABY_ATTACK_DAMAGE
protected static final com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super Goat>>>
bZ
SENSOR_TYPES
field_30400
SENSORS
protected static final com.google.common.collect.ImmutableList<MemoryModuleType<?>>
ca
MEMORY_TYPES
field_30401
MEMORY_MODULES
public static final int
cc
GOAT_FALL_DAMAGE_REDUCTION
field_30402
FALL_DAMAGE_SUBTRACTOR
public static final double
cd
GOAT_SCREAMING_CHANCE
field_30403
SCREAMING_CHANCE
public static final double
ce
UNIHORN_CHANCE
field_39046
field_39046
private static final EntityDataAccessor<Boolean>
ch
DATA_IS_SCREAMING_GOAT
field_33486
SCREAMING
private static final EntityDataAccessor<Boolean>
ci
DATA_HAS_LEFT_HORN
field_39047
LEFT_HORN
private static final EntityDataAccessor<Boolean>
cj
DATA_HAS_RIGHT_HORN
field_39048
RIGHT_HORN
private boolean
ck
isLoweringHead
field_33487
preparingRam
private int
cl
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>
ec()
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(btc arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected void
b(ji arg0, dwy 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(ard arg0, bud arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_35177(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
public Brain<Goat>
eb()
getBrain()
method_18868()
getBrain()
protected void
a(ard arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public int
af()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
public void
q(float arg0)
setYHeadRot(float arg0)
method_5847(float arg0)
setHeadYaw(float arg0)
protected void
gy()
playEatingSound()
method_61458()
playEatSound()
public boolean
j(cwq arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public InteractionResult
b(coy arg0, bsk arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public SpawnGroupData
a(dha arg0, bsj arg1, bus arg2, bwb 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
ac()
sendDebugPackets()
method_18409()
sendAiDebugData()
public EntityDimensions
e(bvu arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq 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(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
gs()
hasLeftHorn()
method_43538()
hasLeftHorn()
public boolean
gt()
hasRightHorn()
method_43539()
hasRightHorn()
public boolean
gu()
dropHorn()
method_43540()
dropHorn()
public void
gv()
addHorns()
method_43541()
addHorns()
public void
gw()
removeHorns()
method_43542()
removeHorns()
public boolean
gE()
isScreamingGoat()
method_35178()
isScreaming()
public void
x(boolean arg0)
setScreamingGoat(boolean arg0)
method_36284(boolean arg0)
setScreaming(boolean screaming)
public float
gF()
getRammingXHeadRot()
method_36283()
getHeadPitch()
public static boolean
c(but<? extends cgz> arg0, dgk arg1, bus arg2, ji arg3, azh 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)