2020-01-03 13:38:59 +00:00
|
|
|
namespace GamecraftModdingAPI.Blocks
|
|
|
|
{
|
2020-01-04 00:54:35 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Possible block types
|
|
|
|
/// </summary>
|
2020-05-17 21:23:06 +00:00
|
|
|
public enum BlockIDs : ushort
|
2020-01-03 13:38:59 +00:00
|
|
|
{
|
2020-05-19 22:08:02 +00:00
|
|
|
/// <summary>
|
2020-07-15 19:58:24 +00:00
|
|
|
/// Called "nothing" in Gamecraft. (DBID.NOTHING)
|
2020-05-19 22:08:02 +00:00
|
|
|
/// </summary>
|
2020-05-17 21:23:06 +00:00
|
|
|
Invalid = ushort.MaxValue,
|
|
|
|
AluminiumCube = 0,
|
2020-01-03 13:38:59 +00:00
|
|
|
AxleS,
|
2020-02-08 21:05:16 +00:00
|
|
|
HingeS = 3,
|
2020-01-03 13:38:59 +00:00
|
|
|
MotorS,
|
|
|
|
HingeM,
|
|
|
|
MotorM,
|
|
|
|
TyreM,
|
|
|
|
AxleM,
|
|
|
|
IronCube,
|
|
|
|
RubberCube,
|
|
|
|
OiledCube,
|
|
|
|
AluminiumConeSegment, //12
|
|
|
|
AluminiumCorner,
|
|
|
|
AluminiumRoundedCorner,
|
|
|
|
AluminiumSlicedCube,
|
|
|
|
AluminiumRoundedSlicedCube,
|
|
|
|
AluminiumCylinder,
|
|
|
|
AluminiumPyramidSegment,
|
|
|
|
AluminiumSlope,
|
|
|
|
AluminiumRoundedSlope,
|
|
|
|
AluminiumSphere,
|
|
|
|
RubberConeSegment, //22
|
|
|
|
RubberCorner,
|
|
|
|
RubberRoundedCorner,
|
|
|
|
RubberSlicedCube,
|
|
|
|
RubberRoundedSlicedCube,
|
|
|
|
RubberCylinder,
|
|
|
|
RubberPyramidSegment,
|
|
|
|
RubberSlope,
|
|
|
|
RubberRoundedSlope,
|
|
|
|
RubberSphere,
|
|
|
|
OiledConeSegment, //32
|
|
|
|
OiledCorner,
|
|
|
|
OiledRoundedCorner,
|
|
|
|
OiledSlicedCube,
|
|
|
|
OiledRoundedSlicedCube,
|
|
|
|
OiledCylinder,
|
|
|
|
OiledPyramidSegment,
|
|
|
|
OiledSlope,
|
|
|
|
OiledRoundedSlope,
|
|
|
|
OiledSphere,
|
|
|
|
IronConeSegment, //42
|
|
|
|
IronCorner,
|
|
|
|
IronRoundedCorner,
|
|
|
|
IronSlicedCube,
|
|
|
|
IronRoundedSlicedCube,
|
|
|
|
IronCylinder,
|
|
|
|
IronPyramidSegment,
|
|
|
|
IronSlope,
|
|
|
|
IronRoundedSlope,
|
|
|
|
IronSphere,
|
|
|
|
GlassCube, //52
|
|
|
|
GlassSlicedCube,
|
|
|
|
GlassSlope,
|
|
|
|
GlassCorner,
|
|
|
|
GlassPyramidSegment,
|
|
|
|
GlassRoundedSlicedCube,
|
|
|
|
GlassRoundedSlope,
|
|
|
|
GlassRoundedCorner,
|
|
|
|
GlassConeSegment,
|
|
|
|
GlassCylinder,
|
|
|
|
GlassSphere,
|
2020-02-08 21:05:16 +00:00
|
|
|
Lever, //63 - two IDs skipped
|
2020-01-03 13:38:59 +00:00
|
|
|
PlayerSpawn = 66, //Crashes without special handling
|
|
|
|
SmallSpawn,
|
|
|
|
MediumSpawn,
|
|
|
|
LargeSpawn,
|
|
|
|
BallJoint,
|
|
|
|
UniversalJoint,
|
|
|
|
ServoAxle,
|
|
|
|
ServoHinge,
|
|
|
|
StepperAxle,
|
|
|
|
StepperHinge,
|
|
|
|
TelescopicJoint,
|
|
|
|
DampedSpring,
|
|
|
|
ServoPiston,
|
|
|
|
StepperPiston,
|
|
|
|
PneumaticPiston,
|
|
|
|
PneumaticHinge,
|
|
|
|
PneumaticAxle, //82
|
|
|
|
PilotSeat = 90, //Might crash
|
|
|
|
PassengerSeat,
|
|
|
|
PilotControls,
|
|
|
|
GrassCube,
|
|
|
|
DirtCube,
|
|
|
|
GrassConeSegment,
|
|
|
|
GrassCorner,
|
|
|
|
GrassRoundedCorner,
|
|
|
|
GrassSlicedCube,
|
|
|
|
GrassRoundedSlicedCube,
|
|
|
|
GrassPyramidSegment,
|
|
|
|
GrassSlope,
|
|
|
|
GrassRoundedSlope,
|
|
|
|
DirtConeSegment,
|
|
|
|
DirtCorner,
|
|
|
|
DirtRoundedCorner,
|
|
|
|
DirtSlicedCube,
|
|
|
|
DirtRoundedSlicedCube,
|
|
|
|
DirtPyramidSegment,
|
|
|
|
DirtSlope,
|
|
|
|
DirtRoundedSlope,
|
|
|
|
RubberHemisphere,
|
|
|
|
AluminiumHemisphere,
|
|
|
|
GrassInnerCornerBulged,
|
|
|
|
DirtInnerCornerBulged,
|
|
|
|
IronHemisphere,
|
|
|
|
OiledHemisphere,
|
|
|
|
GlassHemisphere,
|
|
|
|
TyreS,
|
|
|
|
ThreeWaySwitch,
|
|
|
|
Dial, //120
|
|
|
|
CharacterOnEnterTrigger, //Probably crashes
|
|
|
|
CharacterOnLeaveTrigger,
|
|
|
|
CharacterOnStayTrigger,
|
|
|
|
ObjectOnEnterTrigger,
|
|
|
|
ObjectOnLeaveTrigger,
|
|
|
|
ObjectOnStayTrigger,
|
|
|
|
Button,
|
|
|
|
Switch,
|
|
|
|
TextBlock, //Brings up a screen
|
|
|
|
ConsoleBlock, //Brings up a screen
|
|
|
|
Door,
|
|
|
|
GlassDoor,
|
|
|
|
PoweredDoor,
|
|
|
|
PoweredGlassDoor,
|
|
|
|
AluminiumTubeCorner,
|
|
|
|
IronTubeCorner,
|
|
|
|
WoodCube,
|
|
|
|
WoodSlicedCube,
|
|
|
|
WoodSlope,
|
|
|
|
WoodCorner,
|
|
|
|
WoodPyramidSegment,
|
|
|
|
WoodConeSegment,
|
|
|
|
WoodRoundedSlicedCube,
|
|
|
|
WoodRoundedSlope,
|
|
|
|
WoodRoundedCorner,
|
|
|
|
WoodCylinder,
|
|
|
|
WoodHemisphere,
|
|
|
|
WoodSphere,
|
|
|
|
BrickCube, //149
|
|
|
|
BrickSlicedCube = 151,
|
|
|
|
BrickSlope,
|
|
|
|
BrickCorner,
|
|
|
|
ConcreteCube,
|
|
|
|
ConcreteSlicedCube,
|
|
|
|
ConcreteSlope,
|
|
|
|
ConcreteCorner,
|
2020-02-08 21:05:16 +00:00
|
|
|
RoadCarTyre,
|
|
|
|
OffRoadCarTyre,
|
|
|
|
RacingCarTyre,
|
|
|
|
BicycleTyre,
|
|
|
|
FrontBikeTyre,
|
|
|
|
RearBikeTyre,
|
|
|
|
ChopperBikeTyre,
|
|
|
|
TractorTyre,
|
|
|
|
MonsterTruckTyre,
|
|
|
|
MotocrossBikeTyre,
|
2020-04-08 23:14:21 +00:00
|
|
|
CartTyre, //168
|
|
|
|
ObjectIdentifier,
|
|
|
|
ANDLogicBlock,
|
2020-03-12 22:36:23 +00:00
|
|
|
NANDLogicBlock,
|
|
|
|
NORLogicBlock,
|
|
|
|
NOTLogicBlock,
|
|
|
|
ORLogicBlock,
|
|
|
|
XNORLogicBlock,
|
|
|
|
XORLogicBlock,
|
|
|
|
AbsoluteMathsBlock,
|
|
|
|
AdderMathsBlock,
|
|
|
|
DividerMathsBlock,
|
|
|
|
SignMathsBlock, //180
|
|
|
|
MaxMathsBlock,
|
|
|
|
MinMathsBlock,
|
|
|
|
MultiplierMathsBlock,
|
|
|
|
SubtractorMathsBlock,
|
|
|
|
SimpleConnector,
|
|
|
|
MeanMathsBlock,
|
2020-04-08 23:14:21 +00:00
|
|
|
Bit,
|
|
|
|
Counter,
|
|
|
|
Timer,
|
|
|
|
ObjectFilter,
|
|
|
|
PlayerFilter,
|
|
|
|
TeamFilter,
|
|
|
|
Number2Text, //193
|
2020-08-13 14:59:13 +00:00
|
|
|
DestructionManager = 260,
|
|
|
|
ChunkHealthModifier,
|
|
|
|
ClusterHealthModifier, //262
|
2020-01-03 13:38:59 +00:00
|
|
|
BeachTree1 = 200,
|
|
|
|
BeachTree2,
|
|
|
|
BeachTree3,
|
|
|
|
Rock1,
|
|
|
|
Rock2,
|
|
|
|
Rock3,
|
|
|
|
Rock4,
|
|
|
|
BirchTree1,
|
|
|
|
BirchTree2,
|
|
|
|
BirchTree3,
|
|
|
|
PineTree1,
|
|
|
|
PineTree2,
|
|
|
|
PineTree3,
|
|
|
|
Flower1,
|
|
|
|
Flower2,
|
|
|
|
Flower3,
|
|
|
|
Shrub1,
|
|
|
|
Shrub2,
|
2020-03-12 22:36:23 +00:00
|
|
|
Shrub3,
|
|
|
|
CliffCube,
|
|
|
|
CliffSlicedCorner,
|
|
|
|
CliffCornerA,
|
|
|
|
CliffCornerB,
|
|
|
|
CliffSlopeA,
|
|
|
|
CliffSlopeB,
|
|
|
|
GrassEdge,
|
|
|
|
GrassEdgeInnerCorner,
|
|
|
|
GrassEdgeCorner,
|
2020-04-08 23:14:21 +00:00
|
|
|
GrassEdgeSlope,
|
|
|
|
CentreHUD,
|
|
|
|
ObjectiveHUD,
|
|
|
|
GameStatsHUD, //231
|
2020-05-17 18:13:45 +00:00
|
|
|
GameOverBlock,
|
2020-09-18 22:13:05 +00:00
|
|
|
SFXBlockGameplay = 240,
|
2020-06-12 22:48:13 +00:00
|
|
|
SFXBlock8Bit,
|
|
|
|
SFXBlockInstrument,
|
|
|
|
SFXBlockSciFi,
|
|
|
|
SFXBlockLoops,
|
|
|
|
SFXBlockVocal,
|
|
|
|
MovementConstrainer, //246
|
2020-05-17 18:13:45 +00:00
|
|
|
RotationConstrainer,
|
|
|
|
AdvancedMovementDampener,
|
|
|
|
AdvancedRotationDampener,
|
2020-04-08 23:14:21 +00:00
|
|
|
Mover = 250,
|
|
|
|
Rotator,
|
|
|
|
MovementDampener,
|
|
|
|
RotationDampener,
|
|
|
|
AdvancedMover,
|
2020-06-12 22:48:13 +00:00
|
|
|
AdvancedRotator,
|
|
|
|
MusicBlock, //256
|
|
|
|
PlasmaCannonBlock,
|
2020-08-13 14:59:13 +00:00
|
|
|
QuantumRiflePickup = 300,
|
|
|
|
QuantumRifleAmmoPickup,
|
2020-09-18 19:19:39 +00:00
|
|
|
AluminiumSlicedFraction,
|
|
|
|
AluminiumSlicedSlope,
|
|
|
|
AluminiumHalfPyramidLeft = 305,
|
|
|
|
AluminiumHalfPyramidRight,
|
|
|
|
AluminiumPyramidSliced,
|
|
|
|
AluminiumTubeCross,
|
|
|
|
AluminiumTubeT,
|
|
|
|
AluminiumPlateSquare,
|
|
|
|
AluminiumPlateCircle,
|
|
|
|
AluminiumPlateTriangle, //312
|
|
|
|
OiledSlicedFraction = 314,
|
|
|
|
OiledSlicedSlope,
|
|
|
|
OiledHalfPyramidLeft,
|
|
|
|
OiledHalfPyramidRight,
|
|
|
|
OiledPyramidSliced,
|
|
|
|
GlassSlicedFraction,
|
|
|
|
GlassSlicedSlope,
|
|
|
|
GlassHalfPyramidLeft,
|
|
|
|
GlassHalfPyramidRight,
|
|
|
|
GlassPyramidSliced,
|
|
|
|
RubberSlicedFraction,
|
|
|
|
RubberSlicedSlope,
|
|
|
|
RubberHalfPyramidLeft,
|
|
|
|
RubberHalfPyramidRight,
|
|
|
|
RubberPyramidSliced,
|
|
|
|
WoodSlicedFraction,
|
|
|
|
WoodSlicedSlope, //330
|
|
|
|
WoodHalfPyramidLeft,
|
|
|
|
WoodHalfPyramidRight,
|
|
|
|
WoodPyramidSliced,
|
2020-09-18 22:13:05 +00:00
|
|
|
HexNetSlicedFraction,
|
|
|
|
HexNetSlicedSlope,
|
|
|
|
HexNetHalfPyramidLeft,
|
|
|
|
HexNetHalfPyramidRight,
|
|
|
|
HexNetPyramidSliced,
|
|
|
|
OiledTubeCross,
|
|
|
|
OiledTubeT, //340
|
|
|
|
GlassTubeCross,
|
2020-09-18 19:19:39 +00:00
|
|
|
GlassTubeT,
|
2020-09-18 22:13:05 +00:00
|
|
|
RubberTubeCross,
|
2020-09-18 19:19:39 +00:00
|
|
|
RubberTubeT,
|
|
|
|
WoodTubeCross,
|
|
|
|
WoodTubeT,
|
2020-09-18 22:13:05 +00:00
|
|
|
HexNetTubeCross,
|
|
|
|
HexNetTubeT,
|
|
|
|
BouncyCube,
|
|
|
|
BouncySlicedCube, //350
|
|
|
|
BouncySlope,
|
|
|
|
BouncyCorner,
|
|
|
|
OiledTubeCorner,
|
2020-09-18 19:19:39 +00:00
|
|
|
GlassTubeCorner,
|
|
|
|
RubberTubeCorner,
|
|
|
|
WoodTubeCorner,
|
2020-09-18 22:13:05 +00:00
|
|
|
Basketball,
|
|
|
|
BowlingBall,
|
|
|
|
SoccerBall,
|
|
|
|
GolfBall, //360
|
|
|
|
HockeyPuck,
|
|
|
|
PoolBall,
|
|
|
|
BouncyBall,
|
|
|
|
TennisBall,
|
|
|
|
UnlitCube,
|
|
|
|
IronSlicedFraction,
|
2020-09-18 19:19:39 +00:00
|
|
|
IronSlicedSlope,
|
|
|
|
IronHalfPyramidLeft,
|
|
|
|
IronHalfPyramidRight,
|
2020-09-18 22:13:05 +00:00
|
|
|
IronPyramidSliced, //370
|
2020-09-18 19:19:39 +00:00
|
|
|
IronTubeCross,
|
|
|
|
IronTubeT,
|
2020-09-18 22:13:05 +00:00
|
|
|
SFXBlockMob = 374,
|
|
|
|
PointLight,
|
|
|
|
SpotLight,
|
|
|
|
SunLight,
|
|
|
|
AmbientLight,
|
|
|
|
UnlitGlowCube = 381,
|
|
|
|
MagmaRockCube = 777,
|
2020-06-12 22:48:13 +00:00
|
|
|
MagmaRockCubeSliced,
|
|
|
|
MagmaRockSlope,
|
|
|
|
MagmaRockCorner,
|
|
|
|
MagmaRockPyramidSegment,
|
|
|
|
MagmaRockConeSegment,
|
|
|
|
MagmaRockSlicedRounded,
|
|
|
|
MagmaRockSlopeRounded,
|
|
|
|
MagmaRockCornerRounded,
|
|
|
|
HexNetCube,
|
|
|
|
HexNetCubeSliced,
|
|
|
|
HexNetSlope,
|
|
|
|
HexNetCorner,
|
|
|
|
HexNetPyramidSegment,
|
|
|
|
HexNetConeSegment,
|
|
|
|
HexNetSlicedRounded,
|
|
|
|
HexNetSlopeRounded,
|
|
|
|
HexNetCornerRounded, //794
|
|
|
|
MagmaRockBulgedInner,
|
2020-09-18 22:13:05 +00:00
|
|
|
HexNetCylinder = 797,
|
2020-06-12 22:48:13 +00:00
|
|
|
HexNetHemisphere,
|
|
|
|
HexNetSphere,
|
|
|
|
HexNetTubeCorner //800
|
2020-01-03 13:38:59 +00:00
|
|
|
}
|
|
|
|
}
|