package info.u_team.u_team_core.item;

import java.util.function.Supplier;

import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.fluid.Fluid;
import net.minecraft.item.*;
import net.minecraft.util.*;
import net.minecraft.world.World;

public class NoPlaceUBucketItem extends UBucketItem {
	
	public NoPlaceUBucketItem(String name, ItemGroup group, Properties properties, Supplier<? extends Fluid> fluid) {
		super(name, group, properties, fluid);
	}
	
	public NoPlaceUBucketItem(String name, Properties properties, Supplier<? extends Fluid> fluid) {
		super(name, properties, fluid);
	}
	
	@Override
	public ActionResult<ItemStack> onItemRightClick(World world, PlayerEntity player, Hand hand) {
		return new ActionResult<ItemStack>(ActionResultType.PASS, player.getHeldItem(hand));
	}
	
}

@@ -328,29 +328,16 @@
 ketItem(
-String name, 
 ItemGrou
@@ -411,22 +411,16 @@
 %09%09super(
-name, 
 group, p
@@ -474,21 +474,8 @@
 tem(
-String name, 
 Prop
@@ -540,14 +540,8 @@
 per(
-name, 
 prop

Add new no place u bucket item