Add WindCharge option to LaunchScript

This commit is contained in:
2026-08-19 11:06:34 +02:00
parent cb744f6aa0
commit 8575dcac33
2 changed files with 6 additions and 0 deletions
@@ -75,6 +75,11 @@ public class EntityUtils {
});
case "arrow":
return new ScriptShortcut<>(Arrow.class, (jsonObject, entity, runnableScriptEvent) -> setProjectileOptions(entity, jsonObject));
case "windcharge":
return new ScriptShortcut<>(WindCharge.class, (jsonObject, entity, runnableScriptEvent) -> {
setFireballOptions(entity, jsonObject);
entity.setDirection(runnableScriptEvent.getLocation().getDirection());
});
}
return null;
}