This commit is contained in:
dordsor21 2022-05-10 14:17:16 +01:00
parent b3c67b55d5
commit f515ce2cc1
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B
2 changed files with 15 additions and 3 deletions

View File

@ -64,6 +64,7 @@ public class AugmentedUtils {
* @param chunkZ Chunk Z position * @param chunkZ Chunk Z position
* @param queue Queue to write to, if desired. * @param queue Queue to write to, if desired.
* @return true if generation occurred. * @return true if generation occurred.
* @since TODO
*/ */
public static boolean generateChunk( public static boolean generateChunk(
final @NonNull String world, final @NonNull String world,
@ -186,7 +187,7 @@ public class AugmentedUtils {
* @deprecated Use {@link AugmentedUtils#generateChunk(String, int, int, QueueCoordinator)} as chunkObject is not required * @deprecated Use {@link AugmentedUtils#generateChunk(String, int, int, QueueCoordinator)} as chunkObject is not required
* in the above method * in the above method
*/ */
@Deprecated(forRemoval = true) @Deprecated(forRemoval = true, since = "TODO")
public static boolean generate( public static boolean generate(
@Nullable Object chunkObject, @Nullable Object chunkObject,
final @NonNull String world, final @NonNull String world,

View File

@ -252,6 +252,7 @@ public abstract class QueueCoordinator {
* If the queue should accept biome placement * If the queue should accept biome placement
* *
* @param enabled If biomes should be enabled * @param enabled If biomes should be enabled
* @since TODO
*/ */
public abstract void setBiomesEnabled(boolean enabled); public abstract void setBiomesEnabled(boolean enabled);
@ -420,9 +421,19 @@ public abstract class QueueCoordinator {
*/ */
public abstract void setLightingMode(@Nullable LightingMode mode); public abstract void setLightingMode(@Nullable LightingMode mode);
public abstract SideEffectSet getSideEffectSet(); /**
* Get the overriding {@link SideEffectSet} to be used by the queue if it exists, else null
*
* @return Overriding {@link SideEffectSet} or null
*/
public abstract @Nullable SideEffectSet getSideEffectSet();
public abstract void setSideEffectSet(SideEffectSet sideEffectSet); /**
* Set the overriding {@link SideEffectSet} to be used by the queue. Null to use default side effects.
*
* @param sideEffectSet side effects to override with, or null to use default
*/
public abstract void setSideEffectSet(@Nullable SideEffectSet sideEffectSet);
/** /**
* Fill a cuboid between two positions with a BlockState * Fill a cuboid between two positions with a BlockState