PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
54 stars 21 forks source link

Custom Tree will generate above some unintended blocks and generate with vanilla tree #2845

Closed DarrienZ closed 1 year ago

DarrienZ commented 1 year ago

Terms

Discord tag (optional)

darrienz

What happened?

image image image image image

Steps to reproduce the issue

Reported this issues before. https://github.com/PluginBugs/Issues-ItemsAdder/issues/2841

Server version

[03:17:48 INFO]: Checking version, please wait... [03:17:48 INFO]: Current: git-Purpur-2006 (MC: 1.20.1)* Previous: git-Purpur-2005 (MC: 1.20.1)

ItemsAdder Version

[03:18:31 INFO]: ItemsAdder version 3.5.0c-r2 [03:18:31 INFO]: Customized Minecraft without client mods! [03:18:31 INFO]: Website: devs.beer [03:18:31 INFO]: Author: LoneDev

ProtocolLib Version

[03:18:41 INFO]: ProtocolLib version 5.1.0-SNAPSHOT-654 [03:18:41 INFO]: Provides read/write access to the Minecraft protocol. [03:18:41 INFO]: Authors: dmulloy2 and comphenix

LoneLibs Version

[03:18:48 INFO]: LoneLibs version 1.0.25 [03:18:48 INFO]: Collection of libs used by my plugins [03:18:48 INFO]: Authors: LoneDev and others

FULL server log

No response

Error (optional)

No error

Problematic items yml configuration file (optional)

info:
  namespace: cubimod
items:
  sakura_log:
    display_name: Sakura Log
    resource:
      generate: true
      material: PAPER
      textures:
        - logs/sakura_log_down
        - logs/sakura_log_south
        - logs/sakura_log_east
        - logs/sakura_log_north
        - logs/sakura_log_up
        - logs/sakura_log_west
    specific_properties:
      block:
        placed_model:
          type: REAL
          break_particles: ITEM
        cancel_drop: true
        hardness: 2
        ignore_fortune: true 
        sound:
          break:
            name: BLOCK_WOOD_BREAK
            volume: 1
            pitch: 1
          place:
            name: BLOCK_WOOD_PLACE
            volume: 1
            pitch: 1
    events:
        placed_block:
          break:
            drop_item:
              item: sakura_log
    lore:
      - '&7Can be burnt into charcoal for fuel.'
      - '&aCook Time: &e6 seconds.'
  sakura_leaves:
    display_name: Sakura Leaves
    resource:
      generate: true
      material: PAPER
      textures:
        - logs/sakura_leaves
    specific_properties:
      block:
        placed_model:
          type: REAL_TRANSPARENT
          break_particles: ITEM
        cancel_drop: true
        hardness: 0.2
        sound:
          break:
            name: block.grass.break
            volume: 1
            pitch: 0.9
          place:
            name: block.grass.break
            volume: 1
            pitch: 0.9
  sakura_tree_sapling:
    display_name: Sakura Sapling
    resource:
      material: PAPER
      generate: true
      textures:
      - logs/sakura_sapling.png
    behaviours:
      sapling:
        tree_populator: sakura_tree
  wisteria_log:
    display_name: Wisteria Log
    resource:
      generate: true
      material: PAPER
      textures:
        - logs/wisteria_log_down
        - logs/wisteria_log_south
        - logs/wisteria_log_east
        - logs/wisteria_log_north
        - logs/wisteria_log_up
        - logs/wisteria_log_west
    specific_properties:
      block:
        placed_model:
          type: REAL
          break_particles: ITEM
        cancel_drop: true
        hardness: 2
        ignore_fortune: true 
        sound:
          break:
            name: BLOCK_WOOD_BREAK
            volume: 1
            pitch: 1
          place:
            name: BLOCK_WOOD_PLACE
            volume: 1
            pitch: 1
    events:
        placed_block:
          break:
            drop_item:
              item: wisteria_log
    lore:
      - '&7Can be burnt into charcoal for fuel.'
      - '&aCook Time: &e6 seconds.'
  wisteria_leaves:
    display_name: Wisteria Leaves
    resource:
      generate: true
      material: PAPER
      textures:
        - logs/wisteria_leaves
    specific_properties:
     block:
        placed_model:
          type: REAL_TRANSPARENT
          break_particles: ITEM
        hardness: 0.2
        cancel_drop: true
        sound:
          break:
            name: block.grass.break
            volume: 1
            pitch: 0.9
          place:
            name: block.grass.break
            volume: 1
            pitch: 0.9
  wisteria_tree_sapling:
    display_name: Wisteria Sapling
    resource:
      material: PAPER
      generate: true
      textures:
      - logs/wisteria_sapling.png
    behaviours:
      sapling:
        tree_populator: wisteria_tree
  twilight_log:
    display_name: Twilight Log
    resource:
      generate: true
      material: PAPER
      textures:
        - logs/twilight_log_down
        - logs/twilight_log_south
        - logs/twilight_log_east
        - logs/twilight_log_north
        - logs/twilight_log_up
        - logs/twilight_log_west
    specific_properties:
      block:
        placed_model:
          type: REAL
          break_particles: ITEM
        cancel_drop: true
        hardness: 2
        ignore_fortune: true 
        sound:
          break:
            name: BLOCK_WOOD_BREAK
            volume: 1
            pitch: 1
          place:
            name: BLOCK_WOOD_PLACE
            volume: 1
            pitch: 1
    events:
        placed_block:
          break:
            drop_item:
              item: twilight_log
    lore:
      - '&7Can be burnt into charcoal for fuel.'
      - '&aCook Time: &e6 seconds.'
  twilight_leaves:
    display_name: Twilight Leaves
    resource:
      generate: true
      material: PAPER
      textures:
        - logs/twilight_leaves
    specific_properties:
     block:
        placed_model:
          type: REAL_TRANSPARENT
          break_particles: ITEM
        cancel_drop: true
        hardness: 0.2
        sound:
          break:
            name: block.grass.break
            volume: 1
            pitch: 0.9
          place:
            name: block.grass.break
            volume: 1
            pitch: 0.9
  twilight_tree_sapling:
    display_name: Twilight Sapling
    resource:
      material: PAPER
      generate: true
      textures:
      - logs/twilight_sapling.png
    behaviours:
      sapling:
        tree_populator: twilight_tree
  maple_log:
    display_name: Maple Log
    resource:
      generate: true
      material: PAPER
      textures:
        - logs/maple_log_down
        - logs/maple_log_south
        - logs/maple_log_east
        - logs/maple_log_north
        - logs/maple_log_up
        - logs/maple_log_west
    specific_properties:
      block:
        placed_model:
          type: REAL
          break_particles: ITEM
        cancel_drop: true
        hardness: 2
        ignore_fortune: true 
        sound:
          break:
            name: BLOCK_WOOD_BREAK
            volume: 1
            pitch: 1
          place:
            name: BLOCK_WOOD_PLACE
            volume: 1
            pitch: 1
    events:
        placed_block:
          break:
            drop_item:
              item: maple_log
    lore:
      - '&7Can be burnt into charcoal for fuel.'
      - '&aCook Time: &e6 seconds.'
  maple_leaves:
    display_name: Maple Leaves
    resource:
      generate: true
      material: PAPER
      textures:
        - logs/maple_leaves
    specific_properties:
     block:
        placed_model:
          type: REAL_TRANSPARENT
          break_particles: ITEM
        cancel_drop: true
        hardness: 0.2
        sound:
          break:
            name: block.grass.break
            volume: 1
            pitch: 0.9
          place:
            name: block.grass.break
            volume: 1
            pitch: 0.9
  maple_tree_sapling:
    display_name: Maple Sapling
    resource:
      material: PAPER
      generate: true
      textures:
      - logs/maple_sapling.png
    behaviours:
      sapling:
        tree_populator: maple_tree
loots:
  blocks:
    twilight_drop:
      type: cubimod:twilight_leaves
      items:
        twilight_sapling:
          item: cubimod:twilight_tree_sapling
          min_amount: 1
          max_amount: 2
          chance: 5
          ignore_fortune: true 
    wisteria_drop:
      type: cubimod:wisteria_leaves
      items:
        wisteria_sapling:
          item: cubimod:wisteria_tree_sapling
          min_amount: 1
          max_amount: 2
          chance: 5
          ignore_fortune: true 
    sakura_drop:
      type: cubimod:sakura_leaves
      items:
        sakura_sapling:
          item: cubimod:sakura_tree_sapling
          min_amount: 1
          max_amount: 2
          chance: 5
          ignore_fortune: true 
    maple_drop:
      type: cubimod:maple_leaves
      items:
        maple_sapling:
          item: cubimod:maple_tree_sapling
          min_amount: 1
          max_amount: 2
          chance: 5
          ignore_fortune: true

Other files, you can drag and drop them here to upload. (optional)

info: namespace: cubimod trees_populators: sakura_tree: worlds:

Screenshots/Videos (you can drag and drop files or paste links)

No response

DarrienZ commented 1 year ago

image

DarrienZ commented 1 year ago

image

SlimeFun

DarrienZ commented 1 year ago

image

DarrienZ commented 1 year ago

image

SlimeFun: ExoticGarden

LoneDev6 commented 1 year ago

What do you mean by "slimefun"? Please explain

DarrienZ commented 1 year ago

I'm not sure this bugs from which plugins. But ExoticGarden will spawn with custom tree

LoneDev6 commented 1 year ago

thank you, anyway i don't think it's the cause.

i'll investigate but i'm not sure if it's possible to fix the issue where custom trees are spawned near other plugins/vanilla trees and their leaves are merged, it's a limitation of how the system works

DarrienZ commented 1 year ago

Alright, thanks you

DarrienZ commented 1 year ago

Hey sorry, is there any update on this?

LoneDev6 commented 1 year ago

This issue can't be fixed because of how the game works.

image

This issue was already fixed long time ago

image

image

I cannot reproduce this issue:

image