Modding:Block Json Properties: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 380: Line 380:
   </tr>
   </tr>
</table>
</table>
float AttackPower = 0.5f;
float AttackRange = GlobalConstants.DefaultAttackRange (1.5F);
EnumRandomizeAxes RandomizeAxes = EnumRandomizeAxes.XYZ;
bool RandomDrawOffset = false;
EnumFaceCullMode FaceCullMode
Dictionary<string, bool> SideAo;
int TintIndex;
int Replaceable;
int Fertility;
bool CullFaces = true;
byte GlowLevel = 0;
byte RenderFlags = 0;
byte[] LightHsv = null;
ushort LightAbsorption = 99;
AdvancedParticleProperties[] ParticleProperties = null;
int HardnessLevel = 0; // What pickaxe level is needed
int MaterialDensity = 9999;
EnumMatterState MatterState = EnumMatterState.Solid;
Dictionary<EnumBlockMaterial, float> MiningSpeed;
int RequiredMiningTier;
int MiningTier;
CollisionBox
SelectionBox
CollisionBoxes
SelectionBoxes
ModelTransform GuiTransform = ModelTransform.BlockDefaultGui();
ModelTransform FpHandTransform = ModelTransform.BlockDefault();
ModelTransform TpHandTransform = ModelTransform.BlockDefault();
ModelTransform GroundTransform = ModelTransform.BlockDefault();
bool Climbable = false;
bool RainPermeable = false;
bool? SnowCoverage = null;
bool LiquidSelectable = false;
int LiquidLevel;
float WalkspeedMultiplier = 1f;
float DragMultiplier = 1f;
BlockDropItemStack[] Drops;
Dictionary<string, JsonTreeAttribute> Attributes;
CombustibleProperties CombustibleProps = null;
FoodNutritionProperties NutritionProps = null;
BlockCropPropertiesType CropProps = null;
Confirmedusers, editor, Administrators
886

edits