wiki:syntax
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:syntax [2023/04/19 20:16] – external edit 127.0.0.1 | wiki:syntax [2023/09/13 18:47] (current) – ↷ Links adapted because of a move operation nebelnidas | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Formatting Syntax ====== | ====== Formatting Syntax ====== | ||
- | [[doku> | + | [[doku> |
===== Basic Text Formatting ===== | ===== Basic Text Formatting ===== | ||
Line 375: | Line 375: | ||
</ | </ | ||
The same is true for %%// | The same is true for %%// | ||
+ | |||
+ | ===== map2fabricyarn Syntax ===== | ||
+ | To avoid code becoming outdated due to mappings changes, it is possible to write code blocks in Intermediary. This wiki's map2fabricyarn plugin adds '' | ||
+ | |||
+ | < | ||
+ | < | ||
+ | public static class_2248 TEST; | ||
+ | |||
+ | @Override | ||
+ | public void onInitialize() { | ||
+ | TEST = class_2378.method_10230(class_2378.field_11146, | ||
+ | } | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
+ | < | ||
+ | public static class_2248 TEST; | ||
+ | |||
+ | @Override | ||
+ | public void onInitialize() { | ||
+ | TEST = class_2378.method_10230(class_7923.field_41175, | ||
+ | } | ||
+ | </ | ||
+ | The easiest way to create Intermediary code for '' | ||
+ | |||
+ | To remap without creating a code block, use the '' | ||
+ | Example: %%<yarn class_2960> | ||
+ | This tag can have formatting applied by the standard tags. | ||
+ | |||
+ | To output a fully qualified Yarn class name, input a fully qualified Intermediary name by prefixing it with '' | ||
===== Code Blocks ===== | ===== Code Blocks ===== |
wiki/syntax.1681935379.txt.gz · Last modified: 2023/04/19 20:16 by 127.0.0.1