Compare commits

...
13 Commits
Author SHA1 Message Date
shironakoushi cb87007dfd Localize the NEI recipe handler title (#115) 2026-11-24 16:04:11 +01:00
Algent 8318b6a614 Migrate to ForgeMultipart Java API (#114)
* Bump ForgeMultipart to 2.0.0

* Register torch part via IPartFactory2

* Require ForgeMultipart 2.0.0 when present
2026-11-22 19:54:08 +01:00
Alexdoru 143a01f6c2 fix world client leak in TileEntityAutoChisel (#110) 2026-11-20 21:54:45 +00:00
9c00a7d61f lots of building blocks + a large backport of architect's palette content (#95)
* more album blocks

* rocks and such

* spootless

* gemz

* gemz

* architect's palette

* spotle-who the hell is playing the goldship song

* optimize images

---------

Co-authored-by: Algent <[email protected]>
Co-authored-by: UltraProdigy <[email protected]>
2026-11-20 17:31:24 +01:00
DarkShadow44andboubou19 a431e2a65c Little Tiles support (#107)
* 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

---------

Co-authored-by: boubou19 <[email protected]>
2026-11-09 11:37:43 +00:00
UltraProdigy aa803a1e51 ci: run build and test on release branches 2026-11-09 01:42:52 -05:00
DreamYao520 d08e48b73b Fix chiseled glowstone metadata for Matter Manipulator copying (#106) 2026-10-03 23:56:58 -04:00
PLASMAchicken 3d3260cd71 fix(blocks): honor mob-spawn config on Waterstone/Lavastone/Sand (#104)
* fix(blocks): honor mob-spawn config on Waterstone/Lavastone

BlockMultiLayer implements ICarvable, so its item tooltip shows "Mobs
cannot Spawn on this Block" whenever canMobsSpawnOnTheChiselBlocks is
disabled, but unlike BlockCarvable it never overrode canCreatureSpawn,
so the setting was never actually enforced on Waterstone (and
Lavastone, which happened to mask the bug via its high light level
blocking hostile spawns).

Fixes GTNewHorizons/GT-New-Horizons-Modpack#26703

* fix(blocks): honor mob-spawn config on carvable Sand

Same root cause as Waterstone/Lavastone: BlockCarvableSand is a full
opaque block (Material.sand) implementing ICarvable, so it shows the
"Mobs cannot Spawn on this Block" tooltip whenever
canMobsSpawnOnTheChiselBlocks is disabled, but never overrode
canCreatureSpawn to actually enforce it.

Verified against the decompiled Forge source in build/rfg: unlike the
carvable Glass/Ice/PackedIce/Beacon blocks (which never reach
canCreatureSpawn at all because they fail the earlier solid-top-surface
check via a translucent material or renderAsNormalBlock=false), Sand
uses an opaque material with no such override, so it passes that check
and defaults canCreatureSpawn to true.
2026-09-09 08:27:21 +02:00
boubou19 ff70c8b2e3 Fix hex plating glow tint pollution from leaked ambient occlusion state (#101) 2026-08-09 16:59:25 +07:00
Jason Mitchell c1ac213eab Maybe more thread safe renderpass (#100) 2026-07-22 15:30:06 -07:00
UltraProdigyandRanzu 54c339e03e cast it up (#99)
Co-authored-by: Ranzu <[email protected]>
2026-07-08 12:14:03 -04:00
George PatonandUltraProdigy d34cd0445a turn road blocks into concrete to apply speed boost (#96)
Co-authored-by: UltraProdigy <[email protected]>
2026-07-08 07:52:44 +00:00
UltraProdigy 8655f8b0a8 Add reminder to review contribution guidelines (#98) 2026-07-04 20:56:31 +02:00
453 changed files with 1554 additions and 175 deletions

No files matched your search

+2 -2
View File
@@ -3,9 +3,9 @@ name: Build and test
on: on:
pull_request: pull_request:
branches: [ master, main ] branches: [ master, main, release/** ]
push: push:
branches: [ master, main ] branches: [ master, main, release/** ]
jobs: jobs:
build-and-test: build-and-test:
+1
View File
@@ -1,5 +1,6 @@
Contributing Contributing
============ ============
Before contributing, make sure you're familiar with the [GT:NH Contribution Guidelines](https://github.com/GTNewHorizons/.github/blob/master/CONTRIBUTING.md)
___ ___
Setting up a Development Environment Setting up a Development Environment
------------------------------------ ------------------------------------
+1 -1
View File
@@ -3,7 +3,7 @@
dependencies { dependencies {
implementation("com.github.GTNewHorizons:CodeChickenCore:1.4.12:dev") implementation("com.github.GTNewHorizons:CodeChickenCore:1.4.12:dev")
implementation("com.github.GTNewHorizons:NotEnoughItems:2.8.84-GTNH:dev") implementation("com.github.GTNewHorizons:NotEnoughItems:2.8.84-GTNH:dev")
implementation("com.github.GTNewHorizons:ForgeMultipart:1.7.3:dev") implementation("com.github.GTNewHorizons:ForgeMultipart:2.0.0:dev")
compileOnly("org.projectlombok:lombok:1.18.24") compileOnly("org.projectlombok:lombok:1.18.24")
annotationProcessor("org.projectlombok:lombok:1.18.24") annotationProcessor("org.projectlombok:lombok:1.18.24")
@@ -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. * @return The metadata of your facade block.
*/ */
int getFacadeMetadata(IBlockAccess world, int x, int y, int z, int side); 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(); return data.getRight();
Block block = world.getBlock(x, y, z); Block block = world.getBlock(x, y, z);
boolean topConnected = 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, block, meta); boolean botConnected = ctm.isConnected(world, x, y - 1, z, side, x, y, z, block, meta);
TextureSubmap map = data.getLeft(); TextureSubmap map = data.getLeft();
if (topConnected && botConnected) if (topConnected && botConnected)
@@ -142,11 +142,11 @@ public enum TextureType {
boolean reverse = side == 3 || side == 4; boolean reverse = side == 3 || side == 4;
if (side < 4) { if (side < 4) {
p = 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, block, meta); n = ctm.isConnected(world, x + 1, y, z, side, x, y, z, block, meta);
} else { } else {
p = 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, block, meta); n = ctm.isConnected(world, x, y, z + 1, side, x, y, z, block, meta);
} }
TextureSubmap map = data.getLeft(); TextureSubmap map = data.getLeft();
@@ -88,6 +88,7 @@ public class BlockNameConversion {
namingConversion.put("blockFft", "fantasyblock"); namingConversion.put("blockFft", "fantasyblock");
namingConversion.put("blockCarpetFloor", "carpet"); namingConversion.put("blockCarpetFloor", "carpet");
namingConversion.put("blockLaboratory", "laboratoryblock"); namingConversion.put("blockLaboratory", "laboratoryblock");
namingConversion.put("wroughtironblock", "castironblock");
} }
public static Item findItem(String oldname) { public static Item findItem(String oldname) {
+1 -1
View File
@@ -57,7 +57,7 @@ import team.chisel.world.GeneratorChisel;
name = Chisel.MOD_NAME, name = Chisel.MOD_NAME,
version = Chisel.VERSION, version = Chisel.VERSION,
guiFactory = "team.chisel.client.gui.GuiFactory", guiFactory = "team.chisel.client.gui.GuiFactory",
dependencies = "after:EE3;after:ForgeMultipart;after:Thaumcraft;after:appliedenergistics2;after:Railcraft;after:AWWayofTime;after:TwilightForest;after:BiomesOPlenty") dependencies = "after:EE3;after:ForgeMultipart@[2.0.0,);after:Thaumcraft;after:appliedenergistics2;after:Railcraft;after:AWWayofTime;after:TwilightForest;after:BiomesOPlenty")
public class Chisel { public class Chisel {
public static final String MOD_ID = "chisel"; public static final String MOD_ID = "chisel";
+859 -26
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.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.12.desc", 12, "diamond/terrain-diamond-ornatelayer");
diamond_block.carverHelper.addVariation("tile.diamond.13.desc", 13, "diamond/modern"); 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"); diamond_block.carverHelper.registerAll(diamond_block, "diamond_block");
Carving.chisel.registerOre("diamond_block", "blockDiamond"); 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.10.desc", 10, "emerald/fourornate");
emerald_block.carverHelper.addVariation("tile.emerald.11.desc", 11, "emerald/ornate"); 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.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"); emerald_block.carverHelper.registerAll(emerald_block, "emerald_block");
Carving.chisel.registerOre("emerald_block", "emerald"); Carving.chisel.registerOre("emerald_block", "emerald");
} }
@@ -3520,6 +3525,9 @@ public enum Features {
.addVariation("tile.sandstone.16.desc", 0, "sandstone2/terrain-sandstone-brickflat", 19); .addVariation("tile.sandstone.16.desc", 0, "sandstone2/terrain-sandstone-brickflat", 19);
sandstone2.carverHelper sandstone2.carverHelper
.addVariation("tile.sandstone.17.desc", 1, "sandstone2/a0-sandstonepreview-smoothflat", 20); .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.registerBlock(sandstone2, "sandstone2");
sandstone2.carverHelper.registerVariations("sandstone"); 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.3.desc", 3, "lantern/soullantern");
lantern.carverHelper.addVariation("tile.lantern.4.desc", 4, "lantern/cursedlantern"); 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.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"); lantern.carverHelper.registerAll(lantern, "lantern");
} }
@@ -4812,33 +4830,25 @@ public enum Features {
Carving.chisel.registerOre("platinumblock", "blockPlatinum"); Carving.chisel.registerOre("platinumblock", "blockPlatinum");
} }
}, },
WROUGHT_IRON { CAST_IRON {
@Override @Override
void addBlocks() { void addBlocks() {
BlockCarvable wrought_iron = (BlockCarvable) new BlockBeaconBase(Material.iron) BlockCarvable cast_iron = (BlockCarvable) new BlockBeaconBase(Material.iron)
.setStepSound(Block.soundTypeMetal) .setStepSound(Block.soundTypeMetal)
.setCreativeTab(ChiselTabs.tabModdedChiselBlocks) .setCreativeTab(ChiselTabs.tabModdedChiselBlocks)
.setHardness(5F) .setHardness(5F)
.setResistance(10F); .setResistance(10F);
wrought_iron.carverHelper cast_iron.carverHelper.addVariation("tile.newmetalOre.0.desc", 0, "metals/cast_iron/cast_iron_0", 0);
.addVariation("tile.newmetalOre.0.desc", 0, "metals/wrought_iron/wrought_iron_0", 0); cast_iron.carverHelper.addVariation("tile.newmetalOre.1.desc", 1, "metals/cast_iron/cast_iron_1", 1);
wrought_iron.carverHelper cast_iron.carverHelper.addVariation("tile.newetalOre.2.desc", 2, "metals/cast_iron/cast_iron_2", 2);
.addVariation("tile.newmetalOre.1.desc", 1, "metals/wrought_iron/wrought_iron_1", 1); cast_iron.carverHelper.addVariation("tile.newetalOre.3.desc", 3, "metals/cast_iron/cast_iron_3", 3);
wrought_iron.carverHelper cast_iron.carverHelper.addVariation("tile.newetalOre.4.desc", 4, "metals/cast_iron/cast_iron_4", 4);
.addVariation("tile.newetalOre.2.desc", 2, "metals/wrought_iron/wrought_iron_2", 2); cast_iron.carverHelper.addVariation("tile.newetalOre.5.desc", 5, "metals/cast_iron/cast_iron_5", 5);
wrought_iron.carverHelper cast_iron.carverHelper.addVariation("tile.newetalOre.6.desc", 6, "metals/cast_iron/cast_iron_6", 6);
.addVariation("tile.newetalOre.3.desc", 3, "metals/wrought_iron/wrought_iron_3", 3); cast_iron.carverHelper.addVariation("tile.newetalOre.7.desc", 7, "metals/cast_iron/cast_iron_7", 6);
wrought_iron.carverHelper cast_iron.carverHelper.registerAll(cast_iron, "castironblock");
.addVariation("tile.newetalOre.4.desc", 4, "metals/wrought_iron/wrought_iron_4", 4); Carving.chisel.registerOre("castironblock", "blockCastIron");
wrought_iron.carverHelper
.addVariation("tile.newetalOre.5.desc", 5, "metals/wrought_iron/wrought_iron_5", 5);
wrought_iron.carverHelper
.addVariation("tile.newetalOre.6.desc", 6, "metals/wrought_iron/wrought_iron_6", 6);
wrought_iron.carverHelper
.addVariation("tile.newetalOre.7.desc", 7, "metals/wrought_iron/wrought_iron_7", 6);
wrought_iron.carverHelper.registerAll(wrought_iron, "wroughtironblock");
Carving.chisel.registerOre("wroughtironblock", "blockWroughtIron");
} }
}, },
TITANIUM { TITANIUM {
@@ -5026,6 +5036,22 @@ public enum Features {
coral.carverHelper.addVariation("tile.coral.13.desc", 13, "coral/horn_coral_bricks", 13); 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.14.desc", 14, "coral/tube_coral_bricks", 14);
coral.carverHelper.addVariation("tile.coral.15.desc", 15, "coral/dead_coral_bricks", 15); 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"); coral.carverHelper.registerAll(coral, "coral");
Carving.chisel.registerOre("coral", "blockCoral"); Carving.chisel.registerOre("coral", "blockCoral");
} }
@@ -5111,9 +5137,45 @@ public enum Features {
albumblock2.carverHelper.addVariation("tile.album2.16.desc", 0, "album/cork_tree"); 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.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.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.registerBlock(albumblock2, "albumblock2");
albumblock2.carverHelper.registerVariations("albumblock"); 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"); albumblock.carverHelper.registerAll(albumblock, "albumblock");
Carving.chisel.registerOre("albumblock", "albumblock"); Carving.chisel.registerOre("albumblock", "albumblock");
} }
@@ -5247,11 +5309,781 @@ 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 { ROAD {
@Override @Override
void addBlocks() { void addBlocks() {
BlockCarvable road = (BlockCarvable) new BlockCarvable(Material.wood).setStepSound(Block.soundTypeWood) BlockCarvable road = (BlockCarvable) new BlockConcrete().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabModdedChiselBlocks) .setCreativeTab(ChiselTabs.tabModdedChiselBlocks)
.setHardness(5F) .setHardness(5F)
.setResistance(10F); .setResistance(10F);
@@ -5272,7 +6104,7 @@ public enum Features {
road.carverHelper.addVariation("tile.road.14.desc", 14, "road/lined_white"); road.carverHelper.addVariation("tile.road.14.desc", 14, "road/lined_white");
road.carverHelper.addVariation("tile.road.15.desc", 15, "road/outline_white"); road.carverHelper.addVariation("tile.road.15.desc", 15, "road/outline_white");
BlockCarvable road2 = (BlockCarvable) new BlockCarvable(Material.wood).setStepSound(Block.soundTypeWood) BlockCarvable road2 = (BlockCarvable) new BlockConcrete().setStepSound(Block.soundTypeStone)
.setCreativeTab(ChiselTabs.tabModdedChiselBlocks) .setCreativeTab(ChiselTabs.tabModdedChiselBlocks)
.setHardness(5F) .setHardness(5F)
.setResistance(10F); .setResistance(10F);
@@ -5313,6 +6145,7 @@ public enum Features {
} }
}; };
public static final Features[] VALUES = values();
private static final String[] dyeOres = { "dyeBlack", "dyeRed", "dyeGreen", "dyeBrown", "dyeBlue", "dyePurple", private static final String[] dyeOres = { "dyeBlack", "dyeRed", "dyeGreen", "dyeBrown", "dyeBlue", "dyePurple",
"dyeCyan", "dyeLightGray", "dyeGray", "dyePink", "dyeLime", "dyeYellow", "dyeLightBlue", "dyeMagenta", "dyeCyan", "dyeLightGray", "dyeGray", "dyePink", "dyeLime", "dyeYellow", "dyeLightBlue", "dyeMagenta",
"dyeOrange", "dyeWhite" }; "dyeOrange", "dyeWhite" };
@@ -5328,7 +6161,7 @@ public enum Features {
private static void loadBlocks() { private static void loadBlocks() {
Chisel.logger.info("Loading blocks..."); Chisel.logger.info("Loading blocks...");
int num = 0; int num = 0;
for (Features f : values()) { for (Features f : VALUES) {
if (f.enabled()) { if (f.enabled()) {
f.addBlocks(); f.addBlocks();
++num; ++num;
@@ -5345,7 +6178,7 @@ public enum Features {
private static void loadItems() { private static void loadItems() {
Chisel.logger.info("Loading items..."); Chisel.logger.info("Loading items...");
int num = 0; int num = 0;
for (Features f : values()) { for (Features f : VALUES) {
if (f.enabled()) { if (f.enabled()) {
f.addItems(); f.addItems();
++num; ++num;
@@ -5359,7 +6192,7 @@ public enum Features {
private static void loadRecipes() { private static void loadRecipes() {
Chisel.logger.info("Loading recipes..."); Chisel.logger.info("Loading recipes...");
int num = 0; int num = 0;
for (Features f : values()) { for (Features f : VALUES) {
if (f.enabled()) { if (f.enabled()) {
if (f.needsMetaRecipes()) { if (f.needsMetaRecipes()) {
for (int i = 0; i < 16; i++) { for (int i = 0; i < 16; i++) {
@@ -5395,7 +6228,7 @@ public enum Features {
} }
public static boolean oneModdedFeatureLoaded() { public static boolean oneModdedFeatureLoaded() {
for (Features f : values()) { for (Features f : VALUES) {
if (f.hasRequiredMod()) { if (f.hasRequiredMod()) {
return true; return true;
} }
@@ -33,6 +33,11 @@ public class BlockCarvableGlowstone extends BlockCarvable {
return 0; return 0;
} }
@Override
public int getDamageValue(World world, int x, int y, int z) {
return world.getBlockMetadata(x, y, z);
}
@Override @Override
public ItemStack getPickBlock(MovingObjectPosition target, World world, int x, int y, int z, EntityPlayer player) { public ItemStack getPickBlock(MovingObjectPosition target, World world, int x, int y, int z, EntityPlayer player) {
Block glowstone = world.getBlock(x, y, z); Block glowstone = world.getBlock(x, y, z);
@@ -6,6 +6,7 @@ import net.minecraft.block.Block;
import net.minecraft.block.BlockSand; import net.minecraft.block.BlockSand;
import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs; import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.item.Item; import net.minecraft.item.Item;
import net.minecraft.util.IIcon; import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess; import net.minecraft.world.IBlockAccess;
@@ -19,6 +20,7 @@ import com.cricketcraft.chisel.api.rendering.ClientUtils;
import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly; import cpw.mods.fml.relauncher.SideOnly;
import team.chisel.Chisel; import team.chisel.Chisel;
import team.chisel.config.Configurations;
public class BlockCarvableSand extends BlockSand implements ICarvable { public class BlockCarvableSand extends BlockSand implements ICarvable {
@@ -83,6 +85,11 @@ public class BlockCarvableSand extends BlockSand implements ICarvable {
return carverHelper.getVariation(meta); return carverHelper.getVariation(meta);
} }
@Override
public boolean canCreatureSpawn(EnumCreatureType type, IBlockAccess world, int x, int y, int z) {
return Configurations.canMobsSpawnOnTheChiselBlocks;
}
public static class SoundType extends Block.SoundType { public static class SoundType extends Block.SoundType {
public final String soundNameStep; public final String soundNameStep;
@@ -6,6 +6,7 @@ import net.minecraft.block.Block;
import net.minecraft.block.material.Material; import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs; import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.item.Item; import net.minecraft.item.Item;
import net.minecraft.util.IIcon; import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess; import net.minecraft.world.IBlockAccess;
@@ -14,6 +15,8 @@ import com.cricketcraft.chisel.api.ICarvable;
import com.cricketcraft.chisel.api.carving.CarvableHelper; import com.cricketcraft.chisel.api.carving.CarvableHelper;
import com.cricketcraft.chisel.api.carving.IVariationInfo; import com.cricketcraft.chisel.api.carving.IVariationInfo;
import team.chisel.config.Configurations;
public class BlockMultiLayer extends BlockMultiLayerBase implements ICarvable { public class BlockMultiLayer extends BlockMultiLayerBase implements ICarvable {
public CarvableHelper carverHelper; public CarvableHelper carverHelper;
@@ -62,4 +65,9 @@ public class BlockMultiLayer extends BlockMultiLayerBase implements ICarvable {
public IVariationInfo getManager(int meta) { public IVariationInfo getManager(int meta) {
return carverHelper.getVariation(meta); return carverHelper.getVariation(meta);
} }
@Override
public boolean canCreatureSpawn(EnumCreatureType type, IBlockAccess world, int x, int y, int z) {
return Configurations.canMobsSpawnOnTheChiselBlocks;
}
} }
@@ -4,7 +4,6 @@ import net.minecraft.block.Block;
import net.minecraft.block.material.Material; import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.util.IIcon; import net.minecraft.util.IIcon;
import net.minecraftforge.client.ForgeHooksClient;
import team.chisel.client.render.RendererMultiLayer; import team.chisel.client.render.RendererMultiLayer;
@@ -43,7 +42,6 @@ public abstract class BlockMultiLayerBase extends Block {
@Override @Override
public boolean canRenderInPass(int pass) { public boolean canRenderInPass(int pass) {
ForgeHooksClient.setRenderPass(pass);
return pass == 1 || pass == 0; return pass == 1 || pass == 0;
} }
@@ -2,7 +2,6 @@ package team.chisel.block.tileentity;
import java.util.List; import java.util.List;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.ISidedInventory; import net.minecraft.inventory.ISidedInventory;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
@@ -37,6 +36,8 @@ public class TileEntityAutoChisel extends TileEntity implements ISidedInventory
STACK, STACK,
REVERSION; REVERSION;
public static final Upgrade[] VALUES = values();
public String getUnlocalizedName() { public String getUnlocalizedName() {
if (Features.AUTO_CHISEL_UPGRADES.enabled()) { if (Features.AUTO_CHISEL_UPGRADES.enabled()) {
return "item.upgrade_" + this.name() return "item.upgrade_" + this.name()
@@ -62,7 +63,6 @@ public class TileEntityAutoChisel extends TileEntity implements ISidedInventory
private int progress = 0; private int progress = 0;
private static EntityItem ghostItem;
boolean equal = false; boolean equal = false;
private ItemStack[] inventory = new ItemStack[8]; private ItemStack[] inventory = new ItemStack[8];
private String name = "autoChisel"; private String name = "autoChisel";
@@ -380,7 +380,7 @@ public class TileEntityAutoChisel extends TileEntity implements ISidedInventory
return itemStack.getItem() instanceof IChiselItem; return itemStack.getItem() instanceof IChiselItem;
default: default:
return Features.AUTO_CHISEL_UPGRADES.enabled() && itemStack.getItem() == ChiselItems.upgrade return Features.AUTO_CHISEL_UPGRADES.enabled() && itemStack.getItem() == ChiselItems.upgrade
&& Upgrade.values()[slot - MIN_UPGRADE].ordinal() == itemStack.getItemDamage(); && Upgrade.VALUES[slot - MIN_UPGRADE].ordinal() == itemStack.getItemDamage();
} }
} }
@@ -405,27 +405,15 @@ public class TileEntityAutoChisel extends TileEntity implements ISidedInventory
} }
@SideOnly(Side.CLIENT) @SideOnly(Side.CLIENT)
public EntityItem getItemForRendering(int slot) { public ItemStack getItemForRendering(int slot) {
if (ghostItem == null) {
ghostItem = new EntityItem(worldObj);
ghostItem.hoverStart = 0.0F;
}
if (slot == BASE && lastBase != null) { if (slot == BASE && lastBase != null) {
ghostItem.setEntityItemStack(lastBase.copy()); return lastBase.copy();
return ghostItem;
} else if (slot == TARGET) { } else if (slot == TARGET) {
ItemStack target = getTarget(); return getTarget();
if (target != null) {
ghostItem.setEntityItemStack(target);
return ghostItem;
}
return null;
} else if (inventory[slot] == null) { } else if (inventory[slot] == null) {
return null; return null;
} else { } else {
ghostItem.setEntityItemStack(inventory[slot].copy()); return inventory[slot].copy();
return ghostItem;
} }
} }
@@ -465,7 +453,7 @@ public class TileEntityAutoChisel extends TileEntity implements ISidedInventory
String unloc = name == null ? null : String.format(base, name); String unloc = name == null ? null : String.format(base, name);
return StatCollector.translateToLocal(unloc); return StatCollector.translateToLocal(unloc);
} else { } else {
return Upgrade.values()[slotNumber - MIN_UPGRADE].getLocalizedName(); return Upgrade.VALUES[slotNumber - MIN_UPGRADE].getLocalizedName();
} }
} }
@@ -40,13 +40,28 @@ public class RendererLayeredGlow implements ISimpleBlockRenderingHandler {
public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId, public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId,
RenderBlocks renderer) { RenderBlocks renderer) {
final Tessellator tessellator = Tessellator.instance; final Tessellator tessellator = Tessellator.instance;
tessellator.setColorOpaque_I(Configurations.configColors[world.getBlockMetadata(x, y, z)]); final boolean prevEnableAO = renderer.enableAO;
final int tint = Configurations.configColors[world.getBlockMetadata(x, y, z)];
tessellator.setColorOpaque_I(tint);
tessellator.setBrightness(0xF000F0); tessellator.setBrightness(0xF000F0);
setFullbrightColor(renderer, tint);
Drawing.renderAllFaces(renderer, block, x, y, z, ((BlockCarvableGlow) block).getGlowTexture()); Drawing.renderAllFaces(renderer, block, x, y, z, ((BlockCarvableGlow) block).getGlowTexture());
renderer.enableAO = prevEnableAO;
renderer.renderStandardBlock(block, x, y, z); renderer.renderStandardBlock(block, x, y, z);
return true; return true;
} }
private static void setFullbrightColor(RenderBlocks renderer, int color) {
final float r = (color >> 16 & 255) / 255.0F;
final float g = (color >> 8 & 255) / 255.0F;
final float b = (color & 255) / 255.0F;
renderer.enableAO = true;
renderer.colorRedTopLeft = renderer.colorRedBottomLeft = renderer.colorRedBottomRight = renderer.colorRedTopRight = r;
renderer.colorGreenTopLeft = renderer.colorGreenBottomLeft = renderer.colorGreenBottomRight = renderer.colorGreenTopRight = g;
renderer.colorBlueTopLeft = renderer.colorBlueBottomLeft = renderer.colorBlueBottomRight = renderer.colorBlueTopRight = b;
renderer.brightnessTopLeft = renderer.brightnessBottomLeft = renderer.brightnessTopRight = renderer.brightnessBottomRight = 0xF000F0;
}
@Override @Override
public boolean shouldRender3DInInventory(int modelId) { public boolean shouldRender3DInInventory(int modelId) {
return true; return true;
@@ -14,7 +14,7 @@ import net.minecraft.block.Block;
import net.minecraft.client.renderer.RenderBlocks; import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.init.Blocks; import net.minecraft.init.Blocks;
import net.minecraft.world.IBlockAccess; import net.minecraft.world.IBlockAccess;
import net.minecraftforge.client.MinecraftForgeClient; import net.minecraftforge.client.ForgeHooksClient;
import com.gtnewhorizons.angelica.api.ThreadSafeISBRH; import com.gtnewhorizons.angelica.api.ThreadSafeISBRH;
@@ -57,7 +57,7 @@ public class RendererMultiLayer implements ISimpleBlockRenderingHandler {
RenderBlocks renderer) { RenderBlocks renderer) {
if (!(blck instanceof BlockMultiLayerBase block)) return false; if (!(blck instanceof BlockMultiLayerBase block)) return false;
if (MinecraftForgeClient.getRenderPass() == 0) { if (ForgeHooksClient.getWorldRenderPass() == 0) {
if (block.icon != null) { if (block.icon != null) {
renderer.overrideBlockTexture = block.icon; renderer.overrideBlockTexture = block.icon;
renderer.renderStandardBlock(block, x, y, z); renderer.renderStandardBlock(block, x, y, z);
@@ -27,6 +27,7 @@ import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.client.settings.GameSettings; import net.minecraft.client.settings.GameSettings;
import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.item.EntityItem;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity; import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.IIcon; import net.minecraft.util.IIcon;
@@ -160,66 +161,83 @@ public class RenderAutoChisel extends TileEntitySpecialRenderer implements ISimp
} }
private static final Random rand = new Random(); private static final Random rand = new Random();
private final EntityItem entityItem = new EntityItem(null, 0, 0, 0, new ItemStack(Items.apple));
@Override @Override
public void renderTileEntityAt(TileEntity tile, double x, double y, double z, float scale) { public void renderTileEntityAt(TileEntity tile, double x, double y, double z, float scale) {
// Render Blocks // Render Blocks
TileEntityAutoChisel autoChisel = (TileEntityAutoChisel) tile; try {
EntityItem item = autoChisel.getItemForRendering(TileEntityAutoChisel.TARGET); this.entityItem.setWorld(tile.getWorldObj());
TileEntityAutoChisel autoChisel = (TileEntityAutoChisel) tile;
EntityItem item = this.getItemForRendering(autoChisel, TileEntityAutoChisel.TARGET);
rand.setSeed(tile.xCoord + tile.yCoord + tile.zCoord); rand.setSeed(tile.xCoord + tile.yCoord + tile.zCoord);
rand.nextBoolean(); rand.nextBoolean();
float max = 0.35f; float max = 0.35f;
if (!Minecraft.getMinecraft() if (!Minecraft.getMinecraft()
.isGamePaused()) { .isGamePaused()) {
autoChisel.xRot += (rand.nextFloat() * max) - (max / 2); autoChisel.xRot += (rand.nextFloat() * max) - (max / 2);
autoChisel.yRot += (rand.nextFloat() * max) - (max / 2); autoChisel.yRot += (rand.nextFloat() * max) - (max / 2);
autoChisel.zRot += (rand.nextFloat() * max) - (max / 2); autoChisel.zRot += (rand.nextFloat() * max) - (max / 2);
} }
if (item != null) { if (item != null) {
glPushMatrix(); glPushMatrix();
glPushAttrib(GL_ALL_ATTRIB_BITS); glPushAttrib(GL_ALL_ATTRIB_BITS);
glTranslated(x + 0.5, y + 1.5, z + 0.5); glTranslated(x + 0.5, y + 1.5, z + 0.5);
glRotatef(autoChisel.xRot, 1, 0, 0); glRotatef(autoChisel.xRot, 1, 0, 0);
glRotatef(autoChisel.yRot, 0, 1, 0); glRotatef(autoChisel.yRot, 0, 1, 0);
glRotatef(autoChisel.zRot, 0, 0, 1); glRotatef(autoChisel.zRot, 0, 0, 1);
glEnable(GL_BLEND); glEnable(GL_BLEND);
glDepthMask(false); glDepthMask(false);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA);
renderItem.doRender(item, 0, 0, 0, 0, 0); renderItem.doRender(item, 0, 0, 0, 0, 0);
glPopMatrix(); glPopMatrix();
glPopAttrib(); glPopAttrib();
} }
item = autoChisel.getItemForRendering(TileEntityAutoChisel.BASE); item = this.getItemForRendering(autoChisel, TileEntityAutoChisel.BASE);
if (item != null) { if (item != null) {
glPushMatrix(); glPushMatrix();
glTranslated(x + 0.35, y + 0.934, z + 0.5); glTranslated(x + 0.35, y + 0.934, z + 0.5);
item.getEntityItem().stackSize = autoChisel.getLastBase() == null ? 1 : autoChisel.getLastBase().stackSize; item.getEntityItem().stackSize = autoChisel.getLastBase() == null ? 1
renderItem.doRender(item, 0, 0, 0, 0, 0); : autoChisel.getLastBase().stackSize;
glPopMatrix(); renderItem.doRender(item, 0, 0, 0, 0, 0);
} glPopMatrix();
}
GameSettings settings = Minecraft.getMinecraft().gameSettings; GameSettings settings = Minecraft.getMinecraft().gameSettings;
item = autoChisel.getItemForRendering(TileEntityAutoChisel.CHISEL); item = this.getItemForRendering(autoChisel, TileEntityAutoChisel.CHISEL);
if (item != null) { if (item != null) {
glPushMatrix(); glPushMatrix();
glTranslated(x + 0.7, y + 1.01, z + 0.5); glTranslated(x + 0.7, y + 1.01, z + 0.5);
float rot = autoChisel.chiselRot == 0 ? 0 float rot = autoChisel.chiselRot == 0 ? 0
: autoChisel.chiseling ? autoChisel.chiselRot + (TileEntityAutoChisel.rotAmnt * scale) : autoChisel.chiseling ? autoChisel.chiselRot + (TileEntityAutoChisel.rotAmnt * scale)
: autoChisel.chiselRot - (TileEntityAutoChisel.rotAmnt * scale); : autoChisel.chiselRot - (TileEntityAutoChisel.rotAmnt * scale);
glRotatef(rot, 0, 0, 1); glRotatef(rot, 0, 0, 1);
glTranslated(-0.12, 0, 0); glTranslated(-0.12, 0, 0);
glScalef(0.9f, 0.9f, 0.9f); glScalef(0.9f, 0.9f, 0.9f);
boolean was = settings.fancyGraphics; boolean was = settings.fancyGraphics;
settings.fancyGraphics = true; settings.fancyGraphics = true;
renderItem.doRender(item, 0, 0, 0, 0, 0); renderItem.doRender(item, 0, 0, 0, 0, 0);
settings.fancyGraphics = was; settings.fancyGraphics = was;
glPopMatrix(); glPopMatrix();
}
} finally {
this.entityItem.setWorld(null);
} }
} }
private EntityItem getItemForRendering(TileEntityAutoChisel autoChisel, int slot) {
final ItemStack stack = autoChisel.getItemForRendering(slot);
if (stack != null) {
this.entityItem.setEntityItemStack(stack);
return this.entityItem;
}
return null;
}
} }
@@ -1,25 +1,27 @@
package team.chisel.compat.fmp; package team.chisel.compat.fmp;
import net.minecraft.block.Block; import net.minecraft.block.Block;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World; import net.minecraft.world.World;
import com.cricketcraft.chisel.api.carving.IVariationInfo; import com.cricketcraft.chisel.api.carving.IVariationInfo;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import codechicken.lib.data.MCDataInput;
import codechicken.lib.vec.BlockCoord; import codechicken.lib.vec.BlockCoord;
import codechicken.microblock.MicroMaterialRegistry; import codechicken.microblock.MicroMaterialRegistry;
import codechicken.multipart.MultiPartRegistry; import codechicken.multipart.MultiPartRegistry;
import codechicken.multipart.MultiPartRegistry.IPartConverter; import codechicken.multipart.MultiPartRegistry.IPartConverter;
import codechicken.multipart.MultiPartRegistry.IPartFactory; import codechicken.multipart.MultiPartRegistry.IPartFactory2;
import codechicken.multipart.TMultiPart; import codechicken.multipart.TMultiPart;
import team.chisel.client.render.FullBrightMicroMaterial; import team.chisel.client.render.FullBrightMicroMaterial;
import team.chisel.init.ChiselBlocks; import team.chisel.init.ChiselBlocks;
public class FMPCompat implements IPartFactory, IPartConverter { public class FMPCompat implements IPartFactory2, IPartConverter {
public void init() { public void init() {
MultiPartRegistry.registerConverter(this); MultiPartRegistry.registerConverter(this);
MultiPartRegistry.registerParts(this, new String[] { "chisel_torch" }); MultiPartRegistry.registerPartFactory(this, "chisel_torch");
} }
@Override @Override
@@ -39,7 +41,21 @@ public class FMPCompat implements IPartFactory, IPartConverter {
} }
@Override @Override
public TMultiPart createPart(String type, boolean client) { public TMultiPart createPart(String type, NBTTagCompound nbt) {
return newPart(type);
}
@Override
public TMultiPart createPart(String type, MCDataInput packet) {
return newPart(type);
}
@Override
public TMultiPart createPartForClientPreview(String type, NBTTagCompound nbt) {
return newPart(type);
}
private static TMultiPart newPart(String type) {
if (type.equals("chisel_torch")) { if (type.equals("chisel_torch")) {
return new PartChiselTorch(); return new PartChiselTorch();
} }
@@ -7,6 +7,7 @@ import java.util.List;
import net.minecraft.client.gui.inventory.GuiContainer; import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import net.minecraft.util.StatCollector;
import net.minecraftforge.oredict.OreDictionary; import net.minecraftforge.oredict.OreDictionary;
import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL11;
@@ -76,7 +77,7 @@ public class RecipeHandlerChisel extends TemplateRecipeHandler {
@Override @Override
public String getRecipeName() { public String getRecipeName() {
return "Chisel"; return StatCollector.translateToLocal("chisel.nei.title");
} }
@Override @Override
@@ -303,7 +303,7 @@ public class Configurations {
} }
/* features */ /* features */
for (Features feature : Features.values()) { for (Features feature : Features.VALUES) {
features.put( features.put(
featureName(feature), featureName(feature),
config.get("features", featureName(feature), true) config.get("features", featureName(feature), true)
+78 -24
View File
@@ -16,6 +16,7 @@ import net.minecraft.world.IBlockAccess;
import net.minecraftforge.common.util.ForgeDirection; import net.minecraftforge.common.util.ForgeDirection;
import com.cricketcraft.chisel.api.IConnectable; import com.cricketcraft.chisel.api.IConnectable;
import com.cricketcraft.chisel.api.IConnectionAccess;
import com.cricketcraft.chisel.api.IFacade; import com.cricketcraft.chisel.api.IFacade;
import com.google.common.base.Optional; import com.google.common.base.Optional;
import com.google.common.collect.Maps; 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 world
* @param x The x coordinate of the block to check <i>against</i>. This is not the position of your block. * @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 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 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 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 fromX The x coordinate of your block, the block being rendered.
* @param meta The metadata to check against for connection. * @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. * @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]; 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 world
* @param x The x coordinate of the block to check <i>against</i>. This is not the position of your block. * @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 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 * @param dir The {@link ForgeDirection side} of the block to check for connection status. This is <i>not</i> the
* direction to check in. * direction to check in.
* @param block The block to check against for connection. * @param fromX The x coordinate of your block, the block being rendered.
* @param meta The metadata to check against for connection. * @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. * @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())) { if (CTMLib.chiselLoaded() && connectionBlocked(world, x, y, z, dir.ordinal())) {
return false; 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 x2 = x + dir.offsetX;
int y2 = y + dir.offsetY; int y2 = y + dir.offsetY;
int z2 = z + dir.offsetZ; 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()); private boolean matchesAccess(IBlockAccess world, int x, int y, int z, int side, int fromX, int fromY, int fromZ,
Block obscuring = disableObscured ? null : getBlockOrFacade(world, x2, y2, z2, dir.ordinal()); 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 // no block or a bad API user
if (con == null) { if (con == null) {
return false; return false;
} }
boolean ret = con.equals(block) && getBlockOrFacadeMetadata(world, x, y, z, dir.ordinal()) == meta; return con.equals(block) && getFacadeMeta(blk, world, x, y, z, side, fromX, fromY, fromZ, block, meta) == 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;
} }
private boolean connectionBlocked(IBlockAccess world, int x, int y, int z, int side) { private boolean connectionBlocked(IBlockAccess world, int x, int y, int z, int side) {
@@ -310,4 +348,20 @@ public class CTM {
} }
return blk; 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) { public boolean isConnected(CTM inst, IBlockAccess world, int x, int y, int z, int sideIdx, Block block, int meta) {
ForgeDirection side = getOrientation(sideIdx); ForgeDirection side = getOrientation(sideIdx);
ForgeDirection[] dirs = getNormalizedDirs(side); ForgeDirection[] dirs = getNormalizedDirs(side);
int fromX = x;
int fromY = y;
int fromZ = z;
for (ForgeDirection dir : dirs) { for (ForgeDirection dir : dirs) {
x += dir.offsetX; x += dir.offsetX;
y += dir.offsetY; y += dir.offsetY;
z += dir.offsetZ; 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) { private ForgeDirection[] getNormalizedDirs(ForgeDirection normal) {
@@ -58,6 +58,8 @@ import net.minecraft.client.renderer.Tessellator;
import net.minecraft.util.IIcon; import net.minecraft.util.IIcon;
import net.minecraftforge.common.util.ForgeDirection; import net.minecraftforge.common.util.ForgeDirection;
import com.cricketcraft.chisel.api.IConnectionAccess;
import lombok.Getter; import lombok.Getter;
public class RenderBlocksCTM extends RenderBlocks { public class RenderBlocksCTM extends RenderBlocks {
@@ -110,8 +112,13 @@ public class RenderBlocksCTM extends RenderBlocks {
this.z = z; 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 Tessellator tessellator = Tessellator.instance;
final ForgeDirection normal = side.normal;
if (inst.enableAO) { if (inst.enableAO) {
tessellator.setColorOpaque_F(inst.redCache[cacheID], inst.grnCache[cacheID], inst.bluCache[cacheID]); 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 u = cacheID == 1 || cacheID == 2 ? inst.maxU : inst.minU;
double v = cacheID < 2 ? inst.maxV : inst.minV; 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 uDiff = inst.maxU - inst.minU;
double vDiff = inst.maxV - inst.minV; double vDiff = inst.maxV - inst.minV;
@@ -181,6 +208,9 @@ public class RenderBlocksCTM extends RenderBlocks {
// @formatter:on // @formatter:on
private final Vert xmin, xmax, ymin, ymax; private final Vert xmin, xmax, ymin, ymax;
private final ForgeDirection normal; 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) { SubSide(Vert xmin, Vert ymin, Vert ymax, Vert xmax) {
this.xmin = xmin; this.xmin = xmin;
@@ -188,6 +218,15 @@ public class RenderBlocksCTM extends RenderBlocks {
this.ymax = ymax; this.ymax = ymax;
this.xmax = xmax; this.xmax = xmax;
this.normal = calcNormal(); 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() { private ForgeDirection calcNormal() {
@@ -205,10 +244,10 @@ public class RenderBlocksCTM extends RenderBlocks {
} }
void render(RenderBlocksCTM inst) { void render(RenderBlocksCTM inst) {
xmin.render(inst, normal, 0); xmin.render(inst, this, 0);
ymin.render(inst, normal, 1); ymin.render(inst, this, 1);
ymax.render(inst, normal, 2); ymax.render(inst, this, 2);
xmax.render(inst, normal, 3); xmax.render(inst, this, 3);
} }
} }
@@ -247,6 +286,12 @@ public class RenderBlocksCTM extends RenderBlocks {
@Getter @Getter
protected boolean inWorld = false; 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 @Override
public boolean renderStandardBlock(Block block, int x, int y, int z) { public boolean renderStandardBlock(Block block, int x, int y, int z) {
bx = x; bx = x;
@@ -258,7 +303,9 @@ public class RenderBlocksCTM extends RenderBlocks {
tessellator.setColorOpaque_F(1.0F, 1.0F, 1.0F); tessellator.setColorOpaque_F(1.0F, 1.0F, 1.0F);
tessellator.addTranslation(x, y, z); tessellator.addTranslation(x, y, z);
inWorld = true; inWorld = true;
renderPart = CTMLib.chiselLoaded() && blockAccess instanceof IConnectionAccess;
boolean res = super.renderStandardBlock(block, x, y, z); boolean res = super.renderStandardBlock(block, x, y, z);
renderPart = false;
inWorld = false; inWorld = false;
tessellator.addTranslation(-x, -y, -z); tessellator.addTranslation(-x, -y, -z);
@@ -356,6 +403,39 @@ public class RenderBlocksCTM extends RenderBlocks {
| ((sunlightBitChannel / lightVals.length) & 0xF00000); | ((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) { protected void side(Block block, SubSide side, int iconIndex) {
// If we have an overridden texture when we're supposed to render a CTM texture, // 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(); super();
} }
boolean connected(IBlockAccess world, int x, int y, int z, Block block, int meta) { boolean connected(IBlockAccess world, int x, int y, int z, int fromX, int fromY, int fromZ, Block block, int meta) {
Block inWorld = ctm.getBlockOrFacade(world, x, y, z, -1); return ctm.matches(world, x, y, z, -1, fromX, fromY, fromZ, block, meta);
return inWorld != null && inWorld.equals(block) && ctm.getBlockOrFacadeMetadata(world, x, y, z, -1) == meta;
} }
@Override @Override
@@ -33,8 +32,8 @@ public class RenderBlocksColumn extends RenderBlocks {
int metadata = blockAccess.getBlockMetadata(x, y, z); int metadata = blockAccess.getBlockMetadata(x, y, z);
inWorld = true; inWorld = true;
boolean yp = 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, block, metadata); boolean yn = connected(blockAccess, x, y - 1, z, x, y, z, block, metadata);
if (yp || yn) { if (yp || yn) {
sides[0] = iconTop; sides[0] = iconTop;
@@ -46,13 +45,13 @@ public class RenderBlocksColumn extends RenderBlocks {
sides[3] = sides[4] = sides[5] = sides[2]; sides[3] = sides[4] = sides[5] = sides[2];
} else { } else {
boolean xp = 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, 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) if (xp && (connected(blockAccess, x + 1, y + 1, z, x + 1, y, z, block, metadata)
|| connected(blockAccess, x + 1, y - 1, z, block, metadata))) xp = false; || connected(blockAccess, x + 1, y - 1, z, x + 1, y, z, block, metadata))) xp = false;
if (xn && (connected(blockAccess, x - 1, y + 1, z, block, metadata) if (xn && (connected(blockAccess, x - 1, y + 1, z, x - 1, y, z, block, metadata)
|| connected(blockAccess, x - 1, y - 1, z, block, metadata))) xn = false; || connected(blockAccess, x - 1, y - 1, z, x - 1, y, z, block, metadata))) xn = false;
if (xp || xn) { if (xp || xn) {
uvRotateEast = 2; uvRotateEast = 2;
@@ -76,17 +75,17 @@ public class RenderBlocksColumn extends RenderBlocks {
} }
sides[2] = sides[3] = sides[1]; sides[2] = sides[3] = sides[1];
} else { } else {
boolean zp = 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, 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) if (zp && (connected(blockAccess, x, y + 1, z + 1, x, y, z + 1, block, metadata)
|| connected(blockAccess, x, y - 1, z + 1, block, metadata))) zp = false; || connected(blockAccess, x, y - 1, z + 1, x, y, z + 1, block, metadata))) zp = false;
if (zp && (connected(blockAccess, x + 1, y, z + 1, block, metadata) if (zp && (connected(blockAccess, x + 1, y, z + 1, x, y, z + 1, block, metadata)
|| connected(blockAccess, x - 1, y, z + 1, block, metadata))) zp = false; || connected(blockAccess, x - 1, y, z + 1, x, y, z + 1, block, metadata))) zp = false;
if (zn && (connected(blockAccess, x, y + 1, z - 1, block, metadata) if (zn && (connected(blockAccess, x, y + 1, z - 1, x, y, z - 1, block, metadata)
|| connected(blockAccess, x, y - 1, z - 1, block, metadata))) zn = false; || connected(blockAccess, x, y - 1, z - 1, x, y, z - 1, block, metadata))) zn = false;
if (zn && (connected(blockAccess, x + 1, y, z - 1, block, metadata) if (zn && (connected(blockAccess, x + 1, y, z - 1, x, y, z - 1, block, metadata)
|| connected(blockAccess, x - 1, y, z - 1, block, metadata))) zn = false; || connected(blockAccess, x - 1, y, z - 1, x, y, z - 1, block, metadata))) zn = false;
if (zp || zn) { if (zp || zn) {
uvRotateSouth = 1; uvRotateSouth = 1;
@@ -189,7 +189,7 @@ public final class ChiselBlocks {
public static final BlockCarvable invar = null; public static final BlockCarvable invar = null;
public static final BlockCarvable nickel = null; public static final BlockCarvable nickel = null;
public static final BlockCarvable platinum = null; public static final BlockCarvable platinum = null;
public static final BlockCarvable wrought_iron = null; public static final BlockCarvable cast_iron = null;
public static final BlockCarvable stainless_steel = null; public static final BlockCarvable stainless_steel = null;
public static final BlockCarvable titanium = null; public static final BlockCarvable titanium = null;
public static final BlockCarvable tungstensteel = null; public static final BlockCarvable tungstensteel = null;
@@ -197,14 +197,18 @@ public final class ChiselBlocks {
public static final BlockCarvable iridium = null; public static final BlockCarvable iridium = null;
public static final BlockCarvable osmium = null; public static final BlockCarvable osmium = null;
public static final BlockCarvable coral = null; public static final BlockCarvable coral = null;
public static final BlockCarvable coral2 = null;
public static final BlockCarvable mud = null; public static final BlockCarvable mud = null;
public static final BlockCarvable albumblock = null; public static final BlockCarvable albumblock = null;
public static final BlockCarvable albumblock2 = null; public static final BlockCarvable albumblock2 = null;
public static final BlockCarvable albumblock3 = null;
public static final BlockCarvable brickCustom2 = null; public static final BlockCarvable brickCustom2 = null;
public static final BlockCarvable brutalism = null; public static final BlockCarvable brutalism = null;
public static final BlockCarvable road = null; public static final BlockConcrete road = null;
public static final BlockCarvable porcelain = null; public static final BlockCarvable porcelain = null;
public static final BlockCarvable alabaster = null; public static final BlockCarvable alabaster = null;
// Architect's Palette Backport
private ChiselBlocks() {} private ChiselBlocks() {}
} }
@@ -26,12 +26,12 @@ public class ItemUpgrade extends BaseItem {
@Override @Override
public IIcon getIconFromDamage(int meta) { public IIcon getIconFromDamage(int meta) {
// using modulo throughout to prevent AIOB // using modulo throughout to prevent AIOB
return this.icons[meta % Upgrade.values().length]; return this.icons[meta % Upgrade.VALUES.length];
} }
@Override @Override
public void registerIcons(IIconRegister reg) { public void registerIcons(IIconRegister reg) {
Upgrade[] upgrades = Upgrade.values(); Upgrade[] upgrades = Upgrade.VALUES;
for (int i = 0; i < upgrades.length; i++) { for (int i = 0; i < upgrades.length; i++) {
this.icons[i] = reg.registerIcon( this.icons[i] = reg.registerIcon(
Chisel.MOD_ID + ":upgrade_" Chisel.MOD_ID + ":upgrade_"
@@ -43,14 +43,14 @@ public class ItemUpgrade extends BaseItem {
@SuppressWarnings({ "unchecked", "rawtypes" }) @SuppressWarnings({ "unchecked", "rawtypes" })
@Override @Override
public void getSubItems(Item item, CreativeTabs tab, List list) { public void getSubItems(Item item, CreativeTabs tab, List list) {
for (int i = 0; i < Upgrade.values().length; i++) { for (int i = 0; i < Upgrade.VALUES.length; i++) {
list.add(new ItemStack(item, 1, i)); list.add(new ItemStack(item, 1, i));
} }
} }
@Override @Override
public String getUnlocalizedName(ItemStack stack) { public String getUnlocalizedName(ItemStack stack) {
Upgrade[] upgrades = Upgrade.values(); Upgrade[] upgrades = Upgrade.VALUES;
return upgrades[stack.getItemDamage() % upgrades.length].getUnlocalizedName(); return upgrades[stack.getItemDamage() % upgrades.length].getUnlocalizedName();
} }
} }
@@ -148,6 +148,9 @@ autochisel.slot.stack.tooltip=Stack Upgrade Slot
autochisel.slot.reversion.tooltip=Reversion Upgrade Slot autochisel.slot.reversion.tooltip=Reversion Upgrade Slot
chisel.autochisel.upgrade.disabled=Upgrades Disabled chisel.autochisel.upgrade.disabled=Upgrades Disabled
#NEI
chisel.nei.title=Chisel
#Beacon #Beacon
tile.chisel.beacon.name=Beacon tile.chisel.beacon.name=Beacon
tile.beacon.black.desc=Black Beamed Beacon tile.beacon.black.desc=Black Beamed Beacon
@@ -1254,6 +1257,8 @@ tile.diamond.10.desc=Small Ornate Diamond Blocks
tile.diamond.11.desc=Zelda Diamond Block tile.diamond.11.desc=Zelda Diamond Block
tile.diamond.12.desc=Diamond Block with Ornate Layer tile.diamond.12.desc=Diamond Block with Ornate Layer
tile.diamond.13.desc=Modern Diamond Block tile.diamond.13.desc=Modern Diamond Block
tile.diamond.14.desc=Diamond Ore Bricks
tile.diamond.15.desc=Chiseled Diamond Ore Bricks
#Snakestone #Snakestone
tile.chisel.snakestoneSand.name=Sand Snakestone tile.chisel.snakestoneSand.name=Sand Snakestone
@@ -1304,7 +1309,10 @@ tile.sandstone.13.desc=Small Sandstone Blocks
tile.sandstone.14.desc=Sandstone Mosaic tile.sandstone.14.desc=Sandstone Mosaic
tile.sandstone.15.desc=Stacked Sandstone Tiles tile.sandstone.15.desc=Stacked Sandstone Tiles
tile.sandstone.16.desc=Sandstone Bricks 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 #Sandstone scribbles
tile.chisel.sandstone_scribbles.name=Sandstone Scribbles tile.chisel.sandstone_scribbles.name=Sandstone Scribbles
@@ -1451,6 +1459,9 @@ tile.emerald.9.desc=Small Emerald Blocks
tile.emerald.10.desc=Small Ornate Emerald Blocks tile.emerald.10.desc=Small Ornate Emerald Blocks
tile.emerald.11.desc=Ornate Emerald Block tile.emerald.11.desc=Ornate Emerald Block
tile.emerald.12.desc=Modern 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 #Nether Brick
tile.chisel.nether_brick.name=Nether Brick tile.chisel.nether_brick.name=Nether Brick
@@ -2785,6 +2796,15 @@ tile.lantern.2.desc=Redstone
tile.lantern.3.desc=Soul tile.lantern.3.desc=Soul
tile.lantern.4.desc=Cursed tile.lantern.4.desc=Cursed
tile.lantern.5.desc=Ender 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 #Sheetmetal
tile.chisel.sheetmetal.name=Sheetmetal tile.chisel.sheetmetal.name=Sheetmetal
@@ -2820,7 +2840,7 @@ tile.chisel.invarblock.name=Block of Invar
tile.chisel.electrumblock.name=Block of Electrum tile.chisel.electrumblock.name=Block of Electrum
tile.chisel.nickelblock.name=Block of Nickel tile.chisel.nickelblock.name=Block of Nickel
tile.chisel.platinumblock.name=Block of Platinum tile.chisel.platinumblock.name=Block of Platinum
tile.chisel.wroughtironblock.name=Block of Wrought Iron tile.chisel.castironblock.name=Block of Cast Iron
tile.chisel.stainlesssteelblock.name=Block of Stainless Steel tile.chisel.stainlesssteelblock.name=Block of Stainless Steel
tile.chisel.titaniumblock.name=Block of Titanium tile.chisel.titaniumblock.name=Block of Titanium
tile.chisel.tungstensteelblock.name=Block of Tungstensteel tile.chisel.tungstensteelblock.name=Block of Tungstensteel
@@ -2874,6 +2894,7 @@ tile.mud.6.desc=Mud Bricks
tile.chisel.albumblock.name=Musical Block tile.chisel.albumblock.name=Musical Block
tile.chisel.albumblock2.name=Musical Block tile.chisel.albumblock2.name=Musical Block
tile.chisel.albumblock3.name=Musical Block
tile.album.0.desc=That Green Gentleman tile.album.0.desc=That Green Gentleman
tile.album.1.desc=Pretty Odd tile.album.1.desc=Pretty Odd
tile.album.2.desc=Laminated Denim tile.album.2.desc=Laminated Denim
@@ -2893,6 +2914,34 @@ tile.album.15.desc=Having Too Much Fun
tile.album2.16.desc=The Cork Tree tile.album2.16.desc=The Cork Tree
tile.album2.17.desc=Cooperstown tile.album2.17.desc=Cooperstown
tile.album2.18.desc=The Most Fun a Girl Can Have 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.chisel.brutalism.name=Brutalist Block
tile.brutalism.0.desc=Plain Cement tile.brutalism.0.desc=Plain Cement
@@ -2934,6 +2983,56 @@ tile.alabaster.8.desc=Sage Green
tile.alabaster.9.desc=Sky Blue tile.alabaster.9.desc=Sky Blue
tile.alabaster.10.desc=Cream 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.road.name=Road Block
tile.chisel.road2.name=Road Block tile.chisel.road2.name=Road Block
tile.road.0.desc=Asphalt tile.road.0.desc=Asphalt
@@ -2971,3 +3070,141 @@ tile.road.31.desc=Overgrown Dirt Road
tile.chisel.amber.name=Block of Amber tile.chisel.amber.name=Block of Amber
tile.chisel.bloodBrick.name=Bloodstone Brick 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

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