I need to create my own registry. I have this code and crush:
@Mod.EventBusSubscriber(modid = FluidApi.MOD_ID, bus = Mod.EventBusSubscriber.Bus.MOD)
public class FluidRegistry
{
public static IForgeRegistry<AdvancedFluid> FLUIDS = RegistryManager.ACTIVE.getRegistry(AdvancedFluid.class);
@SubscribeEvent
public static void init(RegistryEvent.NewRegistry event)
{
new RegistryBuilder<AdvancedFluid>()
.setType(AdvancedFluid.class)