LoneDev6 / Wiki-ItemsAdder

Wiki repository of ItemsAdder Spigot plugin
22 stars 67 forks source link

Block drops loot but won't break. #72

Closed Babzy955 closed 1 year ago

Babzy955 commented 1 year ago

Using Paper Spigot 1.19.2 Build #307

Block Configuration

info: namespace: mcp items: ruby_ore: enabled: true display_name: Ruby Ore resource: material: PAPER generate: true textures:

  • blocks/ruby_ore.png specific_properties: block: hardness: 4 placed_model: type: REAL_NOTE break_particles_material: REDSTONE_ORE cancel_drop: true break_tools_blacklist:
  • WOODEN_PICKAXE
  • STONE_PICKAXE break_tools_whitelist:
  • PICKAXE
  • pickaxe

Loots config

loots: blocks: ruby_ore: type: ruby_ore items: raw_tin: item: raw_ruby min_amount: 1 max_amount: 1 chance: 100 exp: exp_1: min_amount: 0 max_amount: 3 chance: 100

Testing block with hand image

Testing block with pickaxe https://user-images.githubusercontent.com/72581096/212496465-e2a4a0cd-873e-4f46-aa93-5dfb3935b3ef.mp4

Babzy955 commented 1 year ago

I also ran into this issue

image image

LoneDev6 commented 1 year ago

This is not a place to report bugs. Next time use https://github.com/PluginBugs/Issues-ItemsAdder/issues

You set cancel_drop: true, obviously it won't drop.

Also this is an optifine bug not itemsadder. I'm not the developer of optifine and I have no control over its development.

image image