jojodmo / CustomItems

Custom Items — Bukkit Plugin — Design New Items AND BLOCKS with New Textures, Recipes & Triggers
https://polymart.org/resource/custom-items.1?utm_source=github&utm_medium=referral&utm_campaign=customitems-github&utm_content=about-sidebar
22 stars 7 forks source link

Can't Set Hardness for Mineable Block #3

Closed LukeBenVader1 closed 4 years ago

LukeBenVader1 commented 5 years ago

I have an issue where if I specify a custom texture on an ore block, it instantly breaks when mined in survival. However, if I don't use a texture and only use a material such as DIAMOND_ORE, the block has a hardness and takes time to break. How can I keep both the hardness of the ore and the custom texture? My code (indents aren't properly shown):

`name: "Ruby Ore" item: material: DIAMOND_ORE displayName: "&cRuby Ore"

canBeUsedGenerically: false canBePlaced: true

block:

texture: textureID: 1

drops: "ruby": 1`