Compare commits

...
Author SHA1 Message Date
229e4bcaa9 lots of building blocks + a large backport of architect's palette content (#95) (#112)
* more album blocks

* rocks and such

* spootless

* gemz

* gemz

* architect's palette

* spotle-who the hell is playing the goldship song

* optimize images

---------



(cherry picked from commit 9c00a7d61f)

Co-authored-by: June <[email protected]>
Co-authored-by: Algent <[email protected]>
Co-authored-by: UltraProdigy <[email protected]>
2026-11-20 21:27:46 +01:00
boubou19andDarkShadow44 6163776962 Little Tiles support (#107) (#111)
* Refactor: Extract "matches" as method and use early exit

* Extend API to allow Little Tiles support

* Render little tiles with partial textures

* spotless

* Fix LT AO

* Ask for the right block

---------


(cherry picked from commit a431e2a65c)

Co-authored-by: DarkShadow44 <[email protected]>
2026-11-19 05:42:55 +01:00
UltraProdigy 806b9b9613 ci: run build and test on release branches 2026-11-09 01:42:58 -05:00
424 changed files with 1385 additions and 60 deletions

No files matched your search

+2 -2
View File
@@ -3,9 +3,9 @@ name: Build and test
on:
pull_request:
branches: [ master, main ]
branches: [ master, main, release/** ]
push:
branches: [ master, main ]
branches: [ master, main, release/** ]
jobs:
build-and-test:
@@ -0,0 +1,34 @@
package com.cricketcraft.chisel.api;
import net.minecraft.block.Block;
import net.minecraft.world.IBlockAccess;
/**
* To be implemented on an {@link IBlockAccess} that renders blocks which are only part of a block space, so it can
* decide connected textures itself instead of reporting the blocks around it.
* <p>
* Connected textures ask this for every location they check, while rendering in this world. Render bounds smaller than
* the block are then a part of the block: they show the matching part of the block's connected texture, instead of the
* whole texture squeezed into the bounds.
*/
public interface IConnectionAccess {
/**
* Whether the given location shows the block being rendered, as seen from the block being rendered.
*
* @param x X coord of the block to check against. NOT the position of the block being rendered.
* @param y Y coord of the block to check against.
* @param z Z coord of the block to check against.
* @param side The side being rendered, NOT the side being connected from.
* <p>
* This value can be -1 if no side is specified. Please handle this appropriately.
* @param fromX X coord of the block being rendered. It is not necessarily adjacent, it can also be diagonal to the
* location.
* @param fromY Y coord of the block being rendered.
* @param fromZ Z coord of the block being rendered.
* @param block The block being rendered.
* @param meta The metadata of the block being rendered.
* @return True if the location shows the given block and metadata.
*/
boolean matches(int x, int y, int z, int side, int fromX, int fromY, int fromZ, Block block, int meta);
}
@@ -36,4 +36,57 @@ public interface IFacade {
* @return The metadata of your facade block.
*/
int getFacadeMetadata(IBlockAccess world, int x, int y, int z, int side);
/**
* Gets the block this facade is acting as towards the block that is checking for a connection. Implement this if
* the facade can show different blocks to different neighbours.
* <p>
* Defaults to {@link #getFacade(IBlockAccess, int, int, int, int)}.
*
* @param world {@link World}
* @param x X coord of your block
* @param y Y coord of your block
* @param z Z coord of your block
* @param side The side being rendered, NOT the side being connected from.
* <p>
* This value can be -1 if no side is specified. Please handle this appropriately.
* @param fromX X coord of the block being rendered, which is checking for a connection. NOT the position of
* your block. It is not necessarily adjacent, it can also be diagonal to your block.
* @param fromY Y coord of the block being rendered.
* @param fromZ Z coord of the block being rendered.
* @param fromBlock The block being rendered.
* @param fromMeta The metadata of the block being rendered.
* @return The block inside of your facade block, as seen from the block being rendered.
*/
default Block getFacade(IBlockAccess world, int x, int y, int z, int side, int fromX, int fromY, int fromZ,
Block fromBlock, int fromMeta) {
return getFacade(world, x, y, z, side);
}
/**
* Gets the metadata of the block that this facade is acting as towards the block that is checking for a
* connection. Implement this together with
* {@link #getFacade(IBlockAccess, int, int, int, int, int, int, int, Block, int)}.
* <p>
* Defaults to {@link #getFacadeMetadata(IBlockAccess, int, int, int, int)}.
*
* @param world {@link World}
* @param x X coord of your block
* @param y Y coord of your block
* @param z Z coord of your block
* @param side The side being rendered, NOT the side being connected from.
* <p>
* This value can be -1 if no side is specified. Please handle this appropriately.
* @param fromX X coord of the block being rendered, which is checking for a connection. NOT the position of
* your block. It is not necessarily adjacent, it can also be diagonal to your block.
* @param fromY Y coord of the block being rendered.
* @param fromZ Z coord of the block being rendered.
* @param fromBlock The block being rendered.
* @param fromMeta The metadata of the block being rendered.
* @return The metadata of your facade block, as seen from the block being rendered.
*/
default int getFacadeMetadata(IBlockAccess world, int x, int y, int z, int side, int fromX, int fromY, int fromZ,
Block fromBlock, int fromMeta) {
return getFacadeMetadata(world, x, y, z, side);
}
}
@@ -90,8 +90,8 @@ public enum TextureType {
return data.getRight();
Block block = world.getBlock(x, y, z);
boolean topConnected = ctm.isConnected(world, x, y + 1, z, side, block, meta);
boolean botConnected = ctm.isConnected(world, x, y - 1, z, side, block, meta);
boolean topConnected = ctm.isConnected(world, x, y + 1, z, side, x, y, z, block, meta);
boolean botConnected = ctm.isConnected(world, x, y - 1, z, side, x, y, z, block, meta);
TextureSubmap map = data.getLeft();
if (topConnected && botConnected)
@@ -142,11 +142,11 @@ public enum TextureType {
boolean reverse = side == 3 || side == 4;
if (side < 4) {
p = ctm.isConnected(world, x - 1, y, z, side, block, meta);
n = ctm.isConnected(world, x + 1, y, z, side, block, meta);
p = ctm.isConnected(world, x - 1, y, z, side, x, y, z, block, meta);
n = ctm.isConnected(world, x + 1, y, z, side, x, y, z, block, meta);
} else {
p = ctm.isConnected(world, x, y, z - 1, side, block, meta);
n = ctm.isConnected(world, x, y, z + 1, side, block, meta);
p = ctm.isConnected(world, x, y, z - 1, side, x, y, z, block, meta);
n = ctm.isConnected(world, x, y, z + 1, side, x, y, z, block, meta);
}
TextureSubmap map = data.getLeft();
+840
View File
@@ -1017,6 +1017,8 @@ public enum Features {
diamond_block.carverHelper.addVariation("tile.diamond.11.desc", 11, "diamond/terrain-diamond-zelda");
diamond_block.carverHelper.addVariation("tile.diamond.12.desc", 12, "diamond/terrain-diamond-ornatelayer");
diamond_block.carverHelper.addVariation("tile.diamond.13.desc", 13, "diamond/modern");
diamond_block.carverHelper.addVariation("tile.diamond.14.desc", 14, "diamond/diamond_ore_bricks");
diamond_block.carverHelper.addVariation("tile.diamond.15.desc", 15, "diamond/chiseled_diamond_ore_bricks");
diamond_block.carverHelper.registerAll(diamond_block, "diamond_block");
Carving.chisel.registerOre("diamond_block", "blockDiamond");
}
@@ -1122,6 +1124,9 @@ public enum Features {
emerald_block.carverHelper.addVariation("tile.emerald.10.desc", 10, "emerald/fourornate");
emerald_block.carverHelper.addVariation("tile.emerald.11.desc", 11, "emerald/ornate");
emerald_block.carverHelper.addVariation("tile.emerald.12.desc", 12, "emerald/modern");
emerald_block.carverHelper.addVariation("tile.emerald.13.desc", 13, "emerald/emerald_ore_bricks");
emerald_block.carverHelper.addVariation("tile.emerald.14.desc", 14, "emerald/cracked_emerald_ore_bricks");
emerald_block.carverHelper.addVariation("tile.emerald.15.desc", 15, "emerald/chiseled_emerald_ore_bricks");
emerald_block.carverHelper.registerAll(emerald_block, "emerald_block");
Carving.chisel.registerOre("emerald_block", "emerald");
}
@@ -3520,6 +3525,9 @@ public enum Features {
.addVariation("tile.sandstone.16.desc", 0, "sandstone2/terrain-sandstone-brickflat", 19);
sandstone2.carverHelper
.addVariation("tile.sandstone.17.desc", 1, "sandstone2/a0-sandstonepreview-smoothflat", 20);
sandstone2.carverHelper.addVariation("tile.sandstone.18.desc", 4, "sandstone2/gilded_sandstone");
sandstone2.carverHelper.addVariation("tile.sandstone.19.desc", 5, "sandstone2/gilded_sandstone_pillar");
sandstone2.carverHelper.addVariation("tile.sandstone.20.desc", 6, "sandstone2/chiseled_gilded_sandstone");
sandstone2.carverHelper.registerBlock(sandstone2, "sandstone2");
sandstone2.carverHelper.registerVariations("sandstone");
@@ -4600,6 +4608,16 @@ public enum Features {
lantern.carverHelper.addVariation("tile.lantern.3.desc", 3, "lantern/soullantern");
lantern.carverHelper.addVariation("tile.lantern.4.desc", 4, "lantern/cursedlantern");
lantern.carverHelper.addVariation("tile.lantern.5.desc", 5, "lantern/endlantern");
lantern.carverHelper.addVariation("tile.lantern.6.desc", 6, "tuff/tuff_lamp");
lantern.carverHelper.addVariation("tile.lantern.7.desc", 7, "calcite/calcite_lamp");
lantern.carverHelper.addVariation("tile.lantern.8.desc", 8, "oracle/oracle_lamp");
lantern.carverHelper.addVariation("tile.lantern.9.desc", 9, "dripstone/dripstone_lamp");
lantern.carverHelper.addVariation("tile.lantern.10.desc", 10, "algal/algal_lamp");
lantern.carverHelper.addVariation("tile.lantern.11.desc", 11, "abyssaline/abyssaline_lamp");
lantern.carverHelper.addVariation("tile.lantern.12.desc", 12, "abyssaline/abyssaline_lamp_charged");
lantern.carverHelper.addVariation("tile.lantern.13.desc", 13, "hadaline/hadaline_lamp");
lantern.carverHelper.addVariation("tile.lantern.14.desc", 14, "hadaline/hadaline_lamp_charged");
lantern.carverHelper.addVariation("tile.lantern.14.desc", 13, "lantern/wither_lamp");
lantern.carverHelper.registerAll(lantern, "lantern");
}
@@ -5018,6 +5036,22 @@ public enum Features {
coral.carverHelper.addVariation("tile.coral.13.desc", 13, "coral/horn_coral_bricks", 13);
coral.carverHelper.addVariation("tile.coral.14.desc", 14, "coral/tube_coral_bricks", 14);
coral.carverHelper.addVariation("tile.coral.15.desc", 15, "coral/dead_coral_bricks", 15);
BlockCarvable coral2 = (BlockCarvable) new BlockCarvable(Material.ground).setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabStoneChiselBlocks)
.setHardness(2F)
.setResistance(4F);
coral2.carverHelper.addVariation("tile.stones.1.desc", 1, "coral/coralstone_bricks");
coral2.carverHelper.addVariation("tile.stones.9.desc", 2, "coral/coralstone_ornate");
coral2.carverHelper.addVariation("tile.stones.3.desc", 3, "coral/coralstone_cobblestone");
coral2.carverHelper.addVariation("tile.stones.4.desc", 4, "coral/coralstone_mossy");
coral2.carverHelper.addVariation("tile.stones.5.desc", 5, "coral/coralstone_pillar");
coral2.carverHelper.addVariation("tile.stones.6.desc", 6, "coral/coralstone_polished");
coral2.carverHelper.addVariation("tile.stones.8.desc", 8, "coral/coralstone_tiles");
coral2.carverHelper.registerBlock(coral2, "coral2");
coral2.carverHelper.registerVariations("iron_block");
coral.carverHelper.registerAll(coral, "coral");
Carving.chisel.registerOre("coral", "blockCoral");
}
@@ -5103,9 +5137,45 @@ public enum Features {
albumblock2.carverHelper.addVariation("tile.album2.16.desc", 0, "album/cork_tree");
albumblock2.carverHelper.addVariation("tile.album2.17.desc", 1, "album/folie_a_deux");
albumblock2.carverHelper.addVariation("tile.album2.18.desc", 2, "album/a_fever_you_cant_sweat_out");
albumblock2.carverHelper.addVariation("tile.album2.19.desc", 3, "album/birdbrain");
albumblock2.carverHelper.addVariation("tile.album2.20.desc", 4, "album/fancy_that");
albumblock2.carverHelper.addVariation("tile.album2.21.desc", 5, "album/paper_mache_dream_balloon");
albumblock2.carverHelper.addVariation("tile.album2.22.desc", 6, "album/wallsocket");
albumblock2.carverHelper.addVariation("tile.album2.23.desc", 7, "album/shyga");
albumblock2.carverHelper.addVariation("tile.album2.24.desc", 8, "album/flawless");
albumblock2.carverHelper.addVariation("tile.album2.25.desc", 9, "album/katamari");
albumblock2.carverHelper.addVariation("tile.album2.26.desc", 10, "album/red_barn_radio");
albumblock2.carverHelper.addVariation("tile.album2.27.desc", 11, "album/ceres_and_calypso");
albumblock2.carverHelper.addVariation("tile.album2.28.desc", 12, "album/komm_susser_tod");
albumblock2.carverHelper.addVariation("tile.album2.29.desc", 13, "album/midwest_princess");
albumblock2.carverHelper.addVariation("tile.album2.30.desc", 14, "album/brat");
albumblock2.carverHelper.addVariation("tile.album2.31.desc", 15, "album/perfect_persona");
albumblock2.carverHelper.registerBlock(albumblock2, "albumblock2");
albumblock2.carverHelper.registerVariations("albumblock");
BlockCarvable albumblock3 = (BlockCarvable) new BlockCarvable(Material.wood)
.setStepSound(Block.soundTypeWood)
.setCreativeTab(ChiselTabs.tabModdedChiselBlocks)
.setHardness(5F)
.setResistance(10F);
albumblock3.carverHelper.addVariation("tile.album3.32.desc", 0, "album/float_along");
albumblock3.carverHelper.addVariation("tile.album3.33.desc", 1, "album/chromakopia");
albumblock3.carverHelper.addVariation("tile.album3.34.desc", 2, "album/danganronpa_v2");
albumblock3.carverHelper.addVariation("tile.album3.35.desc", 3, "album/danganronpa_v3");
albumblock3.carverHelper.addVariation("tile.album3.36.desc", 4, "album/bronco");
albumblock3.carverHelper.addVariation("tile.album3.37.desc", 5, "album/plastic_beach");
albumblock3.carverHelper.addVariation("tile.album3.38.desc", 6, "album/triple_baka");
albumblock3.carverHelper.addVariation("tile.album3.39.desc", 7, "album/cowboy_carter");
albumblock3.carverHelper.addVariation("tile.album3.40.desc", 8, "album/phantom_island_1");
albumblock3.carverHelper.addVariation("tile.album3.41.desc", 9, "album/alligator_bites");
albumblock3.carverHelper.addVariation("tile.album3.42.desc", 10, "album/chiseled_baka");
albumblock3.carverHelper.addVariation("tile.album3.43.desc", 11, "album/magnet");
albumblock3.carverHelper.addVariation("tile.album3.44.desc", 12, "album/digital_girl");
albumblock3.carverHelper.addVariation("tile.album3.45.desc", 13, "album/digital_girl_1");
albumblock3.carverHelper.addVariation("tile.album3.46.desc", 14, "album/to_hell_with_it");
albumblock3.carverHelper.registerBlock(albumblock3, "albumblock3");
albumblock3.carverHelper.registerVariations("albumblock");
albumblock.carverHelper.registerAll(albumblock, "albumblock");
Carving.chisel.registerOre("albumblock", "albumblock");
}
@@ -5239,6 +5309,776 @@ public enum Features {
}
},
SULFUR {
@Override
void addBlocks() {
BlockCarvable sulfur = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
sulfur.carverHelper.addVariation("tile.stones.0.desc", 0, "sulfur/sulfur_block");
sulfur.carverHelper.addVariation("tile.stones.1.desc", 1, "sulfur/sulfur_bricks");
sulfur.carverHelper.addVariation("tile.stones.2.desc", 2, "sulfur/sulfur_chiseled");
sulfur.carverHelper.addVariation("tile.stones.3.desc", 3, "sulfur/sulfur_cobblestone");
sulfur.carverHelper.addVariation("tile.stones.4.desc", 4, "sulfur/sulfur_mossy");
sulfur.carverHelper.addVariation("tile.stones.5.desc", 5, "sulfur/sulfur_pillar");
sulfur.carverHelper.addVariation("tile.stones.6.desc", 6, "sulfur/sulfur_polished");
sulfur.carverHelper.addVariation("tile.stones.7.desc", 7, "sulfur/sulfur_prism");
sulfur.carverHelper.addVariation("tile.stones.8.desc", 8, "sulfur/sulfur_tiles");
sulfur.carverHelper.addVariation("tile.sulfur.0.desc", 9, "sulfur/sulfur_potent");
sulfur.carverHelper.registerAll(sulfur, "sulfurBlock");
}
},
CINNABAR {
@Override
void addBlocks() {
BlockCarvable cinnabar = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
cinnabar.carverHelper.addVariation("tile.stones.0.desc", 0, "cinnabar/cinnabar_block");
cinnabar.carverHelper.addVariation("tile.stones.1.desc", 1, "cinnabar/cinnabar_bricks");
cinnabar.carverHelper.addVariation("tile.stones.2.desc", 2, "cinnabar/cinnabar_chiseled");
cinnabar.carverHelper.addVariation("tile.stones.3.desc", 3, "cinnabar/cinnabar_cobblestone");
cinnabar.carverHelper.addVariation("tile.stones.4.desc", 4, "cinnabar/cinnabar_mossy");
cinnabar.carverHelper.addVariation("tile.stones.5.desc", 5, "cinnabar/cinnabar_pillar");
cinnabar.carverHelper.addVariation("tile.stones.6.desc", 6, "cinnabar/cinnabar_polished");
cinnabar.carverHelper.addVariation("tile.stones.7.desc", 7, "cinnabar/cinnabar_prism");
cinnabar.carverHelper.addVariation("tile.stones.8.desc", 8, "cinnabar/cinnabar_tiles");
cinnabar.carverHelper.registerAll(cinnabar, "cinnabarBlock");
}
},
TUFF {
@Override
void addBlocks() {
BlockCarvable tuff = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
tuff.carverHelper.addVariation("tile.stones.3.desc", 0, "tuff/tuff_cobblestone");
tuff.carverHelper.addVariation("tile.stones.4.desc", 1, "tuff/tuff_mossy");
tuff.carverHelper.addVariation("tile.stones.5.desc", 2, "tuff/tuff_pillar");
tuff.carverHelper.addVariation("tile.stones.6.desc", 8, "tuff/tuff_polished");
tuff.carverHelper.addVariation("tile.stones.7.desc", 4, "tuff/tuff_prism");
tuff.carverHelper.addVariation("tile.tuff.0.desc", 5, "tuff/tuff_bricks");
tuff.carverHelper.addVariation("tile.tuff.1.desc", 6, "tuff/tuff_pillar_1");
tuff.carverHelper.addVariation("tile.tuff.2.desc", 7, "tuff/chiseled_tuff");
tuff.carverHelper.registerAll(tuff, "tuffBlock");
}
},
PRISMARINE {
@Override
void addBlocks() {
BlockCarvable prismarine = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
prismarine.carverHelper.addVariation("tile.stones.1.desc", 1, "prismarine/prismarine_bricks");
prismarine.carverHelper.addVariation("tile.stones.3.desc", 3, "prismarine/prismarine_cobblestone");
prismarine.carverHelper.addVariation("tile.stones.4.desc", 4, "prismarine/prismarine_mossy");
prismarine.carverHelper.addVariation("tile.stones.5.desc", 5, "prismarine/prismarine_pillar");
prismarine.carverHelper.addVariation("tile.stones.9.desc", 6, "prismarine/prismarine_ornate");
prismarine.carverHelper.addVariation("tile.stones.6.desc", 7, "prismarine/prismarine_polished");
prismarine.carverHelper.addVariation("tile.stones.8.desc", 9, "prismarine/prismarine_tiles");
prismarine.carverHelper.registerAll(prismarine, "prismarineBlock");
}
},
DRIPSTONE {
@Override
void addBlocks() {
BlockCarvable dripstone = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
dripstone.carverHelper.addVariation("tile.stones.0.desc", 0, "dripstone/dripstone_block");
dripstone.carverHelper.addVariation("tile.stones.1.desc", 1, "dripstone/dripstone_bricks");
dripstone.carverHelper.addVariation("tile.stones.9.desc", 2, "dripstone/dripstone_ornate");
dripstone.carverHelper.addVariation("tile.stones.3.desc", 3, "dripstone/dripstone_cobblestone");
dripstone.carverHelper.addVariation("tile.stones.4.desc", 4, "dripstone/dripstone_mossy");
dripstone.carverHelper.addVariation("tile.stones.5.desc", 5, "dripstone/dripstone_pillar");
dripstone.carverHelper.addVariation("tile.stones.6.desc", 6, "dripstone/dripstone_polished");
dripstone.carverHelper.addVariation("tile.stones.7.desc", 7, "dripstone/dripstone_prism");
dripstone.carverHelper.addVariation("tile.stones.8.desc", 8, "dripstone/dripstone_tiles");
dripstone.carverHelper.addVariation("tile.dripstone.0.desc", 9, "dripstone/chiseled_dripstone");
dripstone.carverHelper.addVariation("tile.dripstone.1.desc", 10, "dripstone/dripstone_pillar_1");
dripstone.carverHelper.registerAll(dripstone, "dripstoneBlock");
}
},
DARK_PRISMARINE {
@Override
void addBlocks() {
BlockCarvable darkprismarine = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
darkprismarine.carverHelper.addVariation("tile.stones.0.desc", 0, "darkprismarine/darkprismarine");
darkprismarine.carverHelper.addVariation("tile.stones.1.desc", 1, "darkprismarine/darkprismarine_bricks");
darkprismarine.carverHelper.addVariation("tile.stones.9.desc", 2, "darkprismarine/darkprismarine_ornate");
darkprismarine.carverHelper
.addVariation("tile.stones.3.desc", 3, "darkprismarine/darkprismarine_cobblestone");
darkprismarine.carverHelper.addVariation("tile.stones.4.desc", 4, "darkprismarine/darkprismarine_mossy");
darkprismarine.carverHelper.addVariation("tile.stones.5.desc", 5, "darkprismarine/darkprismarine_pillar");
darkprismarine.carverHelper.addVariation("tile.stones.6.desc", 6, "darkprismarine/darkprismarine_polished");
darkprismarine.carverHelper.addVariation("tile.stones.7.desc", 7, "darkprismarine/darkprismarine_prism");
darkprismarine.carverHelper.addVariation("tile.stones.8.desc", 8, "darkprismarine/darkprismarine_tiles");
darkprismarine.carverHelper.registerAll(darkprismarine, "darkprismarineBlock");
}
},
DEEPSLATE {
@Override
void addBlocks() {
BlockCarvable deepslate = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
deepslate.carverHelper.addVariation("tile.stones.5.desc", 0, "deepslate/deepslate_pillar");
deepslate.carverHelper.addVariation("tile.stones.7.desc", 1, "deepslate/deepslate_prism");
deepslate.carverHelper.addVariation("tile.stones.8.desc", 2, "deepslate/deepslate_tiles");
deepslate.carverHelper.addVariation("tile.stones.4.desc", 3, "deepslate/deepslate_mossy");
deepslate.carverHelper.registerAll(deepslate, "deepslateBlock");
}
},
BASALT {
@Override
void addBlocks() {
BlockCarvable basalt = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
basalt.carverHelper.addVariation("tile.stones.0.desc", 0, "basalt/basalt");
basalt.carverHelper.addVariation("tile.stones.1.desc", 1, "basalt/basalt_bricks");
basalt.carverHelper.addVariation("tile.stones.9.desc", 2, "basalt/basalt_ornate");
basalt.carverHelper.addVariation("tile.stones.3.desc", 3, "basalt/basalt_cobblestone");
basalt.carverHelper.addVariation("tile.stones.4.desc", 4, "basalt/basalt_mossy");
basalt.carverHelper.addVariation("tile.stones.5.desc", 5, "basalt/basalt_pillar");
basalt.carverHelper.addVariation("tile.stones.6.desc", 6, "basalt/basalt_polished");
basalt.carverHelper.addVariation("tile.stones.7.desc", 7, "basalt/basalt_prism");
basalt.carverHelper.addVariation("tile.stones.8.desc", 8, "basalt/basalt_tiles");
basalt.carverHelper.registerAll(basalt, "basaltBlock");
}
},
RUBY {
@Override
void addBlocks() {
BlockCarvable ruby = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
ruby.carverHelper.addVariation("tile.gems.0.desc", 0, "ruby/rubyBismuth");
ruby.carverHelper.addVariation("tile.gems.1.desc", 1, "ruby/rubyBordered");
ruby.carverHelper.addVariation("tile.gems.9.desc", 2, "ruby/rubyCell");
ruby.carverHelper.addVariation("tile.gems.3.desc", 3, "ruby/rubyFacet");
ruby.carverHelper.addVariation("tile.gems.4.desc", 4, "ruby/rubyOrnate");
ruby.carverHelper.addVariation("tile.gems.5.desc", 5, "ruby/rubyPanel");
ruby.carverHelper.addVariation("tile.gems.6.desc", 6, "ruby/rubyPolished");
ruby.carverHelper.addVariation("tile.gems.7.desc", 7, "ruby/rubyRaw");
ruby.carverHelper.addVariation("tile.gems.8.desc", 8, "ruby/rubySmooth");
ruby.carverHelper.addVariation("tile.gems.9.desc", 9, "ruby/rubySpiral");
ruby.carverHelper.addVariation("tile.gems.10.desc", 10, "ruby/rubyTiles");
ruby.carverHelper.registerAll(ruby, "rubyBlock");
}
},
SPINEL {
@Override
void addBlocks() {
BlockCarvable spinel = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
spinel.carverHelper.addVariation("tile.gems.0.desc", 0, "spinel/spinelBismuth");
spinel.carverHelper.addVariation("tile.gems.1.desc", 1, "spinel/spinelBordered");
spinel.carverHelper.addVariation("tile.gems.9.desc", 2, "spinel/spinelCell");
spinel.carverHelper.addVariation("tile.gems.3.desc", 3, "spinel/spinelFacet");
spinel.carverHelper.addVariation("tile.gems.4.desc", 4, "spinel/spinelOrnate");
spinel.carverHelper.addVariation("tile.gems.5.desc", 5, "spinel/spinelPanel");
spinel.carverHelper.addVariation("tile.gems.6.desc", 6, "spinel/spinelPolished");
spinel.carverHelper.addVariation("tile.gems.7.desc", 7, "spinel/spinelRaw");
spinel.carverHelper.addVariation("tile.gems.8.desc", 8, "spinel/spinelSmooth");
spinel.carverHelper.addVariation("tile.gems.9.desc", 9, "spinel/spinelSpiral");
spinel.carverHelper.addVariation("tile.gems.10.desc", 10, "spinel/spinelTiles");
spinel.carverHelper.registerAll(spinel, "spinelBlock");
}
},
RHODOCHROSITE {
@Override
void addBlocks() {
BlockCarvable rhodochrosite = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
rhodochrosite.carverHelper.addVariation("tile.gems.0.desc", 0, "rhodochrosite/rhodochrositeBismuth");
rhodochrosite.carverHelper.addVariation("tile.gems.1.desc", 1, "rhodochrosite/rhodochrositeBordered");
rhodochrosite.carverHelper.addVariation("tile.gems.9.desc", 2, "rhodochrosite/rhodochrositeCell");
rhodochrosite.carverHelper.addVariation("tile.gems.3.desc", 3, "rhodochrosite/rhodochrositeFacet");
rhodochrosite.carverHelper.addVariation("tile.gems.4.desc", 4, "rhodochrosite/rhodochrositeOrnate");
rhodochrosite.carverHelper.addVariation("tile.gems.5.desc", 5, "rhodochrosite/rhodochrositePanel");
rhodochrosite.carverHelper.addVariation("tile.gems.6.desc", 6, "rhodochrosite/rhodochrositePolished");
rhodochrosite.carverHelper.addVariation("tile.gems.7.desc", 7, "rhodochrosite/rhodochrositeRaw");
rhodochrosite.carverHelper.addVariation("tile.gems.8.desc", 8, "rhodochrosite/rhodochrositeSmooth");
rhodochrosite.carverHelper.addVariation("tile.gems.9.desc", 9, "rhodochrosite/rhodochrositeSpiral");
rhodochrosite.carverHelper.addVariation("tile.gems.10.desc", 10, "rhodochrosite/rhodochrositeTiles");
rhodochrosite.carverHelper.registerAll(rhodochrosite, "rhodochrositeBlock");
}
},
OPAL {
@Override
void addBlocks() {
BlockCarvable opal = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
opal.carverHelper.addVariation("tile.gems.0.desc", 0, "opal/opalBismuth");
opal.carverHelper.addVariation("tile.gems.1.desc", 1, "opal/opalBordered");
opal.carverHelper.addVariation("tile.gems.9.desc", 2, "opal/opalCell");
opal.carverHelper.addVariation("tile.gems.3.desc", 3, "opal/opalFacet");
opal.carverHelper.addVariation("tile.gems.4.desc", 4, "opal/opalOrnate");
opal.carverHelper.addVariation("tile.gems.5.desc", 5, "opal/opalPanel");
opal.carverHelper.addVariation("tile.gems.6.desc", 6, "opal/opalPolished");
opal.carverHelper.addVariation("tile.gems.7.desc", 7, "opal/opalRaw");
opal.carverHelper.addVariation("tile.gems.8.desc", 8, "opal/opalSmooth");
opal.carverHelper.addVariation("tile.gems.9.desc", 9, "opal/opalSpiral");
opal.carverHelper.addVariation("tile.gems.10.desc", 10, "opal/opalTiles");
opal.carverHelper.addVariation("tile.gems.1.desc", 12, "opal/opalBordered1");
opal.carverHelper.addVariation("tile.gems.4.desc", 13, "opal/opalOrnate1");
opal.carverHelper.addVariation("tile.gems.10.desc", 14, "opal/opalTiles1");
opal.carverHelper.registerAll(opal, "opalBlock");
}
},
ONYX {
@Override
void addBlocks() {
BlockCarvable onyx = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
onyx.carverHelper.addVariation("tile.gems.0.desc", 0, "onyx/onyxBismuth");
onyx.carverHelper.addVariation("tile.gems.1.desc", 1, "onyx/onyxBordered");
onyx.carverHelper.addVariation("tile.gems.9.desc", 2, "onyx/onyxCell");
onyx.carverHelper.addVariation("tile.gems.3.desc", 3, "onyx/onyxFacet");
onyx.carverHelper.addVariation("tile.gems.4.desc", 4, "onyx/onyxOrnate");
onyx.carverHelper.addVariation("tile.gems.5.desc", 5, "onyx/onyxPanel");
onyx.carverHelper.addVariation("tile.gems.6.desc", 6, "onyx/onyxPolished");
onyx.carverHelper.addVariation("tile.gems.7.desc", 7, "onyx/onyxRaw");
onyx.carverHelper.addVariation("tile.gems.8.desc", 8, "onyx/onyxSmooth");
onyx.carverHelper.addVariation("tile.gems.9.desc", 9, "onyx/onyxSpiral");
onyx.carverHelper.addVariation("tile.gems.10.desc", 10, "onyx/onyxTiles");
onyx.carverHelper.registerAll(onyx, "onyxBlock");
}
},
NETHER_QUARTZ {
@Override
void addBlocks() {
BlockCarvable netherquartz = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
netherquartz.carverHelper.addVariation("tile.gems.0.desc", 0, "netherquartz/netherquartzBismuth");
netherquartz.carverHelper.addVariation("tile.gems.1.desc", 1, "netherquartz/netherquartzBordered");
netherquartz.carverHelper.addVariation("tile.gems.9.desc", 2, "netherquartz/netherquartzCell");
netherquartz.carverHelper.addVariation("tile.gems.3.desc", 3, "netherquartz/netherquartzFacet");
netherquartz.carverHelper.addVariation("tile.gems.4.desc", 4, "netherquartz/netherquartzOrnate");
netherquartz.carverHelper.addVariation("tile.gems.5.desc", 5, "netherquartz/netherquartzPanel");
netherquartz.carverHelper.addVariation("tile.gems.6.desc", 6, "netherquartz/netherquartzPolished");
netherquartz.carverHelper.addVariation("tile.gems.7.desc", 7, "netherquartz/netherquartzRaw");
netherquartz.carverHelper.addVariation("tile.gems.8.desc", 8, "netherquartz/netherquartzSmooth");
netherquartz.carverHelper.addVariation("tile.gems.9.desc", 9, "netherquartz/netherquartzSpiral");
netherquartz.carverHelper.addVariation("tile.gems.10.desc", 10, "netherquartz/netherquartzTiles");
netherquartz.carverHelper.registerAll(netherquartz, "netherquartzBlock");
}
},
LABRADORITE {
@Override
void addBlocks() {
BlockCarvable labradorite = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
labradorite.carverHelper.addVariation("tile.gems.0.desc", 0, "labradorite/labradoriteBismuth");
labradorite.carverHelper.addVariation("tile.gems.1.desc", 1, "labradorite/labradoriteBordered");
labradorite.carverHelper.addVariation("tile.gems.9.desc", 2, "labradorite/labradoriteCell");
labradorite.carverHelper.addVariation("tile.gems.3.desc", 3, "labradorite/labradoriteFacet");
labradorite.carverHelper.addVariation("tile.gems.4.desc", 4, "labradorite/labradoriteOrnate");
labradorite.carverHelper.addVariation("tile.gems.5.desc", 5, "labradorite/labradoritePanel");
labradorite.carverHelper.addVariation("tile.gems.6.desc", 6, "labradorite/labradoritePolished");
labradorite.carverHelper.addVariation("tile.gems.7.desc", 7, "labradorite/labradoriteRaw");
labradorite.carverHelper.addVariation("tile.gems.8.desc", 8, "labradorite/labradoriteSmooth");
labradorite.carverHelper.addVariation("tile.gems.9.desc", 9, "labradorite/labradoriteSpiral");
labradorite.carverHelper.addVariation("tile.gems.10.desc", 10, "labradorite/labradoriteTiles");
labradorite.carverHelper.registerAll(labradorite, "labradoriteBlock");
}
},
JADE {
@Override
void addBlocks() {
BlockCarvable jade = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
jade.carverHelper.addVariation("tile.gems.0.desc", 0, "jade/jadeBismuth");
jade.carverHelper.addVariation("tile.gems.1.desc", 1, "jade/jadeBordered");
jade.carverHelper.addVariation("tile.gems.9.desc", 2, "jade/jadeCell");
jade.carverHelper.addVariation("tile.gems.3.desc", 3, "jade/jadeFacet");
jade.carverHelper.addVariation("tile.gems.4.desc", 4, "jade/jadeOrnate");
jade.carverHelper.addVariation("tile.gems.5.desc", 5, "jade/jadePanel");
jade.carverHelper.addVariation("tile.gems.6.desc", 6, "jade/jadePolished");
jade.carverHelper.addVariation("tile.gems.7.desc", 7, "jade/jadeRaw");
jade.carverHelper.addVariation("tile.gems.8.desc", 8, "jade/jadeSmooth");
jade.carverHelper.addVariation("tile.gems.9.desc", 9, "jade/jadeSpiral");
jade.carverHelper.addVariation("tile.gems.10.desc", 10, "jade/jadeTiles");
jade.carverHelper.registerAll(jade, "jadeBlock");
}
},
FLUORITE {
@Override
void addBlocks() {
BlockCarvable fluorite = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
fluorite.carverHelper.addVariation("tile.gems.0.desc", 0, "fluorite/fluoriteBismuth");
fluorite.carverHelper.addVariation("tile.gems.1.desc", 1, "fluorite/fluoriteBordered");
fluorite.carverHelper.addVariation("tile.gems.9.desc", 2, "fluorite/fluoriteCell");
fluorite.carverHelper.addVariation("tile.gems.3.desc", 3, "fluorite/fluoriteFacet");
fluorite.carverHelper.addVariation("tile.gems.4.desc", 4, "fluorite/fluoriteOrnate");
fluorite.carverHelper.addVariation("tile.gems.5.desc", 5, "fluorite/fluoritePanel");
fluorite.carverHelper.addVariation("tile.gems.6.desc", 6, "fluorite/fluoritePolished");
fluorite.carverHelper.addVariation("tile.gems.7.desc", 7, "fluorite/fluoriteRaw");
fluorite.carverHelper.addVariation("tile.gems.8.desc", 8, "fluorite/fluoriteSmooth");
fluorite.carverHelper.addVariation("tile.gems.9.desc", 9, "fluorite/fluoriteSpiral");
fluorite.carverHelper.addVariation("tile.gems.10.desc", 10, "fluorite/fluoriteTiles");
fluorite.carverHelper.registerAll(fluorite, "fluoriteBlock");
}
},
CHAROITE {
@Override
void addBlocks() {
BlockCarvable charoite = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
charoite.carverHelper.addVariation("tile.gems.0.desc", 0, "charoite/charoiteBismuth");
charoite.carverHelper.addVariation("tile.gems.1.desc", 1, "charoite/charoiteBordered");
charoite.carverHelper.addVariation("tile.gems.9.desc", 2, "charoite/charoiteCell");
charoite.carverHelper.addVariation("tile.gems.3.desc", 3, "charoite/charoiteFacet");
charoite.carverHelper.addVariation("tile.gems.4.desc", 4, "charoite/charoiteOrnate");
charoite.carverHelper.addVariation("tile.gems.5.desc", 5, "charoite/charoitePanel");
charoite.carverHelper.addVariation("tile.gems.6.desc", 6, "charoite/charoitePolished");
charoite.carverHelper.addVariation("tile.gems.7.desc", 7, "charoite/charoiteRaw");
charoite.carverHelper.addVariation("tile.gems.8.desc", 8, "charoite/charoiteSmooth");
charoite.carverHelper.addVariation("tile.gems.9.desc", 9, "charoite/charoiteSpiral");
charoite.carverHelper.addVariation("tile.gems.10.desc", 10, "charoite/charoiteTiles");
charoite.carverHelper.registerAll(charoite, "charoiteBlock");
}
},
TOPAZ {
@Override
void addBlocks() {
BlockCarvable topaz = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
topaz.carverHelper.addVariation("tile.gems.0.desc", 0, "topaz/topazBismuth");
topaz.carverHelper.addVariation("tile.gems.1.desc", 1, "topaz/topazBordered");
topaz.carverHelper.addVariation("tile.gems.9.desc", 2, "topaz/topazCell");
topaz.carverHelper.addVariation("tile.gems.3.desc", 3, "topaz/topazFacet");
topaz.carverHelper.addVariation("tile.gems.4.desc", 4, "topaz/topazOrnate");
topaz.carverHelper.addVariation("tile.gems.5.desc", 5, "topaz/topazPanel");
topaz.carverHelper.addVariation("tile.gems.6.desc", 6, "topaz/topazPolished");
topaz.carverHelper.addVariation("tile.gems.7.desc", 7, "topaz/topazRaw");
topaz.carverHelper.addVariation("tile.gems.8.desc", 8, "topaz/topazSmooth");
topaz.carverHelper.addVariation("tile.gems.9.desc", 9, "topaz/topazSpiral");
topaz.carverHelper.addVariation("tile.gems.10.desc", 10, "topaz/topazTiles");
topaz.carverHelper.registerAll(topaz, "topazBlock");
}
}, // Architect's Palette
BONE_BLOCK {
@Override
void addBlocks() {
BlockCarvable bone_block = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
bone_block.carverHelper.addVariation("tile.bone_block.0.desc", 0, "bone/bone_block");
bone_block.carverHelper.addVariation("tile.bone_block.1.desc", 1, "bone/bone_bricks");
bone_block.carverHelper.addVariation("tile.bone_block.2.desc", 2, "bone/bone_pillar");
bone_block.carverHelper.addVariation("tile.bone_block.3.desc", 3, "bone/skull");
bone_block.carverHelper.addVariation("tile.bone_block.4.desc", 4, "bone/withered_bone_block");
bone_block.carverHelper.addVariation("tile.bone_block.5.desc", 5, "bone/withered_bone_bricks");
bone_block.carverHelper.addVariation("tile.bone_block.6.desc", 6, "bone/withered_bone_pillar");
bone_block.carverHelper.addVariation("tile.bone_block.7.desc", 7, "bone/withered_skull");
bone_block.carverHelper.addVariation("tile.bone_block.8.desc", 8, "bone/withered_skull_lit");
bone_block.carverHelper.addVariation("tile.bone_block.9.desc", 9, "bone/modern_bone");
bone_block.carverHelper.registerAll(bone_block, "boneBlock");
}
},
CALCITE {
@Override
void addBlocks() {
BlockCarvable calcite = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
calcite.carverHelper.addVariation("tile.calcite.0.desc", 0, "calcite/calcite_bricks");
calcite.carverHelper.addVariation("tile.calcite.1.desc", 1, "calcite/calcite_pillar");
calcite.carverHelper.addVariation("tile.calcite.2.desc", 2, "calcite/chiseled_calcite");
calcite.carverHelper.registerAll(calcite, "calciteBlock");
}
},
FLINT {
@Override
void addBlocks() {
BlockCarvable flint = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
flint.carverHelper.addVariation("tile.flint.0.desc", 0, "flint/flint_block");
flint.carverHelper.addVariation("tile.flint.1.desc", 1, "flint/chiseled_flint_block");
flint.carverHelper.addVariation("tile.flint.2.desc", 2, "flint/flint_pillar");
flint.carverHelper.addVariation("tile.flint.3.desc", 3, "flint/flint_tiles");
flint.carverHelper.addVariation("tile.flint.4.desc", 4, "flint/smooth_flint_block");
flint.carverHelper.registerAll(flint, "flintBlock");
}
},
SUNSTONE {
@Override
void addBlocks() {
BlockCarvable sunstone = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
sunstone.carverHelper.addVariation("tile.sunstone.0.desc", 0, "sunstone/sunmetal_block");
sunstone.carverHelper.addVariation("tile.sunstone.1.desc", 1, "sunstone/sunmetal_pillar");
sunstone.carverHelper.addVariation("tile.sunstone.2.desc", 2, "sunstone/chiseled_sunmetal_block");
sunstone.carverHelper.addVariation("tile.sunstone.3.desc", 3, "sunstone/sunstone");
sunstone.carverHelper.addVariation("tile.sunstone.4.desc", 4, "sunstone/sunstone_bright");
sunstone.carverHelper.addVariation("tile.sunstone.5.desc", 5, "sunstone/sunstone_dim");
sunstone.carverHelper.registerAll(sunstone, "sunstoneBlock");
}
},
MOONSTONE {
@Override
void addBlocks() {
BlockCarvable moonstone = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
moonstone.carverHelper.addVariation("tile.moonstone.0.desc", 0, "moonstone/moonstone");
moonstone.carverHelper.addVariation("tile.moonstone.1.desc", 1, "moonstone/moonstone_dim");
moonstone.carverHelper.addVariation("tile.moonstone.2.desc", 2, "moonstone/moonstone_bright");
moonstone.carverHelper.addVariation("tile.moonstone.3.desc", 3, "moonstone/moonshale");
moonstone.carverHelper.addVariation("tile.moonstone.4.desc", 4, "moonstone/moonshale_bricks");
moonstone.carverHelper.addVariation("tile.moonstone.5.desc", 5, "moonstone/cracked_moonshale_bricks");
moonstone.carverHelper.addVariation("tile.moonstone.6.desc", 6, "moonstone/moonshale_flagstone");
moonstone.carverHelper.addVariation("tile.moonstone.7.desc", 7, "moonstone/chiseled_moonshale");
moonstone.carverHelper.addVariation("tile.moonstone.8.desc", 8, "moonstone/bordered_moonshale");
moonstone.carverHelper.addVariation("tile.moonstone.9.desc", 9, "moonstone/craterstone");
moonstone.carverHelper.addVariation("tile.moonstone.10.desc", 10, "moonstone/nebulite");
moonstone.carverHelper.addVariation("tile.moonstone.11.desc", 11, "moonstone/polished_nebulite");
moonstone.carverHelper.registerAll(moonstone, "moonstoneBlock");
}
},
ENTWINE {
@Override
void addBlocks() {
BlockCarvable entwine = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
entwine.carverHelper.addVariation("tile.entwine.0.desc", 0, "entwine/ender_pearl_block");
entwine.carverHelper.addVariation("tile.entwine.1.desc", 1, "entwine/entwine_block");
entwine.carverHelper.addVariation("tile.entwine.2.desc", 2, "entwine/chiseled_entwine");
entwine.carverHelper.addVariation("tile.entwine.3.desc", 3, "entwine/entwine_pillar");
entwine.carverHelper.registerAll(entwine, "entwineBlock");
}
},
ORACLE {
@Override
void addBlocks() {
BlockCarvable oracle = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
oracle.carverHelper.addVariation("tile.oracle.0.desc", 0, "oracle/oracle_block");
oracle.carverHelper.addVariation("tile.oracle.1.desc", 1, "oracle/framed_oracle_block");
oracle.carverHelper.addVariation("tile.oracle.2.desc", 2, "oracle/oracle_bricks");
oracle.carverHelper.addVariation("tile.oracle.3.desc", 3, "oracle/dark_oracle_bricks");
oracle.carverHelper.addVariation("tile.oracle.4.desc", 4, "oracle/oracle_pillar");
oracle.carverHelper.addVariation("tile.oracle.5.desc", 5, "oracle/oracle_tiles");
oracle.carverHelper.registerAll(oracle, "oracleBlock");
}
},
ALGAL {
@Override
void addBlocks() {
BlockCarvable algal = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
algal.carverHelper.addVariation("tile.algal.0.desc", 0, "algal/algal_bricks");
algal.carverHelper.addVariation("tile.algal.1.desc", 1, "algal/chiseled_algal_bricks");
algal.carverHelper.addVariation("tile.algal.2.desc", 2, "algal/cracked_algal_bricks");
algal.carverHelper.addVariation("tile.algal.3.desc", 3, "algal/overgrown_algal_bricks");
algal.carverHelper.registerAll(algal, "algalBlock");
}
},
CEREBRAL {
@Override
void addBlocks() {
BlockCarvable cerebral = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
cerebral.carverHelper.addVariation("tile.cerebral.0.desc", 0, "cerebral/cerebral_block");
cerebral.carverHelper.addVariation("tile.cerebral.1.desc", 1, "cerebral/cerebral_tiles");
cerebral.carverHelper.addVariation("tile.cerebral.2.desc", 2, "cerebral/cerebral_tiles_1");
cerebral.carverHelper.addVariation("tile.cerebral.3.desc", 3, "cerebral/cerebral_tiles_2");
cerebral.carverHelper.addVariation("tile.cerebral.4.desc", 4, "cerebral/cerebral_pillar");
cerebral.carverHelper.registerAll(cerebral, "cerebralBlock");
}
},
NETHER_BRASS {
@Override
void addBlocks() {
BlockCarvable nether_brass = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
nether_brass.carverHelper.addVariation("tile.nether_brass.0.desc", 0, "nether_brass/nether_brass_block");
nether_brass.carverHelper.addVariation("tile.nether_brass.1.desc", 1, "nether_brass/cut_nether_brass");
nether_brass.carverHelper.addVariation("tile.nether_brass.2.desc", 2, "nether_brass/nether_brass_pillar");
nether_brass.carverHelper.addVariation("tile.nether_brass.3.desc", 3, "nether_brass/nether_brass_slab");
nether_brass.carverHelper.addVariation("tile.nether_brass.4.desc", 4, "nether_brass/smooth_nether_brass");
nether_brass.carverHelper.registerAll(nether_brass, "nether_brassBlock");
}
},
ESOTERRACK {
@Override
void addBlocks() {
BlockCarvable esoterrack = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
esoterrack.carverHelper.addVariation("tile.esoterrack.0.desc", 0, "esoterrack/esoterrack");
esoterrack.carverHelper.addVariation("tile.esoterrack.1.desc", 1, "esoterrack/esoterrack_bricks");
esoterrack.carverHelper.addVariation("tile.esoterrack.2.desc", 2, "esoterrack/esoterrack_pillar");
esoterrack.carverHelper.addVariation("tile.esoterrack.3.desc", 3, "esoterrack/esoterrack_new");
esoterrack.carverHelper.registerAll(esoterrack, "esoterrackBlock");
}
},
WARDSTONE {
@Override
void addBlocks() {
BlockCarvable wardstone = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
wardstone.carverHelper.addVariation("tile.wardstone.0.desc", 0, "wardstone/wardstone");
wardstone.carverHelper.addVariation("tile.wardstone.1.desc", 1, "wardstone/wardstone_bricks");
wardstone.carverHelper.addVariation("tile.wardstone.2.desc", 2, "wardstone/wardstone_pillar");
wardstone.carverHelper.addVariation("tile.wardstone.3.desc", 3, "wardstone/wardstone_slab");
wardstone.carverHelper.addVariation("tile.wardstone.4.desc", 4, "wardstone/chiseled_wardstone");
wardstone.carverHelper.addVariation("tile.wardstone.5.desc", 5, "wardstone/wardstone_circle");
wardstone.carverHelper.registerAll(wardstone, "wardstoneBlock");
}
},
OLIVESTONE {
@Override
void addBlocks() {
BlockCarvable olivestone = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
olivestone.carverHelper.addVariation("tile.olivestone.0.desc", 0, "olivestone/chiseled_olivestone");
olivestone.carverHelper.addVariation("tile.olivestone.1.desc", 1, "olivestone/cracked_olivestone_bricks");
olivestone.carverHelper.addVariation("tile.olivestone.2.desc", 2, "olivestone/cracked_olivestone_tiles");
olivestone.carverHelper.addVariation("tile.olivestone.3.desc", 3, "olivestone/illuminated_olivestone");
olivestone.carverHelper.addVariation("tile.olivestone.4.desc", 4, "olivestone/olivestone_bricks");
olivestone.carverHelper.addVariation("tile.olivestone.5.desc", 5, "olivestone/olivestone_pillar");
olivestone.carverHelper.addVariation("tile.olivestone.6.desc", 6, "olivestone/olivestone_tiles");
olivestone.carverHelper.addVariation("tile.olivestone.7.desc", 7, "olivestone/warped_chiseled_olivestone");
olivestone.carverHelper.registerAll(olivestone, "olivestoneBlock");
}
},
VISCERA {
@Override
void addBlocks() {
BlockCarvable viscera = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
viscera.carverHelper.addVariation("tile.viscera.0.desc", 0, "viscera/entrails");
viscera.carverHelper.addVariation("tile.viscera.1.desc", 1, "viscera/rotten_flesh_block");
viscera.carverHelper.addVariation("tile.viscera.2.desc", 2, "viscera/salmon_log");
viscera.carverHelper.addVariation("tile.viscera.3.desc", 3, "viscera/cod_log");
viscera.carverHelper.registerAll(viscera, "visceraBlock");
}
},
ABYSSALINE {
@Override
void addBlocks() {
BlockCarvable abyssaline = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
abyssaline.carverHelper.addVariation("tile.abyssaline.0.desc", 0, "abyssaline/abyssaline_bricks");
abyssaline.carverHelper.addVariation("tile.abyssaline.1.desc", 1, "abyssaline/abyssaline_bricks_charged");
abyssaline.carverHelper.addVariation("tile.abyssaline.2.desc", 2, "abyssaline/abyssaline_pillar");
abyssaline.carverHelper.addVariation("tile.abyssaline.3.desc", 3, "abyssaline/abyssaline_pillar_charged");
abyssaline.carverHelper.addVariation("tile.abyssaline.4.desc", 4, "abyssaline/abyssaline");
abyssaline.carverHelper.addVariation("tile.abyssaline.5.desc", 5, "abyssaline/abyssaline_charged");
abyssaline.carverHelper.addVariation("tile.abyssaline.6.desc", 6, "abyssaline/abyssaline_tiles");
abyssaline.carverHelper.addVariation("tile.abyssaline.7.desc", 7, "abyssaline/abyssaline_tiles_charged");
abyssaline.carverHelper.addVariation("tile.abyssaline.8.desc", 8, "abyssaline/abyssaline_plating");
abyssaline.carverHelper.addVariation("tile.abyssaline.9.desc", 9, "abyssaline/abyssaline_plating_charged");
abyssaline.carverHelper
.addVariation("tile.abyssaline.10.desc", 10, "abyssaline/chiseled_abyssaline_bricks");
abyssaline.carverHelper.registerAll(abyssaline, "abyssalineBlock");
}
},
HADALINE {
@Override
void addBlocks() {
BlockCarvable hadaline = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setResistance(1F);
hadaline.carverHelper.addVariation("tile.hadaline.0.desc", 0, "hadaline/hadaline_bricks");
hadaline.carverHelper.addVariation("tile.hadaline.1.desc", 1, "hadaline/hadaline_bricks_charged");
hadaline.carverHelper.addVariation("tile.hadaline.2.desc", 2, "hadaline/hadaline_pillar");
hadaline.carverHelper.addVariation("tile.hadaline.3.desc", 3, "hadaline/hadaline_pillar_charged");
hadaline.carverHelper.addVariation("tile.hadaline.4.desc", 4, "hadaline/hadaline");
hadaline.carverHelper.addVariation("tile.hadaline.5.desc", 5, "hadaline/hadaline_charged");
hadaline.carverHelper.addVariation("tile.hadaline.6.desc", 6, "hadaline/hadaline_tiles");
hadaline.carverHelper.addVariation("tile.hadaline.7.desc", 7, "hadaline/hadaline_tiles_charged");
hadaline.carverHelper.addVariation("tile.hadaline.8.desc", 8, "hadaline/hadaline_plating");
hadaline.carverHelper.addVariation("tile.hadaline.9.desc", 9, "hadaline/hadaline_plating_charged");
hadaline.carverHelper.addVariation("tile.hadaline.10.desc", 10, "hadaline/chiseled_hadaline_bricks");
hadaline.carverHelper.registerAll(hadaline, "hadalineBlock");
}
},
ROAD {
@Override
+78 -24
View File
@@ -16,6 +16,7 @@ import net.minecraft.world.IBlockAccess;
import net.minecraftforge.common.util.ForgeDirection;
import com.cricketcraft.chisel.api.IConnectable;
import com.cricketcraft.chisel.api.IConnectionAccess;
import com.cricketcraft.chisel.api.IFacade;
import com.google.common.base.Optional;
import com.google.common.collect.Maps;
@@ -191,24 +192,30 @@ public class CTM {
}
/**
* A simple check for if the given block can connect to the given direction on the given side.
* A check for if the block being rendered can connect to the given location on the given side. Passes the block
* being rendered on to {@link IFacade} blocks, so they can decide per neighbour.
*
* @param world
* @param x The x coordinate of the block to check <i>against</i>. This is not the position of your block.
* @param y The y coordinate of the block to check <i>against</i>. This is not the position of your block.
* @param z The z coordinate of the block to check <i>against</i>. This is not the position of your block.
* @param side The side of the block to check for connection status. This is <i>not</i> the direction to check in.
* @param block The block to check against for connection.
* @param meta The metadata to check against for connection.
* @param fromX The x coordinate of your block, the block being rendered.
* @param fromY The y coordinate of your block, the block being rendered.
* @param fromZ The z coordinate of your block, the block being rendered.
* @param block The block being rendered.
* @param meta The metadata of the block being rendered.
* @return True if the given block can connect to the given location on the given side.
*/
public boolean isConnected(IBlockAccess world, int x, int y, int z, int side, Block block, int meta) {
public boolean isConnected(IBlockAccess world, int x, int y, int z, int side, int fromX, int fromY, int fromZ,
Block block, int meta) {
ForgeDirection dir = ForgeDirection.VALID_DIRECTIONS[side];
return isConnected(world, x, y, z, dir, block, meta);
return isConnected(world, x, y, z, dir, fromX, fromY, fromZ, block, meta);
}
/**
* A simple check for if the given block can connect to the given direction on the given side.
* A check for if the block being rendered can connect to the given location on the given side. Passes the block
* being rendered on to {@link IFacade} blocks, so they can decide per neighbour.
*
* @param world
* @param x The x coordinate of the block to check <i>against</i>. This is not the position of your block.
@@ -216,41 +223,72 @@ public class CTM {
* @param z The z coordinate of the block to check <i>against</i>. This is not the position of your block.
* @param dir The {@link ForgeDirection side} of the block to check for connection status. This is <i>not</i> the
* direction to check in.
* @param block The block to check against for connection.
* @param meta The metadata to check against for connection.
* @param fromX The x coordinate of your block, the block being rendered.
* @param fromY The y coordinate of your block, the block being rendered.
* @param fromZ The z coordinate of your block, the block being rendered.
* @param block The block being rendered.
* @param meta The metadata of the block being rendered.
* @return True if the given block can connect to the given location on the given side.
*/
public boolean isConnected(IBlockAccess world, int x, int y, int z, ForgeDirection dir, Block block, int meta) {
public boolean isConnected(IBlockAccess world, int x, int y, int z, ForgeDirection dir, int fromX, int fromY,
int fromZ, Block block, int meta) {
if (CTMLib.chiselLoaded() && connectionBlocked(world, x, y, z, dir.ordinal())) {
return false;
}
if (!matches(world, x, y, z, dir.ordinal(), fromX, fromY, fromZ, block, meta)) {
return false;
}
if (disableObscuredFaceCheck.or(disableObscuredFaceCheckConfig)) {
return true;
}
// check that we aren't already connected outwards from this side
int x2 = x + dir.offsetX;
int y2 = y + dir.offsetY;
int z2 = z + dir.offsetZ;
return !matches(world, x2, y2, z2, dir.ordinal(), fromX, fromY, fromZ, block, meta);
}
boolean disableObscured = disableObscuredFaceCheck.or(disableObscuredFaceCheckConfig);
/**
* Whether the given location shows the block being rendered, as seen from the block being rendered. Asks the world
* if it is an {@link IConnectionAccess}, otherwise compares the block or {@link IFacade} at that location.
*
* @param world
* @param x The x coordinate of the block to check <i>against</i>. This is not the position of your block.
* @param y The y coordinate of the block to check <i>against</i>. This is not the position of your block.
* @param z The z coordinate of the block to check <i>against</i>. This is not the position of your block.
* @param side The side being rendered. -1 for unknown.
* @param fromX The x coordinate of your block, the block being rendered.
* @param fromY The y coordinate of your block, the block being rendered.
* @param fromZ The z coordinate of your block, the block being rendered.
* @param block The block being rendered.
* @param meta The metadata of the block being rendered.
* @return True if the given location shows the given block and metadata.
*/
public boolean matches(IBlockAccess world, int x, int y, int z, int side, int fromX, int fromY, int fromZ,
Block block, int meta) {
if (CTMLib.chiselLoaded()) {
return matchesAccess(world, x, y, z, side, fromX, fromY, fromZ, block, meta);
}
return block.equals(world.getBlock(x, y, z)) && world.getBlockMetadata(x, y, z) == meta;
}
Block con = getBlockOrFacade(world, x, y, z, dir.ordinal());
Block obscuring = disableObscured ? null : getBlockOrFacade(world, x2, y2, z2, dir.ordinal());
private boolean matchesAccess(IBlockAccess world, int x, int y, int z, int side, int fromX, int fromY, int fromZ,
Block block, int meta) {
if (world instanceof IConnectionAccess) {
return ((IConnectionAccess) world).matches(x, y, z, side, fromX, fromY, fromZ, block, meta);
}
Block blk = world.getBlock(x, y, z);
Block con = getFacade(blk, world, x, y, z, side, fromX, fromY, fromZ, block, meta);
// no block or a bad API user
if (con == null) {
return false;
}
boolean ret = con.equals(block) && getBlockOrFacadeMetadata(world, x, y, z, dir.ordinal()) == meta;
// no block obscuring this face
if (obscuring == null) {
return ret;
}
// check that we aren't already connected outwards from this side
ret &= !(obscuring.equals(block) && getBlockOrFacadeMetadata(world, x2, y2, z2, dir.ordinal()) == meta);
return ret;
return con.equals(block) && getFacadeMeta(blk, world, x, y, z, side, fromX, fromY, fromZ, block, meta) == meta;
}
private boolean connectionBlocked(IBlockAccess world, int x, int y, int z, int side) {
@@ -310,4 +348,20 @@ public class CTM {
}
return blk;
}
private int getFacadeMeta(Block blk, IBlockAccess world, int x, int y, int z, int side, int fromX, int fromY,
int fromZ, Block fromBlock, int fromMeta) {
if (blk instanceof IFacade) {
return ((IFacade) blk).getFacadeMetadata(world, x, y, z, side, fromX, fromY, fromZ, fromBlock, fromMeta);
}
return world.getBlockMetadata(x, y, z);
}
private Block getFacade(Block blk, IBlockAccess world, int x, int y, int z, int side, int fromX, int fromY,
int fromZ, Block fromBlock, int fromMeta) {
if (blk instanceof IFacade) {
blk = ((IFacade) blk).getFacade(world, x, y, z, side, fromX, fromY, fromZ, fromBlock, fromMeta);
}
return blk;
}
}
+4 -1
View File
@@ -61,12 +61,15 @@ public enum Dir {
public boolean isConnected(CTM inst, IBlockAccess world, int x, int y, int z, int sideIdx, Block block, int meta) {
ForgeDirection side = getOrientation(sideIdx);
ForgeDirection[] dirs = getNormalizedDirs(side);
int fromX = x;
int fromY = y;
int fromZ = z;
for (ForgeDirection dir : dirs) {
x += dir.offsetX;
y += dir.offsetY;
z += dir.offsetZ;
}
return inst.isConnected(world, x, y, z, side, block, meta);
return inst.isConnected(world, x, y, z, side, fromX, fromY, fromZ, block, meta);
}
private ForgeDirection[] getNormalizedDirs(ForgeDirection normal) {
@@ -58,6 +58,8 @@ import net.minecraft.client.renderer.Tessellator;
import net.minecraft.util.IIcon;
import net.minecraftforge.common.util.ForgeDirection;
import com.cricketcraft.chisel.api.IConnectionAccess;
import lombok.Getter;
public class RenderBlocksCTM extends RenderBlocks {
@@ -110,8 +112,13 @@ public class RenderBlocksCTM extends RenderBlocks {
this.z = z;
}
void render(RenderBlocksCTM inst, ForgeDirection normal, int cacheID) {
double get(int axis) {
return axis == 0 ? x : axis == 1 ? y : z;
}
void render(RenderBlocksCTM inst, SubSide side, int cacheID) {
final Tessellator tessellator = Tessellator.instance;
final ForgeDirection normal = side.normal;
if (inst.enableAO) {
tessellator.setColorOpaque_F(inst.redCache[cacheID], inst.grnCache[cacheID], inst.bluCache[cacheID]);
@@ -121,6 +128,26 @@ public class RenderBlocksCTM extends RenderBlocks {
double u = cacheID == 1 || cacheID == 2 ? inst.maxU : inst.minU;
double v = cacheID < 2 ? inst.maxV : inst.minV;
if (inst.renderPart) {
// only the part inside the bounds, showing the texture where it lies in the block
double px = Math.min(Math.max(x, inst.renderMinX), inst.renderMaxX);
double py = Math.min(Math.max(y, inst.renderMinY), inst.renderMaxY);
double pz = Math.min(Math.max(z, inst.renderMinZ), inst.renderMaxZ);
double uMoved = Math.abs(normal.offsetX != 0 ? pz - z : px - x);
double vMoved = Math.abs(normal.offsetY != 0 ? pz - z : py - y);
// a sub-side is half a block wide
u += (u == inst.minU ? 2 : -2) * (inst.maxU - inst.minU) * uMoved;
v += (v == inst.minV ? 2 : -2) * (inst.maxV - inst.minV) * vMoved;
if (inst.enableAO) {
// the caches hold the light at the sub-side's corners, the vertex moved, so take the light there
double lightX = inst.boundsFraction(side.lightAxisX, px, py, pz);
double lightY = inst.boundsFraction(side.lightAxisY, px, py, pz);
inst.mixLight(side.lightRisingX ? lightX : 1 - lightX, side.lightRisingY ? lightY : 1 - lightY);
}
tessellator.addVertexWithUV(px, py, pz, u, v);
return;
}
double uDiff = inst.maxU - inst.minU;
double vDiff = inst.maxV - inst.minV;
@@ -181,6 +208,9 @@ public class RenderBlocksCTM extends RenderBlocks {
// @formatter:on
private final Vert xmin, xmax, ymin, ymax;
private final ForgeDirection normal;
/** The block axes the light maps' x and y run along, and whether they run towards 1. */
private final int lightAxisX, lightAxisY;
private final boolean lightRisingX, lightRisingY;
SubSide(Vert xmin, Vert ymin, Vert ymax, Vert xmax) {
this.xmin = xmin;
@@ -188,6 +218,15 @@ public class RenderBlocksCTM extends RenderBlocks {
this.ymax = ymax;
this.xmax = xmax;
this.normal = calcNormal();
// the caches step along the light maps' x from xmin to ymin, and along their y from xmin to xmax
this.lightAxisX = axis(xmin, ymin);
this.lightAxisY = axis(xmin, xmax);
this.lightRisingX = ymin.get(lightAxisX) > xmin.get(lightAxisX);
this.lightRisingY = xmax.get(lightAxisY) > xmin.get(lightAxisY);
}
private static int axis(Vert from, Vert to) {
return from.x != to.x ? 0 : from.y != to.y ? 1 : 2;
}
private ForgeDirection calcNormal() {
@@ -205,10 +244,10 @@ public class RenderBlocksCTM extends RenderBlocks {
}
void render(RenderBlocksCTM inst) {
xmin.render(inst, normal, 0);
ymin.render(inst, normal, 1);
ymax.render(inst, normal, 2);
xmax.render(inst, normal, 3);
xmin.render(inst, this, 0);
ymin.render(inst, this, 1);
ymax.render(inst, this, 2);
xmax.render(inst, this, 3);
}
}
@@ -247,6 +286,12 @@ public class RenderBlocksCTM extends RenderBlocks {
@Getter
protected boolean inWorld = false;
/**
* Whether the render bounds are a part of the block, which shows its part of the block's texture instead of the
* whole texture squeezed in. Set when rendering in an {@link IConnectionAccess}.
*/
protected boolean renderPart = false;
@Override
public boolean renderStandardBlock(Block block, int x, int y, int z) {
bx = x;
@@ -258,7 +303,9 @@ public class RenderBlocksCTM extends RenderBlocks {
tessellator.setColorOpaque_F(1.0F, 1.0F, 1.0F);
tessellator.addTranslation(x, y, z);
inWorld = true;
renderPart = CTMLib.chiselLoaded() && blockAccess instanceof IConnectionAccess;
boolean res = super.renderStandardBlock(block, x, y, z);
renderPart = false;
inWorld = false;
tessellator.addTranslation(-x, -y, -z);
@@ -356,6 +403,39 @@ public class RenderBlocksCTM extends RenderBlocks {
| ((sunlightBitChannel / lightVals.length) & 0xF00000);
}
/**
* @return where the point lies between the render bounds along the axis, from 0 at their min to 1 at their max
*/
protected double boundsFraction(int axis, double x, double y, double z) {
double min = axis == 0 ? renderMinX : axis == 1 ? renderMinY : renderMinZ;
double max = axis == 0 ? renderMaxX : axis == 1 ? renderMaxY : renderMaxZ;
double pos = axis == 0 ? x : axis == 1 ? y : z;
return max > min ? (pos - min) / (max - min) : 0;
}
/**
* Sets the color and brightness at a point of the face, mixed from the corners of the light maps, which are the
* corners of the render bounds. The point is given in the maps' x and y, from 0 to 1.
*/
protected void mixLight(double x, double y) {
double w00 = (1 - x) * (1 - y);
double w20 = x * (1 - y);
double w22 = x * y;
double w02 = (1 - x) * y;
final Tessellator tessellator = Tessellator.instance;
tessellator.setColorOpaque_F(
mixColor(redmap, w00, w20, w22, w02),
mixColor(grnmap, w00, w20, w22, w02),
mixColor(blumap, w00, w20, w22, w02));
// vanilla mixes the corners of partial bounds the same way
tessellator.setBrightness(
mixAoBrightness(lightmap[0][0], lightmap[2][0], lightmap[2][2], lightmap[0][2], w00, w20, w22, w02));
}
private static float mixColor(float[][] map, double w00, double w20, double w22, double w02) {
return (float) (map[0][0] * w00 + map[2][0] * w20 + map[2][2] * w22 + map[0][2] * w02);
}
protected void side(Block block, SubSide side, int iconIndex) {
// If we have an overridden texture when we're supposed to render a CTM texture,
@@ -23,9 +23,8 @@ public class RenderBlocksColumn extends RenderBlocks {
super();
}
boolean connected(IBlockAccess world, int x, int y, int z, Block block, int meta) {
Block inWorld = ctm.getBlockOrFacade(world, x, y, z, -1);
return inWorld != null && inWorld.equals(block) && ctm.getBlockOrFacadeMetadata(world, x, y, z, -1) == meta;
boolean connected(IBlockAccess world, int x, int y, int z, int fromX, int fromY, int fromZ, Block block, int meta) {
return ctm.matches(world, x, y, z, -1, fromX, fromY, fromZ, block, meta);
}
@Override
@@ -33,8 +32,8 @@ public class RenderBlocksColumn extends RenderBlocks {
int metadata = blockAccess.getBlockMetadata(x, y, z);
inWorld = true;
boolean yp = connected(blockAccess, x, y + 1, z, block, metadata);
boolean yn = connected(blockAccess, x, y - 1, z, block, metadata);
boolean yp = connected(blockAccess, x, y + 1, z, x, y, z, block, metadata);
boolean yn = connected(blockAccess, x, y - 1, z, x, y, z, block, metadata);
if (yp || yn) {
sides[0] = iconTop;
@@ -46,13 +45,13 @@ public class RenderBlocksColumn extends RenderBlocks {
sides[3] = sides[4] = sides[5] = sides[2];
} else {
boolean xp = connected(blockAccess, x + 1, y, z, block, metadata);
boolean xn = connected(blockAccess, x - 1, y, z, block, metadata);
boolean xp = connected(blockAccess, x + 1, y, z, x, y, z, block, metadata);
boolean xn = connected(blockAccess, x - 1, y, z, x, y, z, block, metadata);
if (xp && (connected(blockAccess, x + 1, y + 1, z, block, metadata)
|| connected(blockAccess, x + 1, y - 1, z, block, metadata))) xp = false;
if (xn && (connected(blockAccess, x - 1, y + 1, z, block, metadata)
|| connected(blockAccess, x - 1, y - 1, z, block, metadata))) xn = false;
if (xp && (connected(blockAccess, x + 1, y + 1, z, x + 1, y, z, block, metadata)
|| connected(blockAccess, x + 1, y - 1, z, x + 1, y, z, block, metadata))) xp = false;
if (xn && (connected(blockAccess, x - 1, y + 1, z, x - 1, y, z, block, metadata)
|| connected(blockAccess, x - 1, y - 1, z, x - 1, y, z, block, metadata))) xn = false;
if (xp || xn) {
uvRotateEast = 2;
@@ -76,17 +75,17 @@ public class RenderBlocksColumn extends RenderBlocks {
}
sides[2] = sides[3] = sides[1];
} else {
boolean zp = connected(blockAccess, x, y, z + 1, block, metadata);
boolean zn = connected(blockAccess, x, y, z - 1, block, metadata);
boolean zp = connected(blockAccess, x, y, z + 1, x, y, z, block, metadata);
boolean zn = connected(blockAccess, x, y, z - 1, x, y, z, block, metadata);
if (zp && (connected(blockAccess, x, y + 1, z + 1, block, metadata)
|| connected(blockAccess, x, y - 1, z + 1, block, metadata))) zp = false;
if (zp && (connected(blockAccess, x + 1, y, z + 1, block, metadata)
|| connected(blockAccess, x - 1, y, z + 1, block, metadata))) zp = false;
if (zn && (connected(blockAccess, x, y + 1, z - 1, block, metadata)
|| connected(blockAccess, x, y - 1, z - 1, block, metadata))) zn = false;
if (zn && (connected(blockAccess, x + 1, y, z - 1, block, metadata)
|| connected(blockAccess, x - 1, y, z - 1, block, metadata))) zn = false;
if (zp && (connected(blockAccess, x, y + 1, z + 1, x, y, z + 1, block, metadata)
|| connected(blockAccess, x, y - 1, z + 1, x, y, z + 1, block, metadata))) zp = false;
if (zp && (connected(blockAccess, x + 1, y, z + 1, x, y, z + 1, block, metadata)
|| connected(blockAccess, x - 1, y, z + 1, x, y, z + 1, block, metadata))) zp = false;
if (zn && (connected(blockAccess, x, y + 1, z - 1, x, y, z - 1, block, metadata)
|| connected(blockAccess, x, y - 1, z - 1, x, y, z - 1, block, metadata))) zn = false;
if (zn && (connected(blockAccess, x + 1, y, z - 1, x, y, z - 1, block, metadata)
|| connected(blockAccess, x - 1, y, z - 1, x, y, z - 1, block, metadata))) zn = false;
if (zp || zn) {
uvRotateSouth = 1;
@@ -197,14 +197,18 @@ public final class ChiselBlocks {
public static final BlockCarvable iridium = null;
public static final BlockCarvable osmium = null;
public static final BlockCarvable coral = null;
public static final BlockCarvable coral2 = null;
public static final BlockCarvable mud = null;
public static final BlockCarvable albumblock = null;
public static final BlockCarvable albumblock2 = null;
public static final BlockCarvable albumblock3 = null;
public static final BlockCarvable brickCustom2 = null;
public static final BlockCarvable brutalism = null;
public static final BlockConcrete road = null;
public static final BlockCarvable porcelain = null;
public static final BlockCarvable alabaster = null;
// Architect's Palette Backport
private ChiselBlocks() {}
}
@@ -1254,6 +1254,8 @@ tile.diamond.10.desc=Small Ornate Diamond Blocks
tile.diamond.11.desc=Zelda Diamond Block
tile.diamond.12.desc=Diamond Block with Ornate Layer
tile.diamond.13.desc=Modern Diamond Block
tile.diamond.14.desc=Diamond Ore Bricks
tile.diamond.15.desc=Chiseled Diamond Ore Bricks
#Snakestone
tile.chisel.snakestoneSand.name=Sand Snakestone
@@ -1304,7 +1306,10 @@ tile.sandstone.13.desc=Small Sandstone Blocks
tile.sandstone.14.desc=Sandstone Mosaic
tile.sandstone.15.desc=Stacked Sandstone Tiles
tile.sandstone.16.desc=Sandstone Bricks
tile.sandstone.17.desc=
tile.sandstone.17.desc=Smooth Flat Sandstone
tile.sandstone.18.desc=Gilded Sandstone
tile.sandstone.19.desc=Gilded Sandstone Pillar
tile.sandstone.20.desc=Chiseled Gilded Sandstone
#Sandstone scribbles
tile.chisel.sandstone_scribbles.name=Sandstone Scribbles
@@ -1451,6 +1456,9 @@ tile.emerald.9.desc=Small Emerald Blocks
tile.emerald.10.desc=Small Ornate Emerald Blocks
tile.emerald.11.desc=Ornate Emerald Block
tile.emerald.12.desc=Modern Emerald Block
tile.emerald.13.desc=Emerald Ore Bricks
tile.emerald.14.desc=Cracked Emerald Ore Bricks
tile.emerald.15.desc=Chiseled Emerald Ore Bricks
#Nether Brick
tile.chisel.nether_brick.name=Nether Brick
@@ -2785,6 +2793,15 @@ tile.lantern.2.desc=Redstone
tile.lantern.3.desc=Soul
tile.lantern.4.desc=Cursed
tile.lantern.5.desc=Ender
tile.lantern.6.desc=Tuff Lamp
tile.lantern.7.desc=Calcite Lamp
tile.lantern.9.desc=Dripstone Lamp
tile.lantern.8.desc=Oracle Lamp
tile.lantern.10.desc=Algal Lamp
tile.lantern.11.desc=Abyssal Lamp
tile.lantern.12.desc=Charged Abyssal Lamp
tile.lantern.13.desc=Hadal Lamp
tile.lantern.14.desc=Charged Hadal Lamp
#Sheetmetal
tile.chisel.sheetmetal.name=Sheetmetal
@@ -2874,6 +2891,7 @@ tile.mud.6.desc=Mud Bricks
tile.chisel.albumblock.name=Musical Block
tile.chisel.albumblock2.name=Musical Block
tile.chisel.albumblock3.name=Musical Block
tile.album.0.desc=That Green Gentleman
tile.album.1.desc=Pretty Odd
tile.album.2.desc=Laminated Denim
@@ -2893,6 +2911,34 @@ tile.album.15.desc=Having Too Much Fun
tile.album2.16.desc=The Cork Tree
tile.album2.17.desc=Cooperstown
tile.album2.18.desc=The Most Fun a Girl Can Have
tile.album2.19.desc=Birdbrain
tile.album2.20.desc=Fancy Some More?
tile.album2.21.desc=Paper-Mâché
tile.album2.22.desc=Girls Like Us
tile.album2.23.desc=The Terrors
tile.album2.24.desc=Stardust Pharmacy
tile.album2.25.desc=Katamari
tile.album2.26.desc=Charleston Girl
tile.album2.27.desc=Transitional Bird
tile.album2.28.desc=Komm, Susser Tod
tile.album2.29.desc=You Like Magic?
tile.album2.30.desc=Guess
tile.album2.31.desc=P-Panda
tile.album3.32.desc=Fill Your Lungs
tile.album3.33.desc=Paranoid
tile.album3.34.desc=Monomi
tile.album3.35.desc=Ursine
tile.album3.36.desc=Hexie Mountains
tile.album3.37.desc=Melancholy Hill
tile.album3.38.desc=Triple Blocka
tile.album3.39.desc=Ya Ya Ya Ya Ya Ya Ya Ya
tile.album3.40.desc=Phantom Island
tile.album3.41.desc=Alligator Bites Never Heal
tile.album3.42.desc=Chiseled Triple Blocka
tile.album3.43.desc=Magnet
tile.album3.44.desc=Digital Girl
tile.album3.45.desc=Digital World
tile.album3.46.desc=Pain
tile.chisel.brutalism.name=Brutalist Block
tile.brutalism.0.desc=Plain Cement
@@ -2934,6 +2980,56 @@ tile.alabaster.8.desc=Sage Green
tile.alabaster.9.desc=Sky Blue
tile.alabaster.10.desc=Cream
tile.chisel.topazBlock.name=Block of Topaz
tile.chisel.charoiteBlock.name=Block of Charoite
tile.chisel.fluoriteBlock.name=Block of Fluorite
tile.chisel.jadeBlock.name=Block of Jade
tile.chisel.labradoriteBlock.name=Block of Labradorite
tile.chisel.netherquartzBlock.name=Block of Nether Quartz
tile.chisel.onyxBlock.name=Block of Onyx
tile.chisel.opalBlock.name=Block of Opal
tile.chisel.rhodochrositeBlock.name=Block of Rhodochrosite
tile.chisel.rubyBlock.name=Block of Ruby
tile.chisel.spinelBlock.name=Block of Spinel
tile.gems.0.desc=Hopper Crystal
tile.gems.1.desc=Bordered
tile.gems.2.desc=Cell
tile.gems.3.desc=Faceted
tile.gems.4.desc=Ornate Tiles
tile.gems.5.desc=Large Tiles
tile.gems.6.desc=Polished
tile.gems.7.desc=Raw Mineral
tile.gems.8.desc=Smooth
tile.gems.9.desc=Spiraling
tile.gems.10.desc=Simple Tiles
tile.chisel.sulfurBlock.name=Block of Sulfur
tile.chisel.cinnabarBlock.name=Block of Cinnabar
tile.chisel.tuffBlock.name=Tuff
tile.chisel.coral2.name=Coralstone
tile.chisel.prismarineBlock.name=Prismarine
tile.chisel.darkprismarineBlock.name=Dark Prismarine
tile.chisel.deepslateBlock.name=Deepslate
tile.chisel.dripstoneBlock.name=Dripstone
tile.chisel.basaltBlock.name=Basalt
tile.stones.0.desc=Raw
tile.stones.1.desc=Bricks
tile.stones.2.desc=Chiseled
tile.stones.3.desc=Cobblestone
tile.stones.4.desc=Mossy
tile.stones.5.desc=Pillar
tile.stones.6.desc=Polished
tile.stones.7.desc=Prism
tile.stones.8.desc=Tiles
tile.stones.9.desc=Ornate
tile.tuff.0.desc=Architect's Tuff Bricks
tile.tuff.1.desc=Architect's Tuff Pillar
tile.dripstone.0.desc=Architect's Dripstone Bricks
tile.dripstone.1.desc=Architect's Dripstone Pillar
tile.sulfur.0.desc=Potent Sulfur
tile.chisel.road.name=Road Block
tile.chisel.road2.name=Road Block
tile.road.0.desc=Asphalt
@@ -2971,3 +3067,141 @@ tile.road.31.desc=Overgrown Dirt Road
tile.chisel.amber.name=Block of Amber
tile.chisel.bloodBrick.name=Bloodstone Brick
tile.chisel.boneBlock.name=Bone Block
tile.chisel.calciteBlock.name=Calcite
tile.chisel.flintBlock.name=Flint Block
tile.chisel.sunstoneBlock.name=Sunstone
tile.chisel.moonstoneBlock.name=Moonstone
tile.chisel.sunstoneBlock.name=Sunstone
tile.chisel.entwineBlock.name=Pearlescent Ender
tile.chisel.oracleBlock.name=Psionic Stone
tile.chisel.algalBlock.name=Algae Stone
tile.chisel.cerebralBlock.name=Cerebral Stone
tile.chisel.nether_brassBlock.name=Nether Brass
tile.chisel.esoterrackBlock.name=Esoterrack
tile.chisel.wardstoneBlock.name=Wardstone
tile.chisel.olivestoneBlock.name=Dunite
tile.chisel.visceraBlock.name=Viscera
tile.chisel.abyssalineBlock.name=Abyssalline
tile.chisel.hadalineBlock.name=Hadalline
tile.bone_block.0.desc=Architect's Bone
tile.bone_block.1.desc=Bone Bricks
tile.bone_block.2.desc=Bone Pillar
tile.bone_block.3.desc=Skull
tile.bone_block.4.desc=Withered Bone Block
tile.bone_block.5.desc=Withered Bone Bricks
tile.bone_block.6.desc=Withered Bone Pillar
tile.bone_block.7.desc=Withered Skull
tile.bone_block.8.desc=Evil Scary Glowing Withered Skull
tile.bone_block.9.desc=Modern Bone Block
tile.calcite.0.desc=Calcite Bricks
tile.calcite.1.desc=Calcite Pillar
tile.calcite.2.desc=Chiseled Calcite
tile.flint.0.desc=Block of Flint
tile.flint.1.desc=Chiseled Flint
tile.flint.2.desc=Flint Pillar
tile.flint.3.desc=Flint Tiles
tile.flint.4.desc=Smooth Flint Block
tile.sunstone.0.desc=Sunmetal
tile.sunstone.1.desc=Sunmetal Pillar
tile.sunstone.2.desc=Chiseled Sunmetal
tile.sunstone.3.desc=Extinguished Sunstone
tile.sunstone.4.desc=Solar Sunstone
tile.sunstone.5.desc=Eclipsed Sunstone
tile.moonstone.0.desc=New Moonstone
tile.moonstone.1.desc=Crescent Moonstone
tile.moonstone.2.desc=Full Moonstone
tile.moonstone.3.desc=Moonshale
tile.moonstone.4.desc=Moonshale Bricks
tile.moonstone.5.desc=Cracked Moonshale Bricks
tile.moonstone.6.desc=Moonshale Flagstone
tile.moonstone.7.desc=Chiseled Moonstone
tile.moonstone.8.desc=Bordered Moonstone
tile.moonstone.9.desc=Cratered Moonshale
tile.moonstone.10.desc=Nebulite
tile.moonstone.11.desc=Polished Nebulite
tile.entwine.0.desc=Block of Ender Pearl
tile.entwine.1.desc=Pearlescent Ender Block
tile.entwine.2.desc=Chiseled Pearlescent Ender
tile.entwine.3.desc=Pearlescent Ender Pillar
tile.oracle.0.desc=Psionic Block
tile.oracle.1.desc=Framed Psionic Block
tile.oracle.2.desc=Psionic Bricks
tile.oracle.3.desc=Dark Psionic Bricks
tile.oracle.4.desc=Psionic Pillar
tile.oracle.5.desc=Psionic Tiles
tile.algal.0.desc=Algal Bricks
tile.algal.1.desc=Chiseled Algal Bricks
tile.algal.2.desc=Cracked Algal Bricks
tile.algal.3.desc=Encrusted Algal Bricks
tile.cerebral.0.desc=Cerebral Stone
tile.cerebral.1.desc=Frontal Tiles
tile.cerebral.2.desc=Parietal Tiles
tile.cerebral.3.desc=Temporal Tiles
tile.cerebral.4.desc=Occipital Pillar
tile.nether_brass.0.desc=Nether Brass
tile.nether_brass.1.desc=Cut Nether Brass
tile.nether_brass.2.desc=Nether Brass Pillar
tile.nether_brass.3.desc=Nether Brass Slabs
tile.nether_brass.4.desc=Smooth Nether Brass
tile.esoterrack.0.desc=Esoterrack
tile.esoterrack.1.desc=Esoterrack Bricks
tile.esoterrack.2.desc=Esoterrack Pillar
tile.esoterrack.3.desc=Variant Esoterrack
tile.wardstone.0.desc=Wardstone
tile.wardstone.1.desc=Warded Bricks
tile.wardstone.2.desc=Warded Pillar
tile.wardstone.3.desc=Warded Slabs
tile.wardstone.4.desc=Chiseled Wardstone
tile.wardstone.5.desc=Warded Circle
tile.olivestone.0.desc=Chiseled Dunite
tile.olivestone.1.desc=Cracked Dunite Bricks
tile.olivestone.2.desc=Cracked Dunite Tiles
tile.olivestone.3.desc=Gilded Dunite
tile.olivestone.4.desc=Dunite Bricks
tile.olivestone.5.desc=Dunite Pillar
tile.olivestone.6.desc=Dunite Tiles
tile.olivestone.7.desc=Serpentinized Dunite
tile.viscera.0.desc=Entrails
tile.viscera.1.desc=Block of Rotten Flesh
tile.viscera.2.desc=Salmon Log
tile.viscera.3.desc=Cod Log
tile.abyssaline.0.desc=Abyssaline Bricks
tile.abyssaline.1.desc=Charged Abyssaline Bricks
tile.abyssaline.2.desc=Abyssaline Pillar
tile.abyssaline.3.desc=Charged Abyssaline Pillar
tile.abyssaline.4.desc=Abyssalline Chevrons
tile.abyssaline.5.desc=Charged Abyssalline Chevrons
tile.abyssaline.6.desc=Abyssaline Tiles
tile.abyssaline.7.desc=Charged Abyssaline Tiles
tile.abyssaline.8.desc=Abyssaline Plating
tile.abyssaline.9.desc=Charged Abyssaline Plating
tile.abyssaline.10.desc=Chiseled Abyssaline Bricks
tile.hadaline.0.desc=Hadaline Bricks
tile.hadaline.1.desc=Charged Hadaline Bricks
tile.hadaline.2.desc=Hadaline Pillar
tile.hadaline.3.desc=Charged Hadaline Pillar
tile.hadaline.4.desc=Hadalline Chevrons
tile.hadaline.5.desc=Charged Hadalline Chevrons
tile.hadaline.6.desc=Hadaline Tiles
tile.hadaline.7.desc=Charged Hadaline Tiles
tile.hadaline.8.desc=Hadaline Plating
tile.hadaline.9.desc=Charged Hadaline Plating
tile.hadaline.10.desc=Chiseled Hadaline Bricks
Binary file not shown.

After

Width:  |  Height:  |  Size: 288 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 328 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

@@ -0,0 +1,6 @@
{
"animation": {
"interpolate": true,
"frametime": 10
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 315 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 487 B

@@ -0,0 +1,6 @@
{
"animation": {
"interpolate": true,
"frametime": 10
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Loaded 100 of 424 files, more files were not shown because too many files have changed in this diff. Show more