Skip to content

Commit

Permalink
Release 2.12.3
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Brandes <mc.cache@web.de>
  • Loading branch information
NotMyFault committed Dec 29, 2024
1 parent 4e57613 commit f369fb0
Show file tree
Hide file tree
Showing 18 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ext {
}
}

version = String.format("%s-%s", rootVersion, buildNumber)
version = String.format("%s", rootVersion)

if (!project.hasProperty("gitCommitHash")) {
apply(plugin = "org.ajoberstar.grgit")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ default IBatchProcessor getTickingPostProcessor() {

/**
* Returns an {@link PlacementStateProcessor} instance for processing placed blocks to "fix" them.
* @since TODO
* @since 2.12.3
*/
default PlacementStateProcessor getPlatformPlacementProcessor(Extent extent, BlockTypeMask mask, Region region) {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ public MinecraftStructure(@Nonnull DataOutput out) {
}

@SuppressWarnings("removal")
@Deprecated(since = "TODO")
@Deprecated(since = "2.12.3")
public MinecraftStructure(@Nonnull com.sk89q.jnbt.NBTInputStream inputStream) {
this.in = inputStream.dataInputStream();
}

@SuppressWarnings("removal")
@Deprecated(since = "TODO")
@Deprecated(since = "2.12.3")
public MinecraftStructure(@Nonnull com.sk89q.jnbt.NBTOutputStream out) {
this.out = out;
}
Expand Down Expand Up @@ -176,7 +176,7 @@ public Clipboard read(UUID clipboardId) throws IOException {
/**
* @deprecated owner is not used anymore, use {@link #write(Clipboard)}
*/
@Deprecated(since = "TODO")
@Deprecated(since = "2.12.3")
public void write(Clipboard clipboard, @SuppressWarnings("unused") String owner) throws IOException {
this.write(clipboard);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
/**
* Processor/pattern that uses Minecraft internal methods to determine the shape of blocks, e.g. stairs and fences
*
* @since TODO
* @since 2.12.3
*/
public abstract class PlacementStateProcessor extends AbstractDelegateExtent implements IBatchProcessor, Pattern {

Expand Down Expand Up @@ -76,7 +76,7 @@ public abstract class PlacementStateProcessor extends AbstractDelegateExtent imp
*
* @param extent Extent to use
* @param mask Mask of blocks to perform updates on
* @since TODO
* @since 2.12.3
*/
public PlacementStateProcessor(Extent extent, BlockTypeMask mask, Region region) {
super(extent);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* Mask that tests adjacency only in 2D/the same y-level
*
* @since TODO
* @since 2.12.3
*/
public class Adjacent2DMask extends AbstractMask {

Expand All @@ -23,7 +23,7 @@ public class Adjacent2DMask extends AbstractMask {
* @param mask Mask required to be adjacent
* @param requiredMin Minimum number of positive adjacency matches required
* @param requiredMax Maximum number of positive adjacency matches required
* @since TODO
* @since 2.12.3
*/
public Adjacent2DMask(Mask mask, int requiredMin, int requiredMax) {
this.mask = mask;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* Optimized version of {@link Adjacent2DMask} for testing for any single adjacency
*
* @since TODO
* @since 2.12.3
*/
public class AdjacentAny2DMask extends AbstractMask {

Expand All @@ -21,7 +21,7 @@ public class AdjacentAny2DMask extends AbstractMask {
* Optimized version of {@link Adjacent2DMask} for testing for any single adjacency. Caches results of the adjacent mask
*
* @param mask Mask required to be adjacent
* @since TODO
* @since 2.12.3
*/
public AdjacentAny2DMask(Mask mask) {
this(mask, true);
Expand All @@ -32,7 +32,7 @@ public AdjacentAny2DMask(Mask mask) {
*
* @param mask Mask required to be adjacent
* @param cache If the result of the adjacency mask should be cached
* @since TODO
* @since 2.12.3
*/
public AdjacentAny2DMask(Mask mask, boolean cache) {
this.mask = cache ? CachedMask.cache(mask) : mask;
Expand Down Expand Up @@ -61,7 +61,7 @@ public boolean test(BlockVector3 v) {
*
* @param extent extent to test in
* @param position position to test at
* @since TODO
* @since 2.12.3
*/
public boolean test(Extent extent, BlockVector3 position) {
if (!(mask instanceof AbstractExtentMask extentMask)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ default void join() {
/**
* Signals to the filter the edit has concluded
*
* @since TODO
* @since 2.12.3
*/
default void finish() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public interface IBlocks extends Trimable {
* This method might be conservative and return {@code true} even if the section is empty.
*
* @param layer the section's layer
* @since TODO
* @since 2.12.3
*/
default boolean hasNonEmptySection(int layer) {
return hasSection(layer);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,14 @@ default IChunkSet createCopy() {
/**
* Set the side effects to be used when settings these blocks
*
* @since TODO
* @since 2.12.3
*/
void setSideEffectSet(@Nonnull SideEffectSet sideEffectSet);

/**
* Get the side effects to be used when settings these blocks
*
* @since TODO
* @since 2.12.3
*/
@Nonnull
SideEffectSet getSideEffectSet();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ default BlockVector3 getMaximumPoint() {
/**
* Set the side effects to be used with this extent
*
* @since TODO
* @since 2.12.3
*/
void setSideEffectSet(SideEffectSet sideEffectSet);

/**
* Get the side effects to be used with this extent
*
* @since TODO
* @since 2.12.3
*/
SideEffectSet getSideEffectSet();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public ExtentTraverser(@Nonnull T root, ExtentTraverser<T> parent) {
/**
* Get the world backing the given extent, if present, else null.
*
* @since TODO
* @since 2.12.3
*/
@Nullable
public static World getWorldFromExtent(Extent extent) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ public EditSessionBuilder combineStages(@Nullable Boolean combineStages) {
/**
* Set the side effects to be used with this edit
*
* @since TODO
* @since 2.12.3
*/
public EditSessionBuilder setSideEffectSet(@Nullable SideEffectSet sideEffectSet) {
this.sideEffectSet = sideEffectSet;
Expand Down Expand Up @@ -756,7 +756,7 @@ public AbstractChangeSet getChangeTask() {
/**
* Get the SideEffectSet that will be used
*
* @since TODO
* @since 2.12.3
*/
public SideEffectSet getSideEffectSet() {
return sideEffectSet;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ default IBatchProcessor getPlatformPostProcessor(boolean fastMode) {
* Returns an {@link PlacementStateProcessor} instance for processing placed blocks to "fix" them. Optional region to
* prevent any changes outside of, as sometimes block neighbours will also be updated otherwise.
*
* @since TODO
* @since 2.12.3
*/
default PlacementStateProcessor getPlatformPlacementProcessor(Extent extent, BlockTypeMask mask, @Nullable Region region) {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public RegionMaskingFilter(Mask mask, RegionFunction function) {
* @param function the function
*/
//FAWE start - Extent
@Deprecated(since = "TODO")
@Deprecated(since = "2.12.3")
public RegionMaskingFilter(@SuppressWarnings("unused") Extent extent, Mask mask, RegionFunction function) {
this(mask, function);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public boolean test(Extent extent, BlockVector3 vector) {
/**
* Test a specific block against this category mask
*
* @since TODO
* @since 2.12.3
*/
public <B extends BlockStateHolder<B>> boolean test(B blockStateHolder) {
return category.contains(blockStateHolder);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public boolean test(BlockType block) {
/**
* Test a block state against this block type mask
*
* @since TODO
* @since 2.12.3
*/
public <B extends BlockStateHolder<B>> boolean test(B blockStateHolder) {
return types[blockStateHolder.getBlockType().getInternalId()];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ private Flag() {
/**
* Get the directions associated with the given block state, e.g. the connections a fence makes or the direction stairs face
*
* @since TODO
* @since 2.12.3
*/
public static EnumSet<Direction> getDirections(BlockState state) {
EnumSet<Direction> directions = EnumSet.noneOf(Direction.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public SideEffectSet(Map<SideEffect, SideEffect.State> sideEffects) {
/**
* Create a new {@link SideEffectSet} with the given side effect set to "on"
*
* @since TODO
* @since 2.12.3
*/
public SideEffectSet with(SideEffect sideEffect) {
return with(sideEffect, SideEffect.State.ON);
Expand All @@ -73,7 +73,7 @@ public SideEffectSet with(SideEffect sideEffect) {
/**
* Create a new {@link SideEffectSet} with the given side effect set to "off"
*
* @since TODO
* @since 2.12.3
*/
public SideEffectSet without(SideEffect sideEffect) {
return with(sideEffect, SideEffect.State.OFF);
Expand Down Expand Up @@ -134,7 +134,7 @@ public static SideEffectSet none() {
* - Neighbours
* - Lighting (if set to mode 0 in config
*
* @since TODO
* @since 2.12.3
*/
public static SideEffectSet api() {
return defaults().without(SideEffect.HISTORY);
Expand Down

0 comments on commit f369fb0

Please sign in to comment.