Package net.mcreator.element.types
Class Dimension
java.lang.Object
net.mcreator.element.GeneratableElement
net.mcreator.element.types.Dimension
- All Implemented Interfaces:
ICommonType,IMCItemProvider,IPOIProvider,ISpecialInfoHolder,ITabContainedElement
public class Dimension
extends GeneratableElement
implements ICommonType, ITabContainedElement, ISpecialInfoHolder, IMCItemProvider, IPOIProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class net.mcreator.element.GeneratableElement
GeneratableElement.GSONAdapter, GeneratableElement.Unknown -
Field Summary
FieldsModifier and TypeFieldDescriptiondoublebooleanbooleanintdoublebooleanbooleanbooleanintbooleanbooleanbooleanbooleanbooleanbooleanbooleanintbooleanintintintbooleanintintbooleanbooleanintFields inherited from class net.mcreator.element.GeneratableElement
formatVersion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWARNING: Calls to this method are generally not thread safe.getIconForMCItem(Workspace workspace, String suffix) This method determines what icon should be used for a custom MCItem, according to its eventual suffixbooleanbooleanThis method determines what POI blocks as MItemBlock list are provided by this generatable elementThis method determines what MCItems are provided by this generatable elementMethods inherited from class net.mcreator.element.GeneratableElement
finalizeModElementGeneration, getAdditionalTemplateData, getModElement, isUnknown, performQuickValidation, setModElement, wasConversionAppliedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.mcreator.element.types.interfaces.ISpecialInfoHolder
getFixedSpecialInformation, hasSpecialInformation
-
Field Details
-
biomesInDimension
-
worldGenType
-
mainFillerBlock
-
fluidBlock
-
seaLevel
public int seaLevel -
generateOreVeins
public boolean generateOreVeins -
generateAquifers
public boolean generateAquifers -
horizontalNoiseSize
public int horizontalNoiseSize -
verticalNoiseSize
public int verticalNoiseSize -
defaultEffects
-
useCustomEffects
public boolean useCustomEffects -
hasClouds
public boolean hasClouds -
cloudHeight
public int cloudHeight -
skyType
-
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
-
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
-
onPlayerLeavesDimension
-
portalFrame
-
portalParticles
-
portalLuminance
public int portalLuminance -
portalSound
-
enableIgniter
public boolean enableIgniter -
igniterName
-
igniterRarity
-
specialInformation
-
creativeTabs
-
texture
-
portalTexture
-
enablePortal
public boolean enablePortal -
portalMakeCondition
-
portalUseCondition
-
whenPortaTriggerlUsed
-
onPortalTickUpdate
-
-
Constructor Details
-
Dimension
-
-
Method Details
-
hasIgniter
public boolean hasIgniter() -
hasEffectsOrDimensionTriggers
public boolean hasEffectsOrDimensionTriggers() -
getWorldgenBlocks
-
generateModElementPicture
- Overrides:
generateModElementPicturein classGeneratableElement- Returns:
- BufferedImage of mod element preview or null if default mod element icon should be used
-
getCreativeTabs
- Specified by:
getCreativeTabsin interfaceITabContainedElement
-
getBaseTypesProvided
- Specified by:
getBaseTypesProvidedin interfaceICommonType
-
providedMCItems
Description copied from interface:IMCItemProviderThis method determines what MCItems are provided by this generatable elementWARNING: 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:
providedMCItemsin interfaceIMCItemProvider- Returns:
- A list of MCItems provided by this generatable element
-
getCreativeTabItems
Description copied from interface:ITabContainedElementWARNING: 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:
getCreativeTabItemsin interfaceITabContainedElement- Returns:
- list of items in the creative tab of this element
-
getSpecialInfoProcedure
- Specified by:
getSpecialInfoProcedurein interfaceISpecialInfoHolder
-
getIconForMCItem
Description copied from interface:IMCItemProviderThis method determines what icon should be used for a custom MCItem, according to its eventual suffix- Specified by:
getIconForMCItemin interfaceIMCItemProvider- Parameters:
workspace- The current workspacesuffix- 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
Description copied from interface:IPOIProviderThis method determines what POI blocks as MItemBlock list are provided by this generatable element- Specified by:
poiBlocksin interfaceIPOIProvider- Returns:
- A list of MItemBlock that are POI provided by this generatable element
-