3

I'm trying to summon a slime that is invisible when you summon it, but whenever I run the command below, the slime appears for a half a second and then disappears.

/summon slime ~ ~1 ~ {NoGravity:1b,Size:0,NoAI:1,Silent:1,DeathLootTable:"empty",ActiveEffects:[{Id:14,Amplifier:100,Duration:999999,ShowParticles:0b}]}

There is no Invisible tag for slimes, so I was wondering if there was a way to make the slime completely invisible when you spawn it. I only need the slime to be summoned for about a second before being killed or despawned.

I am on Minecraft 1.14.4

  • 1
    Try a 0 amplifier – brododragon Oct 5 at 5:34
  • Is it actually half a second or more like 1/60 of a second, so one frame? – Fabian Röling Oct 5 at 12:15
  • I tried 0 amplifier and it doesn't work @brododragon – Cobalt772 Oct 5 at 14:01
  • @FabianRöling It looks like its closer to 1 frame than a half a second – Cobalt772 Oct 5 at 14:01
  • 1
    @pppery Well, yes because im using the slimes hitbox to collide with the player's hitbox, but there could probably be other entities I could use – Cobalt772 Oct 5 at 18:05
2

This is a known bug: https://bugs.mojang.com/browse/MC-72774

One possible workaround is to summon them out of sight, then teleport them to their destination at least one tick later.

0

i used this command and it worked fine maybe try this? /summon minecraft:slime ~ ~1 ~ {Size:1,ActiveEffects:[{Id:14,Amplifier:0,Duration:2147483647}]}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.