Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

FiguraMC:Contributing: Difference between revisions

From FiguraMC
No edit summary
PenguinEncounter (talk | contribs)
Undo revision 538 by PenguinEncounter (talk) [that didn't work
Tag: Undo
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Stub}}
{{Stub}}
== Information ==
== Contributing to the Mod ==
Please refer to [https://github.com/FiguraMC/Figura/blob/1.20/CONTRIBUTING.md the GitHub repo]
== Contributing to the Wiki ==
=== Information ===
When contributing to this wiki, there are a couple things you should remember:
When contributing to this wiki, there are a couple things you should remember:
* Follow the rules
* Follow the [[FiguraMC:Rules|rules]]
* Follow the [[FiguraMC:Contibuting/Style Guide|style guide]]
* Follow the [[FiguraMC:Contributing/Style Guide|style guide]]
== Rules ==
=== Style Guide ===
# Keep it PG
{{VeryObviouslyTranscluded|FiguraMC:Contributing/Style Guide|Style Guide}}
# No hateful language
=== Rules ===
# Mainspace (no-prefix) pages should be informative content about Figura, community libraries, or addons
{{VeryObviouslyTranscluded|FiguraMC:Rules}}
# Example code needs to be tested before publishing
=== (Temporary) Getting an Account ===
== (Temporary) Getting an Account ==
Until account creation is set up, contact one of the wiki admins.
Until account creation is set up, contact one of the wiki admins.

Latest revision as of 22:21, 5 October 2024

This page is a stub. You can help this wiki by expanding it

Contributing to the Mod

Please refer to the GitHub repo

Contributing to the Wiki

Information

When contributing to this wiki, there are a couple things you should remember:

Style Guide

From Style Guide (edit)

This page is a stub. You can help this wiki by expanding it

General Guidelines

  • Avoid writing in the first/second person
  • Properly capitalize wikilinks where it makes sense

Types

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

From TypeExample (edit)

Page title

(Don't add an additional level-1 heading for the page title.)

If necessary, use {{host only}}, {{Notice|...}}, or {{Notice/Warning|...}}. For example:

This API is only available on the host.

For more information, see Pings.


(Important information about the type...)

Methods

Method Brief description
methodName description
secondCategoryMethod 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

Methods

Category

Brief description

methodName


Description

Overloads:

Arguments Return Type
pos Vector3, name string | nil nil
x number, y number, z number, name string | nil nil

Description

-- Example Code

Category

Brief description

secondCategoryMethod


Description

Overloads:

Arguments Return Type
rotation Vector3 nil
x number, y number, z number nil
-- Example Code

Each method in the table should link to the section more in-depth explaining it.

Rules

  • Keep it PG
  • No hateful language
  • Mainspace (no-prefix) pages should be informative content about Figura, community libraries, or addons
  • Example code needs to be tested before publishing!

(Temporary) Getting an Account

Until account creation is set up, contact one of the wiki admins.