A stable modding interface between Techblox and mods https://mod.exmods.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

239 lines
5.7KB

  1. namespace GamecraftModdingAPI.Blocks
  2. {
  3. /// <summary>
  4. /// Possible block types
  5. /// </summary>
  6. public enum BlockIDs : ushort
  7. {
  8. /// <summary>
  9. /// A custom value for the API. Doesn't exist for Gamecraft.
  10. /// </summary>
  11. Invalid = ushort.MaxValue,
  12. AluminiumCube = 0,
  13. AxleS,
  14. HingeS = 3,
  15. MotorS,
  16. HingeM,
  17. MotorM,
  18. TyreM,
  19. AxleM,
  20. IronCube,
  21. RubberCube,
  22. OiledCube,
  23. AluminiumConeSegment, //12
  24. AluminiumCorner,
  25. AluminiumRoundedCorner,
  26. AluminiumSlicedCube,
  27. AluminiumRoundedSlicedCube,
  28. AluminiumCylinder,
  29. AluminiumPyramidSegment,
  30. AluminiumSlope,
  31. AluminiumRoundedSlope,
  32. AluminiumSphere,
  33. RubberConeSegment, //22
  34. RubberCorner,
  35. RubberRoundedCorner,
  36. RubberSlicedCube,
  37. RubberRoundedSlicedCube,
  38. RubberCylinder,
  39. RubberPyramidSegment,
  40. RubberSlope,
  41. RubberRoundedSlope,
  42. RubberSphere,
  43. OiledConeSegment, //32
  44. OiledCorner,
  45. OiledRoundedCorner,
  46. OiledSlicedCube,
  47. OiledRoundedSlicedCube,
  48. OiledCylinder,
  49. OiledPyramidSegment,
  50. OiledSlope,
  51. OiledRoundedSlope,
  52. OiledSphere,
  53. IronConeSegment, //42
  54. IronCorner,
  55. IronRoundedCorner,
  56. IronSlicedCube,
  57. IronRoundedSlicedCube,
  58. IronCylinder,
  59. IronPyramidSegment,
  60. IronSlope,
  61. IronRoundedSlope,
  62. IronSphere,
  63. GlassCube, //52
  64. GlassSlicedCube,
  65. GlassSlope,
  66. GlassCorner,
  67. GlassPyramidSegment,
  68. GlassRoundedSlicedCube,
  69. GlassRoundedSlope,
  70. GlassRoundedCorner,
  71. GlassConeSegment,
  72. GlassCylinder,
  73. GlassSphere,
  74. Lever, //63 - two IDs skipped
  75. PlayerSpawn = 66, //Crashes without special handling
  76. SmallSpawn,
  77. MediumSpawn,
  78. LargeSpawn,
  79. BallJoint,
  80. UniversalJoint,
  81. ServoAxle,
  82. ServoHinge,
  83. StepperAxle,
  84. StepperHinge,
  85. TelescopicJoint,
  86. DampedSpring,
  87. ServoPiston,
  88. StepperPiston,
  89. PneumaticPiston,
  90. PneumaticHinge,
  91. PneumaticAxle, //82
  92. PilotSeat = 90, //Might crash
  93. PassengerSeat,
  94. PilotControls,
  95. GrassCube,
  96. DirtCube,
  97. GrassConeSegment,
  98. GrassCorner,
  99. GrassRoundedCorner,
  100. GrassSlicedCube,
  101. GrassRoundedSlicedCube,
  102. GrassPyramidSegment,
  103. GrassSlope,
  104. GrassRoundedSlope,
  105. DirtConeSegment,
  106. DirtCorner,
  107. DirtRoundedCorner,
  108. DirtSlicedCube,
  109. DirtRoundedSlicedCube,
  110. DirtPyramidSegment,
  111. DirtSlope,
  112. DirtRoundedSlope,
  113. RubberHemisphere,
  114. AluminiumHemisphere,
  115. GrassInnerCornerBulged,
  116. DirtInnerCornerBulged,
  117. IronHemisphere,
  118. OiledHemisphere,
  119. GlassHemisphere,
  120. TyreS,
  121. ThreeWaySwitch,
  122. Dial, //120
  123. CharacterOnEnterTrigger, //Probably crashes
  124. CharacterOnLeaveTrigger,
  125. CharacterOnStayTrigger,
  126. ObjectOnEnterTrigger,
  127. ObjectOnLeaveTrigger,
  128. ObjectOnStayTrigger,
  129. Button,
  130. Switch,
  131. TextBlock, //Brings up a screen
  132. ConsoleBlock, //Brings up a screen
  133. Door,
  134. GlassDoor,
  135. PoweredDoor,
  136. PoweredGlassDoor,
  137. AluminiumTubeCorner,
  138. IronTubeCorner,
  139. WoodCube,
  140. WoodSlicedCube,
  141. WoodSlope,
  142. WoodCorner,
  143. WoodPyramidSegment,
  144. WoodConeSegment,
  145. WoodRoundedSlicedCube,
  146. WoodRoundedSlope,
  147. WoodRoundedCorner,
  148. WoodCylinder,
  149. WoodHemisphere,
  150. WoodSphere,
  151. BrickCube, //149
  152. BrickSlicedCube = 151,
  153. BrickSlope,
  154. BrickCorner,
  155. ConcreteCube,
  156. ConcreteSlicedCube,
  157. ConcreteSlope,
  158. ConcreteCorner,
  159. RoadCarTyre,
  160. OffRoadCarTyre,
  161. RacingCarTyre,
  162. BicycleTyre,
  163. FrontBikeTyre,
  164. RearBikeTyre,
  165. ChopperBikeTyre,
  166. TractorTyre,
  167. MonsterTruckTyre,
  168. MotocrossBikeTyre,
  169. CartTyre, //168
  170. ObjectIdentifier,
  171. ANDLogicBlock,
  172. NANDLogicBlock,
  173. NORLogicBlock,
  174. NOTLogicBlock,
  175. ORLogicBlock,
  176. XNORLogicBlock,
  177. XORLogicBlock,
  178. AbsoluteMathsBlock,
  179. AdderMathsBlock,
  180. DividerMathsBlock,
  181. SignMathsBlock, //180
  182. MaxMathsBlock,
  183. MinMathsBlock,
  184. MultiplierMathsBlock,
  185. SubtractorMathsBlock,
  186. SimpleConnector,
  187. MeanMathsBlock,
  188. Bit,
  189. Counter,
  190. Timer,
  191. ObjectFilter,
  192. PlayerFilter,
  193. TeamFilter,
  194. Number2Text, //193
  195. BeachTree1 = 200,
  196. BeachTree2,
  197. BeachTree3,
  198. Rock1,
  199. Rock2,
  200. Rock3,
  201. Rock4,
  202. BirchTree1,
  203. BirchTree2,
  204. BirchTree3,
  205. PineTree1,
  206. PineTree2,
  207. PineTree3,
  208. Flower1,
  209. Flower2,
  210. Flower3,
  211. Shrub1,
  212. Shrub2,
  213. Shrub3,
  214. CliffCube,
  215. CliffSlicedCorner,
  216. CliffCornerA,
  217. CliffCornerB,
  218. CliffSlopeA,
  219. CliffSlopeB,
  220. GrassEdge,
  221. GrassEdgeInnerCorner,
  222. GrassEdgeCorner,
  223. GrassEdgeSlope,
  224. CentreHUD,
  225. ObjectiveHUD,
  226. GameStatsHUD, //231
  227. GameOverBlock,
  228. MovementConstrainer = 246,
  229. RotationConstrainer,
  230. AdvancedMovementDampener,
  231. AdvancedRotationDampener,
  232. Mover = 250,
  233. Rotator,
  234. MovementDampener,
  235. RotationDampener,
  236. AdvancedMover,
  237. AdvancedRotator
  238. }
  239. }