Published Aug 20th, 2020, 8/20/20 1:53 pm
- 1,952 views, 1 today
- 83 downloads, 0 today
4
This pack makes creepers 'infect' mobs when they get too close. When they are infected, if you get to close to them.... yyyeah...
Things to note:
-this also keeps the original mobs ai. The only difference is if it gets to close to u or u to it, it will blow up. With most hostile mobs the ai is no different
-this works on the latest release (1.16.2) and snapshot as for the time of writing
-this probably will work on future versions
-creeper infected mobs spawn in the day too - every 15 seconds within 75 blocks of u
-i dont know if this is multiplayer compatible, try and tell me!
-the creeper infected mobs blow up instantly when u get too close and their blast is 2x more than a normal creeper
-this is my first datapack on planet mc
-tbh the reason i dont have screenshots is cause they blow up instantly
-id love your feedback
-and have fun!
Things to note:
-this also keeps the original mobs ai. The only difference is if it gets to close to u or u to it, it will blow up. With most hostile mobs the ai is no different
-this works on the latest release (1.16.2) and snapshot as for the time of writing
-this probably will work on future versions
-creeper infected mobs spawn in the day too - every 15 seconds within 75 blocks of u
-i dont know if this is multiplayer compatible, try and tell me!
-the creeper infected mobs blow up instantly when u get too close and their blast is 2x more than a normal creeper
-this is my first datapack on planet mc
-tbh the reason i dont have screenshots is cause they blow up instantly
-id love your feedback
-and have fun!
Credit | I'd actually like to thank the many people on the r/commandblock discord for really helping me out |
Compatibility | Minecraft 1.16 |
to | Minecraft 1.17 |
Tags |
4729112
119
Create an account or sign in to comment.
I took a look through it and I see no reason why I wouldn't be multiplayer compatible.
I do have some constructive criticism on how you can improve the efficiency of the datapack though.
for the first command "tag @e[type=!player,type=!wither... ...add Rotate"
instead of listing every banned entity in the command, you could add a .json in the "creeper_aww_man" folder under tags/entity_type/banned_entities.json
in the .json file write:
{"replace": false, "values":["entity1","entity2","therestofhteentities"]}]
(obviously replace all the "entity" tags with the entity types listed in the command)
Doing this will mean, the command can simply be "tag @e[type=!#creeper_aww_man:banned_entities] add Rotate
at line 4, it isn't necessary to have it execute an execute command and con be shortened to "execute at @p[score={tickrate=300}] at @e[tag=Rotate..."
lines 7 to 9 aren't necessary at all and can all be done in one command at line 4
so rather than the summon command being "summon creeper ~3 ~ ~2"
Currently you're summoning it then giving it invisibilty, then slowness, then adding nbt data.
you can do all that in the one summon command.
the invisibilty and the nbt data can all be added when you summon the creeper, and instead of slowness you can set the movement speed attribute to 0
so the one summon command can be:
"summon creeper ~ ~ ~ {Silent:1b,CustomNameVisible:0b,ExplosionRadius:5b,Fuse:1b,ActiveEffects:[{Id:14b,Amplifier:1b,Duration:20000000,ShowParticles:0b}],Attributes:[{Name:generic.movement_speed,Base:0}]}"
Hope this helps :D
edit: actually now that I think of it, you're better keeping the invisibility as a separate command with a short duration, because summoning the creeper with a long invisibility effect will then apply it to the player when it explodes. You wouldn't be wanting all your players to be permanently invisible!
With this in mind, the summon command would be:
"summon creeper ~ ~ ~ {Silent:1b,CustomNameVisible:0b,ExplosionRadius:5b,Fuse:1b,Attributes:[{Name:generic.movement_speed,Base:0}]}"
If u didnt leave a comment as to why so i can improve it