Reformat Code

This commit is contained in:
Zoë Gidiere
2025-10-05 21:55:16 -06:00
parent 2b09ed8fd9
commit 8d153998fa
17 changed files with 93 additions and 122 deletions

View File

@@ -4,6 +4,13 @@ import com.dfsek.terra.api.block.BlockData;
public interface BlockStateExtended extends BlockState {
/**
* Gets the BlockData.
*
* @return BlockData of this BlockStateExtended
*/
BlockData getData();
/**
* Sets the BlockData.
*
@@ -11,14 +18,7 @@ public interface BlockStateExtended extends BlockState {
*
* @return New BlockStateExtended with the given BlockData
*/
BlockStateExtended setData(BlockData data);
/**
* Gets the BlockData.
*
* @return BlockData of this BlockStateExtended
*/
BlockData getData();
BlockStateExtended setData(BlockData data);
/**
* Gets the BlockState.
@@ -28,5 +28,5 @@ public interface BlockStateExtended extends BlockState {
BlockState getState();
@Override
default boolean isExtended() {return true;}
default boolean isExtended() { return true; }
}

View File

@@ -7,14 +7,14 @@
package com.dfsek.terra.api.structure.configured;
import org.jetbrains.annotations.ApiStatus.Experimental;
import com.dfsek.terra.api.registry.key.StringIdentifiable;
import com.dfsek.terra.api.structure.Structure;
import com.dfsek.terra.api.structure.StructureSpawn;
import com.dfsek.terra.api.util.collection.ProbabilityCollection;
import com.dfsek.terra.api.util.range.Range;
import org.jetbrains.annotations.ApiStatus.Experimental;
@Experimental
public interface ConfiguredStructure extends StringIdentifiable {