Interface CopperGolem

All Superinterfaces:
Attributable, Audience, CommandSender, Creature, Damageable, DataComponentView, Entity, Frictional, Golem, HoverEventSource<HoverEvent.ShowEntity>, Leashable, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, PersistentDataViewHolder, Pointered, ProjectileSource, ServerOperator, Shearable, Sound.Emitter

@NullMarked public interface CopperGolem extends Golem, Shearable
  • Method Details

    • getWeatheringState

      WeatheringCopperState getWeatheringState()
      Get the current weathering state of the copper golem.
      Returns:
      the weathering state
    • setWeatheringState

      void setWeatheringState(WeatheringCopperState state)
      Set the weathering state of the copper golem.
      Parameters:
      state - the new weathering state
    • getOxidizing

      CopperGolem.Oxidizing getOxidizing()
      Get the current oxidizing state of the copper golem.
      Returns:
      the oxidizing state
    • setOxidizing

      void setOxidizing(CopperGolem.Oxidizing oxidizing)
      Set the oxidizing state of the copper golem.
      Parameters:
      oxidizing - the new oxidizing state