What it does is that once activate, a minecart spawner riding an inverted slime riding a heavily modified creeper is summoned. The creeper has short fuse and explosion radius, is invisible, and extremely fast. What I would like to accomplish here is to mimic spawning an explosion with fire of that of a ghast fireball. The only problem is that I want the explosion to be relevant to the player's coordinates. That is the job of the minecart spawner, to spawn a ghast fireball once close enough to the player. The ghast fireball would explode on contact to the ground, as it is moving vertically downwards when spawned. This seems like an adequate solution, however, when the explosion hits the ground the game lags and crashes. This isn't normal lag, as there is no FPS drop. When in this state of lag, anything I do would not function, such as placing a block or running a command. If I force Minecraft to exit, the world remains unsaved.
There is one thing I want to point out... If the direction of the fireball is set to travel vertically upwards, the game runs just as fine. Once spawned, the fireball travels upwards and then stops due to lack of acceleration. I can then just hit it in any direction, but that is not what I want to accomplish. Does anyone happen to have an alternative to this command?
What it does is that once activate, a minecart spawner riding an inverted slime riding a heavily modified creeper is summoned. The creeper has short fuse and explosion radius, is invisible, and extremely fast. What I would like to accomplish here is to mimic spawning an explosion with fire of that of a ghast fireball. The only problem is that I want the explosion to be relevant to the player's coordinates. That is the job of the minecart spawner, to spawn a ghast fireball once close enough to the player. The ghast fireball would explode on contact to the ground, as it is moving vertically downwards when spawned. This seems like an adequate solution, however, when the explosion hits the ground the game lags and crashes. This isn't normal lag, as there is no FPS drop. When in this state of lag, anything I do would not function, such as placing a block or running a command. If I force Minecraft to exit, the world remains unsaved.
There is one thing I want to point out... If the direction of the fireball is set to travel vertically upwards, the game runs just as fine. Once spawned, the fireball travels upwards and then stops due to lack of acceleration. I can then just hit it in any direction, but that is not what I want to accomplish. Does anyone happen to have an alternative to this command?
A couple things to point out:
The "followRange" is way too high; the creeper is attempting to check unloaded chunks for tracking, which is causing extreme server lag. You should keep it around 100; it should be more than enough.
When you attempt to damage a negative-sized slime with the Fireball, the game will stutter and crash just as you say. You will have to do without the slime, otherwise it will corrupt the save file until the slime is removed.
EDIT:
This means a Delay will not solve it if the Fireball is still being summoned above the slime or damaging the slime in any way.
As well, the "Speed" enchantment does not affect mobs. You will instead have to use the "movementSpeed" attribute. The "Weakness" effect does not do anything to creepers. You will instead want to apply an "ExplosionRadius" of 0. This means the "attackDamage" attribute is also useless. The "knockbackResistance" doesn't need to be applied if you're giving it a Base of 0, as it already defaults to that.
The "followRange" is way too high; the creeper is attempting to check unloaded chunks for tracking, which is causing extreme server lag. You should keep it around 100; it should be more than enough.
When you attempt to damage a negative-sized slime with the Fireball, the game will stutter and crash just as you say. You will have to do without the slime, otherwise it will corrupt the save file until the slime is removed.
EDIT:
This means a Delay will not solve it if the Fireball is still being summoned above the slime or damaging the slime in any way.
As well, the "Speed" enchantment does not affect mobs. You will instead have to use the "movementSpeed" attribute. The "Weakness" effect does not do anything to creepers. You will instead want to apply an "ExplosionRadius" of 0.
Doesn't invulnerability cancel that out? If not, is it possible to just 'leash' the creeper and slime? My goal here is to hide the spawner minecart, if possible.
Doesn't invulnerability cancel that out? If not, is it possible to just 'leash' the creeper and slime?
No, including the invulnerability doesn't make a difference. As far as leashing goes, negative-sized slimes will fall through the world if they aren't riding anything. Is there a purpose to the slime?
I'm unsure of what to do in that case. Negative slimes are the only way I know of to lower the height of an entity in a riding stack. You could use a different mob besides a creeper, such as spiders, but the movementSpeed nor followRange attribute affects them (plus you won't get the explosion from them, unless you had the creeper riding them).
What it does is that once activate, a minecart spawner riding an inverted slime riding a heavily modified creeper is summoned. The creeper has short fuse and explosion radius, is invisible, and extremely fast. What I would like to accomplish here is to mimic spawning an explosion with fire of that of a ghast fireball. The only problem is that I want the explosion to be relevant to the player's coordinates. That is the job of the minecart spawner, to spawn a ghast fireball once close enough to the player. The ghast fireball would explode on contact to the ground, as it is moving vertically downwards when spawned. This seems like an adequate solution, however, when the explosion hits the ground the game lags and crashes. This isn't normal lag, as there is no FPS drop. When in this state of lag, anything I do would not function, such as placing a block or running a command. If I force Minecraft to exit, the world remains unsaved.
There is one thing I want to point out... If the direction of the fireball is set to travel vertically upwards, the game runs just as fine. Once spawned, the fireball travels upwards and then stops due to lack of acceleration. I can then just hit it in any direction, but that is not what I want to accomplish. Does anyone happen to have an alternative to this command?
EDIT: Seems that is not the problem...
A couple things to point out:
The "followRange" is way too high; the creeper is attempting to check unloaded chunks for tracking, which is causing extreme server lag. You should keep it around 100; it should be more than enough.
When you attempt to damage a negative-sized slime with the Fireball, the game will stutter and crash just as you say. You will have to do without the slime, otherwise it will corrupt the save file until the slime is removed.
EDIT:
This means a Delay will not solve it if the Fireball is still being summoned above the slime or damaging the slime in any way.
As well, the "Speed" enchantment does not affect mobs. You will instead have to use the "movementSpeed" attribute. The "Weakness" effect does not do anything to creepers. You will instead want to apply an "ExplosionRadius" of 0. This means the "attackDamage" attribute is also useless. The "knockbackResistance" doesn't need to be applied if you're giving it a Base of 0, as it already defaults to that.
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
Doesn't invulnerability cancel that out? If not, is it possible to just 'leash' the creeper and slime? My goal here is to hide the spawner minecart, if possible.
No, including the invulnerability doesn't make a difference. As far as leashing goes, negative-sized slimes will fall through the world if they aren't riding anything.
Is there a purpose to the slime?I'm unsure of what to do in that case. Negative slimes are the only way I know of to lower the height of an entity in a riding stack. You could use a different mob besides a creeper, such as spiders, but the movementSpeed nor followRange attribute affects them (plus you won't get the explosion from them, unless you had the creeper riding them).
EDIT:
You can find a list of mobs that the movementSpeed will work with here: https://mojang.atlassian.net/browse/MC-33110?focusedCommentId=124959&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-124959
And a list that followRange will work with here: https://mojang.atlassian.net/browse/MC-32579
EDIT2:
Woops, I should also mention that leashes will break if the host mob moves too quickly.
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/