Class Dimension

java.lang.Object
net.mcreator.element.GeneratableElement
net.mcreator.element.types.Dimension
All Implemented Interfaces:
ICommonType, IMCItemProvider, IPOIProvider, ISpecialInfoHolder, ITabContainedElement

  • Field Details

    • biomesInDimension

      public List<BiomeEntry> biomesInDimension
    • worldGenType

      public String worldGenType
    • mainFillerBlock

      public MItemBlock mainFillerBlock
    • fluidBlock

      public MItemBlock fluidBlock
    • seaLevel

      public int seaLevel
    • generateOreVeins

      public boolean generateOreVeins
    • generateAquifers

      public boolean generateAquifers
    • horizontalNoiseSize

      public int horizontalNoiseSize
    • verticalNoiseSize

      public int verticalNoiseSize
    • defaultEffects

      public String defaultEffects
    • useCustomEffects

      public boolean useCustomEffects
    • hasClouds

      public boolean hasClouds
    • cloudHeight

      public double cloudHeight
    • skyType

      public String skyType
    • airColor

      public Color airColor
    • sunHeightAffectsFog

      public boolean sunHeightAffectsFog
    • canRespawnHere

      public boolean canRespawnHere
    • hasFog

      public boolean hasFog
    • ambientLight

      public double ambientLight
    • doesWaterVaporize

      public boolean doesWaterVaporize
    • hasFixedTime

      public boolean hasFixedTime
    • fixedTimeValue

      public int fixedTimeValue
    • coordinateScale

      public double coordinateScale
    • infiniburnTag

      public String infiniburnTag
    • bedWorks

      public boolean bedWorks
    • hasSkyLight

      public boolean hasSkyLight
    • imitateOverworldBehaviour

      public boolean imitateOverworldBehaviour
    • piglinSafe

      public boolean piglinSafe
    • hasRaids

      public boolean hasRaids
    • minMonsterSpawnLightLimit

      public int minMonsterSpawnLightLimit
    • maxMonsterSpawnLightLimit

      public int maxMonsterSpawnLightLimit
    • monsterSpawnBlockLightLimit

      public int monsterSpawnBlockLightLimit
    • onPlayerEntersDimension

      public Procedure onPlayerEntersDimension
    • onPlayerLeavesDimension

      public Procedure onPlayerLeavesDimension
    • portalFrame

      public MItemBlock portalFrame
    • portalParticles

      public Particle portalParticles
    • portalLuminance

      public int portalLuminance
    • portalSound

      public Sound portalSound
    • enableIgniter

      public boolean enableIgniter
    • igniterName

      public String igniterName
    • igniterRarity

      public String igniterRarity
    • specialInformation

      public StringListProcedure specialInformation
    • creativeTabs

      public List<TabEntry> creativeTabs
    • texture

      public TextureHolder texture
    • portalTexture

      public TextureHolder portalTexture
    • enablePortal

      public boolean enablePortal
    • portalMakeCondition

      public Procedure portalMakeCondition
    • portalUseCondition

      public Procedure portalUseCondition
    • whenPortaTriggerlUsed

      public Procedure whenPortaTriggerlUsed
    • onPortalTickUpdate

      public Procedure onPortalTickUpdate
  • Constructor Details

    • Dimension

      public Dimension(ModElement element)
  • Method Details

    • hasIgniter

      public boolean hasIgniter()
    • hasEffectsOrDimensionTriggers

      public boolean hasEffectsOrDimensionTriggers()
    • getWorldgenBlocks

      public Set<String> getWorldgenBlocks()
    • generateModElementPicture

      public BufferedImage generateModElementPicture()
      Overrides:
      generateModElementPicture in class GeneratableElement
      Returns:
      BufferedImage of mod element preview or null if default mod element icon should be used
    • getCreativeTabs

      public List<TabEntry> getCreativeTabs()
      Specified by:
      getCreativeTabs in interface ITabContainedElement
    • getBaseTypesProvided

      public Collection<BaseType> getBaseTypesProvided()
      Specified by:
      getBaseTypesProvided in interface ICommonType
    • providedMCItems

      public List<MCItem> providedMCItems()
      Description copied from interface: IMCItemProvider
      This method determines what MCItems are provided by this generatable element

      WARNING: Calls to this method are generally not thread safe. Implementations can call MCItem.Custom::new that calls getBlockIconBasedOnName which calls ModElement#getGeneratableElement that is not thread safe

      Specified by:
      providedMCItems in interface IMCItemProvider
      Returns:
      A list of MCItems provided by this generatable element
    • getCreativeTabItems

      public List<MCItem> getCreativeTabItems()
      Description copied from interface: ITabContainedElement
      WARNING: Calls to this method are generally not thread safe. Implementations can call MCItem.Custom::new that calls getBlockIconBasedOnName that calls ModElement#getGeneratableElement which is not thread safe
      Specified by:
      getCreativeTabItems in interface ITabContainedElement
      Returns:
      list of items in the creative tab of this element
    • getSpecialInfoProcedure

      public StringListProcedure getSpecialInfoProcedure()
      Specified by:
      getSpecialInfoProcedure in interface ISpecialInfoHolder
    • getIconForMCItem

      public ImageIcon getIconForMCItem(Workspace workspace, String suffix)
      Description copied from interface: IMCItemProvider
      This method determines what icon should be used for a custom MCItem, according to its eventual suffix
      Specified by:
      getIconForMCItem in interface IMCItemProvider
      Parameters:
      workspace - The current workspace
      suffix - The suffix of the given MCItem (for example, "bucket" for fluid buckets). If this MCItem has no suffix, this will be the empty string.
      Returns:
      An ImageIcon to use for the given MCItem, or null to use the element preview image.
    • 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