HibiscusMC / HMCLeaves

https://polymart.org/resource/hmcleaves.3136
GNU General Public License v3.0
12 stars 8 forks source link

Plugin configuration #3

Closed FilexCZE closed 1 year ago

FilexCZE commented 1 year ago

Hey, In the configuration of the plugin, the user defines the name of the item, which can then be given via HMCLeaves. The problem is that there is no naming option, so the name is chosen as the name.

  "wisteria_leaves": <===
    leaf-material: OAK_LEAVES
    material: PAPER
    model-data: 1 # If using Oraxen/IA, you can ignore this option. Get the leaf item from /o inv or /ia.
    # Blockstate Data
    distance: 1
    persistent: true
    # Will this leaf decay, or will it be persistent?
    actually-persistent: false
    # The item that replaces the normal sapling drop. For example if you have an item that is textured to look like a sapling that matches the tree this leaf goes with
    sapling:
      hook-id: test-sapling
      material: OAK_SAPLING
      amount: 1
      name: "&aTest"
      model-data: 1
      lore:
        - "&7This is a test"
        - "&7This is a test"

It then looks like this in the game: image

-------------------

Next is model-data:

model-data: 1 # If using Oraxen/IA, you can ignore this option. Get the leaf item from /o inv or /ia.

But I'm not sure about the correct syntax when using itemsadder.

-------------------

Next, there no way to define the color of the object using rgb? For example, I have an item that is white, but when I place it, it turns green.

Inventory: image

Game: image

-------------------

Last, it is possible to add logs in the configuration, but here you need to enter a precisely defined name from the noteblock, you can't do the same as with leaves when I use ItemsAdder or some kind of hook.

Fisher2911 commented 1 year ago

Hi, when using ItemsAdder you can use hook-id: Make sure the texture of the item matches the placed one in your resource pack, unfortunately I don't know as much about resource packs as @lucian929 so you may have to wait for them to answer.

Fisher2911 commented 1 year ago

Also if you would like, you can join our discord where other people may also be able to help, and you might get faster response times as I will be going to sleep soon because it is late for me.

FilexCZE commented 1 year ago

I'm already there under the name SinFileX#7759. I even think you sent me info that the plugin is already ready :D

Fisher2911 commented 1 year ago

Oh yeah I didn't know what your discord username was. I think it's better to ask questions like configuration help in the discord, and then any issues you find making a bug report would be easier.

Fisher2911 commented 1 year ago

Hi @matyasvane were you able to get this figured out?

Fisher2911 commented 1 year ago

Closed due to no response