mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-18 01:46:11 +00:00
build: Release 2.1.0
This commit is contained in:
parent
c3cdde9d2e
commit
95512a4c0b
@ -22,7 +22,7 @@ logger.lifecycle("""
|
|||||||
*******************************************
|
*******************************************
|
||||||
""")
|
""")
|
||||||
|
|
||||||
var rootVersion by extra("2.0.2")
|
var rootVersion by extra("2.1.0")
|
||||||
var snapshot by extra("SNAPSHOT")
|
var snapshot by extra("SNAPSHOT")
|
||||||
var revision: String by extra("")
|
var revision: String by extra("")
|
||||||
var buildNumber by extra("")
|
var buildNumber by extra("")
|
||||||
@ -40,7 +40,7 @@ ext {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
version = String.format("%s-%s", rootVersion, buildNumber)
|
version = String.format("%s", rootVersion)
|
||||||
|
|
||||||
if (!project.hasProperty("gitCommitHash")) {
|
if (!project.hasProperty("gitCommitHash")) {
|
||||||
apply(plugin = "org.ajoberstar.grgit")
|
apply(plugin = "org.ajoberstar.grgit")
|
||||||
|
@ -19,7 +19,7 @@ mcore = "7.0.1"
|
|||||||
residence = "4.5._13.1"
|
residence = "4.5._13.1"
|
||||||
towny = "0.97.5.0"
|
towny = "0.97.5.0"
|
||||||
protocollib = "4.7.0"
|
protocollib = "4.7.0"
|
||||||
plotsquared = "6.6.0"
|
plotsquared = "6.6.1"
|
||||||
redprotect = "1.9.6"
|
redprotect = "1.9.6"
|
||||||
|
|
||||||
# Third party
|
# Third party
|
||||||
|
@ -61,7 +61,7 @@ public class MinecraftVersion implements Comparable<MinecraftVersion> {
|
|||||||
/**
|
/**
|
||||||
* Get the minecraft version that the server is currently running
|
* Get the minecraft version that the server is currently running
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 2.1.0
|
||||||
*/
|
*/
|
||||||
public static MinecraftVersion getCurrent() {
|
public static MinecraftVersion getCurrent() {
|
||||||
if (current == null) {
|
if (current == null) {
|
||||||
|
@ -356,7 +356,7 @@ public interface BukkitImplAdapter<T> extends IBukkitAdapter {
|
|||||||
* Returns an {@link IBatchProcessor} instance for post-processing of chunks to sort ticking of placed/existing blocks and
|
* Returns an {@link IBatchProcessor} instance for post-processing of chunks to sort ticking of placed/existing blocks and
|
||||||
* fluids if the plugin is configured to do so
|
* fluids if the plugin is configured to do so
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 2.1.0
|
||||||
*/
|
*/
|
||||||
default IBatchProcessor getTickingPostProcessor() {
|
default IBatchProcessor getTickingPostProcessor() {
|
||||||
return null;
|
return null;
|
||||||
|
@ -37,7 +37,7 @@ public interface IBatchProcessor {
|
|||||||
* but MAY be flushed to history. Defaults to nothing as most Processors will not use it. If the post-processor will run
|
* but MAY be flushed to history. Defaults to nothing as most Processors will not use it. If the post-processor will run
|
||||||
* tasks asynchronously/not be blocking, use {@link IBatchProcessor#postProcessSet} to return a Future.
|
* tasks asynchronously/not be blocking, use {@link IBatchProcessor#postProcessSet} to return a Future.
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 2.1.0
|
||||||
*/
|
*/
|
||||||
default void postProcess(IChunk chunk, IChunkGet get, IChunkSet set) {
|
default void postProcess(IChunk chunk, IChunkGet get, IChunkSet set) {
|
||||||
// Default to above for compatibility and to ensure whatever method is overridden by child classes is called
|
// Default to above for compatibility and to ensure whatever method is overridden by child classes is called
|
||||||
|
@ -46,7 +46,7 @@ public class NbtUtils {
|
|||||||
* @param key the key to look for
|
* @param key the key to look for
|
||||||
* @return child tag
|
* @return child tag
|
||||||
* @throws InvalidFormatException if the format of the items is invalid
|
* @throws InvalidFormatException if the format of the items is invalid
|
||||||
* @since TODO
|
* @since 2.1.0
|
||||||
*/
|
*/
|
||||||
public static int getInt(CompoundBinaryTag tag, String key) throws InvalidFormatException {
|
public static int getInt(CompoundBinaryTag tag, String key) throws InvalidFormatException {
|
||||||
BinaryTag childTag = tag.get(key);
|
BinaryTag childTag = tag.get(key);
|
||||||
@ -72,7 +72,7 @@ public class NbtUtils {
|
|||||||
*
|
*
|
||||||
* @param tag {@link CompoundBinaryTag} to get values for
|
* @param tag {@link CompoundBinaryTag} to get values for
|
||||||
* @return Mutable map of values
|
* @return Mutable map of values
|
||||||
* @since TODO
|
* @since 2.1.0
|
||||||
*/
|
*/
|
||||||
public static Map<String, BinaryTag> getCompoundBinaryTagValues(CompoundBinaryTag tag) {
|
public static Map<String, BinaryTag> getCompoundBinaryTagValues(CompoundBinaryTag tag) {
|
||||||
Map<String, BinaryTag> value = new HashMap<>();
|
Map<String, BinaryTag> value = new HashMap<>();
|
||||||
|
@ -252,7 +252,7 @@ public interface Platform extends Keyed {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a {@link IBatchProcessor} to be used in edit processing. Null if not required.
|
* Get a {@link IBatchProcessor} to be used in edit processing. Null if not required.
|
||||||
* @since TODO
|
* @since 2.1.0
|
||||||
*/
|
*/
|
||||||
@Nullable
|
@Nullable
|
||||||
default IBatchProcessor getPlatformProcessor(boolean fastMode) {
|
default IBatchProcessor getPlatformProcessor(boolean fastMode) {
|
||||||
@ -262,7 +262,7 @@ public interface Platform extends Keyed {
|
|||||||
/**
|
/**
|
||||||
* Get a {@link IBatchProcessor} to be used in edit post-processing. Used for things such as tick-placed and tick fluids.
|
* Get a {@link IBatchProcessor} to be used in edit post-processing. Used for things such as tick-placed and tick fluids.
|
||||||
* Null if not required.
|
* Null if not required.
|
||||||
* @since TODO
|
* @since 2.1.0
|
||||||
*/
|
*/
|
||||||
@Nullable
|
@Nullable
|
||||||
default IBatchProcessor getPlatformPostProcessor(boolean fastMode) {
|
default IBatchProcessor getPlatformPostProcessor(boolean fastMode) {
|
||||||
|
@ -93,7 +93,7 @@ public class CuboidRegion extends AbstractRegion implements FlatRegion {
|
|||||||
* @param pos1 the first position
|
* @param pos1 the first position
|
||||||
* @param pos2 the second position
|
* @param pos2 the second position
|
||||||
* @param clampY if the min/max Y of the region should be clamped to the world
|
* @param clampY if the min/max Y of the region should be clamped to the world
|
||||||
* @since TODO
|
* @since 2.1.0
|
||||||
*/
|
*/
|
||||||
public CuboidRegion(World world, BlockVector3 pos1, BlockVector3 pos2, boolean clampY) {
|
public CuboidRegion(World world, BlockVector3 pos1, BlockVector3 pos2, boolean clampY) {
|
||||||
super(world);
|
super(world);
|
||||||
|
@ -83,7 +83,7 @@ public class AnvilChunk18 implements Chunk {
|
|||||||
* @param tag the tag to read
|
* @param tag the tag to read
|
||||||
* @throws DataException on a data error
|
* @throws DataException on a data error
|
||||||
* @deprecated Use {@link AnvilChunk18#AnvilChunk18(CompoundBinaryTag, Supplier)}
|
* @deprecated Use {@link AnvilChunk18#AnvilChunk18(CompoundBinaryTag, Supplier)}
|
||||||
* @since TODO
|
* @since 2.1.0
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public AnvilChunk18(CompoundTag tag, Supplier<CompoundTag> entitiesTag) throws DataException {
|
public AnvilChunk18(CompoundTag tag, Supplier<CompoundTag> entitiesTag) throws DataException {
|
||||||
@ -99,7 +99,7 @@ public class AnvilChunk18 implements Chunk {
|
|||||||
*
|
*
|
||||||
* @param tag the tag to read
|
* @param tag the tag to read
|
||||||
* @throws DataException on a data error
|
* @throws DataException on a data error
|
||||||
* @since TODO
|
* @since 2.1.0
|
||||||
*/
|
*/
|
||||||
public AnvilChunk18(CompoundBinaryTag tag, Supplier<CompoundBinaryTag> entityTag) throws DataException {
|
public AnvilChunk18(CompoundBinaryTag tag, Supplier<CompoundBinaryTag> entityTag) throws DataException {
|
||||||
//FAWE end
|
//FAWE end
|
||||||
|
@ -85,7 +85,7 @@ public class ChunkStoreHelper {
|
|||||||
* location
|
* location
|
||||||
* @return a Chunk implementation
|
* @return a Chunk implementation
|
||||||
* @throws DataException if the rootTag is not valid chunk data
|
* @throws DataException if the rootTag is not valid chunk data
|
||||||
* @since TODO
|
* @since 2.1.0
|
||||||
*/
|
*/
|
||||||
public static Chunk getChunk(CompoundTag rootTag, Supplier<CompoundTag> entitiesTag) throws DataException {
|
public static Chunk getChunk(CompoundTag rootTag, Supplier<CompoundTag> entitiesTag) throws DataException {
|
||||||
//FAWE end
|
//FAWE end
|
||||||
|
Loading…
Reference in New Issue
Block a user