public class CompleteChoosingEvent
extends net.minecraftforge.fml.common.eventhandler.Event
The best way to get the chosen variant of a product is to call IResourceRegistry.registerResource(String) in the pre init phase of fml.
The result of this method is a IResource. Than you register your product variant with IResource.registerProduct(String, ItemStack).
The result of this method is a IProduct, later with this event you can get the chosen variant from the IProduct with IProduct.getChosenProduct().
| Constructor and Description |
|---|
CompleteChoosingEvent() |