package info.u_team.u_team_core.util.registry;

import java.util.function.Supplier;

import net.minecraft.block.Block;
import net.minecraft.item.BlockItem;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.RegistryObject;

public class BlockRegistryObject<B extends Block, I extends BlockItem> implements Supplier<B> {
	
	private final RegistryObject<B> block;
	private final RegistryObject<I> item;
	
	public BlockRegistryObject(RegistryObject<B> block, RegistryObject<I> item) {
		this.block = block;
		this.item = item;
	}
	
	public boolean isPresent() {
		return block.isPresent();
	}
	
	@Override
	public B get() {
		return block.get();
	}
	
	public ResourceLocation getId() {
		return block.getId();
	}
	
	public boolean hasItem() {
		return item.isPresent();
	}
	
	public I getItem() {
		return item.get();
	}
	
	public ResourceLocation getItemId() {
		return item.getId();
	}
	
}

package info.u_team.u_team_core.util.registry;

import java.util.function.Supplier;

import net.minecraft.block.Block;
import net.minecraft.item.BlockItem;
import net.minecraftforge.fml.RegistryObject;

public class BlockRegistryObject<B extends Block, I extends BlockItem> implements Supplier<B> {
	
	private final RegistryObject<B> block;
	private final RegistryObject<I> item;
	
	public BlockRegistryObject(RegistryObject<B> block, RegistryObject<I> item) {
		this.block = block;
		this.item = item;
	}
	
	@Override
	public B get() {
		return block.get();
	}
	
	public boolean hasItem() {
		return item.isPresent();
	}
	
	public I getItem() {
		return item.get();
	}
	
}

--- 
+++ 
@@ -4,6 +4,7 @@
 
 import net.minecraft.block.Block;
 import net.minecraft.item.BlockItem;
+import net.minecraft.util.ResourceLocation;
 import net.minecraftforge.fml.RegistryObject;
 
 public class BlockRegistryObject<B extends Block, I extends BlockItem> implements Supplier<B> {
@@ -16,9 +17,17 @@
 		this.item = item;
 	}
 	
+	public boolean isPresent() {
+		return block.isPresent();
+	}
+	
 	@Override
 	public B get() {
 		return block.get();
+	}
+	
+	public ResourceLocation getId() {
+		return block.getId();
 	}
 	
 	public boolean hasItem() {
@@ -29,4 +38,8 @@
 		return item.get();
 	}
 	
+	public ResourceLocation getItemId() {
+		return item.getId();
+	}
+	
 }
Add more getters to block registry object