- check_circle Functions
- check_circle Predicates
- check_circle Structures
Published Aug 14th, 2021, 8/14/21 4:55 pm
- 14,919 views, 2 today
- 2,304 downloads, 0 today
14
======================================================
Better Dungeons
Version 1.0
by Njb1286
Requirements
- Minecraft 1.17+
- A world with a height of at least 50 blocks
Installation
Press one of the download buttons (Media fire is preferable here). Locate it in the folder it downloaded in (Default downloads). Then, move the file into the datapacks folder of your world. Type /reload to get the menu.
Menu actions
Get Items - Get all the items of this Datapack
Spawn Dungeon - Spawn a dungeon around your area
Dungeon size - Change the size dungeons spawn with (Note: If you have a bad computer, make this value low because of performance reasons)
Dungeon height - Change the height dungeons spawn at
Spawn naturally - Dungeons spawn naturally on your world
Dungeon spawn message - When a dungeon spawns, a message appears for every player on the world
Reset to Defaults - Reset all values changeable by players to default (Dungeon size, Dungeon height, etc.)
Uninstall - Uninstall this Datapack
Triggers
/trigger dun.get_items - Get all the items of this Datapack
/trigger dun.spawn - Spawn a dungeon around your area
/trigger dun.default - Reset all values changeable by players to default
/trigger dun.Uninstall - Uninstall this Datapack
Dungeon rooms (Version 1.0)
- Center
- Dead end
- Prison
- Hall
- Catacombs
Entities (Version 1.0)
- Sludge
- Scum
Give me your ideas!
Please leave in the comments what you would like to see me add to this Datapack, and I might add it.
======================================================
Better Dungeons
Version 1.0
by Njb1286
Requirements
- Minecraft 1.17+
- A world with a height of at least 50 blocks
Installation
Press one of the download buttons (Media fire is preferable here). Locate it in the folder it downloaded in (Default downloads). Then, move the file into the datapacks folder of your world. Type /reload to get the menu.
Menu actions
Get Items - Get all the items of this Datapack
Spawn Dungeon - Spawn a dungeon around your area
Dungeon size - Change the size dungeons spawn with (Note: If you have a bad computer, make this value low because of performance reasons)
Dungeon height - Change the height dungeons spawn at
Spawn naturally - Dungeons spawn naturally on your world
Dungeon spawn message - When a dungeon spawns, a message appears for every player on the world
Reset to Defaults - Reset all values changeable by players to default (Dungeon size, Dungeon height, etc.)
Uninstall - Uninstall this Datapack
Triggers
/trigger dun.get_items - Get all the items of this Datapack
/trigger dun.spawn - Spawn a dungeon around your area
/trigger dun.default - Reset all values changeable by players to default
/trigger dun.Uninstall - Uninstall this Datapack
Dungeon rooms (Version 1.0)
- Center
- Dead end
- Prison
- Hall
- Catacombs
Entities (Version 1.0)
- Sludge
- Scum
Give me your ideas!
Please leave in the comments what you would like to see me add to this Datapack, and I might add it.
======================================================
Compatibility | Minecraft 1.17 |
to | Minecraft 1.18 |
Tags |
1 Update Logs
Update #1 : by Njb1286 01/22/2022 8:36:25 pmJan 22nd, 2022
Fixed a center protection despawn bug
5258342
119
Create an account or sign in to comment.
My guess is that a lot of commands display in the chat when a dungeon so you turned it off, but is there any way to have them on with the commands displaying in chat, or better yet, not have the dungeon text appear but have commands appear?
Generation:
After a certain amount of time, a dungeon will spawn in a random location around the player along with a message that a dungeon has spawned. The very first room to spawn is the center room with four different paths. Each path has an entity on the righthand side of it. Beside this entity is a marked block like a cracked stone brick. If this block is on the north side, the structure will spawn a random room in the north direction. Likewise with all the other directions. The randomized rooms uses an Area Effect Cloud randomizer which spawns a set amount of Area Effect Cloud, and gives a tag to a random one. If the tag is given to AEC #1, it will spawn room #1. It will do this for every room. On spawn, it will create a raycast for every end point of a room. This raycast will find the size score and add to the placed size. Once the size matches or is greater than the set size, it will stop creating and then remove these entities that have built the dungeon.
Loot:
On top of each chest in the structure is an entity that puts loot in the chest. It will give the chest a loot table from this datapack, then remove itself.
Mobs:
Each custom mob in this datapack uses armor stands to display it. They are all basically slimes that do different damage values and look different. The code will look for these mobs and position the command at the position that the armor stand is set. It will then continually teleport the armor stand back into it's position. If one of these mobs is hit, the datapack will detect that and temporarily change the block that the armor stands are holding to better resemble a hit mob along with a sound effect built from mixed built-in sound effects. On death, it will search for the smaller slimes, and spawn a smaller version of that mob. The biggest one can be is the size of a full block (Falling Block). The smallest they can be is a small armor stand holding a block. For their drops, I added some loot tables to the slimes.
If you have any other things you'd like to know about this datapack, you can let me know and I will do my best to explain.