Minecraft Data Packs / Adventure

Loot Chest in Swamp Huts!

  • check_circle Functions
  • check_circle Loot Tables
  • check_circle Structures
  • 6,258 views, 1 today
  • 1,251 downloads, 0 today
  • 46
  • 45
  • 9
iRtaRyZ's Avatar iRtaRyZ
Level 54 : Grandmaster Archer
134

This datapack improves the witch huts by adding a chest with unique loot inside.

Have fun with this simple datapack! 😁

CompatibilityMinecraft 1.15
toMinecraft 1.18
Tags

Create an account or sign in to comment.

WilliamWythers
07/21/2021 4:29 am
Level 79 : Legendary Terraformer
WilliamWythers's Avatar
How do you manage this? Swamp hit structure can’t be edited in worldgen so did you use another method?
2
iRtaRyZ
07/21/2021 2:41 pm
Level 54 : Grandmaster Archer
history
iRtaRyZ's Avatar
• I'm sorry if there is something wrong written, I don't speak English so writing long texts is difficult for me, sometimes I have to use the translator.



• basically, the witches and their black cat in the swamp huts
are always generated 1 block diagonally from the crafting table and in the same block.






• a tag is added.





• the witch detects if it have a cat in the same block with the nbt {CatType:10} (which is the black cat) and detects the around blocks if have a crafting table.





• then if it detects the crafting table it generates an armor stand at the position of the crafting table.






• this armor stand generates a brewing stand on top of the crafting table and at the same time detects the positions of the crafting table and the cauldron and depending on where they are it generates an armor stand to the left of the crafting table correctly.





• this armor stand generated to the left of the crafting table detects where there is an air block depending on the place where there is an air block generates the chest looking at the right place.



and obviously this whole process is instantaneous.

• and this process is not repeated more times since in the second step a tag was added to the witch and the cat and this tag blocks this process from repeating again.




• I made this system only thinking about this but if you change it surely has more possibilities as for example a custom swamp hut structure.





• Thanks WilliamWythers for viewing and commenting on my datapack!
I really like your Overhauled Overworld datapacks :D
10
VaePlays
07/21/2021 9:55 pm
Level 1 : New Collective
VaePlays's Avatar
Made an account to say, you're amazing for showing how you've done that!
5
iRtaRyZ
07/21/2021 10:34 pm
Level 54 : Grandmaster Archer
iRtaRyZ's Avatar
thanks man! you didn't need to do so much 🤣
2
WilliamWythers
07/21/2021 4:23 pm
Level 79 : Legendary Terraformer
WilliamWythers's Avatar
Wow that is really impressive! That’s really good giving some benefit to finding a swamps hut.
3
iRtaRyZ
07/21/2021 5:19 pm
Level 54 : Grandmaster Archer
iRtaRyZ's Avatar
thanks! it is a simple system and it works perfectly i thought i was going to have problems when i realized i could not edit it in worldgen.
2
Pyzayt
07/21/2021 7:30 am
Level 1 : New Miner
Pyzayt's Avatar
I'd like to know the same thing. I was trying to do this same exact thing! I even have the loot table made, I just needed to figure out how to edit the swamp hut.
2
iRtaRyZ
07/19/2021 4:07 am
Level 54 : Grandmaster Archer
iRtaRyZ's Avatar
I don't use loot tables much but I think I got a good result. :D
1
_Demi
07/19/2021 5:58 am
Level 10 : Journeyman Strawberry
_Demi's Avatar
i think this datapack does great for what it's trying to achieve!
2
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome