Config Examples

Furniture

unearth:
  furniture:
    fish_destroyed_1:
      no_protect: false #If true, the furniture will not protected by protections plugins
      base: "ia:elitefantasy:fish_destroyed_sand_1" #Item base
      tool: #With which tool do you want to make the change, if you want to use your hand, remove it.
        - ia:elitefantasy:copper_shovel
      transformation:
        stages: #The stages are as to what next model it will change to
          1:
            furniture_id: "ia:elitefantasy:fish_destroyed_sand_2"
            # remove_item_main_hand: true
            # reduce_item_main_hand: 1
            # only_one_drop: true
            # reduce_durability: 100
            # reduce_usages_ia: 1
          2:
            furniture_id: "ia:elitefantasy:fish_destroyed_sand_3"
          3:
            drops: #Which item do you want to drop when you reach the last state
              - "ia:elitefantasy:fish_destroyed_3;1;100"
            #only_one_drop: true
            remove: true #Eliminate the furniture from the floor

Block

Some more examples

Drops & Items_add

"<item_id>;<quantity>;<probability>"

This can be used to drop various items

Another Example

In this example, it's a simple swap, clicking switches the model to off or on state, either one or the other :)

Permission on Stages

If the player does not have the specified permission, they will not do anything.

Multiple Base

This allows you to create configurations with multiple bases, making it easier to create configurations, it is important to specify at the end “mc:example;example_1” as it will end up being the id “mc:example_example_1” and will fix errors.

Sounds in Stages

Delay on Stages

This is used to add delay when swapping blocks, for example when clicking it will take 1 second to swap, works on tool and stage.

Sequence in Stages

The sequence system is a way to add animations such as wait times between stages, allowing for greater customization when creating things.

For example, here, first 20 will be executed, then after another 20 ticks, 40 will be executed, and then after another 60, like a kind of timeline

For example, in this example here, first ia:painter:white_bricks will be executed, then ia:painter:pink_bricks, then ia:painter:lime_bricks, and finally ia:painter:yellow_bricks

Example of logs

Tools Configurations

Affect more than one 1x1 area

depth, deep, size

circle-info

if you add a value and do not add the others, it will automatically set the others to 1

durability will be subtracted depending on the number of blocks being replaced

Item Animations on Tools

The animations for example are when you are interacting, you can use another item to simulate that you are painting it or something like that.

Sounds on Tools

Delay on Tools

This is used to add delay when swapping blocks, for example when clicking it will take 1 second to swap, works on tool and stage.

replaceOnBreak

This will allow that for example, when the item you are using loses all its durability, you can give another item with a broken model or something like that that you can reuse instead of crafting another one.

Permission Per Tool

If the player does not have the specified permission, they will not do anything.

TintFurniture Tool

Last updated