ItemStackHolder-Annotation does not take class-ObjectHolder-domain into account
bonii-xx opened this issue ยท 0 comments
When annotating a class with ObjectHolder it uses this modid as the domain for all ObjectHolder annotations in the class. ItemStackHolder does not.
Working example:
@GameRegistry.ObjectHolder("myMod")
public class FooHolder {
@GameRegistry.ObjectHolder("foo")
public static Item fooItem;
@GameRegistry.ItemStackHolder("myMod:foo")
public static ItemStack fooItemStack;
}
The "myMod:" domain is needed on the ItemStackHolder.