package info.u_team.u_team_core.block;

import info.u_team.u_team_core.api.registry.IBlockItemProvider;
import net.minecraft.world.item.BlockItem;
import net.minecraft.world.item.CreativeModeTab;
import net.minecraft.world.item.Item;
import net.minecraft.world.level.block.Block;

public class UBlock extends Block implements IBlockItemProvider {

	protected final BlockItem blockItem;

	public UBlock(Properties properties) {
		this(null, properties);
	}

	public UBlock(CreativeModeTab group, Properties properties) {
		this(group, properties, null);
	}

	public UBlock(Properties properties, Item.Properties blockItemProperties) {
		this(null, properties, blockItemProperties);
	}

	public UBlock(CreativeModeTab group, Properties properties, Item.Properties blockItemProperties) {
		super(properties);
		blockItem = createBlockItem(blockItemProperties == null ? new Item.Properties().tab(group) : group == null ? blockItemProperties : blockItemProperties.tab(group));
	}

	protected BlockItem createBlockItem(Item.Properties blockItemProperties) {
		return new BlockItem(this, blockItemProperties);
	}

	@Override
	public BlockItem getBlockItem() {
		return blockItem;
	}
}

@@ -340,16 +340,17 @@
 vider %7B%0A
+%09
 %0A%09protec
@@ -380,16 +380,17 @@
 ckItem;%0A
+%09
 %0A%09public
@@ -443,32 +443,33 @@
 properties);%0A%09%7D%0A
+%09
 %0A%09public UBlock(
@@ -476,37 +476,43 @@
 CreativeModeTab 
-group
+creativeTab
 , Properties pro
@@ -529,21 +529,27 @@
 %0A%09%09this(
-group
+creativeTab
 , proper
@@ -560,24 +560,25 @@
 , null);%0A%09%7D%0A
+%09
 %0A%09public UBl
@@ -693,16 +693,17 @@
 es);%0A%09%7D%0A
+%09
 %0A%09public
@@ -726,21 +726,27 @@
 ModeTab 
-group
+creativeTab
 , Proper
@@ -912,22 +912,34 @@
 tab(
-group) : group
+creativeTab) : creativeTab
  == 
@@ -995,20 +995,27 @@
 tab(
-group
+creativeTab
 ));%0A%09%7D%0A
+%09
 %0A%09pr
@@ -1141,16 +1141,17 @@
 es);%0A%09%7D%0A
+%09
 %0A%09@Overr

Rename group variable in block to match the official name