fix build
This commit is contained in:
parent
8d2e2f2f6e
commit
4e651ca238
@ -0,0 +1,37 @@
|
|||||||
|
/*
|
||||||
|
*
|
||||||
|
* MIT License
|
||||||
|
*
|
||||||
|
* Copyright (c) 2020 TerraForged
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package com.terraforged.api.chunk;
|
||||||
|
|
||||||
|
import net.minecraft.block.BlockState;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
|
import net.minecraft.world.chunk.IChunk;
|
||||||
|
|
||||||
|
public interface ChunkAccess extends IChunk {
|
||||||
|
|
||||||
|
default BlockState getState(BlockPos pos) {
|
||||||
|
return getBlockState(pos);
|
||||||
|
}
|
||||||
|
}
|
@ -61,7 +61,7 @@ import java.util.function.BiFunction;
|
|||||||
import java.util.function.Function;
|
import java.util.function.Function;
|
||||||
import java.util.stream.Stream;
|
import java.util.stream.Stream;
|
||||||
|
|
||||||
public class ChunkDelegate implements IChunk {
|
public class ChunkDelegate implements ChunkAccess {
|
||||||
|
|
||||||
private final IChunk chunk;
|
private final IChunk chunk;
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 7b36c6610c90356a6c047e789245fd5357fe7d23
|
Subproject commit e0129220f77b071cce27bfb37ef8103e1a194230
|
@ -1,7 +1,7 @@
|
|||||||
rootProject.name = "TerraForged"
|
rootProject.name = "TerraForged"
|
||||||
include ":Noise2D"
|
include ":Noise2D"
|
||||||
include ":FeatureManager"
|
|
||||||
include ":TerraForgedCore"
|
|
||||||
include ":TerraForgedAPI"
|
|
||||||
include ":TerraForgedMod"
|
include ":TerraForgedMod"
|
||||||
|
include ":TerraForgedAPI"
|
||||||
|
include ":TerraForgedCore"
|
||||||
|
include ":FeatureManager"
|
||||||
include ":TerraForgedApp"
|
include ":TerraForgedApp"
|
Loading…
Reference in New Issue
Block a user