// Path: src/api/java/com/github/atomicblom/shearmadness/api/capability/IChiseledSheepCapability.java
// public interface IChiseledSheepCapability
// {
//     boolean isChiseled();
// 
//     void unChisel();
// 
//     void chisel(ItemStack itemStack);
// 
//     ItemStack getChiselItemStack();
// 
//     int getItemIdentifier();
// 
//     NBTTagCompound getExtraData();
// }
// 
// Path: src/api/java/com/github/atomicblom/shearmadness/api/Capability.java
// @CapabilityInject(IChiseledSheepCapability.class)
// public static final net.minecraftforge.common.capabilities.Capability<IChiseledSheepCapability> CHISELED_SHEEP;


import com.github.atomicblom.shearmadness.api.capability.IChiseledSheepCapability;
import net.minecraft.nbt.NBTBase;
import net.minecraft.util.EnumFacing;
import net.minecraftforge.common.capabilities.Capability;
import net.minecraftforge.common.capabilities.ICapabilityProvider;
import net.minecraftforge.common.util.INBTSerializable;
import javax.annotation.Nullable;
import static com.github.atomicblom.shearmadness.api.Capability.CHISELED_SHEEP;
package com.github.atomicblom.shearmadness.capability;




@SuppressWarnings({"ObjectEquality", "ConstantConditions", "ClassHasNoToStringMethod"})
public class CapabilityProvider implements ICapabilityProvider, INBTSerializable<NBTBase>
{
    private final IChiseledSheepCapability capability;

    public CapabilityProvider()
    {
        capability = new ChiseledSheepCapability();
    }

    @Override
    public boolean hasCapability(Capability<?> capability, @Nullable EnumFacing facing)
    {
// Path: src/api/java/com/github/atomicblom/shearmadness/api/capability/IChiseledSheepCapability.java
// public interface IChiseledSheepCapability
// {
//     boolean isChiseled();
// 
//     void unChisel();
// 
//     void chisel(ItemStack itemStack);
// 
//     ItemStack getChiselItemStack();
// 
//     int getItemIdentifier();
// 
//     NBTTagCompound getExtraData();
// }
// 
// Path: src/api/java/com/github/atomicblom/shearmadness/api/Capability.java
// @CapabilityInject(IChiseledSheepCapability.class)
// public static final net.minecraftforge.common.capabilities.Capability<IChiseledSheepCapability> CHISELED_SHEEP;


// Path: src/main/java/com/github/atomicblom/shearmadness/capability/CapabilityProvider.java
import com.github.atomicblom.shearmadness.api.capability.IChiseledSheepCapability;
import net.minecraft.nbt.NBTBase;
import net.minecraft.util.EnumFacing;
import net.minecraftforge.common.capabilities.Capability;
import net.minecraftforge.common.capabilities.ICapabilityProvider;
import net.minecraftforge.common.util.INBTSerializable;
import javax.annotation.Nullable;
import static com.github.atomicblom.shearmadness.api.Capability.CHISELED_SHEEP;

package com.github.atomicblom.shearmadness.capability;




@SuppressWarnings({"ObjectEquality", "ConstantConditions", "ClassHasNoToStringMethod"})
public class CapabilityProvider implements ICapabilityProvider, INBTSerializable<NBTBase>
{
    private final IChiseledSheepCapability capability;

    public CapabilityProvider()
    {
        capability = new ChiseledSheepCapability();
    }

    @Override
    public boolean hasCapability(Capability<?> capability, @Nullable EnumFacing facing)
    {
        return capability == CHISELED_SHEEP;