1.18-pre1
This commit is contained in:
1 parent
6468ac37c7
commit
5a6fc19bb0
10 files changed
+57
-24
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package carpet.script.utils;
|
||||
|
||||
import carpet.fakes.BiomeEffectsInterface;
|
||||
import carpet.fakes.PlacedFeatureInterface;
|
||||
import carpet.script.value.BlockValue;
|
||||
import carpet.script.value.ListValue;
|
||||
import carpet.script.value.NumericValue;
|
||||
@@ -41,7 +42,7 @@ public class BiomeInfo
|
||||
return ListValue.wrap(
|
||||
b.getGenerationSettings().getFeatures().stream().map(step ->
|
||||
ListValue.wrap(step.stream().map(cfp ->
|
||||
ValueConversions.of(registry.getId(cfp.get()))
|
||||
ValueConversions.of(registry.getId(((PlacedFeatureInterface)cfp.get()).getRawFeature()))
|
||||
))
|
||||
)
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user