use of net.silentchaos512.gear.api.event.GearNamePrefixesEvent in project Silent-Gear by SilentChaos512.
the class GearHelper method getNamePrefixes.
private static Collection<Component> getNamePrefixes(ItemStack gear, PartDataList parts) {
GearNamePrefixesEvent event = new GearNamePrefixesEvent(gear, parts);
MinecraftForge.EVENT_BUS.post(event);
return event.getPrefixes();
}
Aggregations