19w45a
This commit is contained in:
1 parent
6dd31329b7
commit
ec19e37a74
9 files changed
+29
-29
No files matched your search
@@ -1061,7 +1061,7 @@ public class CarpetExpression
|
||||
BlockValue.LocatorResult locator = BlockValue.fromParams(cc, lv, 0);
|
||||
ServerWorld world = cc.s.getWorld();
|
||||
BlockPos pos = locator.block.getPos();
|
||||
Biome biome = world.getBiome(pos);
|
||||
Biome biome = world.method_23753(pos);
|
||||
Value res = new StringValue(biome.getTranslationKey().replaceFirst("^biome\\.minecraft\\.", ""));
|
||||
return (_c, _t) -> res;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user