(template) |
m (simplify code block formatting) |
||
Line 18: | Line 18: | ||
Used to generate a table of all block states of a block. |
Used to generate a table of all block states of a block. |
||
− | The command generates code that looks like this: |
+ | The command generates code that looks like this: |
− | < |
+ | <pre> |
− | + | {| class="wikitable" |
|
+ | |- |
||
− | <nowiki>|-</nowiki><br> |
||
− | + | ! State !! Allowed values !! Description |
|
+ | |- |
||
− | <nowiki>|-</nowiki><br> |
||
− | + | | <state name> || <state values> || <state description> |
|
+ | |- |
||
− | <nowiki>|-</nowiki><br> |
||
− | + | ........... |
|
− | + | | <state name> || <state values> || <state description> |
|
+ | |- |
||
− | <nowiki>|-</nowiki><br> |
||
+ | |} |
||
− | <nowiki>|}</nowiki> |
||
− | </ |
+ | </pre><br> |
<state name> is the name of the block state, <state values> is a list of all values for a block state, and <state description> is a description of the block state. A lot of block states have preprogrammed descriptions but some will need to be manually filled out. |
<state name> is the name of the block state, <state values> is a list of all values for a block state, and <state description> is a description of the block state. A lot of block states have preprogrammed descriptions but some will need to be manually filled out. |
||
− | An example of the printout for aoa3:extraction_device: |
+ | An example of the printout for aoa3:extraction_device: |
− | < |
+ | <pre> |
− | + | {| class="wikitable" |
|
+ | |- |
||
− | <nowiki>|-</nowiki><br> |
||
− | + | ! State !! Allowed values !! Description |
|
+ | |- |
||
− | <nowiki>|-</nowiki><br> |
||
− | + | | filled || true<br/>false || |
|
+ | |- |
||
− | <nowiki>|-</nowiki><br> |
||
+ | |} |
||
− | <nowiki>|}</nowiki><br> |
||
− | </ |
+ | </pre><br> |
No modifications to this code will be necessary except for adding a description if one is not present. |
No modifications to this code will be necessary except for adding a description if one is not present. |
||
Line 52: | Line 52: | ||
Used to generate a list of all tags of a block. |
Used to generate a list of all tags of a block. |
||
− | The command generates text that looks like this: |
+ | The command generates text that looks like this: |
− | < |
+ | <pre> |
− | <block> has the following tags: |
+ | <block> has the following tags: |
− | + | === Block tags: ==== |
|
− | + | * <tags> |
|
− | <br> |
||
⚫ | |||
− | <nowiki>* <tags></nowiki><br> |
||
⚫ | |||
⚫ | |||
+ | * <tags> |
||
+ | |||
⚫ | |||
<block> is the name of the block, <tags> is a list of all tags that the block has, with the tags being split between a Block tags section and a Fluid tags section, depending on what type of tag a tag is. The printout will only print sections as long as the block has at least one tag to fill a section. |
<block> is the name of the block, <tags> is a list of all tags that the block has, with the tags being split between a Block tags section and a Fluid tags section, depending on what type of tag a tag is. The printout will only print sections as long as the block has at least one tag to fill a section. |
||
− | An example of the printout for aoa3:abyss_portal: |
+ | An example of the printout for aoa3:abyss_portal: |
− | < |
+ | <pre> |
− | Abyss Portal has the following tags: |
+ | Abyss Portal has the following tags: |
− | + | === Block tags: ==== |
|
− | + | * minecraft:portals |
|
− | </ |
+ | </pre><br> |
No modifications to this text will be necessary. |
No modifications to this text will be necessary. |
||
− | If a block has no tags, then the command will instead print the following: |
+ | If a block has no tags, then the command will instead print the following: |
+ | <pre> |
||
− | + | <block> has no tags. |
|
+ | </pre> |
||
=== haulingtable === |
=== haulingtable === |
||
Line 83: | Line 85: | ||
Replace <hauling table id> in the above command with the id of a table (e.g.: aoa3:abyss_fish). |
Replace <hauling table id> in the above command with the id of a table (e.g.: aoa3:abyss_fish). |
||
− | An example code that is printed by the command for <code>/wikihelper haulingtable aoa3:lunalus_fish</code>: |
+ | An example code that is printed by the command for <code>/wikihelper haulingtable aoa3:lunalus_fish</code>: |
− | < |
+ | <pre> |
− | + | {{LootTable |
|
− | + | |type=hauling |
|
− | + | |pool1= |
|
− | + | group:1; item:Stone; weight:200;<br> |
|
− | + | |notes=This table applies to the Asteroid Belt biome |
|
+ | }} |
||
− | <nowiki>}}</nowiki><br> |
||
− | </ |
+ | </pre> |
=== iso === |
=== iso === |
||
Line 110: | Line 112: | ||
Used to generate the loot table of a block. |
Used to generate the loot table of a block. |
||
− | The command generates text that looks like this: |
+ | The command generates text that looks like this: |
− | < |
+ | <pre> |
− | + | {{LootTable |
|
− | + | |type=block |
|
− | + | |pool1= |
|
− | + | group:1; item:Runium Chunk; weight:90; quantity:5-20; |
|
− | + | ......... |
|
− | + | group:1; item:Charged Runium Chunk; weight:80; quantity:4-16; |
|
− | + | |rolls1=1 |
|
− | + | |notes1=This pool won't roll if the tool used meets certain conditions. |
|
− | + | ...... |
|
− | + | |pool2= |
|
− | + | group:2; item:Deep Case; weight:1; quantity:1; |
|
− | + | ........ |
|
− | + | group:2; item:Deep Case; weight:1; quantity:1; |
|
− | + | |rolls2=1 |
|
− | + | |notes2=This pool will only roll if the tool used meets certain conditions. |
|
+ | }} |
||
− | <nowiki>}}</nowiki><br> |
||
− | </ |
+ | </pre><br> |
No modifications to this text will be necessary. |
No modifications to this text will be necessary. |
Revision as of 05:45, 23 February 2022
The AoA WikiHelper Mod is a mod that is designed to help edit this wiki.
Overview
AoA WikiHelper Mod can be downloaded on the mod's Github page. It can be installed like any other Minecraft mod.
AoA WikiHelper Mod is a mod designed to streamline adding some of the tables that are used on this wiki.
Bug reports and suggestions can be made on the mod's Github page.
wikihelper command
The mod adds the wikihelper
command, which is used to generate tables and other stuff for this wiki. To use the wikihelper command, type /wikihelper <options>
. The available options are listed below.
blocks
/wikihelper blocks <block id> <option 2>
Replace <block id> with the id of the block. Replace <option 2> with one of the following: <states>
,<tags>
states
/wikihelper blocks <block id> states
Used to generate a table of all block states of a block.
The command generates code that looks like this:
{| class="wikitable" |- ! State !! Allowed values !! Description |- | <state name> || <state values> || <state description> |- ........... | <state name> || <state values> || <state description> |- |}
<state name> is the name of the block state, <state values> is a list of all values for a block state, and <state description> is a description of the block state. A lot of block states have preprogrammed descriptions but some will need to be manually filled out.
An example of the printout for aoa3:extraction_device:
{| class="wikitable" |- ! State !! Allowed values !! Description |- | filled || true<br/>false || |- |}
No modifications to this code will be necessary except for adding a description if one is not present.
If a block has no block states, then the command will print the table without any entries in it.
tags
/wikihelper blocks <block id> tags
Used to generate a list of all tags of a block.
The command generates text that looks like this:
<block> has the following tags: === Block tags: ==== * <tags> === Fluid tags: === * <tags>
<block> is the name of the block, <tags> is a list of all tags that the block has, with the tags being split between a Block tags section and a Fluid tags section, depending on what type of tag a tag is. The printout will only print sections as long as the block has at least one tag to fill a section.
An example of the printout for aoa3:abyss_portal:
Abyss Portal has the following tags: === Block tags: ==== * minecraft:portals
No modifications to this text will be necessary.
If a block has no tags, then the command will instead print the following:
<block> has no tags.
haulingtable
/wikihelper haulingtable <hauling table id>
Generates a table that is used for the loot obtained when fishing up stuff with the mod's fishing rods.
Replace <hauling table id> in the above command with the id of a table (e.g.: aoa3:abyss_fish).
An example code that is printed by the command for /wikihelper haulingtable aoa3:lunalus_fish
:
{{LootTable |type=hauling |pool1= group:1; item:Stone; weight:200;<br> |notes=This table applies to the Asteroid Belt biome }}
iso
/wikihelper iso <entity id> <image size>
This commands makes isometric images of entities. The isometric will flash on screen for a split second after using the command. There is no "(Copy)" link for this command.
- <entity id> is the id of the entity. Can be used on most entities, including entities from vanilla Minecraft and other mods.
- <image size> is the image size in pixels. Must be a whole number, though it cannot be too small (making it too small causes an error).
loottable
/wikihelper loottable <option 2>
Replace <option 2> with one of the following: block, entity, table.
block
/wikihelper loottable block <block id>
Used to generate the loot table of a block.
The command generates text that looks like this:
{{LootTable |type=block |pool1= group:1; item:Runium Chunk; weight:90; quantity:5-20; ......... group:1; item:Charged Runium Chunk; weight:80; quantity:4-16; |rolls1=1 |notes1=This pool won't roll if the tool used meets certain conditions. ...... |pool2= group:2; item:Deep Case; weight:1; quantity:1; ........ group:2; item:Deep Case; weight:1; quantity:1; |rolls2=1 |notes2=This pool will only roll if the tool used meets certain conditions. }}
No modifications to this text will be necessary.
entity
TBP
table
TBP
obtaining
TBP
overview
TBP
recipe
TBP
structure
TBP
trades
TBP
profession
TBP
trader
TBP
usages
TBP
|