mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-16 21:30:08 +00:00
Reformat Code
This commit is contained in:
@@ -3,13 +3,13 @@ package com.dfsek.terra.addons.biome.pipeline.image.config.converter.mapping;
|
||||
import com.dfsek.tectonic.api.config.template.annotations.Value;
|
||||
import com.dfsek.tectonic.api.config.template.object.ObjectTemplate;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import com.dfsek.terra.addons.biome.pipeline.api.biome.PipelineBiome;
|
||||
import com.dfsek.terra.addons.image.config.ColorLoader.ColorString;
|
||||
import com.dfsek.terra.addons.image.converter.mapping.ColorMapping;
|
||||
import com.dfsek.terra.addons.image.util.MapUtil;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
public class DefinedPipelineBiomeColorMappingTemplate implements ObjectTemplate<ColorMapping<PipelineBiome>> {
|
||||
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user