mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-30 16:28:00 +01:00
Update butterfly component datafix
This commit is contained in:
parent
84b672ffbb
commit
5227d80c70
1 changed files with 5 additions and 1 deletions
|
@ -41,7 +41,11 @@ final class UnicopiaItemStackComponentizations {
|
||||||
data.moveToComponent("spell_traits", "unicopia:spell_traits");
|
data.moveToComponent("spell_traits", "unicopia:spell_traits");
|
||||||
}
|
}
|
||||||
if (data.itemEquals("unicopia:butterfly")) {
|
if (data.itemEquals("unicopia:butterfly")) {
|
||||||
data.moveToComponent("variant", "unicopia:butterfly_variant");
|
data.getAndRemove("variant").result().ifPresent(variant -> {
|
||||||
|
data.setComponent("unicopia:butterfly_variant", dynamic.emptyMap()
|
||||||
|
.set("variant", variant)
|
||||||
|
.set("show_in_tooltip", dynamic.createBoolean(true)));
|
||||||
|
});
|
||||||
}
|
}
|
||||||
if (data.itemEquals("unicopia:giant_balloon")) {
|
if (data.itemEquals("unicopia:giant_balloon")) {
|
||||||
data.moveToComponent("design", "unicopia:balloon_design");
|
data.moveToComponent("design", "unicopia:balloon_design");
|
||||||
|
|
Loading…
Reference in a new issue