beta-0.14.6

This commit is contained in:
sainagh
2023-07-31 14:55:15 -07:00
parent 8052c02679
commit 92e3a04cb4
1242 changed files with 248295 additions and 12753 deletions
+29
View File
@@ -175,3 +175,32 @@ masterspelldreadia.itemRightClick = function(stack, world, player, hand) {
};
masterspelldreadia.register();
var voidportalbreaker = VanillaFactory.createItem("void_portal_breaker");
voidportalbreaker.maxStackSize = 1;
voidportalbreaker.glowing = true;
voidportalbreaker.itemRightClick = function(stack, world, player, hand) {
if(world.remote) {
return "FAIL";
}
if(player.getDimension() != 43) {
player.sendChat("This only works in the void world (you won't need it anywhere else)");
return "FAIL";
}
Commands.call("fill ~10 ~-1 ~10 ~-10 ~-1 ~-10 minecraft:stone 0 replace simplevoidworld:portal 0", player, world, true, true);
return "Pass";
};
voidportalbreaker.register();
var masterspellmetallum = VanillaFactory.createItem("master_spell_metallum");
masterspellmetallum.maxStackSize = 1;
masterspellmetallum.glowing = true;
masterspellmetallum.itemRightClick = function(stack, world, player, hand) {
Commands.call("fill ~-1 ~10 ~-1 ~1 ~10 ~1 minecraft:anvil", player, world, true, true);
player.sendChat("You've been Etho'd");
return "Pass";
};
masterspellmetallum.register();