/*
 * This file is part of ComputerCraft - http://www.computercraft.info
 * Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
 * Send enquiries to dratcliffe@gmail.com
 */
package dan200.computercraft.shared.util;

import net.minecraft.nbt.INBT;
import net.minecraft.util.Direction;
import net.minecraftforge.common.capabilities.Capability;

public class NullStorage<T> implements Capability.IStorage<T>
{
    @Override
    public INBT writeNBT( Capability<T> capability, T instance, Direction side )
    {
        return null;
    }

    @Override
    public void readNBT( Capability<T> capability, T instance, Direction side, INBT base )
    {
    }
}
