mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Back to snapshot for development
This commit is contained in:
parent
e4a214ec9b
commit
a4a11265ec
@ -34,7 +34,7 @@ logger.lifecycle("""
|
|||||||
*******************************************
|
*******************************************
|
||||||
""")
|
""")
|
||||||
|
|
||||||
var rootVersion by extra("2.8.4")
|
var rootVersion by extra("2.8.5")
|
||||||
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("")
|
||||||
@ -52,7 +52,7 @@ ext {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
version = String.format("%s", rootVersion)
|
version = String.format("%s-%s", rootVersion, buildNumber)
|
||||||
|
|
||||||
if (!project.hasProperty("gitCommitHash")) {
|
if (!project.hasProperty("gitCommitHash")) {
|
||||||
apply(plugin = "org.ajoberstar.grgit")
|
apply(plugin = "org.ajoberstar.grgit")
|
||||||
|
@ -157,7 +157,7 @@ public interface IBatchProcessor {
|
|||||||
* @return false if chunk is empty of NBT
|
* @return false if chunk is empty of NBT
|
||||||
* @deprecated tiles are stored in chunk-normalised coordinate space and thus cannot use the same function as entities
|
* @deprecated tiles are stored in chunk-normalised coordinate space and thus cannot use the same function as entities
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "2.8.4")
|
||||||
default boolean trimNBT(IChunkSet set, Function<BlockVector3, Boolean> contains) {
|
default boolean trimNBT(IChunkSet set, Function<BlockVector3, Boolean> contains) {
|
||||||
Set<CompoundTag> ents = set.getEntities();
|
Set<CompoundTag> ents = set.getEntities();
|
||||||
if (!ents.isEmpty()) {
|
if (!ents.isEmpty()) {
|
||||||
@ -175,7 +175,7 @@ public interface IBatchProcessor {
|
|||||||
* Utility method to trim entity and blocks with a provided contains function.
|
* Utility method to trim entity and blocks with a provided contains function.
|
||||||
*
|
*
|
||||||
* @return false if chunk is empty of NBT
|
* @return false if chunk is empty of NBT
|
||||||
* @since TODO
|
* @since 2.8.4
|
||||||
*/
|
*/
|
||||||
default boolean trimNBT(
|
default boolean trimNBT(
|
||||||
IChunkSet set, Function<BlockVector3, Boolean> containsEntity, Function<BlockVector3, Boolean> containsTile
|
IChunkSet set, Function<BlockVector3, Boolean> containsEntity, Function<BlockVector3, Boolean> containsTile
|
||||||
|
@ -38,7 +38,7 @@ public interface IChunk extends Trimable, IChunkGet, IChunkSet {
|
|||||||
* Return the minimum block coordinate of the chunk
|
* Return the minimum block coordinate of the chunk
|
||||||
*
|
*
|
||||||
* @return BlockVector3 of minimum block coordinate
|
* @return BlockVector3 of minimum block coordinate
|
||||||
* @since TODO
|
* @since 2.8.4
|
||||||
*/
|
*/
|
||||||
default BlockVector3 getChunkBlockCoord() {
|
default BlockVector3 getChunkBlockCoord() {
|
||||||
return BlockVector3.at(getX() << 4, getMinY(), getZ() << 4);
|
return BlockVector3.at(getX() << 4, getMinY(), getZ() << 4);
|
||||||
|
Loading…
Reference in New Issue
Block a user