Block Properties
Rayon provides a way to specify specific properties for blocks added by your mod:
friction
: The surface friction of the blockrestitution
: The elasticity of collisions with the blockcollidable
: Whether or not Rayon should load this block into the simulationisFullBlock
: Determines how the shape of the block should be created in the simulation
Here is an example that executes during mod initialization:
Last updated