Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6163776962 | ||
|
|
806b9b9613 |
No files matched your search
@@ -25,6 +25,7 @@ whitelist.json
|
||||
*.iml
|
||||
*.ipr
|
||||
*.iws
|
||||
src/main/resources/mixins.*.json
|
||||
*.bat
|
||||
layout.json
|
||||
.DS_Store
|
||||
@@ -69,7 +69,7 @@ enableModernJavaSyntax = jabel
|
||||
|
||||
# Enables injecting missing generics into the decompiled source code for a better coding experience.
|
||||
# Turns most publicly visible List, Map, etc. into proper List<E>, Map<K, V> types.
|
||||
enableGenericInjection = true
|
||||
enableGenericInjection = false
|
||||
|
||||
# Generate a class with a String field for the mod version named as defined below.
|
||||
# If generateGradleTokenClass is empty or not missing, no such class will be generated.
|
||||
@@ -107,7 +107,7 @@ apiPackage = api
|
||||
accessTransformersFile = chisel_compile_at.cfg
|
||||
|
||||
# Provides setup for Mixins if enabled. If you don't know what mixins are: Keep it disabled!
|
||||
usesMixins = true
|
||||
usesMixins = false
|
||||
|
||||
# Set to a non-empty string to configure mixins in a separate source set under src/VALUE, instead of src/main.
|
||||
# This can speed up compile times thanks to not running the mixin annotation processor on all input sources.
|
||||
@@ -115,7 +115,7 @@ usesMixins = true
|
||||
separateMixinSourceSet =
|
||||
|
||||
# Adds some debug arguments like verbose output and class export.
|
||||
usesMixinDebug = true
|
||||
usesMixinDebug = false
|
||||
|
||||
# Specify the location of your implementation of IMixinConfigPlugin. Leave it empty otherwise.
|
||||
mixinPlugin =
|
||||
@@ -123,7 +123,7 @@ mixinPlugin =
|
||||
# Specify the package that contains all of your Mixins. The package must exist or
|
||||
# the build will fail. If you have a package property defined in your mixins.<modid>.json,
|
||||
# it must match with this or the build will fail.
|
||||
mixinsPackage = mixins
|
||||
mixinsPackage =
|
||||
|
||||
# Specify the core mod entry class if you use a core mod. This class must implement IFMLLoadingPlugin!
|
||||
# This parameter is for legacy compatibility only
|
||||
@@ -186,11 +186,6 @@ modrinthRelations =
|
||||
# Leave this empty if you don't want to publish on CurseForge.
|
||||
curseForgeProjectId =
|
||||
|
||||
# Comma-separated supported CurseForge environments: client, server (case-insensitive).
|
||||
# Use client or server for mods that only support one environment. Defaults to client,server.
|
||||
# These tags describe where the mod can run, not whether installation is required on both sides.
|
||||
curseForgeEnvironments = client,server
|
||||
|
||||
# The project's relations on CurseForge. You can use this to refer to other projects on CurseForge.
|
||||
# Syntax: type1:name1;type2:name2;...
|
||||
# Where type can be one of [requiredDependency, embeddedLibrary, optionalDependency, tool, incompatible],
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
#This file is generated by updateDaemonJvm
|
||||
toolchainUrl.FREE_BSD.AARCH64=https\://api.foojay.io/disco/v3.0/ids/539ea72837c6244075f8ee037babc29e/redirect
|
||||
toolchainUrl.FREE_BSD.X86_64=https\://api.foojay.io/disco/v3.0/ids/876dbbf00bf4ef6190f7da074cee903a/redirect
|
||||
toolchainUrl.LINUX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/539ea72837c6244075f8ee037babc29e/redirect
|
||||
toolchainUrl.LINUX.X86_64=https\://api.foojay.io/disco/v3.0/ids/876dbbf00bf4ef6190f7da074cee903a/redirect
|
||||
toolchainUrl.MAC_OS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/9064f22734b42ac03e85df04b632e167/redirect
|
||||
toolchainUrl.MAC_OS.X86_64=https\://api.foojay.io/disco/v3.0/ids/4d0277c49991306ac78048580fe34bcf/redirect
|
||||
toolchainUrl.UNIX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/539ea72837c6244075f8ee037babc29e/redirect
|
||||
toolchainUrl.UNIX.X86_64=https\://api.foojay.io/disco/v3.0/ids/876dbbf00bf4ef6190f7da074cee903a/redirect
|
||||
toolchainUrl.WINDOWS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/a9fa3b809e484a1e1ac4308a5dda661a/redirect
|
||||
toolchainUrl.WINDOWS.X86_64=https\://api.foojay.io/disco/v3.0/ids/aa99913fa6d767d899ffc96082da01ca/redirect
|
||||
toolchainUrl.FREE_BSD.AARCH64=https\://api.foojay.io/disco/v3.0/ids/1630f7ebef05444cb27a2709ea0249b3/redirect
|
||||
toolchainUrl.FREE_BSD.X86_64=https\://api.foojay.io/disco/v3.0/ids/cd495626d2ee49a75447e3fdc6afb287/redirect
|
||||
toolchainUrl.LINUX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/1630f7ebef05444cb27a2709ea0249b3/redirect
|
||||
toolchainUrl.LINUX.X86_64=https\://api.foojay.io/disco/v3.0/ids/cd495626d2ee49a75447e3fdc6afb287/redirect
|
||||
toolchainUrl.MAC_OS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/d4fd992c9557644e637ebe98263e0ae7/redirect
|
||||
toolchainUrl.MAC_OS.X86_64=https\://api.foojay.io/disco/v3.0/ids/faa12903720d410b387cc69ccafb1a74/redirect
|
||||
toolchainUrl.UNIX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/1630f7ebef05444cb27a2709ea0249b3/redirect
|
||||
toolchainUrl.UNIX.X86_64=https\://api.foojay.io/disco/v3.0/ids/cd495626d2ee49a75447e3fdc6afb287/redirect
|
||||
toolchainUrl.WINDOWS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/a4c09dd2e2d7079373d30e524bbc2829/redirect
|
||||
toolchainUrl.WINDOWS.X86_64=https\://api.foojay.io/disco/v3.0/ids/8e1d9ee5d0f13e442218f6884a306da1/redirect
|
||||
toolchainVersion=25
|
||||
@@ -1,6 +1,6 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.1-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
||||
@@ -17,7 +17,7 @@ pluginManagement {
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.32'
|
||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.24'
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,6 @@ import team.chisel.ctmlib.ISubmapManager;
|
||||
import team.chisel.ctmlib.RenderBlocksCTM;
|
||||
import team.chisel.ctmlib.RenderBlocksColumn;
|
||||
import team.chisel.ctmlib.TextureSubmap;
|
||||
import team.chisel.ctmlib.TextureSubmapCTM;
|
||||
|
||||
/**
|
||||
* Handles all default {@link ISubmapManager} behavior
|
||||
@@ -198,8 +197,8 @@ public enum TextureType {
|
||||
IIcon baseIcon = register.registerIcon(modName + ":" + texturePath);
|
||||
return Triple.of(
|
||||
baseIcon,
|
||||
new TextureSubmapCTM(register.registerIcon(modName + ":" + texturePath + "-ctm"), 4),
|
||||
new TextureSubmapCTM(baseIcon, 2)
|
||||
new TextureSubmap(register.registerIcon(modName + ":" + texturePath + "-ctm"), 4, 4),
|
||||
new TextureSubmap(baseIcon, 2, 2)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
package com.cricketcraft.chisel.mixins;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.client.resources.FallbackResourceManager;
|
||||
import net.minecraft.client.resources.IResource;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.Shadow;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
|
||||
|
||||
import team.chisel.ctmlib.TextureSubmapResource;
|
||||
|
||||
/**
|
||||
* Provides generated resources for independently stitched CTM submap sprites.
|
||||
* <p>
|
||||
* For example, a request for chisel:textures/blocks/__chisel_submap/2x2/1_0/foo.png is resolved from
|
||||
* chisel:textures/blocks/foo.png and cropped to its top-right tile. This lets Minecraft and other mods treat each
|
||||
* submap sprite like an ordinary texture resource.
|
||||
*/
|
||||
@Mixin(FallbackResourceManager.class)
|
||||
public abstract class MixinFallbackResourceManager {
|
||||
|
||||
@Shadow
|
||||
public abstract IResource getResource(ResourceLocation location) throws IOException;
|
||||
|
||||
@Shadow
|
||||
public abstract List<IResource> getAllResources(ResourceLocation location) throws IOException;
|
||||
|
||||
@Inject(method = "getResource", at = @At("HEAD"), cancellable = true)
|
||||
private void chisel$getSubmapResource(ResourceLocation location, CallbackInfoReturnable<IResource> cir)
|
||||
throws IOException {
|
||||
|
||||
TextureSubmapResource.SubmapLocation submap = TextureSubmapResource.parse(location);
|
||||
if (submap == null) return;
|
||||
|
||||
IResource source = getResource(submap.source());
|
||||
cir.setReturnValue(new TextureSubmapResource(source, submap, true));
|
||||
}
|
||||
|
||||
@Inject(method = "getAllResources", at = @At("HEAD"), cancellable = true)
|
||||
private void chisel$getAllSubmapResources(ResourceLocation location, CallbackInfoReturnable<List<IResource>> cir)
|
||||
throws IOException {
|
||||
|
||||
TextureSubmapResource.SubmapLocation submap = TextureSubmapResource.parse(location);
|
||||
if (submap == null) return;
|
||||
|
||||
List<IResource> sources = getAllResources(submap.source());
|
||||
List<IResource> resources = new ArrayList<>(sources.size());
|
||||
|
||||
for (IResource source : sources) {
|
||||
// Different resource packs may provide different images for the same location, so we can't cache them
|
||||
resources.add(new TextureSubmapResource(source, submap, false));
|
||||
}
|
||||
|
||||
cir.setReturnValue(resources);
|
||||
}
|
||||
}
|
||||
@@ -1017,8 +1017,6 @@ public enum Features {
|
||||
diamond_block.carverHelper.addVariation("tile.diamond.11.desc", 11, "diamond/terrain-diamond-zelda");
|
||||
diamond_block.carverHelper.addVariation("tile.diamond.12.desc", 12, "diamond/terrain-diamond-ornatelayer");
|
||||
diamond_block.carverHelper.addVariation("tile.diamond.13.desc", 13, "diamond/modern");
|
||||
diamond_block.carverHelper.addVariation("tile.diamond.14.desc", 14, "diamond/diamond_ore_bricks");
|
||||
diamond_block.carverHelper.addVariation("tile.diamond.15.desc", 15, "diamond/chiseled_diamond_ore_bricks");
|
||||
diamond_block.carverHelper.registerAll(diamond_block, "diamond_block");
|
||||
Carving.chisel.registerOre("diamond_block", "blockDiamond");
|
||||
}
|
||||
@@ -1124,9 +1122,6 @@ public enum Features {
|
||||
emerald_block.carverHelper.addVariation("tile.emerald.10.desc", 10, "emerald/fourornate");
|
||||
emerald_block.carverHelper.addVariation("tile.emerald.11.desc", 11, "emerald/ornate");
|
||||
emerald_block.carverHelper.addVariation("tile.emerald.12.desc", 12, "emerald/modern");
|
||||
emerald_block.carverHelper.addVariation("tile.emerald.13.desc", 13, "emerald/emerald_ore_bricks");
|
||||
emerald_block.carverHelper.addVariation("tile.emerald.14.desc", 14, "emerald/cracked_emerald_ore_bricks");
|
||||
emerald_block.carverHelper.addVariation("tile.emerald.15.desc", 15, "emerald/chiseled_emerald_ore_bricks");
|
||||
emerald_block.carverHelper.registerAll(emerald_block, "emerald_block");
|
||||
Carving.chisel.registerOre("emerald_block", "emerald");
|
||||
}
|
||||
@@ -3525,9 +3520,6 @@ public enum Features {
|
||||
.addVariation("tile.sandstone.16.desc", 0, "sandstone2/terrain-sandstone-brickflat", 19);
|
||||
sandstone2.carverHelper
|
||||
.addVariation("tile.sandstone.17.desc", 1, "sandstone2/a0-sandstonepreview-smoothflat", 20);
|
||||
sandstone2.carverHelper.addVariation("tile.sandstone.18.desc", 4, "sandstone2/gilded_sandstone");
|
||||
sandstone2.carverHelper.addVariation("tile.sandstone.19.desc", 5, "sandstone2/gilded_sandstone_pillar");
|
||||
sandstone2.carverHelper.addVariation("tile.sandstone.20.desc", 6, "sandstone2/chiseled_gilded_sandstone");
|
||||
sandstone2.carverHelper.registerBlock(sandstone2, "sandstone2");
|
||||
sandstone2.carverHelper.registerVariations("sandstone");
|
||||
|
||||
@@ -4608,16 +4600,6 @@ public enum Features {
|
||||
lantern.carverHelper.addVariation("tile.lantern.3.desc", 3, "lantern/soullantern");
|
||||
lantern.carverHelper.addVariation("tile.lantern.4.desc", 4, "lantern/cursedlantern");
|
||||
lantern.carverHelper.addVariation("tile.lantern.5.desc", 5, "lantern/endlantern");
|
||||
lantern.carverHelper.addVariation("tile.lantern.6.desc", 6, "tuff/tuff_lamp");
|
||||
lantern.carverHelper.addVariation("tile.lantern.7.desc", 7, "calcite/calcite_lamp");
|
||||
lantern.carverHelper.addVariation("tile.lantern.8.desc", 8, "oracle/oracle_lamp");
|
||||
lantern.carverHelper.addVariation("tile.lantern.9.desc", 9, "dripstone/dripstone_lamp");
|
||||
lantern.carverHelper.addVariation("tile.lantern.10.desc", 10, "algal/algal_lamp");
|
||||
lantern.carverHelper.addVariation("tile.lantern.11.desc", 11, "abyssaline/abyssaline_lamp");
|
||||
lantern.carverHelper.addVariation("tile.lantern.12.desc", 12, "abyssaline/abyssaline_lamp_charged");
|
||||
lantern.carverHelper.addVariation("tile.lantern.13.desc", 13, "hadaline/hadaline_lamp");
|
||||
lantern.carverHelper.addVariation("tile.lantern.14.desc", 14, "hadaline/hadaline_lamp_charged");
|
||||
lantern.carverHelper.addVariation("tile.lantern.14.desc", 13, "lantern/wither_lamp");
|
||||
|
||||
lantern.carverHelper.registerAll(lantern, "lantern");
|
||||
}
|
||||
@@ -5036,22 +5018,6 @@ public enum Features {
|
||||
coral.carverHelper.addVariation("tile.coral.13.desc", 13, "coral/horn_coral_bricks", 13);
|
||||
coral.carverHelper.addVariation("tile.coral.14.desc", 14, "coral/tube_coral_bricks", 14);
|
||||
coral.carverHelper.addVariation("tile.coral.15.desc", 15, "coral/dead_coral_bricks", 15);
|
||||
|
||||
BlockCarvable coral2 = (BlockCarvable) new BlockCarvable(Material.ground).setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabStoneChiselBlocks)
|
||||
.setHardness(2F)
|
||||
.setResistance(4F);
|
||||
coral2.carverHelper.addVariation("tile.stones.1.desc", 1, "coral/coralstone_bricks");
|
||||
coral2.carverHelper.addVariation("tile.stones.9.desc", 2, "coral/coralstone_ornate");
|
||||
coral2.carverHelper.addVariation("tile.stones.3.desc", 3, "coral/coralstone_cobblestone");
|
||||
coral2.carverHelper.addVariation("tile.stones.4.desc", 4, "coral/coralstone_mossy");
|
||||
coral2.carverHelper.addVariation("tile.stones.5.desc", 5, "coral/coralstone_pillar");
|
||||
coral2.carverHelper.addVariation("tile.stones.6.desc", 6, "coral/coralstone_polished");
|
||||
coral2.carverHelper.addVariation("tile.stones.8.desc", 8, "coral/coralstone_tiles");
|
||||
|
||||
coral2.carverHelper.registerBlock(coral2, "coral2");
|
||||
coral2.carverHelper.registerVariations("iron_block");
|
||||
|
||||
coral.carverHelper.registerAll(coral, "coral");
|
||||
Carving.chisel.registerOre("coral", "blockCoral");
|
||||
}
|
||||
@@ -5137,45 +5103,9 @@ public enum Features {
|
||||
albumblock2.carverHelper.addVariation("tile.album2.16.desc", 0, "album/cork_tree");
|
||||
albumblock2.carverHelper.addVariation("tile.album2.17.desc", 1, "album/folie_a_deux");
|
||||
albumblock2.carverHelper.addVariation("tile.album2.18.desc", 2, "album/a_fever_you_cant_sweat_out");
|
||||
albumblock2.carverHelper.addVariation("tile.album2.19.desc", 3, "album/birdbrain");
|
||||
albumblock2.carverHelper.addVariation("tile.album2.20.desc", 4, "album/fancy_that");
|
||||
albumblock2.carverHelper.addVariation("tile.album2.21.desc", 5, "album/paper_mache_dream_balloon");
|
||||
albumblock2.carverHelper.addVariation("tile.album2.22.desc", 6, "album/wallsocket");
|
||||
albumblock2.carverHelper.addVariation("tile.album2.23.desc", 7, "album/shyga");
|
||||
albumblock2.carverHelper.addVariation("tile.album2.24.desc", 8, "album/flawless");
|
||||
albumblock2.carverHelper.addVariation("tile.album2.25.desc", 9, "album/katamari");
|
||||
albumblock2.carverHelper.addVariation("tile.album2.26.desc", 10, "album/red_barn_radio");
|
||||
albumblock2.carverHelper.addVariation("tile.album2.27.desc", 11, "album/ceres_and_calypso");
|
||||
albumblock2.carverHelper.addVariation("tile.album2.28.desc", 12, "album/komm_susser_tod");
|
||||
albumblock2.carverHelper.addVariation("tile.album2.29.desc", 13, "album/midwest_princess");
|
||||
albumblock2.carverHelper.addVariation("tile.album2.30.desc", 14, "album/brat");
|
||||
albumblock2.carverHelper.addVariation("tile.album2.31.desc", 15, "album/perfect_persona");
|
||||
albumblock2.carverHelper.registerBlock(albumblock2, "albumblock2");
|
||||
albumblock2.carverHelper.registerVariations("albumblock");
|
||||
|
||||
BlockCarvable albumblock3 = (BlockCarvable) new BlockCarvable(Material.wood)
|
||||
.setStepSound(Block.soundTypeWood)
|
||||
.setCreativeTab(ChiselTabs.tabModdedChiselBlocks)
|
||||
.setHardness(5F)
|
||||
.setResistance(10F);
|
||||
albumblock3.carverHelper.addVariation("tile.album3.32.desc", 0, "album/float_along");
|
||||
albumblock3.carverHelper.addVariation("tile.album3.33.desc", 1, "album/chromakopia");
|
||||
albumblock3.carverHelper.addVariation("tile.album3.34.desc", 2, "album/danganronpa_v2");
|
||||
albumblock3.carverHelper.addVariation("tile.album3.35.desc", 3, "album/danganronpa_v3");
|
||||
albumblock3.carverHelper.addVariation("tile.album3.36.desc", 4, "album/bronco");
|
||||
albumblock3.carverHelper.addVariation("tile.album3.37.desc", 5, "album/plastic_beach");
|
||||
albumblock3.carverHelper.addVariation("tile.album3.38.desc", 6, "album/triple_baka");
|
||||
albumblock3.carverHelper.addVariation("tile.album3.39.desc", 7, "album/cowboy_carter");
|
||||
albumblock3.carverHelper.addVariation("tile.album3.40.desc", 8, "album/phantom_island_1");
|
||||
albumblock3.carverHelper.addVariation("tile.album3.41.desc", 9, "album/alligator_bites");
|
||||
albumblock3.carverHelper.addVariation("tile.album3.42.desc", 10, "album/chiseled_baka");
|
||||
albumblock3.carverHelper.addVariation("tile.album3.43.desc", 11, "album/magnet");
|
||||
albumblock3.carverHelper.addVariation("tile.album3.44.desc", 12, "album/digital_girl");
|
||||
albumblock3.carverHelper.addVariation("tile.album3.45.desc", 13, "album/digital_girl_1");
|
||||
albumblock3.carverHelper.addVariation("tile.album3.46.desc", 14, "album/to_hell_with_it");
|
||||
albumblock3.carverHelper.registerBlock(albumblock3, "albumblock3");
|
||||
albumblock3.carverHelper.registerVariations("albumblock");
|
||||
|
||||
albumblock.carverHelper.registerAll(albumblock, "albumblock");
|
||||
Carving.chisel.registerOre("albumblock", "albumblock");
|
||||
}
|
||||
@@ -5309,776 +5239,6 @@ public enum Features {
|
||||
}
|
||||
},
|
||||
|
||||
SULFUR {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable sulfur = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
|
||||
sulfur.carverHelper.addVariation("tile.stones.0.desc", 0, "sulfur/sulfur_block");
|
||||
sulfur.carverHelper.addVariation("tile.stones.1.desc", 1, "sulfur/sulfur_bricks");
|
||||
sulfur.carverHelper.addVariation("tile.stones.2.desc", 2, "sulfur/sulfur_chiseled");
|
||||
sulfur.carverHelper.addVariation("tile.stones.3.desc", 3, "sulfur/sulfur_cobblestone");
|
||||
sulfur.carverHelper.addVariation("tile.stones.4.desc", 4, "sulfur/sulfur_mossy");
|
||||
sulfur.carverHelper.addVariation("tile.stones.5.desc", 5, "sulfur/sulfur_pillar");
|
||||
sulfur.carverHelper.addVariation("tile.stones.6.desc", 6, "sulfur/sulfur_polished");
|
||||
sulfur.carverHelper.addVariation("tile.stones.7.desc", 7, "sulfur/sulfur_prism");
|
||||
sulfur.carverHelper.addVariation("tile.stones.8.desc", 8, "sulfur/sulfur_tiles");
|
||||
sulfur.carverHelper.addVariation("tile.sulfur.0.desc", 9, "sulfur/sulfur_potent");
|
||||
|
||||
sulfur.carverHelper.registerAll(sulfur, "sulfurBlock");
|
||||
}
|
||||
},
|
||||
|
||||
CINNABAR {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable cinnabar = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
|
||||
cinnabar.carverHelper.addVariation("tile.stones.0.desc", 0, "cinnabar/cinnabar_block");
|
||||
cinnabar.carverHelper.addVariation("tile.stones.1.desc", 1, "cinnabar/cinnabar_bricks");
|
||||
cinnabar.carverHelper.addVariation("tile.stones.2.desc", 2, "cinnabar/cinnabar_chiseled");
|
||||
cinnabar.carverHelper.addVariation("tile.stones.3.desc", 3, "cinnabar/cinnabar_cobblestone");
|
||||
cinnabar.carverHelper.addVariation("tile.stones.4.desc", 4, "cinnabar/cinnabar_mossy");
|
||||
cinnabar.carverHelper.addVariation("tile.stones.5.desc", 5, "cinnabar/cinnabar_pillar");
|
||||
cinnabar.carverHelper.addVariation("tile.stones.6.desc", 6, "cinnabar/cinnabar_polished");
|
||||
cinnabar.carverHelper.addVariation("tile.stones.7.desc", 7, "cinnabar/cinnabar_prism");
|
||||
cinnabar.carverHelper.addVariation("tile.stones.8.desc", 8, "cinnabar/cinnabar_tiles");
|
||||
|
||||
cinnabar.carverHelper.registerAll(cinnabar, "cinnabarBlock");
|
||||
}
|
||||
},
|
||||
|
||||
TUFF {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable tuff = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
tuff.carverHelper.addVariation("tile.stones.3.desc", 0, "tuff/tuff_cobblestone");
|
||||
tuff.carverHelper.addVariation("tile.stones.4.desc", 1, "tuff/tuff_mossy");
|
||||
tuff.carverHelper.addVariation("tile.stones.5.desc", 2, "tuff/tuff_pillar");
|
||||
tuff.carverHelper.addVariation("tile.stones.6.desc", 8, "tuff/tuff_polished");
|
||||
tuff.carverHelper.addVariation("tile.stones.7.desc", 4, "tuff/tuff_prism");
|
||||
tuff.carverHelper.addVariation("tile.tuff.0.desc", 5, "tuff/tuff_bricks");
|
||||
tuff.carverHelper.addVariation("tile.tuff.1.desc", 6, "tuff/tuff_pillar_1");
|
||||
tuff.carverHelper.addVariation("tile.tuff.2.desc", 7, "tuff/chiseled_tuff");
|
||||
|
||||
tuff.carverHelper.registerAll(tuff, "tuffBlock");
|
||||
}
|
||||
},
|
||||
|
||||
PRISMARINE {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable prismarine = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
|
||||
prismarine.carverHelper.addVariation("tile.stones.1.desc", 1, "prismarine/prismarine_bricks");
|
||||
prismarine.carverHelper.addVariation("tile.stones.3.desc", 3, "prismarine/prismarine_cobblestone");
|
||||
prismarine.carverHelper.addVariation("tile.stones.4.desc", 4, "prismarine/prismarine_mossy");
|
||||
prismarine.carverHelper.addVariation("tile.stones.5.desc", 5, "prismarine/prismarine_pillar");
|
||||
prismarine.carverHelper.addVariation("tile.stones.9.desc", 6, "prismarine/prismarine_ornate");
|
||||
prismarine.carverHelper.addVariation("tile.stones.6.desc", 7, "prismarine/prismarine_polished");
|
||||
prismarine.carverHelper.addVariation("tile.stones.8.desc", 9, "prismarine/prismarine_tiles");
|
||||
|
||||
prismarine.carverHelper.registerAll(prismarine, "prismarineBlock");
|
||||
}
|
||||
},
|
||||
|
||||
DRIPSTONE {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable dripstone = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
|
||||
dripstone.carverHelper.addVariation("tile.stones.0.desc", 0, "dripstone/dripstone_block");
|
||||
dripstone.carverHelper.addVariation("tile.stones.1.desc", 1, "dripstone/dripstone_bricks");
|
||||
dripstone.carverHelper.addVariation("tile.stones.9.desc", 2, "dripstone/dripstone_ornate");
|
||||
dripstone.carverHelper.addVariation("tile.stones.3.desc", 3, "dripstone/dripstone_cobblestone");
|
||||
dripstone.carverHelper.addVariation("tile.stones.4.desc", 4, "dripstone/dripstone_mossy");
|
||||
dripstone.carverHelper.addVariation("tile.stones.5.desc", 5, "dripstone/dripstone_pillar");
|
||||
dripstone.carverHelper.addVariation("tile.stones.6.desc", 6, "dripstone/dripstone_polished");
|
||||
dripstone.carverHelper.addVariation("tile.stones.7.desc", 7, "dripstone/dripstone_prism");
|
||||
dripstone.carverHelper.addVariation("tile.stones.8.desc", 8, "dripstone/dripstone_tiles");
|
||||
dripstone.carverHelper.addVariation("tile.dripstone.0.desc", 9, "dripstone/chiseled_dripstone");
|
||||
dripstone.carverHelper.addVariation("tile.dripstone.1.desc", 10, "dripstone/dripstone_pillar_1");
|
||||
|
||||
dripstone.carverHelper.registerAll(dripstone, "dripstoneBlock");
|
||||
}
|
||||
},
|
||||
|
||||
DARK_PRISMARINE {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable darkprismarine = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
|
||||
darkprismarine.carverHelper.addVariation("tile.stones.0.desc", 0, "darkprismarine/darkprismarine");
|
||||
darkprismarine.carverHelper.addVariation("tile.stones.1.desc", 1, "darkprismarine/darkprismarine_bricks");
|
||||
darkprismarine.carverHelper.addVariation("tile.stones.9.desc", 2, "darkprismarine/darkprismarine_ornate");
|
||||
darkprismarine.carverHelper
|
||||
.addVariation("tile.stones.3.desc", 3, "darkprismarine/darkprismarine_cobblestone");
|
||||
darkprismarine.carverHelper.addVariation("tile.stones.4.desc", 4, "darkprismarine/darkprismarine_mossy");
|
||||
darkprismarine.carverHelper.addVariation("tile.stones.5.desc", 5, "darkprismarine/darkprismarine_pillar");
|
||||
darkprismarine.carverHelper.addVariation("tile.stones.6.desc", 6, "darkprismarine/darkprismarine_polished");
|
||||
darkprismarine.carverHelper.addVariation("tile.stones.7.desc", 7, "darkprismarine/darkprismarine_prism");
|
||||
darkprismarine.carverHelper.addVariation("tile.stones.8.desc", 8, "darkprismarine/darkprismarine_tiles");
|
||||
|
||||
darkprismarine.carverHelper.registerAll(darkprismarine, "darkprismarineBlock");
|
||||
}
|
||||
},
|
||||
|
||||
DEEPSLATE {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable deepslate = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
|
||||
deepslate.carverHelper.addVariation("tile.stones.5.desc", 0, "deepslate/deepslate_pillar");
|
||||
deepslate.carverHelper.addVariation("tile.stones.7.desc", 1, "deepslate/deepslate_prism");
|
||||
deepslate.carverHelper.addVariation("tile.stones.8.desc", 2, "deepslate/deepslate_tiles");
|
||||
deepslate.carverHelper.addVariation("tile.stones.4.desc", 3, "deepslate/deepslate_mossy");
|
||||
|
||||
deepslate.carverHelper.registerAll(deepslate, "deepslateBlock");
|
||||
}
|
||||
},
|
||||
|
||||
BASALT {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable basalt = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
|
||||
basalt.carverHelper.addVariation("tile.stones.0.desc", 0, "basalt/basalt");
|
||||
basalt.carverHelper.addVariation("tile.stones.1.desc", 1, "basalt/basalt_bricks");
|
||||
basalt.carverHelper.addVariation("tile.stones.9.desc", 2, "basalt/basalt_ornate");
|
||||
basalt.carverHelper.addVariation("tile.stones.3.desc", 3, "basalt/basalt_cobblestone");
|
||||
basalt.carverHelper.addVariation("tile.stones.4.desc", 4, "basalt/basalt_mossy");
|
||||
basalt.carverHelper.addVariation("tile.stones.5.desc", 5, "basalt/basalt_pillar");
|
||||
basalt.carverHelper.addVariation("tile.stones.6.desc", 6, "basalt/basalt_polished");
|
||||
basalt.carverHelper.addVariation("tile.stones.7.desc", 7, "basalt/basalt_prism");
|
||||
basalt.carverHelper.addVariation("tile.stones.8.desc", 8, "basalt/basalt_tiles");
|
||||
|
||||
basalt.carverHelper.registerAll(basalt, "basaltBlock");
|
||||
}
|
||||
},
|
||||
|
||||
RUBY {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable ruby = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
|
||||
ruby.carverHelper.addVariation("tile.gems.0.desc", 0, "ruby/rubyBismuth");
|
||||
ruby.carverHelper.addVariation("tile.gems.1.desc", 1, "ruby/rubyBordered");
|
||||
ruby.carverHelper.addVariation("tile.gems.9.desc", 2, "ruby/rubyCell");
|
||||
ruby.carverHelper.addVariation("tile.gems.3.desc", 3, "ruby/rubyFacet");
|
||||
ruby.carverHelper.addVariation("tile.gems.4.desc", 4, "ruby/rubyOrnate");
|
||||
ruby.carverHelper.addVariation("tile.gems.5.desc", 5, "ruby/rubyPanel");
|
||||
ruby.carverHelper.addVariation("tile.gems.6.desc", 6, "ruby/rubyPolished");
|
||||
ruby.carverHelper.addVariation("tile.gems.7.desc", 7, "ruby/rubyRaw");
|
||||
ruby.carverHelper.addVariation("tile.gems.8.desc", 8, "ruby/rubySmooth");
|
||||
ruby.carverHelper.addVariation("tile.gems.9.desc", 9, "ruby/rubySpiral");
|
||||
ruby.carverHelper.addVariation("tile.gems.10.desc", 10, "ruby/rubyTiles");
|
||||
|
||||
ruby.carverHelper.registerAll(ruby, "rubyBlock");
|
||||
}
|
||||
},
|
||||
|
||||
SPINEL {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable spinel = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
|
||||
spinel.carverHelper.addVariation("tile.gems.0.desc", 0, "spinel/spinelBismuth");
|
||||
spinel.carverHelper.addVariation("tile.gems.1.desc", 1, "spinel/spinelBordered");
|
||||
spinel.carverHelper.addVariation("tile.gems.9.desc", 2, "spinel/spinelCell");
|
||||
spinel.carverHelper.addVariation("tile.gems.3.desc", 3, "spinel/spinelFacet");
|
||||
spinel.carverHelper.addVariation("tile.gems.4.desc", 4, "spinel/spinelOrnate");
|
||||
spinel.carverHelper.addVariation("tile.gems.5.desc", 5, "spinel/spinelPanel");
|
||||
spinel.carverHelper.addVariation("tile.gems.6.desc", 6, "spinel/spinelPolished");
|
||||
spinel.carverHelper.addVariation("tile.gems.7.desc", 7, "spinel/spinelRaw");
|
||||
spinel.carverHelper.addVariation("tile.gems.8.desc", 8, "spinel/spinelSmooth");
|
||||
spinel.carverHelper.addVariation("tile.gems.9.desc", 9, "spinel/spinelSpiral");
|
||||
spinel.carverHelper.addVariation("tile.gems.10.desc", 10, "spinel/spinelTiles");
|
||||
|
||||
spinel.carverHelper.registerAll(spinel, "spinelBlock");
|
||||
}
|
||||
},
|
||||
|
||||
RHODOCHROSITE {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable rhodochrosite = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
|
||||
rhodochrosite.carverHelper.addVariation("tile.gems.0.desc", 0, "rhodochrosite/rhodochrositeBismuth");
|
||||
rhodochrosite.carverHelper.addVariation("tile.gems.1.desc", 1, "rhodochrosite/rhodochrositeBordered");
|
||||
rhodochrosite.carverHelper.addVariation("tile.gems.9.desc", 2, "rhodochrosite/rhodochrositeCell");
|
||||
rhodochrosite.carverHelper.addVariation("tile.gems.3.desc", 3, "rhodochrosite/rhodochrositeFacet");
|
||||
rhodochrosite.carverHelper.addVariation("tile.gems.4.desc", 4, "rhodochrosite/rhodochrositeOrnate");
|
||||
rhodochrosite.carverHelper.addVariation("tile.gems.5.desc", 5, "rhodochrosite/rhodochrositePanel");
|
||||
rhodochrosite.carverHelper.addVariation("tile.gems.6.desc", 6, "rhodochrosite/rhodochrositePolished");
|
||||
rhodochrosite.carverHelper.addVariation("tile.gems.7.desc", 7, "rhodochrosite/rhodochrositeRaw");
|
||||
rhodochrosite.carverHelper.addVariation("tile.gems.8.desc", 8, "rhodochrosite/rhodochrositeSmooth");
|
||||
rhodochrosite.carverHelper.addVariation("tile.gems.9.desc", 9, "rhodochrosite/rhodochrositeSpiral");
|
||||
rhodochrosite.carverHelper.addVariation("tile.gems.10.desc", 10, "rhodochrosite/rhodochrositeTiles");
|
||||
|
||||
rhodochrosite.carverHelper.registerAll(rhodochrosite, "rhodochrositeBlock");
|
||||
}
|
||||
},
|
||||
|
||||
OPAL {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable opal = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
|
||||
opal.carverHelper.addVariation("tile.gems.0.desc", 0, "opal/opalBismuth");
|
||||
opal.carverHelper.addVariation("tile.gems.1.desc", 1, "opal/opalBordered");
|
||||
opal.carverHelper.addVariation("tile.gems.9.desc", 2, "opal/opalCell");
|
||||
opal.carverHelper.addVariation("tile.gems.3.desc", 3, "opal/opalFacet");
|
||||
opal.carverHelper.addVariation("tile.gems.4.desc", 4, "opal/opalOrnate");
|
||||
opal.carverHelper.addVariation("tile.gems.5.desc", 5, "opal/opalPanel");
|
||||
opal.carverHelper.addVariation("tile.gems.6.desc", 6, "opal/opalPolished");
|
||||
opal.carverHelper.addVariation("tile.gems.7.desc", 7, "opal/opalRaw");
|
||||
opal.carverHelper.addVariation("tile.gems.8.desc", 8, "opal/opalSmooth");
|
||||
opal.carverHelper.addVariation("tile.gems.9.desc", 9, "opal/opalSpiral");
|
||||
opal.carverHelper.addVariation("tile.gems.10.desc", 10, "opal/opalTiles");
|
||||
opal.carverHelper.addVariation("tile.gems.1.desc", 12, "opal/opalBordered1");
|
||||
opal.carverHelper.addVariation("tile.gems.4.desc", 13, "opal/opalOrnate1");
|
||||
opal.carverHelper.addVariation("tile.gems.10.desc", 14, "opal/opalTiles1");
|
||||
|
||||
opal.carverHelper.registerAll(opal, "opalBlock");
|
||||
}
|
||||
},
|
||||
|
||||
ONYX {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable onyx = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
|
||||
onyx.carverHelper.addVariation("tile.gems.0.desc", 0, "onyx/onyxBismuth");
|
||||
onyx.carverHelper.addVariation("tile.gems.1.desc", 1, "onyx/onyxBordered");
|
||||
onyx.carverHelper.addVariation("tile.gems.9.desc", 2, "onyx/onyxCell");
|
||||
onyx.carverHelper.addVariation("tile.gems.3.desc", 3, "onyx/onyxFacet");
|
||||
onyx.carverHelper.addVariation("tile.gems.4.desc", 4, "onyx/onyxOrnate");
|
||||
onyx.carverHelper.addVariation("tile.gems.5.desc", 5, "onyx/onyxPanel");
|
||||
onyx.carverHelper.addVariation("tile.gems.6.desc", 6, "onyx/onyxPolished");
|
||||
onyx.carverHelper.addVariation("tile.gems.7.desc", 7, "onyx/onyxRaw");
|
||||
onyx.carverHelper.addVariation("tile.gems.8.desc", 8, "onyx/onyxSmooth");
|
||||
onyx.carverHelper.addVariation("tile.gems.9.desc", 9, "onyx/onyxSpiral");
|
||||
onyx.carverHelper.addVariation("tile.gems.10.desc", 10, "onyx/onyxTiles");
|
||||
|
||||
onyx.carverHelper.registerAll(onyx, "onyxBlock");
|
||||
}
|
||||
},
|
||||
|
||||
NETHER_QUARTZ {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable netherquartz = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
|
||||
netherquartz.carverHelper.addVariation("tile.gems.0.desc", 0, "netherquartz/netherquartzBismuth");
|
||||
netherquartz.carverHelper.addVariation("tile.gems.1.desc", 1, "netherquartz/netherquartzBordered");
|
||||
netherquartz.carverHelper.addVariation("tile.gems.9.desc", 2, "netherquartz/netherquartzCell");
|
||||
netherquartz.carverHelper.addVariation("tile.gems.3.desc", 3, "netherquartz/netherquartzFacet");
|
||||
netherquartz.carverHelper.addVariation("tile.gems.4.desc", 4, "netherquartz/netherquartzOrnate");
|
||||
netherquartz.carverHelper.addVariation("tile.gems.5.desc", 5, "netherquartz/netherquartzPanel");
|
||||
netherquartz.carverHelper.addVariation("tile.gems.6.desc", 6, "netherquartz/netherquartzPolished");
|
||||
netherquartz.carverHelper.addVariation("tile.gems.7.desc", 7, "netherquartz/netherquartzRaw");
|
||||
netherquartz.carverHelper.addVariation("tile.gems.8.desc", 8, "netherquartz/netherquartzSmooth");
|
||||
netherquartz.carverHelper.addVariation("tile.gems.9.desc", 9, "netherquartz/netherquartzSpiral");
|
||||
netherquartz.carverHelper.addVariation("tile.gems.10.desc", 10, "netherquartz/netherquartzTiles");
|
||||
|
||||
netherquartz.carverHelper.registerAll(netherquartz, "netherquartzBlock");
|
||||
}
|
||||
},
|
||||
|
||||
LABRADORITE {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable labradorite = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
|
||||
labradorite.carverHelper.addVariation("tile.gems.0.desc", 0, "labradorite/labradoriteBismuth");
|
||||
labradorite.carverHelper.addVariation("tile.gems.1.desc", 1, "labradorite/labradoriteBordered");
|
||||
labradorite.carverHelper.addVariation("tile.gems.9.desc", 2, "labradorite/labradoriteCell");
|
||||
labradorite.carverHelper.addVariation("tile.gems.3.desc", 3, "labradorite/labradoriteFacet");
|
||||
labradorite.carverHelper.addVariation("tile.gems.4.desc", 4, "labradorite/labradoriteOrnate");
|
||||
labradorite.carverHelper.addVariation("tile.gems.5.desc", 5, "labradorite/labradoritePanel");
|
||||
labradorite.carverHelper.addVariation("tile.gems.6.desc", 6, "labradorite/labradoritePolished");
|
||||
labradorite.carverHelper.addVariation("tile.gems.7.desc", 7, "labradorite/labradoriteRaw");
|
||||
labradorite.carverHelper.addVariation("tile.gems.8.desc", 8, "labradorite/labradoriteSmooth");
|
||||
labradorite.carverHelper.addVariation("tile.gems.9.desc", 9, "labradorite/labradoriteSpiral");
|
||||
labradorite.carverHelper.addVariation("tile.gems.10.desc", 10, "labradorite/labradoriteTiles");
|
||||
|
||||
labradorite.carverHelper.registerAll(labradorite, "labradoriteBlock");
|
||||
}
|
||||
},
|
||||
|
||||
JADE {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable jade = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
|
||||
jade.carverHelper.addVariation("tile.gems.0.desc", 0, "jade/jadeBismuth");
|
||||
jade.carverHelper.addVariation("tile.gems.1.desc", 1, "jade/jadeBordered");
|
||||
jade.carverHelper.addVariation("tile.gems.9.desc", 2, "jade/jadeCell");
|
||||
jade.carverHelper.addVariation("tile.gems.3.desc", 3, "jade/jadeFacet");
|
||||
jade.carverHelper.addVariation("tile.gems.4.desc", 4, "jade/jadeOrnate");
|
||||
jade.carverHelper.addVariation("tile.gems.5.desc", 5, "jade/jadePanel");
|
||||
jade.carverHelper.addVariation("tile.gems.6.desc", 6, "jade/jadePolished");
|
||||
jade.carverHelper.addVariation("tile.gems.7.desc", 7, "jade/jadeRaw");
|
||||
jade.carverHelper.addVariation("tile.gems.8.desc", 8, "jade/jadeSmooth");
|
||||
jade.carverHelper.addVariation("tile.gems.9.desc", 9, "jade/jadeSpiral");
|
||||
jade.carverHelper.addVariation("tile.gems.10.desc", 10, "jade/jadeTiles");
|
||||
|
||||
jade.carverHelper.registerAll(jade, "jadeBlock");
|
||||
}
|
||||
},
|
||||
|
||||
FLUORITE {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable fluorite = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
|
||||
fluorite.carverHelper.addVariation("tile.gems.0.desc", 0, "fluorite/fluoriteBismuth");
|
||||
fluorite.carverHelper.addVariation("tile.gems.1.desc", 1, "fluorite/fluoriteBordered");
|
||||
fluorite.carverHelper.addVariation("tile.gems.9.desc", 2, "fluorite/fluoriteCell");
|
||||
fluorite.carverHelper.addVariation("tile.gems.3.desc", 3, "fluorite/fluoriteFacet");
|
||||
fluorite.carverHelper.addVariation("tile.gems.4.desc", 4, "fluorite/fluoriteOrnate");
|
||||
fluorite.carverHelper.addVariation("tile.gems.5.desc", 5, "fluorite/fluoritePanel");
|
||||
fluorite.carverHelper.addVariation("tile.gems.6.desc", 6, "fluorite/fluoritePolished");
|
||||
fluorite.carverHelper.addVariation("tile.gems.7.desc", 7, "fluorite/fluoriteRaw");
|
||||
fluorite.carverHelper.addVariation("tile.gems.8.desc", 8, "fluorite/fluoriteSmooth");
|
||||
fluorite.carverHelper.addVariation("tile.gems.9.desc", 9, "fluorite/fluoriteSpiral");
|
||||
fluorite.carverHelper.addVariation("tile.gems.10.desc", 10, "fluorite/fluoriteTiles");
|
||||
|
||||
fluorite.carverHelper.registerAll(fluorite, "fluoriteBlock");
|
||||
}
|
||||
},
|
||||
|
||||
CHAROITE {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable charoite = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
|
||||
charoite.carverHelper.addVariation("tile.gems.0.desc", 0, "charoite/charoiteBismuth");
|
||||
charoite.carverHelper.addVariation("tile.gems.1.desc", 1, "charoite/charoiteBordered");
|
||||
charoite.carverHelper.addVariation("tile.gems.9.desc", 2, "charoite/charoiteCell");
|
||||
charoite.carverHelper.addVariation("tile.gems.3.desc", 3, "charoite/charoiteFacet");
|
||||
charoite.carverHelper.addVariation("tile.gems.4.desc", 4, "charoite/charoiteOrnate");
|
||||
charoite.carverHelper.addVariation("tile.gems.5.desc", 5, "charoite/charoitePanel");
|
||||
charoite.carverHelper.addVariation("tile.gems.6.desc", 6, "charoite/charoitePolished");
|
||||
charoite.carverHelper.addVariation("tile.gems.7.desc", 7, "charoite/charoiteRaw");
|
||||
charoite.carverHelper.addVariation("tile.gems.8.desc", 8, "charoite/charoiteSmooth");
|
||||
charoite.carverHelper.addVariation("tile.gems.9.desc", 9, "charoite/charoiteSpiral");
|
||||
charoite.carverHelper.addVariation("tile.gems.10.desc", 10, "charoite/charoiteTiles");
|
||||
|
||||
charoite.carverHelper.registerAll(charoite, "charoiteBlock");
|
||||
}
|
||||
},
|
||||
|
||||
TOPAZ {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable topaz = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
|
||||
topaz.carverHelper.addVariation("tile.gems.0.desc", 0, "topaz/topazBismuth");
|
||||
topaz.carverHelper.addVariation("tile.gems.1.desc", 1, "topaz/topazBordered");
|
||||
topaz.carverHelper.addVariation("tile.gems.9.desc", 2, "topaz/topazCell");
|
||||
topaz.carverHelper.addVariation("tile.gems.3.desc", 3, "topaz/topazFacet");
|
||||
topaz.carverHelper.addVariation("tile.gems.4.desc", 4, "topaz/topazOrnate");
|
||||
topaz.carverHelper.addVariation("tile.gems.5.desc", 5, "topaz/topazPanel");
|
||||
topaz.carverHelper.addVariation("tile.gems.6.desc", 6, "topaz/topazPolished");
|
||||
topaz.carverHelper.addVariation("tile.gems.7.desc", 7, "topaz/topazRaw");
|
||||
topaz.carverHelper.addVariation("tile.gems.8.desc", 8, "topaz/topazSmooth");
|
||||
topaz.carverHelper.addVariation("tile.gems.9.desc", 9, "topaz/topazSpiral");
|
||||
topaz.carverHelper.addVariation("tile.gems.10.desc", 10, "topaz/topazTiles");
|
||||
|
||||
topaz.carverHelper.registerAll(topaz, "topazBlock");
|
||||
}
|
||||
}, // Architect's Palette
|
||||
|
||||
BONE_BLOCK {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable bone_block = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
bone_block.carverHelper.addVariation("tile.bone_block.0.desc", 0, "bone/bone_block");
|
||||
bone_block.carverHelper.addVariation("tile.bone_block.1.desc", 1, "bone/bone_bricks");
|
||||
bone_block.carverHelper.addVariation("tile.bone_block.2.desc", 2, "bone/bone_pillar");
|
||||
bone_block.carverHelper.addVariation("tile.bone_block.3.desc", 3, "bone/skull");
|
||||
bone_block.carverHelper.addVariation("tile.bone_block.4.desc", 4, "bone/withered_bone_block");
|
||||
bone_block.carverHelper.addVariation("tile.bone_block.5.desc", 5, "bone/withered_bone_bricks");
|
||||
bone_block.carverHelper.addVariation("tile.bone_block.6.desc", 6, "bone/withered_bone_pillar");
|
||||
bone_block.carverHelper.addVariation("tile.bone_block.7.desc", 7, "bone/withered_skull");
|
||||
bone_block.carverHelper.addVariation("tile.bone_block.8.desc", 8, "bone/withered_skull_lit");
|
||||
bone_block.carverHelper.addVariation("tile.bone_block.9.desc", 9, "bone/modern_bone");
|
||||
|
||||
bone_block.carverHelper.registerAll(bone_block, "boneBlock");
|
||||
}
|
||||
},
|
||||
|
||||
CALCITE {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable calcite = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
calcite.carverHelper.addVariation("tile.calcite.0.desc", 0, "calcite/calcite_bricks");
|
||||
calcite.carverHelper.addVariation("tile.calcite.1.desc", 1, "calcite/calcite_pillar");
|
||||
calcite.carverHelper.addVariation("tile.calcite.2.desc", 2, "calcite/chiseled_calcite");
|
||||
|
||||
calcite.carverHelper.registerAll(calcite, "calciteBlock");
|
||||
}
|
||||
},
|
||||
|
||||
FLINT {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable flint = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
flint.carverHelper.addVariation("tile.flint.0.desc", 0, "flint/flint_block");
|
||||
flint.carverHelper.addVariation("tile.flint.1.desc", 1, "flint/chiseled_flint_block");
|
||||
flint.carverHelper.addVariation("tile.flint.2.desc", 2, "flint/flint_pillar");
|
||||
flint.carverHelper.addVariation("tile.flint.3.desc", 3, "flint/flint_tiles");
|
||||
flint.carverHelper.addVariation("tile.flint.4.desc", 4, "flint/smooth_flint_block");
|
||||
|
||||
flint.carverHelper.registerAll(flint, "flintBlock");
|
||||
}
|
||||
},
|
||||
|
||||
SUNSTONE {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable sunstone = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
sunstone.carverHelper.addVariation("tile.sunstone.0.desc", 0, "sunstone/sunmetal_block");
|
||||
sunstone.carverHelper.addVariation("tile.sunstone.1.desc", 1, "sunstone/sunmetal_pillar");
|
||||
sunstone.carverHelper.addVariation("tile.sunstone.2.desc", 2, "sunstone/chiseled_sunmetal_block");
|
||||
sunstone.carverHelper.addVariation("tile.sunstone.3.desc", 3, "sunstone/sunstone");
|
||||
sunstone.carverHelper.addVariation("tile.sunstone.4.desc", 4, "sunstone/sunstone_bright");
|
||||
sunstone.carverHelper.addVariation("tile.sunstone.5.desc", 5, "sunstone/sunstone_dim");
|
||||
|
||||
sunstone.carverHelper.registerAll(sunstone, "sunstoneBlock");
|
||||
}
|
||||
},
|
||||
|
||||
MOONSTONE {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable moonstone = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
moonstone.carverHelper.addVariation("tile.moonstone.0.desc", 0, "moonstone/moonstone");
|
||||
moonstone.carverHelper.addVariation("tile.moonstone.1.desc", 1, "moonstone/moonstone_dim");
|
||||
moonstone.carverHelper.addVariation("tile.moonstone.2.desc", 2, "moonstone/moonstone_bright");
|
||||
moonstone.carverHelper.addVariation("tile.moonstone.3.desc", 3, "moonstone/moonshale");
|
||||
moonstone.carverHelper.addVariation("tile.moonstone.4.desc", 4, "moonstone/moonshale_bricks");
|
||||
moonstone.carverHelper.addVariation("tile.moonstone.5.desc", 5, "moonstone/cracked_moonshale_bricks");
|
||||
moonstone.carverHelper.addVariation("tile.moonstone.6.desc", 6, "moonstone/moonshale_flagstone");
|
||||
moonstone.carverHelper.addVariation("tile.moonstone.7.desc", 7, "moonstone/chiseled_moonshale");
|
||||
moonstone.carverHelper.addVariation("tile.moonstone.8.desc", 8, "moonstone/bordered_moonshale");
|
||||
moonstone.carverHelper.addVariation("tile.moonstone.9.desc", 9, "moonstone/craterstone");
|
||||
moonstone.carverHelper.addVariation("tile.moonstone.10.desc", 10, "moonstone/nebulite");
|
||||
moonstone.carverHelper.addVariation("tile.moonstone.11.desc", 11, "moonstone/polished_nebulite");
|
||||
|
||||
moonstone.carverHelper.registerAll(moonstone, "moonstoneBlock");
|
||||
}
|
||||
},
|
||||
|
||||
ENTWINE {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable entwine = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
entwine.carverHelper.addVariation("tile.entwine.0.desc", 0, "entwine/ender_pearl_block");
|
||||
entwine.carverHelper.addVariation("tile.entwine.1.desc", 1, "entwine/entwine_block");
|
||||
entwine.carverHelper.addVariation("tile.entwine.2.desc", 2, "entwine/chiseled_entwine");
|
||||
entwine.carverHelper.addVariation("tile.entwine.3.desc", 3, "entwine/entwine_pillar");
|
||||
|
||||
entwine.carverHelper.registerAll(entwine, "entwineBlock");
|
||||
}
|
||||
},
|
||||
|
||||
ORACLE {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable oracle = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
oracle.carverHelper.addVariation("tile.oracle.0.desc", 0, "oracle/oracle_block");
|
||||
oracle.carverHelper.addVariation("tile.oracle.1.desc", 1, "oracle/framed_oracle_block");
|
||||
oracle.carverHelper.addVariation("tile.oracle.2.desc", 2, "oracle/oracle_bricks");
|
||||
oracle.carverHelper.addVariation("tile.oracle.3.desc", 3, "oracle/dark_oracle_bricks");
|
||||
oracle.carverHelper.addVariation("tile.oracle.4.desc", 4, "oracle/oracle_pillar");
|
||||
oracle.carverHelper.addVariation("tile.oracle.5.desc", 5, "oracle/oracle_tiles");
|
||||
|
||||
oracle.carverHelper.registerAll(oracle, "oracleBlock");
|
||||
}
|
||||
},
|
||||
|
||||
ALGAL {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable algal = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
algal.carverHelper.addVariation("tile.algal.0.desc", 0, "algal/algal_bricks");
|
||||
algal.carverHelper.addVariation("tile.algal.1.desc", 1, "algal/chiseled_algal_bricks");
|
||||
algal.carverHelper.addVariation("tile.algal.2.desc", 2, "algal/cracked_algal_bricks");
|
||||
algal.carverHelper.addVariation("tile.algal.3.desc", 3, "algal/overgrown_algal_bricks");
|
||||
|
||||
algal.carverHelper.registerAll(algal, "algalBlock");
|
||||
}
|
||||
},
|
||||
|
||||
CEREBRAL {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable cerebral = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
cerebral.carverHelper.addVariation("tile.cerebral.0.desc", 0, "cerebral/cerebral_block");
|
||||
cerebral.carverHelper.addVariation("tile.cerebral.1.desc", 1, "cerebral/cerebral_tiles");
|
||||
cerebral.carverHelper.addVariation("tile.cerebral.2.desc", 2, "cerebral/cerebral_tiles_1");
|
||||
cerebral.carverHelper.addVariation("tile.cerebral.3.desc", 3, "cerebral/cerebral_tiles_2");
|
||||
cerebral.carverHelper.addVariation("tile.cerebral.4.desc", 4, "cerebral/cerebral_pillar");
|
||||
|
||||
cerebral.carverHelper.registerAll(cerebral, "cerebralBlock");
|
||||
}
|
||||
},
|
||||
|
||||
NETHER_BRASS {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable nether_brass = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
nether_brass.carverHelper.addVariation("tile.nether_brass.0.desc", 0, "nether_brass/nether_brass_block");
|
||||
nether_brass.carverHelper.addVariation("tile.nether_brass.1.desc", 1, "nether_brass/cut_nether_brass");
|
||||
nether_brass.carverHelper.addVariation("tile.nether_brass.2.desc", 2, "nether_brass/nether_brass_pillar");
|
||||
nether_brass.carverHelper.addVariation("tile.nether_brass.3.desc", 3, "nether_brass/nether_brass_slab");
|
||||
nether_brass.carverHelper.addVariation("tile.nether_brass.4.desc", 4, "nether_brass/smooth_nether_brass");
|
||||
|
||||
nether_brass.carverHelper.registerAll(nether_brass, "nether_brassBlock");
|
||||
}
|
||||
},
|
||||
|
||||
ESOTERRACK {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable esoterrack = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
esoterrack.carverHelper.addVariation("tile.esoterrack.0.desc", 0, "esoterrack/esoterrack");
|
||||
esoterrack.carverHelper.addVariation("tile.esoterrack.1.desc", 1, "esoterrack/esoterrack_bricks");
|
||||
esoterrack.carverHelper.addVariation("tile.esoterrack.2.desc", 2, "esoterrack/esoterrack_pillar");
|
||||
esoterrack.carverHelper.addVariation("tile.esoterrack.3.desc", 3, "esoterrack/esoterrack_new");
|
||||
|
||||
esoterrack.carverHelper.registerAll(esoterrack, "esoterrackBlock");
|
||||
}
|
||||
},
|
||||
|
||||
WARDSTONE {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable wardstone = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
wardstone.carverHelper.addVariation("tile.wardstone.0.desc", 0, "wardstone/wardstone");
|
||||
wardstone.carverHelper.addVariation("tile.wardstone.1.desc", 1, "wardstone/wardstone_bricks");
|
||||
wardstone.carverHelper.addVariation("tile.wardstone.2.desc", 2, "wardstone/wardstone_pillar");
|
||||
wardstone.carverHelper.addVariation("tile.wardstone.3.desc", 3, "wardstone/wardstone_slab");
|
||||
wardstone.carverHelper.addVariation("tile.wardstone.4.desc", 4, "wardstone/chiseled_wardstone");
|
||||
wardstone.carverHelper.addVariation("tile.wardstone.5.desc", 5, "wardstone/wardstone_circle");
|
||||
|
||||
wardstone.carverHelper.registerAll(wardstone, "wardstoneBlock");
|
||||
}
|
||||
},
|
||||
|
||||
OLIVESTONE {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable olivestone = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
olivestone.carverHelper.addVariation("tile.olivestone.0.desc", 0, "olivestone/chiseled_olivestone");
|
||||
olivestone.carverHelper.addVariation("tile.olivestone.1.desc", 1, "olivestone/cracked_olivestone_bricks");
|
||||
olivestone.carverHelper.addVariation("tile.olivestone.2.desc", 2, "olivestone/cracked_olivestone_tiles");
|
||||
olivestone.carverHelper.addVariation("tile.olivestone.3.desc", 3, "olivestone/illuminated_olivestone");
|
||||
olivestone.carverHelper.addVariation("tile.olivestone.4.desc", 4, "olivestone/olivestone_bricks");
|
||||
olivestone.carverHelper.addVariation("tile.olivestone.5.desc", 5, "olivestone/olivestone_pillar");
|
||||
olivestone.carverHelper.addVariation("tile.olivestone.6.desc", 6, "olivestone/olivestone_tiles");
|
||||
olivestone.carverHelper.addVariation("tile.olivestone.7.desc", 7, "olivestone/warped_chiseled_olivestone");
|
||||
|
||||
olivestone.carverHelper.registerAll(olivestone, "olivestoneBlock");
|
||||
}
|
||||
},
|
||||
|
||||
VISCERA {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable viscera = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
viscera.carverHelper.addVariation("tile.viscera.0.desc", 0, "viscera/entrails");
|
||||
viscera.carverHelper.addVariation("tile.viscera.1.desc", 1, "viscera/rotten_flesh_block");
|
||||
viscera.carverHelper.addVariation("tile.viscera.2.desc", 2, "viscera/salmon_log");
|
||||
viscera.carverHelper.addVariation("tile.viscera.3.desc", 3, "viscera/cod_log");
|
||||
|
||||
viscera.carverHelper.registerAll(viscera, "visceraBlock");
|
||||
}
|
||||
},
|
||||
|
||||
ABYSSALINE {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable abyssaline = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
abyssaline.carverHelper.addVariation("tile.abyssaline.0.desc", 0, "abyssaline/abyssaline_bricks");
|
||||
abyssaline.carverHelper.addVariation("tile.abyssaline.1.desc", 1, "abyssaline/abyssaline_bricks_charged");
|
||||
abyssaline.carverHelper.addVariation("tile.abyssaline.2.desc", 2, "abyssaline/abyssaline_pillar");
|
||||
abyssaline.carverHelper.addVariation("tile.abyssaline.3.desc", 3, "abyssaline/abyssaline_pillar_charged");
|
||||
abyssaline.carverHelper.addVariation("tile.abyssaline.4.desc", 4, "abyssaline/abyssaline");
|
||||
abyssaline.carverHelper.addVariation("tile.abyssaline.5.desc", 5, "abyssaline/abyssaline_charged");
|
||||
abyssaline.carverHelper.addVariation("tile.abyssaline.6.desc", 6, "abyssaline/abyssaline_tiles");
|
||||
abyssaline.carverHelper.addVariation("tile.abyssaline.7.desc", 7, "abyssaline/abyssaline_tiles_charged");
|
||||
abyssaline.carverHelper.addVariation("tile.abyssaline.8.desc", 8, "abyssaline/abyssaline_plating");
|
||||
abyssaline.carverHelper.addVariation("tile.abyssaline.9.desc", 9, "abyssaline/abyssaline_plating_charged");
|
||||
abyssaline.carverHelper
|
||||
.addVariation("tile.abyssaline.10.desc", 10, "abyssaline/chiseled_abyssaline_bricks");
|
||||
|
||||
abyssaline.carverHelper.registerAll(abyssaline, "abyssalineBlock");
|
||||
}
|
||||
},
|
||||
|
||||
HADALINE {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable hadaline = (BlockCarvable) new BlockCarvable().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
|
||||
.setHardness(1F)
|
||||
.setResistance(1F);
|
||||
hadaline.carverHelper.addVariation("tile.hadaline.0.desc", 0, "hadaline/hadaline_bricks");
|
||||
hadaline.carverHelper.addVariation("tile.hadaline.1.desc", 1, "hadaline/hadaline_bricks_charged");
|
||||
hadaline.carverHelper.addVariation("tile.hadaline.2.desc", 2, "hadaline/hadaline_pillar");
|
||||
hadaline.carverHelper.addVariation("tile.hadaline.3.desc", 3, "hadaline/hadaline_pillar_charged");
|
||||
hadaline.carverHelper.addVariation("tile.hadaline.4.desc", 4, "hadaline/hadaline");
|
||||
hadaline.carverHelper.addVariation("tile.hadaline.5.desc", 5, "hadaline/hadaline_charged");
|
||||
hadaline.carverHelper.addVariation("tile.hadaline.6.desc", 6, "hadaline/hadaline_tiles");
|
||||
hadaline.carverHelper.addVariation("tile.hadaline.7.desc", 7, "hadaline/hadaline_tiles_charged");
|
||||
hadaline.carverHelper.addVariation("tile.hadaline.8.desc", 8, "hadaline/hadaline_plating");
|
||||
hadaline.carverHelper.addVariation("tile.hadaline.9.desc", 9, "hadaline/hadaline_plating_charged");
|
||||
hadaline.carverHelper.addVariation("tile.hadaline.10.desc", 10, "hadaline/chiseled_hadaline_bricks");
|
||||
|
||||
hadaline.carverHelper.registerAll(hadaline, "hadalineBlock");
|
||||
}
|
||||
},
|
||||
|
||||
ROAD {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -16,7 +16,6 @@ import cpw.mods.fml.relauncher.SideOnly;
|
||||
import team.chisel.ctmlib.Drawing;
|
||||
import team.chisel.ctmlib.RenderBlocksCTM;
|
||||
import team.chisel.ctmlib.TextureSubmap;
|
||||
import team.chisel.ctmlib.TextureSubmapCTM;
|
||||
import team.chisel.init.ChiselBlocks;
|
||||
|
||||
public class SubmapManagerAntiblock extends SubmapManagerBase {
|
||||
@@ -94,8 +93,8 @@ public class SubmapManagerAntiblock extends SubmapManagerBase {
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(String modName, Block block, IIconRegister register) {
|
||||
submap = new TextureSubmapCTM(register.registerIcon(modName + ":antiblock/" + color + "-antiBlock-ctm"), 4);
|
||||
submapSmall = new TextureSubmapCTM(register.registerIcon(modName + ":antiblock/" + color + "-antiBlock"), 2);
|
||||
submap = new TextureSubmap(register.registerIcon(modName + ":antiblock/" + color + "-antiBlock-ctm"), 4, 4);
|
||||
submapSmall = new TextureSubmap(register.registerIcon(modName + ":antiblock/" + color + "-antiBlock"), 2, 2);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -11,7 +11,6 @@ import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import team.chisel.ctmlib.RenderBlocksCTM;
|
||||
import team.chisel.ctmlib.TextureSubmap;
|
||||
import team.chisel.ctmlib.TextureSubmapCTM;
|
||||
|
||||
public class SubmapManagerCarpetFloor extends SubmapManagerBase {
|
||||
|
||||
@@ -40,8 +39,8 @@ public class SubmapManagerCarpetFloor extends SubmapManagerBase {
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(String modName, Block block, IIconRegister register) {
|
||||
String path = modName + ":carpet/" + color;
|
||||
submap = new TextureSubmapCTM(register.registerIcon(path + "-ctm"), 4);
|
||||
submapSmall = new TextureSubmapCTM(register.registerIcon(path), 2);
|
||||
submap = new TextureSubmap(register.registerIcon(path + "-ctm"), 4, 4);
|
||||
submapSmall = new TextureSubmap(register.registerIcon(path), 2, 2);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -3,7 +3,6 @@ package team.chisel.client.render;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.client.renderer.RenderBlocks;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.client.renderer.texture.TextureMap;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.util.MathHelper;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
@@ -90,9 +89,12 @@ public class SubmapManagerCombinedCTM extends SubmapManagerBase {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerSubIcons(TextureMap textureMap) {
|
||||
public void texturesStitched() {
|
||||
for (int i = 0; i < icons.length; i++) {
|
||||
System.arraycopy(submap[i], 0, icons[i], 0, icons[i].length);
|
||||
for (int j = 0; j < icons[i].length; j++) {
|
||||
icons[i][j] = submap[i][j];
|
||||
submap[i][j].texturesStitched();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,7 +13,6 @@ import cpw.mods.fml.relauncher.SideOnly;
|
||||
import team.chisel.ctmlib.ISubmapManager;
|
||||
import team.chisel.ctmlib.RenderBlocksCTM;
|
||||
import team.chisel.ctmlib.TextureSubmap;
|
||||
import team.chisel.ctmlib.TextureSubmapCTM;
|
||||
|
||||
public class SubmapManagerSlab implements ISubmapManager {
|
||||
|
||||
@@ -43,8 +42,8 @@ public class SubmapManagerSlab implements ISubmapManager {
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(String modName, Block block, IIconRegister register) {
|
||||
String path = modName + ":" + texture;
|
||||
submap = new TextureSubmapCTM(register.registerIcon(path + "-ctm"), 4);
|
||||
submapSmall = new TextureSubmapCTM(register.registerIcon(path), 2);
|
||||
submap = new TextureSubmap(register.registerIcon(path + "-ctm"), 4, 4);
|
||||
submapSmall = new TextureSubmap(register.registerIcon(path), 2, 2);
|
||||
sideTexture = register.registerIcon(path + "-side");
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@ import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import team.chisel.ctmlib.RenderBlocksCTM;
|
||||
import team.chisel.ctmlib.TextureSubmap;
|
||||
import team.chisel.ctmlib.TextureSubmapCTM;
|
||||
|
||||
public class SubmapManagerSpecialMaterial extends SubmapManagerBase {
|
||||
|
||||
@@ -72,8 +71,8 @@ public class SubmapManagerSpecialMaterial extends SubmapManagerBase {
|
||||
public void registerIcons(String modName, Block block, IIconRegister register) {
|
||||
String materialName = materialType.name()
|
||||
.toLowerCase();
|
||||
submap = new TextureSubmapCTM(register.registerIcon(modName + ":" + materialName + "/" + color + "-ctm"), 4);
|
||||
submapSmall = new TextureSubmapCTM(register.registerIcon(modName + ":" + materialName + "/" + color), 2);
|
||||
submap = new TextureSubmap(register.registerIcon(modName + ":" + materialName + "/" + color + "-ctm"), 4, 4);
|
||||
submapSmall = new TextureSubmap(register.registerIcon(modName + ":" + materialName + "/" + color), 2, 2);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -48,8 +48,8 @@ public class SubmapManagerCTM implements ISubmapManager {
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(String modName, Block block, IIconRegister register) {
|
||||
submap = new TextureSubmapCTM(register.registerIcon(modName + ":" + textureName + "-ctm"), 4);
|
||||
submapSmall = new TextureSubmapCTM(register.registerIcon(modName + ":" + textureName), 2);
|
||||
submap = new TextureSubmap(register.registerIcon(modName + ":" + textureName + "-ctm"), 4, 4);
|
||||
submapSmall = new TextureSubmap(register.registerIcon(modName + ":" + textureName), 2, 2);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -1,34 +1,41 @@
|
||||
package team.chisel.ctmlib;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.client.renderer.texture.TextureMap;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraftforge.client.event.TextureStitchEvent;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
|
||||
import org.apache.commons.lang3.ArrayUtils;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
|
||||
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import lombok.experimental.Delegate;
|
||||
|
||||
/**
|
||||
* Represents a grid of individually accessible texture regions.
|
||||
* This class is used to split up a large IIcon into smaller "submapped" icons used for CTM and other texture
|
||||
* manipulation.
|
||||
*/
|
||||
public class TextureSubmap implements IIcon, ISubmap {
|
||||
|
||||
private static final List<TextureSubmap> submaps = Collections.synchronizedList(new ArrayList<>(128));
|
||||
private static List<TextureSubmap> submaps = Lists.newArrayList();
|
||||
private static TextureSubmap dummy = new TextureSubmap(null, 0, 0);
|
||||
static {
|
||||
MinecraftForge.EVENT_BUS.register(dummy);
|
||||
}
|
||||
|
||||
private int width, height;
|
||||
@Delegate
|
||||
private final IIcon baseIcon;
|
||||
private final int width;
|
||||
private final int height;
|
||||
protected final IIcon[][] icons;
|
||||
private IIcon baseIcon;
|
||||
|
||||
protected IIcon[][] icons;
|
||||
|
||||
/**
|
||||
* Construct a new submap. A submap is not required to be square, but it is required to be rectangular.
|
||||
*
|
||||
* @param baseIcon The IIcon to submap.
|
||||
* @param width The width of the map, in icons.
|
||||
* @param height The height of the map, in icons.
|
||||
@@ -41,6 +48,9 @@ public class TextureSubmap implements IIcon, ISubmap {
|
||||
submaps.add(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* The large "base" icon used for the submap.
|
||||
*/
|
||||
public IIcon getBaseIcon() {
|
||||
return baseIcon;
|
||||
}
|
||||
@@ -82,161 +92,94 @@ public class TextureSubmap implements IIcon, ISubmap {
|
||||
|
||||
/* ==== Internal Stitching Logic ==== */
|
||||
|
||||
static {
|
||||
MinecraftForge.EVENT_BUS.register(new StitchHandler());
|
||||
}
|
||||
|
||||
public static final class StitchHandler {
|
||||
|
||||
@SubscribeEvent
|
||||
public void onTextureStitchPre(TextureStitchEvent.Pre event) {
|
||||
if (event.map.getTextureType() != 0) return;
|
||||
TextureSubmapResource.beginTextureStitch();
|
||||
for (TextureSubmap submap : submaps) {
|
||||
submap.registerSubIcons(event.map);
|
||||
}
|
||||
submaps.clear();
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
public void onTextureStitchPost(TextureStitchEvent.Post event) {
|
||||
if (event.map.getTextureType() != 0) return;
|
||||
TextureSubmapResource.endTextureStitch();
|
||||
}
|
||||
}
|
||||
|
||||
public void registerSubIcons(TextureMap textureMap) {
|
||||
registerSpriteGrid(textureMap, width, height);
|
||||
}
|
||||
|
||||
/**
|
||||
* Splits the texture into a grid of atlas sprites and assigns sub-icons to them.
|
||||
* <p>
|
||||
* The number of sub-icons is determined by the submap's width and height,
|
||||
* while spriteColumns and spriteRows determine how many separate atlas sprites
|
||||
* are used. Each sprite can contain one or more sub-icons.
|
||||
* <p>
|
||||
* For example, a 4x4 submap backed by a 2x2 sprite grid uses four atlas sprites,
|
||||
* each containing a 2x2 group of sub-icons.
|
||||
* For internal use only, this is used to create the virtual "subicons" used in the map.
|
||||
*/
|
||||
protected final void registerSpriteGrid(TextureMap textureMap, int spriteColumns, int spriteRows) {
|
||||
if (baseIcon == null || width <= 0 || height <= 0) {
|
||||
return;
|
||||
}
|
||||
if (spriteColumns <= 0 || spriteRows <= 0 || width % spriteColumns != 0 || height % spriteRows != 0) {
|
||||
throw new IllegalArgumentException(
|
||||
"Logical submap " + width
|
||||
+ "x"
|
||||
+ height
|
||||
+ " cannot be backed by sprite grid "
|
||||
+ spriteColumns
|
||||
+ "x"
|
||||
+ spriteRows);
|
||||
@SubscribeEvent
|
||||
public final void TexturesStitched(TextureStitchEvent.Post event) {
|
||||
for (TextureSubmap ts : submaps) {
|
||||
ts.texturesStitched();
|
||||
}
|
||||
}
|
||||
|
||||
ResourceLocation sourceLocation = new ResourceLocation(baseIcon.getIconName());
|
||||
IIcon[][] sprites = new IIcon[spriteColumns][spriteRows];
|
||||
|
||||
for (int spriteX = 0; spriteX < spriteColumns; spriteX++) {
|
||||
for (int spriteY = 0; spriteY < spriteRows; spriteY++) {
|
||||
sprites[spriteX][spriteY] = getBackingSprite(
|
||||
textureMap,
|
||||
sourceLocation,
|
||||
spriteColumns,
|
||||
spriteRows,
|
||||
spriteX,
|
||||
spriteY);
|
||||
}
|
||||
}
|
||||
|
||||
int cellsPerSpriteX = width / spriteColumns;
|
||||
int cellsPerSpriteY = height / spriteRows;
|
||||
boolean wholeSprite = cellsPerSpriteX == 1 && cellsPerSpriteY == 1;
|
||||
|
||||
public void texturesStitched() {
|
||||
for (int x = 0; x < width; x++) {
|
||||
for (int y = 0; y < height; y++) {
|
||||
IIcon sprite = sprites[x / cellsPerSpriteX][y / cellsPerSpriteY];
|
||||
icons[x][y] = wholeSprite ? sprite
|
||||
: new TextureRegion(
|
||||
sprite,
|
||||
cellsPerSpriteX,
|
||||
cellsPerSpriteY,
|
||||
x % cellsPerSpriteX,
|
||||
y % cellsPerSpriteY);
|
||||
icons[x][y] = new TextureVirtual(getBaseIcon(), width, height, x, y);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private IIcon getBackingSprite(TextureMap textureMap, ResourceLocation sourceLocation, int columns, int rows, int x,
|
||||
int y) {
|
||||
private class TextureVirtual implements IIcon {
|
||||
|
||||
if (columns == 1 && rows == 1) {
|
||||
return baseIcon;
|
||||
}
|
||||
private int width, height;
|
||||
private float umin, umax, vmin, vmax;
|
||||
private IIcon parentIcon;
|
||||
|
||||
String name = TextureSubmapResource.getSubIconName(sourceLocation, columns, rows, x, y);
|
||||
return textureMap.registerIcon(name);
|
||||
}
|
||||
private TextureVirtual(IIcon parent, int w, int h, int x, int y) {
|
||||
parentIcon = parent;
|
||||
|
||||
private static final class TextureRegion implements IIcon {
|
||||
umin = parentIcon.getInterpolatedU(16.0 * (x) / w);
|
||||
umax = parentIcon.getInterpolatedU(16.0 * (x + 1) / w);
|
||||
vmin = parentIcon.getInterpolatedV(16.0 * (y) / h);
|
||||
vmax = parentIcon.getInterpolatedV(16.0 * (y + 1) / h);
|
||||
|
||||
private final IIcon parent;
|
||||
private final int columns;
|
||||
private final int rows;
|
||||
private final int x;
|
||||
private final int y;
|
||||
|
||||
private TextureRegion(IIcon parent, int columns, int rows, int x, int y) {
|
||||
this.parent = parent;
|
||||
this.columns = columns;
|
||||
this.rows = rows;
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
width = parentIcon.getIconWidth();
|
||||
height = parentIcon.getIconHeight();
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public float getMinU() {
|
||||
return getInterpolatedU(0);
|
||||
return umin;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public float getMaxU() {
|
||||
return getInterpolatedU(16);
|
||||
return umax;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getInterpolatedU(double u) {
|
||||
return parent.getInterpolatedU((16.0 * x + u) / columns);
|
||||
@SideOnly(Side.CLIENT)
|
||||
public float getInterpolatedU(double d0) {
|
||||
return (float) (umin + (umax - umin) * d0 / 16.0);
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public float getMinV() {
|
||||
return getInterpolatedV(0);
|
||||
return vmin;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public float getMaxV() {
|
||||
return getInterpolatedV(16);
|
||||
return vmax;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getInterpolatedV(double v) {
|
||||
return parent.getInterpolatedV((16.0 * y + v) / rows);
|
||||
@SideOnly(Side.CLIENT)
|
||||
public float getInterpolatedV(double d0) {
|
||||
return (float) (vmin + (vmax - vmin) * d0 / 16.0);
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public String getIconName() {
|
||||
return parent.getIconName();
|
||||
return parentIcon.getIconName();
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public int getIconWidth() {
|
||||
return parent.getIconWidth() / columns;
|
||||
return width;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public int getIconHeight() {
|
||||
return parent.getIconHeight() / rows;
|
||||
return height;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
package team.chisel.ctmlib;
|
||||
|
||||
import net.minecraft.client.renderer.texture.TextureMap;
|
||||
import net.minecraft.util.IIcon;
|
||||
|
||||
/**
|
||||
* A CTM submap that keeps each tile in one atlas sprite while exposing its four quadrants as sub-icons.
|
||||
*/
|
||||
public final class TextureSubmapCTM extends TextureSubmap {
|
||||
|
||||
/**
|
||||
* @param baseIcon The registered texture sheet.
|
||||
* @param size The number of logical quadrants per axis: 4 for the CTM sheet, 2 for the normal texture.
|
||||
*/
|
||||
public TextureSubmapCTM(IIcon baseIcon, int size) {
|
||||
super(baseIcon, size, size);
|
||||
|
||||
if (size <= 0 || (size & 1) != 0) {
|
||||
throw new IllegalArgumentException("CTM submap size must be a positive even number: " + size);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerSubIcons(TextureMap textureMap) {
|
||||
registerSpriteGrid(textureMap, getWidth() / 2, getHeight() / 2);
|
||||
}
|
||||
}
|
||||
@@ -1,280 +0,0 @@
|
||||
package team.chisel.ctmlib;
|
||||
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import javax.imageio.IIOImage;
|
||||
import javax.imageio.ImageIO;
|
||||
import javax.imageio.ImageWriteParam;
|
||||
import javax.imageio.ImageWriter;
|
||||
import javax.imageio.stream.ImageOutputStream;
|
||||
import javax.imageio.stream.MemoryCacheImageOutputStream;
|
||||
|
||||
import net.minecraft.client.resources.IResource;
|
||||
import net.minecraft.client.resources.data.AnimationFrame;
|
||||
import net.minecraft.client.resources.data.AnimationMetadataSection;
|
||||
import net.minecraft.client.resources.data.IMetadataSection;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
|
||||
import com.github.bsideup.jabel.Desugar;
|
||||
|
||||
public final class TextureSubmapResource implements IResource {
|
||||
|
||||
@Desugar
|
||||
public record SubmapLocation(ResourceLocation source, int columns, int rows, int cellX, int cellY) {}
|
||||
|
||||
@Desugar
|
||||
private record SubmapCacheKey(ResourceLocation source, int columns, int rows) {}
|
||||
|
||||
@Nullable
|
||||
private static volatile ConcurrentHashMap<SubmapCacheKey, byte[][]> imageCache;
|
||||
|
||||
private static final String PREFIX = "__chisel_submap/";
|
||||
|
||||
private final IResource resource;
|
||||
private final SubmapLocation submap;
|
||||
private final boolean cacheable;
|
||||
private byte[] imageData;
|
||||
|
||||
public TextureSubmapResource(IResource resource, SubmapLocation submap, boolean cacheable) {
|
||||
this.resource = resource;
|
||||
this.submap = submap;
|
||||
this.cacheable = cacheable;
|
||||
}
|
||||
|
||||
public static SubmapLocation parse(ResourceLocation location) {
|
||||
String path = location.getResourcePath();
|
||||
|
||||
int prefix = path.indexOf(PREFIX);
|
||||
if (prefix < 0 || prefix > 0 && path.charAt(prefix - 1) != '/') return null;
|
||||
|
||||
int gridStart = prefix + PREFIX.length();
|
||||
int gridEnd = path.indexOf('/', gridStart);
|
||||
if (gridEnd < 0) return null;
|
||||
|
||||
int cellEnd = path.indexOf('/', gridEnd + 1);
|
||||
if (cellEnd < 0) return null;
|
||||
|
||||
String grid = path.substring(gridStart, gridEnd);
|
||||
String cell = path.substring(gridEnd + 1, cellEnd);
|
||||
|
||||
int gridSeparator = grid.indexOf('x');
|
||||
int cellSeparator = cell.indexOf('_');
|
||||
if (gridSeparator <= 0 || cellSeparator <= 0) return null;
|
||||
|
||||
try {
|
||||
int columns = Integer.parseInt(grid.substring(0, gridSeparator));
|
||||
int rows = Integer.parseInt(grid.substring(gridSeparator + 1));
|
||||
int cellX = Integer.parseInt(cell.substring(0, cellSeparator));
|
||||
int cellY = Integer.parseInt(cell.substring(cellSeparator + 1));
|
||||
|
||||
if (cellX < 0 || cellY < 0 || cellX >= columns || cellY >= rows) {
|
||||
return null;
|
||||
}
|
||||
|
||||
String sourcePath = path.substring(0, prefix) + path.substring(cellEnd + 1);
|
||||
ResourceLocation sourceLocation = new ResourceLocation(location.getResourceDomain(), sourcePath);
|
||||
return new SubmapLocation(sourceLocation, columns, rows, cellX, cellY);
|
||||
} catch (NumberFormatException ignored) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static String getSubIconName(ResourceLocation source, int columns, int rows, int cellX, int cellY) {
|
||||
return source.getResourceDomain() + ":"
|
||||
+ PREFIX
|
||||
+ columns
|
||||
+ "x"
|
||||
+ rows
|
||||
+ "/"
|
||||
+ cellX
|
||||
+ "_"
|
||||
+ cellY
|
||||
+ "/"
|
||||
+ source.getResourcePath();
|
||||
}
|
||||
|
||||
public static void beginTextureStitch() {
|
||||
imageCache = new ConcurrentHashMap<>();
|
||||
}
|
||||
|
||||
public static void endTextureStitch() {
|
||||
imageCache = null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public InputStream getInputStream() {
|
||||
if (imageData == null) {
|
||||
try {
|
||||
imageData = getCachedImageData(resource, submap);
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException("Failed to generate submap resource " + submap.source(), e);
|
||||
}
|
||||
}
|
||||
|
||||
return new ByteArrayInputStream(imageData);
|
||||
}
|
||||
|
||||
private byte[] getCachedImageData(IResource resource, SubmapLocation submap) throws IOException {
|
||||
ConcurrentHashMap<SubmapCacheKey, byte[][]> cache = imageCache;
|
||||
if (!cacheable || cache == null) {
|
||||
return generateCell(resource, submap);
|
||||
}
|
||||
|
||||
SubmapCacheKey key = new SubmapCacheKey(submap.source(), submap.columns(), submap.rows());
|
||||
byte[][] cells = cache.get(key);
|
||||
if (cells == null) {
|
||||
cells = generateSubmap(resource, submap);
|
||||
byte[][] existing = cache.putIfAbsent(key, cells);
|
||||
if (existing != null) {
|
||||
cells = existing;
|
||||
}
|
||||
} else {
|
||||
// generateCell and generateSubmap automatically close the stream, but we also need to close it on cache hit
|
||||
resource.getInputStream()
|
||||
.close();
|
||||
}
|
||||
|
||||
return cells[submap.cellX() * submap.rows() + submap.cellY()];
|
||||
}
|
||||
|
||||
private static byte[][] generateSubmap(IResource resource, SubmapLocation submap) throws IOException {
|
||||
BufferedImage source = read(resource, submap.source());
|
||||
byte[][] cells = new byte[submap.columns() * submap.rows()][];
|
||||
|
||||
for (int x = 0; x < submap.columns(); x++) {
|
||||
for (int y = 0; y < submap.rows(); y++) {
|
||||
BufferedImage cropped = crop(source, submap.columns(), submap.rows(), x, y);
|
||||
cells[x * submap.rows() + y] = encode(cropped);
|
||||
}
|
||||
}
|
||||
|
||||
return cells;
|
||||
}
|
||||
|
||||
private static byte[] generateCell(IResource resource, SubmapLocation submap) throws IOException {
|
||||
BufferedImage source = read(resource, submap.source());
|
||||
BufferedImage cropped = crop(source, submap.columns(), submap.rows(), submap.cellX(), submap.cellY());
|
||||
return encode(cropped);
|
||||
}
|
||||
|
||||
private static BufferedImage read(IResource resource, ResourceLocation location) throws IOException {
|
||||
BufferedImage image;
|
||||
try (InputStream stream = resource.getInputStream()) {
|
||||
image = ImageIO.read(stream);
|
||||
}
|
||||
if (image == null) {
|
||||
throw new IOException("Unable to decode " + location);
|
||||
}
|
||||
return image;
|
||||
}
|
||||
|
||||
private static byte[] encode(BufferedImage image) throws IOException {
|
||||
ByteArrayOutputStream output = new ByteArrayOutputStream();
|
||||
Iterator<ImageWriter> writers = ImageIO.getImageWritersByFormatName("png");
|
||||
ImageWriter writer = writers.next();
|
||||
|
||||
ImageWriteParam param = writer.getDefaultWriteParam();
|
||||
if (param.canWriteCompressed()) {
|
||||
// Disable compression to avoid wasting time compressing images that will immediately be decoded again
|
||||
param.setCompressionMode(ImageWriteParam.MODE_EXPLICIT);
|
||||
param.setCompressionQuality(1.0f);
|
||||
}
|
||||
|
||||
try (ImageOutputStream imageOutput = new MemoryCacheImageOutputStream(output)) {
|
||||
writer.setOutput(imageOutput);
|
||||
writer.write(null, new IIOImage(image, null, null), param);
|
||||
} finally {
|
||||
writer.dispose();
|
||||
}
|
||||
|
||||
return output.toByteArray();
|
||||
}
|
||||
|
||||
private static BufferedImage crop(BufferedImage source, int columns, int rows, int cellX, int cellY)
|
||||
throws IOException {
|
||||
|
||||
int frameSize = source.getWidth();
|
||||
int sourceHeight = source.getHeight();
|
||||
|
||||
if (frameSize < columns || frameSize < rows
|
||||
|| frameSize % columns != 0
|
||||
|| frameSize % rows != 0
|
||||
|| sourceHeight % frameSize != 0) {
|
||||
|
||||
throw new IOException(
|
||||
"Texture size " + frameSize
|
||||
+ "x"
|
||||
+ sourceHeight
|
||||
+ " cannot be split into submap "
|
||||
+ columns
|
||||
+ "x"
|
||||
+ rows);
|
||||
}
|
||||
|
||||
int cellWidth = frameSize / columns;
|
||||
int cellHeight = frameSize / rows;
|
||||
int frameCount = sourceHeight / frameSize;
|
||||
|
||||
BufferedImage result = new BufferedImage(cellWidth, cellHeight * frameCount, BufferedImage.TYPE_INT_ARGB);
|
||||
int[] pixels = new int[cellWidth * cellHeight];
|
||||
|
||||
for (int frame = 0; frame < frameCount; frame++) {
|
||||
int sourceX = cellX * cellWidth;
|
||||
int sourceY = frame * frameSize + cellY * cellHeight;
|
||||
|
||||
source.getRGB(sourceX, sourceY, cellWidth, cellHeight, pixels, 0, cellWidth);
|
||||
result.setRGB(0, frame * cellHeight, cellWidth, cellHeight, pixels, 0, cellWidth);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasMetadata() {
|
||||
return resource.hasMetadata();
|
||||
}
|
||||
|
||||
@Override
|
||||
public IMetadataSection getMetadata(String sectionName) {
|
||||
IMetadataSection metadata = resource.getMetadata(sectionName);
|
||||
if (!(metadata instanceof AnimationMetadataSection animation)) {
|
||||
return metadata;
|
||||
}
|
||||
if (animation.getFrameWidth() < 0 && animation.getFrameHeight() < 0) {
|
||||
return metadata;
|
||||
}
|
||||
|
||||
List<AnimationFrame> frames = new ArrayList<>(animation.getFrameCount());
|
||||
for (int i = 0; i < animation.getFrameCount(); i++) {
|
||||
if (animation.frameHasTime(i)) {
|
||||
frames.add(new AnimationFrame(animation.getFrameIndex(i), animation.getFrameTimeSingle(i)));
|
||||
} else {
|
||||
frames.add(new AnimationFrame(animation.getFrameIndex(i)));
|
||||
}
|
||||
}
|
||||
|
||||
int frameWidth = scaleMetadataDimension(animation.getFrameWidth(), submap.columns());
|
||||
int frameHeight = scaleMetadataDimension(animation.getFrameHeight(), submap.rows());
|
||||
return new AnimationMetadataSection(frames, frameWidth, frameHeight, animation.getFrameTime());
|
||||
}
|
||||
|
||||
private static int scaleMetadataDimension(int dimension, int divisions) {
|
||||
if (dimension < 0) {
|
||||
return dimension;
|
||||
}
|
||||
if (dimension % divisions != 0) {
|
||||
throw new IllegalArgumentException(
|
||||
"Animation frame size " + dimension + " is not divisible by submap size " + divisions);
|
||||
}
|
||||
return dimension / divisions;
|
||||
}
|
||||
}
|
||||
@@ -197,18 +197,14 @@ public final class ChiselBlocks {
|
||||
public static final BlockCarvable iridium = null;
|
||||
public static final BlockCarvable osmium = null;
|
||||
public static final BlockCarvable coral = null;
|
||||
public static final BlockCarvable coral2 = null;
|
||||
public static final BlockCarvable mud = null;
|
||||
public static final BlockCarvable albumblock = null;
|
||||
public static final BlockCarvable albumblock2 = null;
|
||||
public static final BlockCarvable albumblock3 = null;
|
||||
public static final BlockCarvable brickCustom2 = null;
|
||||
public static final BlockCarvable brutalism = null;
|
||||
public static final BlockConcrete road = null;
|
||||
public static final BlockCarvable porcelain = null;
|
||||
public static final BlockCarvable alabaster = null;
|
||||
|
||||
// Architect's Palette Backport
|
||||
|
||||
private ChiselBlocks() {}
|
||||
}
|
||||
@@ -1254,8 +1254,6 @@ tile.diamond.10.desc=Small Ornate Diamond Blocks
|
||||
tile.diamond.11.desc=Zelda Diamond Block
|
||||
tile.diamond.12.desc=Diamond Block with Ornate Layer
|
||||
tile.diamond.13.desc=Modern Diamond Block
|
||||
tile.diamond.14.desc=Diamond Ore Bricks
|
||||
tile.diamond.15.desc=Chiseled Diamond Ore Bricks
|
||||
|
||||
#Snakestone
|
||||
tile.chisel.snakestoneSand.name=Sand Snakestone
|
||||
@@ -1306,10 +1304,7 @@ tile.sandstone.13.desc=Small Sandstone Blocks
|
||||
tile.sandstone.14.desc=Sandstone Mosaic
|
||||
tile.sandstone.15.desc=Stacked Sandstone Tiles
|
||||
tile.sandstone.16.desc=Sandstone Bricks
|
||||
tile.sandstone.17.desc=Smooth Flat Sandstone
|
||||
tile.sandstone.18.desc=Gilded Sandstone
|
||||
tile.sandstone.19.desc=Gilded Sandstone Pillar
|
||||
tile.sandstone.20.desc=Chiseled Gilded Sandstone
|
||||
tile.sandstone.17.desc=
|
||||
|
||||
#Sandstone scribbles
|
||||
tile.chisel.sandstone_scribbles.name=Sandstone Scribbles
|
||||
@@ -1456,9 +1451,6 @@ tile.emerald.9.desc=Small Emerald Blocks
|
||||
tile.emerald.10.desc=Small Ornate Emerald Blocks
|
||||
tile.emerald.11.desc=Ornate Emerald Block
|
||||
tile.emerald.12.desc=Modern Emerald Block
|
||||
tile.emerald.13.desc=Emerald Ore Bricks
|
||||
tile.emerald.14.desc=Cracked Emerald Ore Bricks
|
||||
tile.emerald.15.desc=Chiseled Emerald Ore Bricks
|
||||
|
||||
#Nether Brick
|
||||
tile.chisel.nether_brick.name=Nether Brick
|
||||
@@ -2793,15 +2785,6 @@ tile.lantern.2.desc=Redstone
|
||||
tile.lantern.3.desc=Soul
|
||||
tile.lantern.4.desc=Cursed
|
||||
tile.lantern.5.desc=Ender
|
||||
tile.lantern.6.desc=Tuff Lamp
|
||||
tile.lantern.7.desc=Calcite Lamp
|
||||
tile.lantern.9.desc=Dripstone Lamp
|
||||
tile.lantern.8.desc=Oracle Lamp
|
||||
tile.lantern.10.desc=Algal Lamp
|
||||
tile.lantern.11.desc=Abyssal Lamp
|
||||
tile.lantern.12.desc=Charged Abyssal Lamp
|
||||
tile.lantern.13.desc=Hadal Lamp
|
||||
tile.lantern.14.desc=Charged Hadal Lamp
|
||||
|
||||
#Sheetmetal
|
||||
tile.chisel.sheetmetal.name=Sheetmetal
|
||||
@@ -2891,7 +2874,6 @@ tile.mud.6.desc=Mud Bricks
|
||||
|
||||
tile.chisel.albumblock.name=Musical Block
|
||||
tile.chisel.albumblock2.name=Musical Block
|
||||
tile.chisel.albumblock3.name=Musical Block
|
||||
tile.album.0.desc=That Green Gentleman
|
||||
tile.album.1.desc=Pretty Odd
|
||||
tile.album.2.desc=Laminated Denim
|
||||
@@ -2911,34 +2893,6 @@ tile.album.15.desc=Having Too Much Fun
|
||||
tile.album2.16.desc=The Cork Tree
|
||||
tile.album2.17.desc=Cooperstown
|
||||
tile.album2.18.desc=The Most Fun a Girl Can Have
|
||||
tile.album2.19.desc=Birdbrain
|
||||
tile.album2.20.desc=Fancy Some More?
|
||||
tile.album2.21.desc=Paper-Mâché
|
||||
tile.album2.22.desc=Girls Like Us
|
||||
tile.album2.23.desc=The Terrors
|
||||
tile.album2.24.desc=Stardust Pharmacy
|
||||
tile.album2.25.desc=Katamari
|
||||
tile.album2.26.desc=Charleston Girl
|
||||
tile.album2.27.desc=Transitional Bird
|
||||
tile.album2.28.desc=Komm, Susser Tod
|
||||
tile.album2.29.desc=You Like Magic?
|
||||
tile.album2.30.desc=Guess
|
||||
tile.album2.31.desc=P-Panda
|
||||
tile.album3.32.desc=Fill Your Lungs
|
||||
tile.album3.33.desc=Paranoid
|
||||
tile.album3.34.desc=Monomi
|
||||
tile.album3.35.desc=Ursine
|
||||
tile.album3.36.desc=Hexie Mountains
|
||||
tile.album3.37.desc=Melancholy Hill
|
||||
tile.album3.38.desc=Triple Blocka
|
||||
tile.album3.39.desc=Ya Ya Ya Ya Ya Ya Ya Ya
|
||||
tile.album3.40.desc=Phantom Island
|
||||
tile.album3.41.desc=Alligator Bites Never Heal
|
||||
tile.album3.42.desc=Chiseled Triple Blocka
|
||||
tile.album3.43.desc=Magnet
|
||||
tile.album3.44.desc=Digital Girl
|
||||
tile.album3.45.desc=Digital World
|
||||
tile.album3.46.desc=Pain
|
||||
|
||||
tile.chisel.brutalism.name=Brutalist Block
|
||||
tile.brutalism.0.desc=Plain Cement
|
||||
@@ -2980,56 +2934,6 @@ tile.alabaster.8.desc=Sage Green
|
||||
tile.alabaster.9.desc=Sky Blue
|
||||
tile.alabaster.10.desc=Cream
|
||||
|
||||
tile.chisel.topazBlock.name=Block of Topaz
|
||||
tile.chisel.charoiteBlock.name=Block of Charoite
|
||||
tile.chisel.fluoriteBlock.name=Block of Fluorite
|
||||
tile.chisel.jadeBlock.name=Block of Jade
|
||||
tile.chisel.labradoriteBlock.name=Block of Labradorite
|
||||
tile.chisel.netherquartzBlock.name=Block of Nether Quartz
|
||||
tile.chisel.onyxBlock.name=Block of Onyx
|
||||
tile.chisel.opalBlock.name=Block of Opal
|
||||
tile.chisel.rhodochrositeBlock.name=Block of Rhodochrosite
|
||||
tile.chisel.rubyBlock.name=Block of Ruby
|
||||
tile.chisel.spinelBlock.name=Block of Spinel
|
||||
tile.gems.0.desc=Hopper Crystal
|
||||
tile.gems.1.desc=Bordered
|
||||
tile.gems.2.desc=Cell
|
||||
tile.gems.3.desc=Faceted
|
||||
tile.gems.4.desc=Ornate Tiles
|
||||
tile.gems.5.desc=Large Tiles
|
||||
tile.gems.6.desc=Polished
|
||||
tile.gems.7.desc=Raw Mineral
|
||||
tile.gems.8.desc=Smooth
|
||||
tile.gems.9.desc=Spiraling
|
||||
tile.gems.10.desc=Simple Tiles
|
||||
|
||||
tile.chisel.sulfurBlock.name=Block of Sulfur
|
||||
tile.chisel.cinnabarBlock.name=Block of Cinnabar
|
||||
tile.chisel.tuffBlock.name=Tuff
|
||||
tile.chisel.coral2.name=Coralstone
|
||||
tile.chisel.prismarineBlock.name=Prismarine
|
||||
tile.chisel.darkprismarineBlock.name=Dark Prismarine
|
||||
tile.chisel.deepslateBlock.name=Deepslate
|
||||
tile.chisel.dripstoneBlock.name=Dripstone
|
||||
tile.chisel.basaltBlock.name=Basalt
|
||||
tile.stones.0.desc=Raw
|
||||
tile.stones.1.desc=Bricks
|
||||
tile.stones.2.desc=Chiseled
|
||||
tile.stones.3.desc=Cobblestone
|
||||
tile.stones.4.desc=Mossy
|
||||
tile.stones.5.desc=Pillar
|
||||
tile.stones.6.desc=Polished
|
||||
tile.stones.7.desc=Prism
|
||||
tile.stones.8.desc=Tiles
|
||||
tile.stones.9.desc=Ornate
|
||||
tile.tuff.0.desc=Architect's Tuff Bricks
|
||||
tile.tuff.1.desc=Architect's Tuff Pillar
|
||||
tile.dripstone.0.desc=Architect's Dripstone Bricks
|
||||
tile.dripstone.1.desc=Architect's Dripstone Pillar
|
||||
|
||||
tile.sulfur.0.desc=Potent Sulfur
|
||||
|
||||
|
||||
tile.chisel.road.name=Road Block
|
||||
tile.chisel.road2.name=Road Block
|
||||
tile.road.0.desc=Asphalt
|
||||
@@ -3067,141 +2971,3 @@ tile.road.31.desc=Overgrown Dirt Road
|
||||
|
||||
tile.chisel.amber.name=Block of Amber
|
||||
tile.chisel.bloodBrick.name=Bloodstone Brick
|
||||
|
||||
tile.chisel.boneBlock.name=Bone Block
|
||||
tile.chisel.calciteBlock.name=Calcite
|
||||
tile.chisel.flintBlock.name=Flint Block
|
||||
tile.chisel.sunstoneBlock.name=Sunstone
|
||||
tile.chisel.moonstoneBlock.name=Moonstone
|
||||
tile.chisel.sunstoneBlock.name=Sunstone
|
||||
tile.chisel.entwineBlock.name=Pearlescent Ender
|
||||
tile.chisel.oracleBlock.name=Psionic Stone
|
||||
tile.chisel.algalBlock.name=Algae Stone
|
||||
tile.chisel.cerebralBlock.name=Cerebral Stone
|
||||
tile.chisel.nether_brassBlock.name=Nether Brass
|
||||
tile.chisel.esoterrackBlock.name=Esoterrack
|
||||
tile.chisel.wardstoneBlock.name=Wardstone
|
||||
tile.chisel.olivestoneBlock.name=Dunite
|
||||
tile.chisel.visceraBlock.name=Viscera
|
||||
tile.chisel.abyssalineBlock.name=Abyssalline
|
||||
tile.chisel.hadalineBlock.name=Hadalline
|
||||
|
||||
tile.bone_block.0.desc=Architect's Bone
|
||||
tile.bone_block.1.desc=Bone Bricks
|
||||
tile.bone_block.2.desc=Bone Pillar
|
||||
tile.bone_block.3.desc=Skull
|
||||
tile.bone_block.4.desc=Withered Bone Block
|
||||
tile.bone_block.5.desc=Withered Bone Bricks
|
||||
tile.bone_block.6.desc=Withered Bone Pillar
|
||||
tile.bone_block.7.desc=Withered Skull
|
||||
tile.bone_block.8.desc=Evil Scary Glowing Withered Skull
|
||||
tile.bone_block.9.desc=Modern Bone Block
|
||||
|
||||
tile.calcite.0.desc=Calcite Bricks
|
||||
tile.calcite.1.desc=Calcite Pillar
|
||||
tile.calcite.2.desc=Chiseled Calcite
|
||||
|
||||
tile.flint.0.desc=Block of Flint
|
||||
tile.flint.1.desc=Chiseled Flint
|
||||
tile.flint.2.desc=Flint Pillar
|
||||
tile.flint.3.desc=Flint Tiles
|
||||
tile.flint.4.desc=Smooth Flint Block
|
||||
|
||||
tile.sunstone.0.desc=Sunmetal
|
||||
tile.sunstone.1.desc=Sunmetal Pillar
|
||||
tile.sunstone.2.desc=Chiseled Sunmetal
|
||||
tile.sunstone.3.desc=Extinguished Sunstone
|
||||
tile.sunstone.4.desc=Solar Sunstone
|
||||
tile.sunstone.5.desc=Eclipsed Sunstone
|
||||
|
||||
tile.moonstone.0.desc=New Moonstone
|
||||
tile.moonstone.1.desc=Crescent Moonstone
|
||||
tile.moonstone.2.desc=Full Moonstone
|
||||
tile.moonstone.3.desc=Moonshale
|
||||
tile.moonstone.4.desc=Moonshale Bricks
|
||||
tile.moonstone.5.desc=Cracked Moonshale Bricks
|
||||
tile.moonstone.6.desc=Moonshale Flagstone
|
||||
tile.moonstone.7.desc=Chiseled Moonstone
|
||||
tile.moonstone.8.desc=Bordered Moonstone
|
||||
tile.moonstone.9.desc=Cratered Moonshale
|
||||
tile.moonstone.10.desc=Nebulite
|
||||
tile.moonstone.11.desc=Polished Nebulite
|
||||
|
||||
tile.entwine.0.desc=Block of Ender Pearl
|
||||
tile.entwine.1.desc=Pearlescent Ender Block
|
||||
tile.entwine.2.desc=Chiseled Pearlescent Ender
|
||||
tile.entwine.3.desc=Pearlescent Ender Pillar
|
||||
|
||||
tile.oracle.0.desc=Psionic Block
|
||||
tile.oracle.1.desc=Framed Psionic Block
|
||||
tile.oracle.2.desc=Psionic Bricks
|
||||
tile.oracle.3.desc=Dark Psionic Bricks
|
||||
tile.oracle.4.desc=Psionic Pillar
|
||||
tile.oracle.5.desc=Psionic Tiles
|
||||
|
||||
tile.algal.0.desc=Algal Bricks
|
||||
tile.algal.1.desc=Chiseled Algal Bricks
|
||||
tile.algal.2.desc=Cracked Algal Bricks
|
||||
tile.algal.3.desc=Encrusted Algal Bricks
|
||||
|
||||
tile.cerebral.0.desc=Cerebral Stone
|
||||
tile.cerebral.1.desc=Frontal Tiles
|
||||
tile.cerebral.2.desc=Parietal Tiles
|
||||
tile.cerebral.3.desc=Temporal Tiles
|
||||
tile.cerebral.4.desc=Occipital Pillar
|
||||
|
||||
tile.nether_brass.0.desc=Nether Brass
|
||||
tile.nether_brass.1.desc=Cut Nether Brass
|
||||
tile.nether_brass.2.desc=Nether Brass Pillar
|
||||
tile.nether_brass.3.desc=Nether Brass Slabs
|
||||
tile.nether_brass.4.desc=Smooth Nether Brass
|
||||
|
||||
tile.esoterrack.0.desc=Esoterrack
|
||||
tile.esoterrack.1.desc=Esoterrack Bricks
|
||||
tile.esoterrack.2.desc=Esoterrack Pillar
|
||||
tile.esoterrack.3.desc=Variant Esoterrack
|
||||
|
||||
tile.wardstone.0.desc=Wardstone
|
||||
tile.wardstone.1.desc=Warded Bricks
|
||||
tile.wardstone.2.desc=Warded Pillar
|
||||
tile.wardstone.3.desc=Warded Slabs
|
||||
tile.wardstone.4.desc=Chiseled Wardstone
|
||||
tile.wardstone.5.desc=Warded Circle
|
||||
|
||||
tile.olivestone.0.desc=Chiseled Dunite
|
||||
tile.olivestone.1.desc=Cracked Dunite Bricks
|
||||
tile.olivestone.2.desc=Cracked Dunite Tiles
|
||||
tile.olivestone.3.desc=Gilded Dunite
|
||||
tile.olivestone.4.desc=Dunite Bricks
|
||||
tile.olivestone.5.desc=Dunite Pillar
|
||||
tile.olivestone.6.desc=Dunite Tiles
|
||||
tile.olivestone.7.desc=Serpentinized Dunite
|
||||
|
||||
tile.viscera.0.desc=Entrails
|
||||
tile.viscera.1.desc=Block of Rotten Flesh
|
||||
tile.viscera.2.desc=Salmon Log
|
||||
tile.viscera.3.desc=Cod Log
|
||||
|
||||
tile.abyssaline.0.desc=Abyssaline Bricks
|
||||
tile.abyssaline.1.desc=Charged Abyssaline Bricks
|
||||
tile.abyssaline.2.desc=Abyssaline Pillar
|
||||
tile.abyssaline.3.desc=Charged Abyssaline Pillar
|
||||
tile.abyssaline.4.desc=Abyssalline Chevrons
|
||||
tile.abyssaline.5.desc=Charged Abyssalline Chevrons
|
||||
tile.abyssaline.6.desc=Abyssaline Tiles
|
||||
tile.abyssaline.7.desc=Charged Abyssaline Tiles
|
||||
tile.abyssaline.8.desc=Abyssaline Plating
|
||||
tile.abyssaline.9.desc=Charged Abyssaline Plating
|
||||
tile.abyssaline.10.desc=Chiseled Abyssaline Bricks
|
||||
|
||||
tile.hadaline.0.desc=Hadaline Bricks
|
||||
tile.hadaline.1.desc=Charged Hadaline Bricks
|
||||
tile.hadaline.2.desc=Hadaline Pillar
|
||||
tile.hadaline.3.desc=Charged Hadaline Pillar
|
||||
tile.hadaline.4.desc=Hadalline Chevrons
|
||||
tile.hadaline.5.desc=Charged Hadalline Chevrons
|
||||
tile.hadaline.6.desc=Hadaline Tiles
|
||||
tile.hadaline.7.desc=Charged Hadaline Tiles
|
||||
tile.hadaline.8.desc=Hadaline Plating
|
||||
tile.hadaline.9.desc=Charged Hadaline Plating
|
||||
tile.hadaline.10.desc=Chiseled Hadaline Bricks
|
||||
|
Before Width: | Height: | Size: 288 B |
|
Before Width: | Height: | Size: 252 B |
|
Before Width: | Height: | Size: 305 B |
|
Before Width: | Height: | Size: 333 B |
|
Before Width: | Height: | Size: 323 B |
|
Before Width: | Height: | Size: 240 B |
|
Before Width: | Height: | Size: 328 B |
|
Before Width: | Height: | Size: 282 B |
|
Before Width: | Height: | Size: 336 B |
|
Before Width: | Height: | Size: 288 B |
|
Before Width: | Height: | Size: 305 B |
|
Before Width: | Height: | Size: 317 B |
|
Before Width: | Height: | Size: 300 B |
|
Before Width: | Height: | Size: 325 B |
|
Before Width: | Height: | Size: 253 B |
|
Before Width: | Height: | Size: 243 B |
|
Before Width: | Height: | Size: 300 B |
|
Before Width: | Height: | Size: 279 B |
|
Before Width: | Height: | Size: 304 B |
|
Before Width: | Height: | Size: 329 B |
|
Before Width: | Height: | Size: 284 B |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 291 B |
|
Before Width: | Height: | Size: 464 B |
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"animation": {
|
||||
"interpolate": true,
|
||||
"frametime": 10
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 315 B |
|
Before Width: | Height: | Size: 320 B |
|
Before Width: | Height: | Size: 363 B |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 261 B |
|
Before Width: | Height: | Size: 256 B |
|
Before Width: | Height: | Size: 244 B |
|
Before Width: | Height: | Size: 268 B |
|
Before Width: | Height: | Size: 167 B |
|
Before Width: | Height: | Size: 270 B |
|
Before Width: | Height: | Size: 261 B |
|
Before Width: | Height: | Size: 260 B |
|
Before Width: | Height: | Size: 286 B |
|
Before Width: | Height: | Size: 243 B |