This commit is contained in:
ZHAY10086
2024-10-22 20:20:29 +08:00
parent 45e6897175
commit 18ddedd8e6
29 changed files with 628 additions and 252 deletions
+23 -23
View File
@@ -28,7 +28,7 @@ creeponiacallstone.itemRightClick = function(stack, world, player, hand) {
}
// check if player is in spatial storage
if(player.getDimension() != 805) {
player.sendChat("Enter the right dimension");
player.sendChat("需在正确的维度使用");
return "FAIL";
}
@@ -47,7 +47,7 @@ stormborncallstone.itemRightClick = function(stack, world, player, hand) {
}
// check if player is in spatial storage
if(player.getDimension() != 7) {
player.sendChat("Enter the twilight forest");
player.sendChat("需在暮色森林使用");
return "FAIL";
}
@@ -66,7 +66,7 @@ deeplandscallstone.itemRightClick = function(stack, world, player, hand) {
}
// check if player is in spatial storage
if(player.getDimension() != 807) {
player.sendChat("Enter the right dimension");
player.sendChat("需在正确的维度使用");
return "FAIL";
}
@@ -85,7 +85,7 @@ crysteviacallstone.itemRightClick = function(stack, world, player, hand) {
}
// check if player is in spatial storage
if(player.getDimension() != 806) {
player.sendChat("Enter the right dimension");
player.sendChat("需在正确的维度使用");
return "FAIL";
}
@@ -104,7 +104,7 @@ irominecallstone.itemRightClick = function(stack, world, player, hand) {
}
// check if player is in spatial storage
if(player.getDimension() != 813) {
player.sendChat("Enter the right dimension");
player.sendChat("需在正确的维度使用");
return "FAIL";
}
@@ -123,7 +123,7 @@ boreancallstone.itemRightClick = function(stack, world, player, hand) {
}
// check if player is in spatial storage
if(player.getDimension() != 814) {
player.sendChat("Enter the right dimension");
player.sendChat("需在正确的维度使用");
return "FAIL";
}
@@ -142,7 +142,7 @@ lunaluscallstone.itemRightClick = function(stack, world, player, hand) {
}
// check if player is in spatial storage
if(player.getDimension() != 816) {
player.sendChat("Enter the right dimension");
player.sendChat("需在正确的维度使用");
return "FAIL";
}
@@ -161,7 +161,7 @@ wildwoodcallstone.itemRightClick = function(stack, world, player, hand) {
}
// check if player is in spatial storage
if(player.getDimension() != 421) {
player.sendChat("Enter the right dimension");
player.sendChat("需在正确的维度使用");
return "FAIL";
}
@@ -180,7 +180,7 @@ skytherncallstone.itemRightClick = function(stack, world, player, hand) {
}
// check if player is in spatial storage
if(player.getDimension() != 423) {
player.sendChat("Enter the right dimension");
player.sendChat("需在正确的维度使用");
return "FAIL";
}
@@ -199,7 +199,7 @@ tuliteflower.itemRightClick = function(stack, world, player, hand) {
}
// check if player is in spatial storage
if(player.getDimension() != 423) {
player.sendChat("Use in skythern");
player.sendChat("需在空境使用");
return "FAIL";
}
@@ -567,7 +567,7 @@ immortalliscallstone.itemRightClick = function(stack, world, player, hand) {
}
// check if player is in spatial storage
if(player.getDimension() != 7) {
player.sendChat("Enter the twilight forest");
player.sendChat("需在暮色森林使用");
return "FAIL";
}
@@ -605,7 +605,7 @@ harbingercallstone.itemRightClick = function(stack, world, player, hand) {
}
// check if player is in spatial storage
if(player.getDimension() != 7) {
player.sendChat("Enter the twilight forest");
player.sendChat("需在暮色森林使用");
return "FAIL";
}
@@ -1207,7 +1207,7 @@ demonologistcallstone.itemRightClick = function(stack, world, player, hand) {
Commands.call("summon aoa3:night_reaper ~ ~4 ~ {HandItems:[{Count:1,id:\"bewitchment:demon_heart\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000.0},{Name:generic.attackDamage, Base:100.0}],Health:1000f}", player, world, true, true);
Commands.call("summon aoa3:night_reaper ~ ~4 ~ {HandItems:[{Count:1,id:\"bewitchment:demon_heart\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000.0},{Name:generic.attackDamage, Base:100.0}],Health:1000f}", player, world, true, true);
Commands.call("summon aoa3:night_reaper ~ ~4 ~ {HandItems:[{Count:1,id:\"bewitchment:demon_heart\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1000.0},{Name:generic.attackDamage, Base:100.0}],Health:1000f}", player, world, true, true);
Commands.call("summon aoa3:deinotherium ~ ~3 ~ {HandItems:[{Count:1,id:\"contenttweaker:baku_heart\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:3000.0},{Name:generic.attackDamage, Base:300.0}],Health:3000f,CustomName:\"Baku\"}", player, world, true, true);
Commands.call("summon aoa3:deinotherium ~ ~3 ~ {HandItems:[{Count:1,id:\"contenttweaker:baku_heart\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:3000.0},{Name:generic.attackDamage, Base:300.0}],Health:3000f,CustomName:\"貘\"}", player, world, true, true);
// Commands.call("give @p contenttweaker:haumea_spinel", player, world, true, true);
stack.shrink(1);
@@ -1633,7 +1633,7 @@ unburiedcallstone.itemRightClick = function(stack, world, player, hand) {
Commands.call("pillar-spawn oi_structure_callstone", player, world, true, true);
// Commands.call("give @p contenttweaker:oi_spinel", player, world, true, true);
Commands.call("summon iceandfire:dread_knight ~ ~8 ~ {HandItems:[{Count:1,id:\"divinerpg:gray_divine_sword\"},{Count:1,id:\"techreborn:nuke\"}],HandDropChances:[1.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:8000.0},{Name:generic.attackDamage, Base:100.0}],Health:8000f,CustomName:\"Glimpse of the Meatball Man\"}", player, world, true, true);
Commands.call("summon iceandfire:dread_knight ~ ~8 ~ {HandItems:[{Count:1,id:\"divinerpg:gray_divine_sword\"},{Count:1,id:\"techreborn:nuke\"}],HandDropChances:[1.0f,1.0f],Attributes:[{Name:generic.maxHealth, Base:8000.0},{Name:generic.attackDamage, Base:100.0}],Health:8000f,CustomName:\"肉丸人的一瞥\"}", player, world, true, true);
stack.shrink(1);
return "PASS";
@@ -1679,14 +1679,14 @@ orbitalcallstone.itemRightClick = function(stack, world, player, hand) {
Commands.call("pillar-spawn sedna_structure_callstone", player, world, true, true);
// Commands.call("give @p contenttweaker:sedna_spinel", player, world, true, true);
Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"Dimensional Guardian\"}", player, world, true, true);
Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"Dimensional Guardian\"}", player, world, true, true);
Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"Dimensional Guardian\"}", player, world, true, true);
Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"Dimensional Guardian\"}", player, world, true, true);
Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"Dimensional Guardian\"}", player, world, true, true);
Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"Dimensional Guardian\"}", player, world, true, true);
Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"Dimensional Guardian\"}", player, world, true, true);
Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"Dimensional Guardian\"}", player, world, true, true);
Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"维度守卫\"}", player, world, true, true);
Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"维度守卫\"}", player, world, true, true);
Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"维度守卫\"}", player, world, true, true);
Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"维度守卫\"}", player, world, true, true);
Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"维度守卫\"}", player, world, true, true);
Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"维度守卫\"}", player, world, true, true);
Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"维度守卫\"}", player, world, true, true);
Commands.call("summon divinerpg:ender_triplets ~ ~4 ~ {HandItems:[{Count:1,id:\"contenttweaker:bubbell_banner\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:2000.0},{Name:generic.attackDamage, Base:100.0}],Health:2000f,CustomName:\"维度守卫\"}", player, world, true, true);
stack.shrink(1);
return "PASS";
@@ -4123,7 +4123,7 @@ summonsoftheshyrewarden.itemRightClick = function(stack, world, player, hand) {
return "FAIL";
}
Commands.call("summon aoa3:shyre_knight ~ ~3 ~ {HandItems:[{Count:32,id:\"contenttweaker:shyrelands_garnet\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1.0},{Name:generic.attackDamage, Base:10000.0}],Health:1f,CustomName:\"Warden of the Shyre Empire\",Invulnerable:1}", player, world, true, true);
Commands.call("summon aoa3:shyre_knight ~ ~3 ~ {HandItems:[{Count:32,id:\"contenttweaker:shyrelands_garnet\"},{}],HandDropChances:[1.0f,0.0f],Attributes:[{Name:generic.maxHealth, Base:1.0},{Name:generic.attackDamage, Base:10000.0}],Health:1f,CustomName:\"塞尔瑞帝国监守者\",Invulnerable:1}", player, world, true, true);
stack.shrink(1);
return "PASS";