content: package com.github.alexthe666.rats.server.items;
  
  import com.github.alexthe666.rats.server.misc.RatsLangConstants;
  import net.minecraft.ChatFormatting;
  import net.minecraft.core.Direction;
  import net.minecraft.network.chat.Component;
  import net.minecraft.world.item.DyeColor;
  import net.minecraft.world.item.Item;
  import net.minecraft.world.item.ItemStack;
  import net.minecraft.world.item.TooltipFlag;
  import net.minecraft.world.level.Level;
  import org.jetbrains.annotations.Nullable;
  
  import java.util.List;
  
  public class RatIglooItem extends Item implements RatCageDecoration {
  	public final DyeColor color;
  
  	public RatIglooItem(Item.Properties properties, DyeColor color) {
  		super(properties);
  		this.color = color;
  	}
  
  	@Override
  	public Direction getSupportedFace(Direction inputDir) {
  		return Direction.DOWN;
  	}
  
  	@Override
  	public void appendHoverText(ItemStack stack, @Nullable Level level, List<Component> tooltip, TooltipFlag flag) {
  		tooltip.add(Component.translatable(RatsLangConstants.CAGE_DECORATION).withStyle(ChatFormatting.GRAY));
  	}
  }
  