FiguraMC:Contributing/Style Guide

From FiguraMC

Types

When creating a type page, please use the following layout:

-- START EXAMPLE --

Methods

Method Brief description
#method description
getPos Returns the position of the ModelPart as a Vector3

Fields

Field Description Type
field Brief description type
TICK Runs every tick the player is rendered Event

-- END EXAMPLE --

Each field/method should link to a subpage for that field/method

OR, for more complex things like ModelPart, you should do as follows:

-- START EXAMPLE --

Methods

Category

methodName

Description

-- Example Code

Category

methodName

Description

-- Example Code

-- END EXAMPLE --