Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicDungeons MythicDungeons
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 87
    • Issues 87
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicDungeonsMythicDungeons
  • Issues
  • #48

Closed
Open
Created Jul 14, 2022 by JUSTCOOP@JUSTCOOP

Additional rules for dungeon config

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
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking