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_VERSION
The data version to use when exporting for the platform.
|
static org.pepsoft.util.AttributeKey<java.lang.Integer> |
ATTRIBUTE_LATEST_DATA_VERSION
The highest data version supported by the platform.
|
static org.pepsoft.util.AttributeKey<org.pepsoft.util.Version> |
ATTRIBUTE_MC_VERSION
The 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_PLATFORMS
The 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, getVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMinimumWorldPainterVersion, getName, getProperties, getUUIDs, getVersion, init
public 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 LayerProvider
public WPContext getWPContextInstance()
getWPContextInstance
in interface ContextProvider
public EventLogger getStatisticsRecorder()
WPContext
null
.getStatisticsRecorder
in interface WPContext
public MinecraftJarProvider getMinecraftJarProvider()
WPContext
null
.getMinecraftJarProvider
in interface WPContext
public WorldPainterView getView()
WPContext
WorldPainter view
, if any. May be null
. It will not exist in headless
mode, for example.