Minecraft Data Packs / Minecraft, but

minecraft but creepers are evil souls

    • 1,952 views, 1 today
    • 83 downloads, 0 today
    BIGMANCHEESE5's Avatar BIGMANCHEESE5
    Level 15 : Journeyman Miner
    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!
    CreditI'd actually like to thank the many people on the r/commandblock discord for really helping me out
    CompatibilityMinecraft 1.16
    toMinecraft 1.17
    Tags

    Create an account or sign in to comment.

    ElectroSheep_
    08/20/2020 5:18 pm
    Level 42 : Master Procrastinator
    history
    ElectroSheep_'s Avatar
    Hiya. Seems like a pretty cool pack.

    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}]}"
    3
    BIGMANCHEESE5
    08/20/2020 5:33 pm
    Level 15 : Journeyman Miner
    BIGMANCHEESE5's Avatar
    thanks for the feedback dude
    1
    ElectroSheep_
    08/20/2020 5:37 pm
    Level 42 : Master Procrastinator
    ElectroSheep_'s Avatar
    no problem! Lemme know how it goes!
    2
    BIGMANCHEESE5
    08/20/2020 3:13 pm
    Level 15 : Journeyman Miner
    BIGMANCHEESE5's Avatar
    If u liked the pack leave a heart or diamond so ik u like it so i can make more creations like this.
    If u didnt leave a comment as to why so i can improve it
    1
    BIGMANCHEESE5
    08/20/2020 3:06 pm
    Level 15 : Journeyman Miner
    BIGMANCHEESE5's Avatar
    Someone tell me if this is multiplayer compatible pls. Thx
    1
    Planet Minecraft

    Website

    © 2010 - 2024
    www.planetminecraft.com

    Welcome