|
| static void | AllocateBlock (BlockAllocateData allocateData, int Index) |
| |
| static void | Initialize () |
| |
| static void | ResetBlocks () |
| |
| static void | InitializeCategories () |
| |
| static int | GetBlockIndex (string BlockName, bool throwIfNotFound=false) |
| | 通过方块名称来获取方块的Index
|
| |
| static int | GetBlockIndex< T > (bool throwIfNotFound=false, bool mustBeInSameType=false) |
| | 获取方块的Index
|
| |
| static int | GetBlockIndex (Type blockType, bool throwIfNotFound=false, bool mustBeInSameType=false) |
| | 获取方块的Index
|
| |
| static Block | GetBlockGeneral< T > (bool throwIfNotFound=false) |
| | 获取一个方块的通用Block类,具有较好的模组兼容稳定性
|
| |
| static Block | GetBlock (string BlockName, bool throwIfNotFound=false) |
| |
| static T | GetBlock< T > (bool throwIfNotFound=false, bool mustBeInSameType=false) |
| |
| static Block | GetBlock (Type blockType, bool throwIfNotFound=false, bool mustBeInSameType=false) |
| |
| static void | InitializeBlocks (SubsystemBlocksManager subsystemBlocksManager) |
| |
| static void | PostProcessBlocksLoad () |
| |
| static void | AddCategory (string category) |
| |
| static Block | FindBlockByTypeName (string typeName, bool throwIfNotFound) |
| |
| static Block[] | FindBlocksByCraftingId (string craftingId) |
| |
| static void | DrawCubeBlock (PrimitivesRenderer3D primitivesRenderer, int value, Vector3 size, ref Matrix matrix, Color color, Color topColor, DrawBlockEnvironmentData environmentData) |
| |
| static void | DrawCubeBlock (PrimitivesRenderer3D primitivesRenderer, int value, Vector3 size, float height, ref Matrix matrix, Color color, Color topColor, DrawBlockEnvironmentData environmentData) |
| |
| static void | DrawCubeBlock (PrimitivesRenderer3D primitivesRenderer, int value, Vector3 size, float height, ref Matrix matrix, Color color, Color topColor, DrawBlockEnvironmentData environmentData, Texture2D texture) |
| |
| static void | DrawFlatOrImageExtrusionBlock (PrimitivesRenderer3D primitivesRenderer, int value, float size, ref Matrix matrix, Texture2D texture, Color color, bool isEmissive, DrawBlockEnvironmentData environmentData) |
| |
| static void | DrawFlatBlock (PrimitivesRenderer3D primitivesRenderer, int value, float size, ref Matrix matrix, Texture2D texture, Color color, bool isEmissive, DrawBlockEnvironmentData environmentData) |
| |
| static void | DrawImageExtrusionBlock (PrimitivesRenderer3D primitivesRenderer, int value, float size, ref Matrix matrix, Color color, DrawBlockEnvironmentData environmentData) |
| |
| static BlockMesh | GetImageExtrusionBlockMesh (Image image, int slot) |
| |
| static void | DrawMeshBlock (PrimitivesRenderer3D primitivesRenderer, BlockMesh blockMesh, float size, ref Matrix matrix, DrawBlockEnvironmentData environmentData) |
| |
| static void | DrawMeshBlock (PrimitivesRenderer3D primitivesRenderer, BlockMesh blockMesh, Color color, float size, ref Matrix matrix, DrawBlockEnvironmentData environmentData) |
| |
| static void | DrawMeshBlock (PrimitivesRenderer3D primitivesRenderer, BlockMesh blockMesh, Texture2D texture, Color color, float size, ref Matrix matrix, DrawBlockEnvironmentData environmentData) |
| |
| static int | DamageItem (int value, int damageCount, Entity owner=null) |
| |
| static void | LoadBlocksData (string data) |
| |
| static void | CalculateSlotTexCoordTables () |
| |
| static Vector4 | TextureSlotToTextureCoords (int slot) |
| |
| static Vector4[] | GetslotTexCoords (int textureSlotCount) |
| |
| static Block | GetBlockInMod (string ModSpace, string TypeFullName) |
| |