I am trying to use @ObjectHolder to make an Item variable that holds the information of an Item from another mod. How would I use the Mods ID and the item name to make that work? Heres what i am trying right now, I have never used this before so I am having trouble. If anyone could help it would be greatly apreciated
@ObjectHolder(registryName = "Item", value = "cgm:rifle")
public static final Item RIFLE = null;