Fixed all compile errors
This commit is contained in:
parent
fe4b426b5e
commit
d4c2909f17
1 changed files with 2 additions and 4 deletions
|
@ -67,10 +67,9 @@ public class BCLStructure {
|
|||
* height=5 in the middle of the chunk.
|
||||
*
|
||||
* @param context The context to test with.
|
||||
* @param <C> The FeatureConfiguration of the Context
|
||||
* @return true, if this feature can spawn in the current biome
|
||||
*/
|
||||
public static <C extends FeatureConfiguration> boolean isValidBiome(PieceGeneratorSupplier.Context<C> context) {
|
||||
public static boolean isValidBiome(Structure.GenerationContext context) {
|
||||
return isValidBiome(context, 5);
|
||||
}
|
||||
/**
|
||||
|
@ -79,10 +78,9 @@ public class BCLStructure {
|
|||
*
|
||||
* @param context The context to test with.
|
||||
* @param yPos The Height to test for
|
||||
* @param <C> The FeatureConfiguration of the Context
|
||||
* @return true, if this feature can spawn in the current biome
|
||||
*/
|
||||
public static <C extends FeatureConfiguration> boolean isValidBiome(PieceGeneratorSupplier.Context<C> context, int yPos) {
|
||||
public static boolean isValidBiome(Structure.GenerationContext context, int yPos) {
|
||||
BlockPos blockPos = context.chunkPos().getMiddleBlockPosition(yPos);
|
||||
return context.validBiome().test(
|
||||
context
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue