Add json Config Idea
Fix ArrowListener explosive yield
Dieser Commit ist enthalten in:
Ursprung
3b817b8f2b
Commit
4039c179ed
16
src/de/steamwar/misslewars/items/arrows.json
Normale Datei
16
src/de/steamwar/misslewars/items/arrows.json
Normale Datei
@ -0,0 +1,16 @@
|
||||
{
|
||||
"type": "ARROW",
|
||||
"name": "§ePfeil",
|
||||
"lore": [],
|
||||
"amount": 3,
|
||||
"EVENT.onThrow": [
|
||||
|
||||
],
|
||||
"EVENT.onHit": [
|
||||
{"type": "delay", "time": 0},
|
||||
{"type": "paste", "schem": ""}
|
||||
],
|
||||
"EVENT.onClick": [
|
||||
|
||||
]
|
||||
}
|
@ -46,7 +46,7 @@ public class ArrowListener extends BasicListener {
|
||||
if (location == null) return;
|
||||
|
||||
TNTPrimed tnt = e.getEntity().getWorld().spawn(location, TNTPrimed.class);
|
||||
tnt.setYield(1.0F);
|
||||
tnt.setYield(2.0F);
|
||||
tnt.setIsIncendiary(false);
|
||||
tnt.setFuseTicks(0);
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren