net.minecraft.entity.passive

public class CopperGolemEntity

extends GolemEntity implements ContainerUser, Shearable

All mapped superinterfaces:

DataTracked, DebugTrackable, Nameable, HeldItemContext, EntityLike, UniquelyIdentifiable, ScoreHolder, ComponentsAccess, Attackable, ServerWaypoint, Waypoint, EquipmentHolder, Leashable, Targeter, ContainerUser, Shearable

csp
net.minecraft.world.entity.animal.coppergolem.CopperGolem
net.minecraft.class_11573
net.minecraft.entity.passive.CopperGolemEntity
net.minecraft.unmapped.C_ljbrjchw
net.minecraft.entity.passive.CopperGolemEntity
net.minecraft.src.C_411301_

Field summary

Modifier and TypeField
private static final long
b
IGNORE_WEATHERING_TICK
field_61257
field_61257
f_bxjvxqtv
IGNORE_OXIDIZE_TICK
f_411490_
private static final long
c
UNSET_WEATHERING_TICK
field_61258
field_61258
f_wtaeztts
UNSET_OXIDIZE_TICK
f_413564_
private static final int
d
WEATHERING_TICK_FROM
field_61259
field_61259
f_iktaxcdv
MIN_OXIDATION_INTERVAL
f_412200_
private static final int
e
WEATHERING_TICK_TO
field_61273
field_61273
f_fxgwjrnb
MAX_OXIDATION_INTERVAL
f_412312_
private static final int
f
SPIN_ANIMATION_MIN_COOLDOWN
field_61274
field_61274
f_mqgqvzws
MIN_SPIN_ANIMATION_COOLDOWN
f_412913_
private static final int
ct
SPIN_ANIMATION_MAX_COOLDOWN
field_61275
field_61275
f_sqapvfyo
MAX_SPIN_ANIMATION_COOLDOWN
f_411862_
private static final float
cu
SPIN_SOUND_TIME_INTERVAL_OFFSET
field_61260
field_61260
f_ygbxhosp
SPIN_SOUND_TIME_INTERVAL_OFFSET
f_412245_
private static final float
cv
TURN_TO_STATUE_CHANCE
field_63113
field_63113
f_rfzfxavr
f_412292_
private static final int
cw
SPAWN_COOLDOWN_MIN
field_63114
field_63114
f_ctfvnwqi
f_412814_
private static final int
cx
SPAWN_COOLDOWN_MAX
field_63115
field_63115
f_jjufkciq
f_413259_
private static final TrackedData<Oxidizable$OxidationLevel>
cy
DATA_WEATHER_STATE
field_61261
OXIDATION_LEVEL
f_vklddofj
OXIDATION
f_413516_
private static final TrackedData<CopperGolemState>
cz
COPPER_GOLEM_STATE
field_61262
COPPER_GOLEM_STATE
f_rsesvibk
STATE
f_411456_
private BlockPos
cA
openedChestPos
field_61263
targetContainer
f_izihdnqq
openChestPos
f_411743_
private UUID
cB
lastLightningBoltUUID
field_63016
lastStruckLightning
f_shrluklt
uuid
f_412391_
private long
cC
nextWeatheringTick
field_61264
nextOxidationAge
f_chsxlopo
oxidizeTick
f_413200_
private int
cD
idleAnimationStartTick
field_61265
spinHeadTimer
f_ubjalogn
headSpinStopTick
f_413630_
private final AnimationState
cE
idleAnimationState
field_61268
spinHeadAnimationState
f_dvkxbolx
idleAnimation
f_412824_
private final AnimationState
cF
interactionGetItemAnimationState
field_61269
gettingItemAnimationState
f_ozxkiejd
takeItemAnimation
f_412203_
private final AnimationState
cG
interactionGetNoItemAnimationState
field_61270
gettingNoItemAnimationState
f_gmvngmox
takeNoItemAnimation
f_412260_
private final AnimationState
cH
interactionDropItemAnimationState
field_61271
droppingItemAnimationState
f_nveyploe
depositItemAnimation
f_413928_
private final AnimationState
cI
interactionDropNoItemAnimationState
field_61272
droppingNoItemAnimationState
f_ghyhuvwl
depositNoItemAnimation
f_412836_
public static final EquipmentSlot
a
EQUIPMENT_SLOT_ANTENNA
field_62430
POPPY_SLOT
f_lqwwwiqq
SLOT
f_411964_

Constructor summary

ModifierConstructor
public (EntityType<? extends GolemEntity> type, World world)

Method summary

Modifier and TypeMethod
public static DefaultAttributeContainer$Builder
k()
createAttributes()
method_72475()
createCopperGolemAttributes()
m_vgxbxhvi()
buildAttributes()
m_415409_()
public CopperGolemState
m()
getState()
method_72476()
getState()
m_iosbzfrd()
getState()
m_417072_()
public void
a(cst arg0)
setState(CopperGolemState arg0)
method_72458(class_11577 arg0)
setState(CopperGolemState state)
m_hluvmrqc(C_yanmmnbh arg0)
setState(CopperGolemState state)
m_419009_(C_410941_ arg0)
public Oxidizable$OxidationLevel
n()
getWeatherState()
method_72477()
getOxidationLevel()
m_wrvwouww()
getOxidation()
m_418462_()
public void
a(eev$a arg0)
setWeatherState(WeatheringCopper$WeatherState arg0)
method_72461(class_5955$class_5811 arg0)
setOxidationLevel(Oxidizable$OxidationLevel oxidationLevel)
m_etfbethb(C_nxfuouvr$C_cencorqf arg0)
setOxidation(Oxidizable$OxidizationLevel oxidation)
m_416393_(C_141235_$C_141236_ arg0)
public void
h(ja arg0)
setOpenedChestPos(BlockPos arg0)
method_72474(class_2338 arg0)
setTargetContainerPos(BlockPos pos)
m_zaeqmjch(C_hynzadkk arg0)
setOpenChestPos(BlockPos pos)
m_417694_(C_4675_ arg0)
public void
s()
clearOpenedChestPos()
method_72478()
resetTargetContainerPos()
m_sthnwjed()
clearOpenChestPos()
m_419131_()
public AnimationState
gI()
getIdleAnimationState()
method_72463()
getSpinHeadAnimationState()
m_kbmmmfvo()
getIdleAnimation()
m_415707_()
public AnimationState
gJ()
getInteractionGetItemAnimationState()
method_72466()
getGettingItemAnimationState()
m_kzxicrtm()
getTakeItemAnimation()
m_418227_()
public AnimationState
gK()
getInteractionGetNoItemAnimationState()
method_72467()
getGettingNoItemAnimationState()
m_xwvdbqja()
getTakeNoItemAnimation()
m_416791_()
public AnimationState
gL()
getInteractionDropItemAnimationState()
method_72468()
getDroppingItemAnimationState()
m_apivmhyi()
getDepositItemAnimation()
m_418720_()
public AnimationState
gM()
getInteractionDropNoItemAnimationState()
method_72469()
getDroppingNoItemAnimationState()
m_wxgkkrqe()
getDepositNoItemAnimation()
m_417025_()
protected Brain$Profile<CopperGolemEntity>
er()
brainProvider()
method_28306()
createBrainProfile()
m_pusvfpox()
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_epkzhkqg(com.mojang.serialization.Dynamic<?> arg0)
deserializeBrain(com.mojang.serialization.Dynamic<?> arg0)
m_8075_(com.mojang.serialization.Dynamic<?> arg0)
public Brain<CopperGolemEntity>
eq()
getBrain()
method_18868()
getBrain()
m_hobjxuks()
getBrain()
m_6274_()
protected void
a(alq$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
a(fir arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
m_xuwbpohg(C_kespdwpv arg0)
writeCustomData(DataWriter arg0)
m_7380_(C_398537_ arg0)
public void
a(fip arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
m_obkzfysl(C_djkzhngg arg0)
readCustomData(DataReader arg0)
m_7378_(C_398549_ arg0)
protected void
a(awx arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
m_wbeiezxn(C_bdwnwhiu arg0)
mobTick(ServerWorld arg0)
m_8024_(C_12_ arg0)
public void
g()
tick()
method_5773()
tick()
m_arkgrfeb()
tick()
m_8119_()
public ActionResult
b(czl o, cbp arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_kuhfocmh(C_jzrpycqo arg0, C_laxmzoqs arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_424020_, C_470_ arg1)
private void
a(awx o, bfq o, long arg2)
updateWeathering(ServerLevel arg0, RandomSource arg1, long arg2)
method_72457(class_3218 arg0, class_5819 arg1, long arg2)
serverTick(ServerWorld world, Random random, long timeOfDay)
m_jlmqobsi(C_bdwnwhiu arg0, C_rlomrsco arg1, long arg2)
updateOxidation(ServerWorld world, RandomGenerator random, long timeOfDay)
m_415853_(C_12_ p_428109_, C_212974_ p_430487_, long arg2)
private boolean
c(drq arg0)
canTurnToStatue(Level arg0)
method_72462(class_1937 arg0)
canTurnIntoStatue(World world)
m_bvrbcbvn(C_cdctfzbn arg0)
canBecomeStatue(World world)
m_417339_(C_1596_ arg0)
private void
h(awx arg0)
turnToStatue(ServerLevel arg0)
method_72473(class_3218 arg0)
turnIntoStatue(ServerWorld world)
m_psdkbihu(C_bdwnwhiu arg0)
becomeStatue(ServerWorld world)
m_415788_(C_12_ arg0)
private void
gO()
setupAnimationStates()
method_72470()
clientTick()
m_bavfwkov()
updateAnimations()
m_419144_()
public void
b(eev$a arg0)
spawn(WeatheringCopper$WeatherState arg0)
method_72460(class_5955$class_5811 arg0)
onSpawn(Oxidizable$OxidationLevel oxidationLevel)
m_gfnwjnfk(C_nxfuouvr$C_cencorqf arg0)
onSpawn(Oxidizable$OxidizationLevel oxidation)
m_418886_(C_141235_$C_141236_ arg0)
public EntityData
a(dsh o, cbo o, ced o, cfo 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)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_bhyaesep arg2, C_lsmqixfx arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_426459_, C_469_ p_431109_, C_345845_ p_429317_, C_542_ arg3)
public void
gN()
playSpawnSound()
method_72459()
playSpawnSound()
m_syeadkzu()
playSpawnSound()
m_416239_()
private void
gP()
playHeadSpinSound()
method_72471()
playSpinHeadSound()
m_pkfarpxz()
playSpinHeadSound()
m_419551_()
protected SoundEvent
e(cci arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
f_()
getDeathSound()
method_6002()
getDeathSound()
m_axkhmdzu()
getDeathSound()
m_5592_()
protected void
b(ja o, ejm arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_rnleirmb(C_hynzadkk arg0, C_txtbiemp arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_422759_, C_2064_ arg1)
private SoundEvent
gQ()
getSpinHeadSound()
method_72472()
getSpinHeadSound()
m_pfctdmkm()
getSpinHeadSound()
m_419233_()
public Vec3d
F()
getLeashOffset()
method_29919()
getLeashOffset()
m_klnnueyu()
getLeashOffset()
m_27831_()
public boolean
a(egu o, ja arg1)
hasContainerOpen(ContainerOpenersCounter arg0, BlockPos arg1)
method_72380(class_5561 arg0, class_2338 arg1)
isViewingContainerAt(ViewerCountManager arg0, BlockPos arg1)
m_aukguypi(C_fuettijt arg0, C_hynzadkk arg1)
isUsingAt(ViewerCountManager arg0, BlockPos arg1)
m_415594_(C_141248_ p_429827_, C_4675_ arg1)
public double
aq()
getContainerInteractionRange()
method_72381()
getContainerInteractionRange()
m_mcjspsbg()
getUseRange()
m_417584_()
public void
a(awx o, bcf o, dhp arg2)
shear(ServerLevel arg0, SoundSource arg1, ItemStack arg2)
method_6636(class_3218 arg0, class_3419 arg1, class_1799 arg2)
sheared(ServerWorld arg0, SoundCategory arg1, ItemStack arg2)
m_bwawkxlz(C_bdwnwhiu arg0, C_pqzizukq arg1, C_sddaxwyk arg2)
onSheared(ServerWorld arg0, SoundCategory arg1, ItemStack arg2)
m_5851_(C_12_ p_425604_, C_125_ p_427747_, C_1391_ arg2)
public boolean
a()
readyForShearing()
method_27072()
isShearable()
m_kwgwshvc()
isShearable()
m_6220_()
protected void
g(awx arg0)
dropEquipment(ServerLevel arg0)
method_16078(class_3218 arg0)
dropInventory(ServerWorld arg0)
m_whvujbsh(C_bdwnwhiu arg0)
dropInventory(ServerWorld arg0)
m_5907_(C_12_ arg0)
protected void
c(awx o, cci o, float arg2)
actuallyHurt(ServerLevel arg0, DamageSource arg1, float arg2)
method_6074(class_3218 arg0, class_1282 arg1, float arg2)
applyDamage(ServerWorld arg0, DamageSource arg1, float arg2)
m_unmnupmt(C_bdwnwhiu arg0, C_sbxfkpyv arg1, float arg2)
applyDamage(ServerWorld arg0, DamageSource arg1, float arg2)
m_6475_(C_12_ p_424359_, C_489_ p_429236_, float arg2)
public void
a(awx o, cev arg1)
thunderHit(ServerLevel arg0, LightningBolt arg1)
method_5800(class_3218 arg0, class_1538 arg1)
onStruckByLightning(ServerWorld arg0, LightningEntity arg1)
m_vindekkr(C_bdwnwhiu arg0, C_kbpqznyn arg1)
onStruckByLightning(ServerWorld arg0, LightningEntity arg1)
m_8038_(C_12_ p_426209_, C_523_ arg1)