Changes between Version 27 and Version 28 of CustomBlocks


Ignore:
Timestamp:
11/21/22 11:32:25 (17 months ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CustomBlocks

    v27 v28  
    4747The data should contain the following fields:
    4848
    49 ||= Field         =||= Mandatory =||= Type =||= Description                                                                                                                                                                                                          =||
    50 || `name`          || *         || String  || The namespace and name of the block separated by a colon ("ID" or "resource location")                                                                                                                                  ||
    51 || `discriminator` ||           || String  || An optional discriminator to discriminate multiple rows with the same `name`. See [#Discriminator below] for details                                                                                                    ||
    52 || `properties`    ||           || String  || A comma-separated list of the names and types of all the properties this block can have. See [#Properties below] for details                                                                                            ||
    53 || `opacity`       || *         || Integer || The opacity of the block (how much light it blocks), from 0 (fully transparent) to 15 (fully opaque)                                                                                                                    ||
    54 || `receivesLight` || *         || Boolean || Whether the block should be lit itself, despite being fully opaque (e.g. stair blocks, slabs, etc.). Only applies to fully opaque blocks; should be set to `false` for other blocks                                     ||
    55 || `insubstantial` || *         || Boolean || Whether the block should be considered insubstantial. See [#Insubstantialblocks below] for details                                                                                                                      ||
    56 || `resource`      || *         || Boolean || Whether the block should be considered an ore or resource. These are replaced with `minecraft:stone` by the "remove resources" Merge option                                                                             ||
    57 || `tileEntity`    || *         || Boolean || Whether the block is a tile/block entity                                                                                                                                                                                ||
    58 || `tileEntityId`  ||           || Boolean || If `tileEntity` is `true`: the ID of the corresponding behaviour. This is often, but not always, the same as `name`                                                                                                     ||
    59 || `treeRelated`   || *         || Boolean || Whether the block is part of trees, or attached to trees. These are removed by the "remove trees" Merge option                                                                                                          ||
    60 || `vegetation`    || *         || Boolean || Whether the block is a plant, other than `treeRelated`. These are removed by the "remove vegetation" Merge option                                                                                                       ||
    61 || `blockLight`    || *         || Integer || How much block light the block emits, from 0 - 15                                                                                                                                                                       ||
    62 || `natural`       || *         || Boolean || Whether the block should be considered natural as opposed to being man-made. Chunks with blocks that are ''not'' `natural` have the Read Only layer applied during Import                                                 ||
    63 || `watery`        || *         || Boolean || Whether the block is always flooded with water, regardless of its properties (e.g. water plants)                                                                                                                        ||
    64 || `colour`        ||           || Hex     || The colour in which the block should be rendered in the editor view, as a hexidecimal number in `aarrggbb` format, where `aa` should always be `ff` (opaque). When not specified, the block will be rendered in magenta ||
     49||= Field         =||= Mandatory =||= Type  =||= Default =||= Description                                                                                                                                                                                                          =||
     50|| `name`          || *           || String  ||           || The namespace and name of the block separated by a colon ("ID" or "resource location")                                                                                                                                  ||
     51|| `discriminator` ||             || String  || -         || An optional discriminator to discriminate multiple rows with the same `name`. See [#Discriminator below] for details                                                                                                    ||
     52|| `properties`    ||             || String  || -         || A comma-separated list of the names and types of all the properties this block can have. See [#Properties below] for details                                                                                            ||
     53|| `opacity`       ||             || Integer || ^1^)      || The opacity of the block (how much light it blocks), from 0 (fully transparent) to 15 (fully opaque)                                                                                                                    ||
     54|| `receivesLight` ||             || Boolean || ^1^)      || Whether the block should be lit itself, despite being fully opaque (e.g. stair blocks, slabs, etc.). Only applies to fully opaque blocks; should be set to `false` for other blocks                                     ||
     55|| `insubstantial` ||             || Boolean || ^1^)      || Whether the block should be considered insubstantial. See [#Insubstantialblocks below] for details                                                                                                                      ||
     56|| `resource`      ||             || Boolean || ^1^)      || Whether the block should be considered an ore or resource. These are replaced with `minecraft:stone` by the "remove resources" Merge option                                                                             ||
     57|| `tileEntity`    ||             || Boolean || `false`   || Whether the block is a tile/block entity                                                                                                                                                                                ||
     58|| `tileEntityId`  ||             || Boolean || -         || If `tileEntity` is `true`: the ID of the corresponding behaviour. This is often, but not always, the same as `name`                                                                                                     ||
     59|| `treeRelated`   ||             || Boolean || ^1^)      || Whether the block is part of trees, or attached to trees. These are removed by the "remove trees" Merge option                                                                                                          ||
     60|| `vegetation`    ||             || Boolean || ^1^)      || Whether the block is a plant, other than `treeRelated`. These are removed by the "remove vegetation" Merge option                                                                                                       ||
     61|| `blockLight`    ||             || Integer || 0         || How much block light the block emits, from 0 - 15                                                                                                                                                                       ||
     62|| `natural`       ||             || Boolean || ^1^)      || Whether the block should be considered natural as opposed to being man-made. Chunks with blocks that are ''not'' `natural` have the Read Only layer applied during Import                                                 ||
     63|| `watery`        ||             || Boolean || false     || Whether the block is always flooded with water, regardless of its properties (e.g. water plants)                                                                                                                        ||
     64|| `colour`        ||             || Hex     || Magenta   || The colour in which the block should be rendered in the editor view, as a hexidecimal number in `aarrggbb` format, where `aa` should always be `ff` (opaque). When not specified, the block will be rendered in magenta ||
     65
     66^1^) The default value is guessed based on the block name
    6567
    6668== Discriminator ==