mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-12 04:23:54 +00:00
build: Release 2.1.0
This commit is contained in:
@ -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
|
||||
* 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 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
|
||||
* @return child tag
|
||||
* @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 {
|
||||
BinaryTag childTag = tag.get(key);
|
||||
@ -72,7 +72,7 @@ public class NbtUtils {
|
||||
*
|
||||
* @param tag {@link CompoundBinaryTag} to get values for
|
||||
* @return Mutable map of values
|
||||
* @since TODO
|
||||
* @since 2.1.0
|
||||
*/
|
||||
public static Map<String, BinaryTag> getCompoundBinaryTagValues(CompoundBinaryTag tag) {
|
||||
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.
|
||||
* @since TODO
|
||||
* @since 2.1.0
|
||||
*/
|
||||
@Nullable
|
||||
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.
|
||||
* Null if not required.
|
||||
* @since TODO
|
||||
* @since 2.1.0
|
||||
*/
|
||||
@Nullable
|
||||
default IBatchProcessor getPlatformPostProcessor(boolean fastMode) {
|
||||
|
@ -93,7 +93,7 @@ public class CuboidRegion extends AbstractRegion implements FlatRegion {
|
||||
* @param pos1 the first position
|
||||
* @param pos2 the second position
|
||||
* @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) {
|
||||
super(world);
|
||||
|
@ -83,7 +83,7 @@ public class AnvilChunk18 implements Chunk {
|
||||
* @param tag the tag to read
|
||||
* @throws DataException on a data error
|
||||
* @deprecated Use {@link AnvilChunk18#AnvilChunk18(CompoundBinaryTag, Supplier)}
|
||||
* @since TODO
|
||||
* @since 2.1.0
|
||||
*/
|
||||
@Deprecated
|
||||
public AnvilChunk18(CompoundTag tag, Supplier<CompoundTag> entitiesTag) throws DataException {
|
||||
@ -99,7 +99,7 @@ public class AnvilChunk18 implements Chunk {
|
||||
*
|
||||
* @param tag the tag to read
|
||||
* @throws DataException on a data error
|
||||
* @since TODO
|
||||
* @since 2.1.0
|
||||
*/
|
||||
public AnvilChunk18(CompoundBinaryTag tag, Supplier<CompoundBinaryTag> entityTag) throws DataException {
|
||||
//FAWE end
|
||||
|
@ -85,7 +85,7 @@ public class ChunkStoreHelper {
|
||||
* location
|
||||
* @return a Chunk implementation
|
||||
* @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 {
|
||||
//FAWE end
|
||||
|
Reference in New Issue
Block a user