[Change] Adopting BCLBiome Changes]
This commit is contained in:
parent
e5127bf918
commit
8803444b12
1 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
|||
package org.betterx.betterend.commands;
|
||||
|
||||
import org.betterx.bclib.api.v2.levelgen.biomes.BCLBiome;
|
||||
import org.betterx.bclib.api.v2.levelgen.biomes.BiomeAPI;
|
||||
import org.betterx.bclib.api.v2.poi.BCLPoiType;
|
||||
import org.betterx.bclib.util.BlocksHelper;
|
||||
import org.betterx.betterend.registry.EndBiomes;
|
||||
|
@ -178,7 +177,7 @@ public class CommandRegistry {
|
|||
ResourceOrTagLocationArgument.Result result = new ResourceOrTagLocationArgument.Result() {
|
||||
@Override
|
||||
public Either<ResourceKey, TagKey> unwrap() {
|
||||
return Either.left(BiomeAPI.getBiomeKey(biome.getBiome()));
|
||||
return Either.left(biome.getBiomeKey());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -196,7 +195,7 @@ public class CommandRegistry {
|
|||
return false;
|
||||
}
|
||||
};
|
||||
ResourceKey<Biome> a = BiomeAPI.getBiomeKey(biome.getBiome());
|
||||
ResourceKey<Biome> a = biome.getBiomeKey();
|
||||
Holder<Biome> h = BuiltinRegistries.BIOME.getHolder(a).orElseThrow();
|
||||
return LocateCommand.showLocateResult(
|
||||
source,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue