Class VillagerProfession

java.lang.Object
net.mcreator.element.GeneratableElement
net.mcreator.element.types.VillagerProfession
All Implemented Interfaces:
IPOIProvider

public class VillagerProfession extends GeneratableElement implements IPOIProvider
  • Field Details

    • displayName

      public String displayName
    • pointOfInterest

      public MItemBlock pointOfInterest
    • actionSound

      public Sound actionSound
    • hat

      public String hat
    • professionTextureFile

      public String professionTextureFile
    • zombifiedProfessionTextureFile

      public String zombifiedProfessionTextureFile
  • Constructor Details

    • VillagerProfession

      public VillagerProfession(ModElement element)
  • Method Details

    • isHatEnabled

      public boolean isHatEnabled()
    • finalizeModElementGeneration

      public void finalizeModElementGeneration()
      Description copied from class: GeneratableElement
      This method should take care of generating additional mod element resources for cases such as GUI mod element
      Overrides:
      finalizeModElementGeneration in class GeneratableElement
    • poiBlocks

      public List<MItemBlock> poiBlocks()
      Description copied from interface: IPOIProvider
      This method determines what POI blocks as MItemBlock list are provided by this generatable element
      Specified by:
      poiBlocks in interface IPOIProvider
      Returns:
      A list of MItemBlock that are POI provided by this generatable element