net.minecraft.entity.passive

public class CopperGolemEntity

extends GolemEntity implements ContainerUser, Shearable

All mapped superinterfaces:

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

cwc
net.minecraft.world.entity.animal.golem.CopperGolem
net.minecraft.class_11573
net.minecraft.entity.passive.CopperGolemEntity
net.minecraft.unmapped.C_ljbrjchw
net.minecraft.entity.passive.CopperGolemEntity
net.minecraft.src.C_432552_

Field summary

Modifier and TypeField
private static final long
b
IGNORE_WEATHERING_TICK
field_61257
field_61257
f_bxjvxqtv
IGNORE_OXIDIZE_TICK
f_435170_
private static final long
c
UNSET_WEATHERING_TICK
field_61258
field_61258
f_wtaeztts
UNSET_OXIDIZE_TICK
f_433318_
private static final int
d
WEATHERING_TICK_FROM
field_61259
field_61259
f_iktaxcdv
MIN_OXIDATION_INTERVAL
f_435690_
private static final int
e
WEATHERING_TICK_TO
field_61273
field_61273
f_fxgwjrnb
MAX_OXIDATION_INTERVAL
f_435515_
private static final int
f
SPIN_ANIMATION_MIN_COOLDOWN
field_61274
field_61274
f_mqgqvzws
MIN_SPIN_ANIMATION_COOLDOWN
f_434213_
private static final int
cv
SPIN_ANIMATION_MAX_COOLDOWN
field_61275
field_61275
f_sqapvfyo
MAX_SPIN_ANIMATION_COOLDOWN
f_433894_
private static final float
cw
SPIN_SOUND_TIME_INTERVAL_OFFSET
field_61260
field_61260
f_ygbxhosp
SPIN_SOUND_TIME_INTERVAL_OFFSET
f_434574_
private static final float
cx
TURN_TO_STATUE_CHANCE
field_63113
field_63113
f_rfzfxavr
f_433912_
private static final int
cy
SPAWN_COOLDOWN_MIN
field_63114
field_63114
f_ctfvnwqi
f_436423_
private static final int
cz
SPAWN_COOLDOWN_MAX
field_63115
field_63115
f_jjufkciq
f_433586_
private static final TrackedData<Oxidizable$OxidationLevel>
cA
DATA_WEATHER_STATE
field_61261
OXIDATION_LEVEL
f_vklddofj
OXIDATION
f_435831_
private static final TrackedData<CopperGolemState>
cB
COPPER_GOLEM_STATE
field_61262
COPPER_GOLEM_STATE
f_rsesvibk
STATE
f_434134_
private BlockPos
cC
openedChestPos
field_61263
targetContainer
f_izihdnqq
openChestPos
f_433546_
private UUID
cD
lastLightningBoltUUID
field_63016
lastStruckLightning
f_shrluklt
uuid
f_435873_
private long
cE
nextWeatheringTick
field_61264
nextOxidationAge
f_chsxlopo
oxidizeTick
f_435057_
private int
cF
idleAnimationStartTick
field_61265
spinHeadTimer
f_ubjalogn
headSpinStopTick
f_437102_
private final AnimationState
cG
idleAnimationState
field_61268
spinHeadAnimationState
f_dvkxbolx
idleAnimation
f_434466_
private final AnimationState
cH
interactionGetItemAnimationState
field_61269
gettingItemAnimationState
f_ozxkiejd
takeItemAnimation
f_435874_
private final AnimationState
cI
interactionGetNoItemAnimationState
field_61270
gettingNoItemAnimationState
f_gmvngmox
takeNoItemAnimation
f_436842_
private final AnimationState
cJ
interactionDropItemAnimationState
field_61271
droppingItemAnimationState
f_nveyploe
depositItemAnimation
f_434085_
private final AnimationState
cK
interactionDropNoItemAnimationState
field_61272
droppingNoItemAnimationState
f_ghyhuvwl
depositNoItemAnimation
f_434523_
public static final EquipmentSlot
a
EQUIPMENT_SLOT_ANTENNA
field_62430
POPPY_SLOT
f_lqwwwiqq
SLOT
f_434669_

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_440934_()
public CopperGolemState
p()
getState()
method_72476()
getState()
m_iosbzfrd()
getState()
m_445683_()
public void
a(cwg arg0)
setState(CopperGolemState arg0)
method_72458(class_11577 arg0)
setState(CopperGolemState state)
m_hluvmrqc(C_yanmmnbh arg0)
setState(CopperGolemState state)
m_439889_(C_433076_ arg0)
public Oxidizable$OxidationLevel
gP()
getWeatherState()
method_72477()
getOxidationLevel()
m_wrvwouww()
getOxidation()
m_445134_()
public void
a(ejq$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_445635_(C_141235_$C_141236_ arg0)
public void
h(is arg0)
setOpenedChestPos(BlockPos arg0)
method_72474(class_2338 arg0)
setTargetContainerPos(BlockPos pos)
m_zaeqmjch(C_hynzadkk arg0)
setOpenChestPos(BlockPos pos)
m_442790_(C_4675_ arg0)
public void
gQ()
clearOpenedChestPos()
method_72478()
resetTargetContainerPos()
m_sthnwjed()
clearOpenChestPos()
m_446842_()
public AnimationState
gR()
getIdleAnimationState()
method_72463()
getSpinHeadAnimationState()
m_kbmmmfvo()
getIdleAnimation()
m_442805_()
public AnimationState
gS()
getInteractionGetItemAnimationState()
method_72466()
getGettingItemAnimationState()
m_kzxicrtm()
getTakeItemAnimation()
m_445662_()
public AnimationState
gT()
getInteractionGetNoItemAnimationState()
method_72467()
getGettingNoItemAnimationState()
m_xwvdbqja()
getTakeNoItemAnimation()
m_445502_()
public AnimationState
gU()
getInteractionDropItemAnimationState()
method_72468()
getDroppingItemAnimationState()
m_apivmhyi()
getDepositItemAnimation()
m_440801_()
public AnimationState
gV()
getInteractionDropNoItemAnimationState()
method_72469()
getDroppingNoItemAnimationState()
m_wxgkkrqe()
getDepositNoItemAnimation()
m_445605_()
protected Brain$Profile<CopperGolemEntity>
ew()
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>
ev()
getBrain()
method_18868()
getBrain()
m_hobjxuks()
getBrain()
m_6274_()
protected void
a(ama$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(fns 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(fnq 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(axf 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(ddm o, cdb 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_457772_, C_470_ arg1)
private void
a(axf o, bgr 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_438941_(C_12_ p_459584_, C_212974_ p_460790_, long arg2)
private boolean
c(dwo arg0)
canTurnToStatue(Level arg0)
method_72462(class_1937 arg0)
canTurnIntoStatue(World world)
m_bvrbcbvn(C_cdctfzbn arg0)
canBecomeStatue(World world)
m_445121_(C_1596_ arg0)
private void
h(axf arg0)
turnToStatue(ServerLevel arg0)
method_72473(class_3218 arg0)
turnIntoStatue(ServerWorld world)
m_psdkbihu(C_bdwnwhiu arg0)
becomeStatue(ServerWorld world)
m_441469_(C_12_ arg0)
private void
gX()
setupAnimationStates()
method_72470()
clientTick()
m_bavfwkov()
updateAnimations()
m_443506_()
public void
b(ejq$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_440929_(C_141235_$C_141236_ arg0)
public EntityData
a(dxf o, cda o, cgt o, cie 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_454032_, C_469_ p_454441_, C_345845_ p_455428_, C_542_ arg3)
public void
gW()
playSpawnSound()
method_72459()
playSpawnSound()
m_syeadkzu()
playSpawnSound()
m_443325_()
private void
gY()
playHeadSpinSound()
method_72471()
playSpinHeadSound()
m_pkfarpxz()
playSpinHeadSound()
m_442953_()
protected SoundEvent
h(cex 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
fd()
getDeathSound()
method_6002()
getDeathSound()
m_axkhmdzu()
getDeathSound()
m_5592_()
protected void
b(is o, eoh 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_457095_, C_2064_ arg1)
private SoundEvent
gZ()
getSpinHeadSound()
method_72472()
getSpinHeadSound()
m_pfctdmkm()
getSpinHeadSound()
m_446013_()
public Vec3d
B()
getLeashOffset()
method_29919()
getLeashOffset()
m_klnnueyu()
getLeashOffset()
m_33927_()
public boolean
a(elp o, is 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_455610_, C_4675_ arg1)
public double
ar()
getContainerInteractionRange()
method_72381()
getContainerInteractionRange()
m_mcjspsbg()
getUseRange()
m_417584_()
public void
a(axf o, bdb o, dlt 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_456118_, C_125_ p_458173_, C_1391_ arg2)
public boolean
a()
readyForShearing()
method_27072()
isShearable()
m_kwgwshvc()
isShearable()
m_6220_()
protected void
g(axf 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(axf o, cex 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_450313_, C_489_ p_457432_, float arg2)
public void
a(axf o, chk 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_458528_, C_523_ arg1)