Make command core 55 blocks high
This commit is contained in:
parent
a5f38672c6
commit
5c841eb6b7
2 changed files with 5 additions and 5 deletions
plugins
|
@ -6,7 +6,7 @@ module.exports = {
|
|||
|
||||
},
|
||||
loadBot: function (b) {
|
||||
b.interval.commandFill = setInterval(() => { b.chat(`/fill ~ 20 ~ ~3 25 ~3 command_block{CustomName:'{"translate":"%s %s","with":[{"translate":"entity.minecraft.ender_dragon"},{"translate":"language.region"}],"color":"#FFAAEE"}'}`) }, 60000)
|
||||
b.interval.commandFill = setInterval(() => { b.chat(`/fill ~ 55 ~ ~3 60 ~3 command_block{CustomName:'{"translate":"%s %s","with":[{"translate":"entity.minecraft.ender_dragon"},{"translate":"language.region"}],"color":"#FFAAEE"}'}`) }, 60000)
|
||||
b.ccq = []
|
||||
b.blocknoX = 0
|
||||
b.blocknoZ = 0
|
||||
|
@ -52,7 +52,7 @@ module.exports = {
|
|||
b.ccq.splice(0, 1)
|
||||
}
|
||||
b._client.on("login",()=>{
|
||||
b.chat(`/fill ~ 20 ~ ~3 25 ~3 command_block{CustomName:'{"translate":"%s %s","with":[{"translate":"entity.minecraft.ender_dragon"},{"translate":"language.region"}],"color":"#FFAAEE"}'}`)
|
||||
b.chat(`/fill ~ 55 ~ ~3 60 ~3 command_block{CustomName:'{"translate":"%s %s","with":[{"translate":"entity.minecraft.ender_dragon"},{"translate":"language.region"}],"color":"#FFAAEE"}'}`)
|
||||
})
|
||||
b.on('ccstart', () => {
|
||||
setTimeout(() => { b.interval.ccqi = setInterval(b.advanceccq, 3) }, 1000) // 1 Second and 3 Milliseconds
|
||||
|
@ -73,7 +73,7 @@ module.exports = {
|
|||
if (a.x != b.original_pos.x || a.z != b.original_pos.z) {
|
||||
b.original_pos = { x: a.x, y: a.y, z: a.z }
|
||||
b.pos.correct = 0
|
||||
b.chat(`/fill ~ 20 ~ ~3 25 ~3 command_block{CustomName:'{"translate":"%s %s","with":[{"translate":"entity.minecraft.ender_dragon"},{"translate":"language.region"}],"color":"#FFAAEE"}'}`)
|
||||
b.chat(`/fill ~ 55 ~ ~3 60 ~3 command_block{CustomName:'{"translate":"%s %s","with":[{"translate":"entity.minecraft.ender_dragon"},{"translate":"language.region"}],"color":"#FFAAEE"}'}`)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -82,7 +82,7 @@ module.exports = {
|
|||
x2: Math.ceil(a.x) + 3,
|
||||
z1: Math.floor(a.z),
|
||||
z2: Math.ceil(a.z) + 3,
|
||||
y1: 20,
|
||||
y1: 55,
|
||||
y2: 10
|
||||
}
|
||||
b._client.write('teleport_confirm', { teleportId: a.teleportId })
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
module.exports={
|
||||
execute: (c)=>{
|
||||
c.bot.chat(`/fill ~ 20 ~ ~3 25 ~3 command_block{CustomName:'{"translate":"%s %s","with":[{"translate":"entity.minecraft.ender_dragon"},{"translate":"language.region"}],"color":"#FFAAEE"}'}`)
|
||||
c.bot.chat(`/fill ~ 55 ~ ~3 60 ~3 command_block{CustomName:'{"translate":"%s %s","with":[{"translate":"entity.minecraft.ender_dragon"},{"translate":"language.region"}],"color":"#FFAAEE"}'}`)
|
||||
},
|
||||
consoleIndex: true,
|
||||
aliases: ["refillcore", "rc"]
|
||||
|
|
Loading…
Add table
Reference in a new issue