@@ -0,0 +1,664 @@
+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;%0A%0Apublic class BlockRegistryObject%3CB extends Block, I extends Item%3E implements Supplier%3CB%3E %7B%0A%09%0A%09private final RegistryObject%3CB%3E block;%0A%09private final RegistryObject%3CI%3E item;%0A%09%0A%09public BlockRegistryObject(RegistryObject%3CB%3E block, RegistryObject%3CI%3E item) %7B%0A%09%09this.block = block;%0A%09%09this.item = item;%0A%09%7D%0A%09%0A%09@Override%0A%09public B get() %7B%0A%09%09return block.get();%0A%09%7D%0A%09%0A%09public boolean hasItem() %7B%0A%09%09return item.isPresent();%0A%09%7D%0A%09%0A%09public I getItem() %7B%0A%09%09return item.get();%0A%09%7D%0A%09%0A%7D%0A

Add basic block registry object