Suggestion Closed · Implemented

Additional rules for dungeon config

#3238 opened by Unknown 4 years ago

Unknownreported this suggestion

I suggest to extend main possibilities of rules in aspect of breaking/placing blocks.

By analogy with DXL I suggest to add placeWhitelist which shows what blocks can be placed with active AllowPlaceBlocks option.

For breakable blocks I suggest to add breakWhitelist which shows what blocks can be broke with active AllowBreakBlocks option. It would also be useful to include a list of items with which defined block could be broke. If there is no indication of a specific item in config, this kind of block could break with anything (without specified item).
Example:

placeWhitelist: ["CAKE","WEB"]
breakWhitelist:
SPRUCE_LEAVES: ["WOODEN_HOE"]
MELON_BLOCK: ["WOODEN_HOE","STONE_AXE"]
AllowBreakPlacedBlocks: true
Unknowncommented

Hey there! So the whitelist/blacklist was added quite some time ago, but in the latest dev build I added the "AllowBreakPlacedBlocks" rule as well. You can find it in the new Dungeon Config at the bottom.

As for specific tools used to break certain blocks... that's a bit more complicated, and a similar system can be accomplished using Adventure Mode provided by Vanilla. I would recommend looking into that.

Sign in to join the discussion.