Skip to content

Instantly share code, notes, and snippets.

@Choonster
Last active January 7, 2017 15:53
Show Gist options
  • Save Choonster/bc80dc359cb15133861df6aac430eb9d to your computer and use it in GitHub Desktop.
Save Choonster/bc80dc359cb15133861df6aac430eb9d to your computer and use it in GitHub Desktop.

Revisions

  1. Choonster revised this gist Jan 7, 2017. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion dirt_slab.json
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    {
    "forge_marker": 1,
    "defaults": {
    "model": "block/half_slab",
    "model": "half_slab",
    "textures": {
    "top": "blocks/dirt",
    "bottom": "blocks/dirt",
    @@ -10,8 +10,10 @@
    },
    "variants": {
    "snowy=false,variant=dirt": {
    "__dummy": "Forge's blockstates format requires all non-array values of `variants` to be objects with at least one property"
    },
    "snowy=true,variant=dirt": {
    "__dummy": "Forge's blockstates format requires fully-defined variants to have something other than an object as their first value",
    "textures": {
    "top": "blocks/snow"
    }
    @@ -20,18 +22,21 @@
    "model": "betterwithmods:grass_slab"
    },
    "snowy=true,variant=grass": {
    "__dummy": "See snowy=true,variant=dirt",
    "textures": {
    "top": "blocks/snow",
    "side": "blocks/grass_side_snowed"
    }
    },
    "snowy=false,variant=mycelium": {
    "__dummy": "See snowy=true,variant=dirt",
    "textures": {
    "top": "blocks/mycelium_top",
    "side": "blocks/mycelium_side"
    }
    },
    "snowy=true,variant=mycelium": {
    "__dummy": "See snowy=true,variant=dirt",
    "textures": {
    "top": "blocks/snow",
    "side": "blocks/mycelium_side"
  2. Choonster created this gist Jan 7, 2017.
    41 changes: 41 additions & 0 deletions dirt_slab.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,41 @@
    {
    "forge_marker": 1,
    "defaults": {
    "model": "block/half_slab",
    "textures": {
    "top": "blocks/dirt",
    "bottom": "blocks/dirt",
    "side": "blocks/dirt"
    }
    },
    "variants": {
    "snowy=false,variant=dirt": {
    },
    "snowy=true,variant=dirt": {
    "textures": {
    "top": "blocks/snow"
    }
    },
    "snowy=false,variant=grass": {
    "model": "betterwithmods:grass_slab"
    },
    "snowy=true,variant=grass": {
    "textures": {
    "top": "blocks/snow",
    "side": "blocks/grass_side_snowed"
    }
    },
    "snowy=false,variant=mycelium": {
    "textures": {
    "top": "blocks/mycelium_top",
    "side": "blocks/mycelium_side"
    }
    },
    "snowy=true,variant=mycelium": {
    "textures": {
    "top": "blocks/snow",
    "side": "blocks/mycelium_side"
    }
    }
    }
    }