java.lang.Object
com.refinedmods.refinedstorage.apiimpl.network.node.cover.CoverManager

public class CoverManager extends Object
  • Field Details

    • PROPERTY

      public static final net.neoforged.neoforge.client.model.data.ModelProperty<CoverManager> PROPERTY
    • NBT_COVER_MANAGER

      public static String NBT_COVER_MANAGER
  • Constructor Details

  • Method Details

    • isValidCover

      public static boolean isValidCover(net.minecraft.world.item.ItemStack item)
    • getBlock

      @Nullable public static net.minecraft.world.level.block.Block getBlock(net.minecraft.world.item.ItemStack item)
    • getBlockState

      @Nullable public static net.minecraft.world.level.block.state.BlockState getBlockState(net.minecraft.world.item.ItemStack item)
    • getCover

      @Nullable public Cover getCover(net.minecraft.core.Direction facing)
    • hasCover

      public boolean hasCover(net.minecraft.core.Direction facing)
    • setCover

      public boolean setCover(net.minecraft.core.Direction facing, @Nullable Cover cover)
    • removeCover

      @Nullable public Cover removeCover(net.minecraft.core.Direction direction)
    • readFromNbt

      public void readFromNbt(net.minecraft.nbt.CompoundTag nbt)
    • writeToNbt

      public net.minecraft.nbt.CompoundTag writeToNbt()
    • getAsInventory

      public net.neoforged.neoforge.items.IItemHandlerModifiable getAsInventory()