Fabrication

Fabrication

305k Downloads

item_despawn has a bug

lumagatto opened this issue ยท 0 comments

commented

These are the relevant (and the only touched) parts of the config:

[@special]
; All items that do not match other rules.
default=unset
; Items not dropped by players.
drops=unset
; Items that have been renamed.
renamed=f
; Items that were dropped as a result of a player dying. Setting this to "invincible" can be an
; alternative to a grave mod or datapack.
player_death=f
; Items with true NBT booleans of these names will be given these despawn times.
; NBT bool rules overshadow all other rules. 
[@nbtbools]
; Just an example. Uncomment if you want it.
; If uncommented, the NBT needed to spawn an item with this is {LongDespawn:1b}
;LongDespawn=1h
Indestructible=i!

; Suffixing one of these times with ! causes all special rules to be ignored for that item.
[minecraft:]
;cobblestone=1m
;diamond=forever
dragon_egg=i!

When the item both is renamed AND has the NBT {Indestructible:1b}, it proceeds with the renamed item logic (it can be destroyed).
I've tried both with Indestructible=i and Indestructible=i!