public class DefaultPlugin extends AbstractPlugin implements LayerProvider, ContextProvider, WPContext
| Modifier and Type | Field and Description | 
|---|---|
| static org.pepsoft.util.AttributeKey<java.lang.Integer> | ATTRIBUTE_EXPORT_DATA_VERSIONThe data version to use when exporting for the platform. | 
| static org.pepsoft.util.AttributeKey<java.lang.Integer> | ATTRIBUTE_LATEST_DATA_VERSIONThe highest data version supported by the platform. | 
| static org.pepsoft.util.AttributeKey<org.pepsoft.util.Version> | ATTRIBUTE_MC_VERSIONThe version number of the oldest Minecraft Java Edition version the platform supports, or the equivalent
 Minecraft version for platforms which do not support Minecraft Java Edition. | 
| static java.util.List<Platform> | DEFAULT_JAVA_PLATFORMSThe default set of Minecraft Java Edition-based platforms supported by WorldPainter, ordered by release date from old to new. | 
| static Platform | JAVA_ANVIL | 
| static Platform | JAVA_ANVIL_1_15 | 
| static Platform | JAVA_ANVIL_1_17 | 
| static Platform | JAVA_ANVIL_1_18 | 
| static Platform | JAVA_ANVIL_1_19 | 
| static Platform | JAVA_MCREGION | 
PROPERTY_MINIMUM_WORLDPAINTER_VERSION, PROPERTY_NAME, PROPERTY_UUIDS, PROPERTY_VERSION| Constructor and Description | 
|---|
| DefaultPlugin() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<Layer> | getLayers() | 
| MinecraftJarProvider | getMinecraftJarProvider()Get the Minecraft jar provider, if any. | 
| EventLogger | getStatisticsRecorder()Get the event logger, if any. | 
| WorldPainterView | getView()Get the  WorldPainter view, if any. | 
| WPContext | getWPContextInstance() | 
getName, getProperties, getUUIDs, getVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMinimumWorldPainterVersion, getName, getProperties, getUUIDs, getVersion, initpublic static final org.pepsoft.util.AttributeKey<java.lang.Integer> ATTRIBUTE_EXPORT_DATA_VERSION
public static final org.pepsoft.util.AttributeKey<java.lang.Integer> ATTRIBUTE_LATEST_DATA_VERSION
public static final org.pepsoft.util.AttributeKey<org.pepsoft.util.Version> ATTRIBUTE_MC_VERSION
v1.12.2.public static final Platform JAVA_MCREGION
public static final Platform JAVA_ANVIL
public static final Platform JAVA_ANVIL_1_15
public static final Platform JAVA_ANVIL_1_17
public static final Platform JAVA_ANVIL_1_18
public static final Platform JAVA_ANVIL_1_19
public static java.util.List<Platform> DEFAULT_JAVA_PLATFORMS
public java.util.List<Layer> getLayers()
getLayers in interface LayerProviderpublic WPContext getWPContextInstance()
getWPContextInstance in interface ContextProviderpublic EventLogger getStatisticsRecorder()
WPContextnull.getStatisticsRecorder in interface WPContextpublic MinecraftJarProvider getMinecraftJarProvider()
WPContextnull.getMinecraftJarProvider in interface WPContextpublic WorldPainterView getView()
WPContextWorldPainter view, if any. May be null. It will not exist in headless
 mode, for example.