net.minecraft.world.entity.animal.coppergolem

public class CopperGolem

extends AbstractGolem implements ContainerUser

All mapped superinterfaces:

SyncedDataHolder, Nameable, ItemOwner, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, WaypointTransmitter, Waypoint, EquipmentUser, Leashable, Targeting, ContainerUser

cor
net.minecraft.world.entity.animal.coppergolem.CopperGolem
net.minecraft.class_11573
net.minecraft.entity.passive.CopperGolemEntity

Field summary

Modifier and TypeField
private static final long
a
IGNORE_WEATHERING_TICK
field_61257
field_61257
private static final long
b
UNSET_WEATHERING_TICK
field_61258
field_61258
private static final int
c
WEATHERING_TICK_FROM
field_61259
field_61259
private static final int
d
WEATHERING_TICK_TO
field_61273
field_61273
private static final int
e
SPIN_ANIMATION_MIN_COOLDOWN
field_61274
field_61274
private static final int
f
SPIN_ANIMATION_MAX_COOLDOWN
field_61275
field_61275
private static final float
cl
SPIN_SOUND_TIME_INTERVAL_OFFSET
field_61260
field_61260
private static final EntityDataAccessor<WeatheringCopper$WeatherState>
cm
DATA_WEATHER_STATE
field_61261
OXIDATION_LEVEL
private static final EntityDataAccessor<CopperGolemState>
cn
COPPER_GOLEM_STATE
field_61262
COPPER_GOLEM_STATE
private BlockPos
co
openedChestPos
field_61263
field_61263
private long
cp
nextWeatheringTick
field_61264
nextOxidationAge
private int
cq
idleAnimationStartTick
field_61265
spinHeadTimer
private final AnimationState
cr
walkAnimationState
field_61266
field_61266
private final AnimationState
cs
walkWithItemAnimationState
field_61267
field_61267
private final AnimationState
ct
idleAnimationState
field_61268
spinHeadAnimationState
private final AnimationState
cu
interactionGetItemAnimationState
field_61269
gettingItemAnimationState
private final AnimationState
cv
interactionGetNoItemAnimationState
field_61270
gettingNoItemAnimationState
private final AnimationState
cw
interactionDropItemAnimationState
field_61271
droppingItemAnimationState
private final AnimationState
cx
interactionDropNoItemAnimationState
field_61272
droppingNoItemAnimationState

Constructor summary

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

Method summary

Modifier and TypeMethod
public static AttributeSupplier$Builder
l()
createAttributes()
method_72475()
createCopperGolemAttributes()
public CopperGolemState
m()
getState()
method_72476()
getState()
public void
a(cov arg0)
setState(CopperGolemState arg0)
method_72458(class_11577 arg0)
setState(CopperGolemState state)
public WeatheringCopper$WeatherState
n()
getWeatherState()
method_72477()
getOxidationLevel()
public void
a(eau$a arg0)
setWeatherState(WeatheringCopper$WeatherState arg0)
method_72461(class_5955$class_5811 arg0)
setOxidationLevel(Oxidizable$OxidationLevel oxidationLevel)
public void
h(jb arg0)
setOpenedChestPos(BlockPos arg0)
method_72474(class_2338 arg0)
method_72474(BlockPos arg0)
public void
t()
clearOpenedChestPos()
method_72478()
method_72478()
public AnimationState
gG()
getIdleAnimationState()
method_72463()
getSpinHeadAnimationState()
public AnimationState
gH()
getWalkAnimationState()
method_72464()
method_72464()
public AnimationState
gI()
getWalkWithItemAnimationState()
method_72465()
method_72465()
public AnimationState
gJ()
getInteractionGetItemAnimationState()
method_72466()
getGettingItemAnimationState()
public AnimationState
gK()
getInteractionGetNoItemAnimationState()
method_72467()
getGettingNoItemAnimationState()
public AnimationState
gL()
getInteractionDropItemAnimationState()
method_72468()
getDroppingItemAnimationState()
public AnimationState
gM()
getInteractionDropNoItemAnimationState()
method_72469()
getDroppingNoItemAnimationState()
protected Brain$Provider<CopperGolem>
ej()
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 Brain<CopperGolem>
ei()
getBrain()
method_18868()
getBrain()
protected void
ag()
sendDebugPackets()
method_18409()
sendAiDebugData()
protected void
a(alo$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
a(fei arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
public void
a(feg arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
protected void
a(auf arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public void
g()
tick()
method_5773()
tick()
public InteractionResult
b(cvm arg0, bxs arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
private void
a(auf arg0, bcr arg1, 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)
private boolean
c(dno arg0)
canTurnToStatue(Level arg0)
method_72462(class_1937 arg0)
canTurnIntoStatue(World world)
private void
h(auf arg0)
turnToStatue(ServerLevel arg0)
method_72473(class_3218 arg0)
turnIntoStatue(ServerWorld world)
private void
gN()
setupAnimationStates()
method_72470()
clientTick()
public void
a(dnp arg0, eau$a arg1)
spawn(LevelAccessor arg0, WeatheringCopper$WeatherState arg1)
method_72460(class_1936 arg0, class_5955$class_5811 arg1)
onSpawn(WorldAccess world, Oxidizable$OxidationLevel oxidationLevel)
public SpawnGroupData
a(dof arg0, bxr arg1, caf arg2, cbq 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)
public void
a(dnp arg0)
playSpawnSound(LevelAccessor arg0)
method_72459(class_1936 arg0)
playSpawnSound(WorldAccess world)
private void
gO()
playHeadSpinSound()
method_72471()
playSpinHeadSound()
protected SoundEvent
e(byl arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
f_()
getDeathSound()
method_6002()
getDeathSound()
protected void
b(jb arg0, efg arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
private SoundEvent
gP()
getSpinHeadSound()
method_72472()
getSpinHeadSound()
public Vec3
F()
getLeashOffset()
method_29919()
getLeashOffset()
public boolean
a(ecp arg0, jb arg1)
hasContainerOpen(ContainerOpenersCounter arg0, BlockPos arg1)
method_72380(class_5561 arg0, class_2338 arg1)
isViewingContainerAt(ViewerCountManager arg0, BlockPos arg1)
public double
ak()
getContainerInteractionRange()
method_72381()
getContainerInteractionRange()