Class CopperGolemAi
java.lang.Object
net.minecraft.world.entity.animal.coppergolem.CopperGolemAi
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ImmutableList<MemoryModuleType<?>> private static final ImmutableList<SensorType<? extends Sensor<? super CopperGolem>>> private static final floatprivate static final floatprivate static final intprivate static final intprivate static final Predicate<BlockState> private static final intprivate static final Predicate<BlockState> private static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Brain.Provider<CopperGolem> private static Map<TransportItemsBetweenContainers.ContainerInteractionState, TransportItemsBetweenContainers.OnTargetReachedInteraction> private static voidinitCoreActivity(Brain<CopperGolem> pBrain) private static voidinitIdleActivity(Brain<CopperGolem> pBrain) protected static Brain<?> makeBrain(Brain<CopperGolem> pBrain) private static TransportItemsBetweenContainers.OnTargetReachedInteractiononReachedTargetInteraction(CopperGolemState pStatue, SoundEvent pSound) private static Consumer<PathfinderMob> private static Predicate<TransportItemsBetweenContainers.TransportItemTarget> static voidupdateActivity(CopperGolem pGolem)
-
Field Details
-
SPEED_MULTIPLIER_WHEN_PANICKING
private static final float SPEED_MULTIPLIER_WHEN_PANICKING- See Also:
-
SPEED_MULTIPLIER_WHEN_IDLING
private static final float SPEED_MULTIPLIER_WHEN_IDLING- See Also:
-
TRANSPORT_ITEM_HORIZONTAL_SEARCH_RADIUS
private static final int TRANSPORT_ITEM_HORIZONTAL_SEARCH_RADIUS- See Also:
-
TRANSPORT_ITEM_VERTICAL_SEARCH_RADIUS
private static final int TRANSPORT_ITEM_VERTICAL_SEARCH_RADIUS- See Also:
-
TICK_TO_START_ON_REACHED_INTERACTION
private static final int TICK_TO_START_ON_REACHED_INTERACTION- See Also:
-
TICK_TO_PLAY_ON_REACHED_SOUND
private static final int TICK_TO_PLAY_ON_REACHED_SOUND- See Also:
-
TRANSPORT_ITEM_SOURCE_BLOCK
-
TRANSPORT_ITEM_DESTINATION_BLOCK
-
SENSOR_TYPES
-
MEMORY_TYPES
-
-
Constructor Details
-
CopperGolemAi
public CopperGolemAi()
-
-
Method Details
-
brainProvider
-
makeBrain
-
updateActivity
-
initCoreActivity
-
initIdleActivity
-
getTargetReachedInteractions
private static Map<TransportItemsBetweenContainers.ContainerInteractionState,TransportItemsBetweenContainers.OnTargetReachedInteraction> getTargetReachedInteractions() -
onReachedTargetInteraction
private static TransportItemsBetweenContainers.OnTargetReachedInteraction onReachedTargetInteraction(CopperGolemState pStatue, @Nullable SoundEvent pSound) -
onTravelling
-
shouldQueueForTarget
private static Predicate<TransportItemsBetweenContainers.TransportItemTarget> shouldQueueForTarget()
-