
Usage of `DataComponents.FOOD`
Closed this issue ยท 1 comments
This can cause items to be incompatible due to the (neo)forge item extension IItemExtension
/ IItemStackExtension
method getFoodProperties
An item may have food properties but not the data component
Considering you already retrieve it by using that method there isn't really any reason as to why you would check for the data component
(You even already check whether the food properties are null or not)