Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

Datapacks (1.17)

Discussion in 'Minecraft' started by Quint, Aug 1, 2021.

Thread Status:
Not open for further replies.
  1. Quint

    Quint least estrogenated scripter HERO

    Messages:
    1,134
    Likes Received:
    2,601
    Trophy Points:
    164
    Minecraft:
    Hey everybody!

    I'm in the process of learning datapack creation, and was looking for some inspiration - I'm a big fan of reverse engineering stuff, and it's kind of hard for me to work on stuff without a set goal in mind, so please drop any cool datapack stuff (specific features), I'm in need of some inspiration!
     
    Kahsol likes this.
  2. Violet Knight

    Violet Knight Aspiring front-end developer HERO

    Messages:
    2,537
    Likes Received:
    7,606
    Trophy Points:
    209
    Minecraft:
    I once made a simple magic system using custom advancements, where the gist was that when you kill a mob with a golden axe, you'd get its powers: for an Iron Golem, slowness and strength, for a dolphin water breathing, and no other mobs because I didn't add any. Also a kind of "alchemy", which was transmuting metal blocks into a higher tier in a crafting table using an XP bottle. Something like that might be cool to make.
    Also I think I still have the datapack on my pc, I could upload it if you're interested.
     
    Kahsol and Quint like this.
  3. Quint

    Quint least estrogenated scripter HERO

    Messages:
    1,134
    Likes Received:
    2,601
    Trophy Points:
    164
    Minecraft:
    If you like!
     
    Kahsol likes this.
  4. Violet Knight

    Violet Knight Aspiring front-end developer HERO

    Messages:
    2,537
    Likes Received:
    7,606
    Trophy Points:
    209
    Minecraft:
    Quint and Kahsol like this.
  5. fishcute

    fishcute fish CHAMPION Builder

    Messages:
    719
    Likes Received:
    760
    Trophy Points:
    125
    Creator Karma:
    Minecraft:
    If you’re not familiar with these, I suggest looking into advancements, loot tables, and predicates.

    advancements can also be used as event listeners, as you can have them be invisible and run a function as a reward. This function can remove the advancement, and this way it actually can be fired multiple times a tick, for example in crafting.

    This actually can be used in custom crafting to replace the item crafted with a custom item with nbt.

    To go even further, shaders can in theory be used to change the texture of the item displayed in the grid before it’s crafted. I haven’t tested this though.

    Predicates can be used for rng, and also detect sneaking and sprinting.

    loot tables can be used for item nbt modification (in a complex way involving shulker boxes) because the way the /item command actually sucks. It should have just been a /data command for items in the player’s inventory.
     
    Quint, Kahsol and Jbip like this.
  6. Violet Knight

    Violet Knight Aspiring front-end developer HERO

    Messages:
    2,537
    Likes Received:
    7,606
    Trophy Points:
    209
    Minecraft:
    Bumping this real quick because I might want to post something later
     
    Quint likes this.
Thread Status:
Not open for further replies.