public static ItemInventory GetInstance(BlockData.Items itemType) { return GetInstance((short)itemType); }
public bool IsInteractive(BlockData.Blocks blockType) { return _interactiveBlocks.ContainsKey((byte)blockType); }
public static ItemInventory GetInstance(BlockData.Blocks blockType) { return GetInstance((short)blockType); }
public short BurnEfficiency(BlockData.Blocks blockType) { short burnEfficiency; _blocksBurnEfficiency.TryGetValue((byte)blockType, out burnEfficiency); return burnEfficiency; }
public bool IsWaterProof(BlockData.Blocks blockType) { return _waterProofBlocks.ContainsKey((byte)blockType); }
public byte Luminance(BlockData.Blocks blockType) { byte luminance; _blocksLuminance.TryGetValue((byte)blockType, out luminance); return luminance; }
public bool IsIgnitable(BlockData.Blocks blockType) { short burnEfficiency; _blocksBurnEfficiency.TryGetValue((byte)blockType, out burnEfficiency); return (burnEfficiency > 0); }
public bool IsOpaque(BlockData.Blocks blockType) { byte opacity; _blocksOpacity.TryGetValue((byte)blockType, out opacity); return (opacity == 0xF); }
public byte Opacity(BlockData.Blocks blockType) { byte opacity; _blocksOpacity.TryGetValue((byte)blockType, out opacity); return opacity; }
public bool IsSolid(BlockData.Blocks blockType) { return _solidBlocks.ContainsKey((byte)blockType); }
public bool IsSingleHit(BlockData.Blocks blockType) { return _singleHitBlocks.ContainsKey((byte)blockType); }
public bool IsLiquid(BlockData.Blocks blockType) { return _liquidBlocks.ContainsKey((byte)blockType); }
public bool IsAir(BlockData.Blocks blockType) { return _airBlocks.ContainsKey((byte)blockType); }
public bool IsPlowed(BlockData.Blocks blockType) { return _plowedBlocks.ContainsKey((byte)blockType); }
public bool IsFertile(BlockData.Blocks blockType) { return _fertileBlocks.ContainsKey((byte)blockType); }
public bool IsGrowable(BlockData.Blocks blockType) { return _growableBlocks.ContainsKey((byte)blockType); }