@@ -0,0 +1,707 @@
+package info.u_team.u_team_core.util.registry;%0A%0Aimport java.util.function.Supplier;%0A%0Aimport net.minecraft.block.Block;%0Aimport net.minecraft.item.Item;%0Aimport net.minecraftforge.fml.RegistryObject;%0Aimport net.minecraftforge.registries.*;%0A%0Apublic class BlockDeferredRegister %7B%0A%09%0A%09public final DeferredRegister%3CBlock%3E blocks;%0A%09public final DeferredRegister%3CItem%3E items;%0A%09%0A%09public BlockDeferredRegister(String modid) %7B%0A%09%09blocks = DeferredRegister.create(ForgeRegistries.BLOCKS, modid);%0A%09%09items = DeferredRegister.create(ForgeRegistries.ITEMS, modid);%0A%09%7D%0A%09%0A%09public %3CI extends Block%3E RegistryObject%3CI%3E registerCommon(String name, Supplier%3C? extends I%3E supplier) %7B%0A%09%09return blocks.register(name, supplier);%0A%09%7D%0A%09%0A%7D%0A

Add block deferred register