Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c1ac213eab | ||
|
|
54c339e03e | ||
|
|
d34cd0445a |
No files matched your search
@@ -88,6 +88,7 @@ public class BlockNameConversion {
|
||||
namingConversion.put("blockFft", "fantasyblock");
|
||||
namingConversion.put("blockCarpetFloor", "carpet");
|
||||
namingConversion.put("blockLaboratory", "laboratoryblock");
|
||||
namingConversion.put("wroughtironblock", "castironblock");
|
||||
}
|
||||
|
||||
public static Item findItem(String oldname) {
|
||||
|
||||
@@ -4812,33 +4812,25 @@ public enum Features {
|
||||
Carving.chisel.registerOre("platinumblock", "blockPlatinum");
|
||||
}
|
||||
},
|
||||
WROUGHT_IRON {
|
||||
CAST_IRON {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable wrought_iron = (BlockCarvable) new BlockBeaconBase(Material.iron)
|
||||
BlockCarvable cast_iron = (BlockCarvable) new BlockBeaconBase(Material.iron)
|
||||
.setStepSound(Block.soundTypeMetal)
|
||||
.setCreativeTab(ChiselTabs.tabModdedChiselBlocks)
|
||||
.setHardness(5F)
|
||||
.setResistance(10F);
|
||||
wrought_iron.carverHelper
|
||||
.addVariation("tile.newmetalOre.0.desc", 0, "metals/wrought_iron/wrought_iron_0", 0);
|
||||
wrought_iron.carverHelper
|
||||
.addVariation("tile.newmetalOre.1.desc", 1, "metals/wrought_iron/wrought_iron_1", 1);
|
||||
wrought_iron.carverHelper
|
||||
.addVariation("tile.newetalOre.2.desc", 2, "metals/wrought_iron/wrought_iron_2", 2);
|
||||
wrought_iron.carverHelper
|
||||
.addVariation("tile.newetalOre.3.desc", 3, "metals/wrought_iron/wrought_iron_3", 3);
|
||||
wrought_iron.carverHelper
|
||||
.addVariation("tile.newetalOre.4.desc", 4, "metals/wrought_iron/wrought_iron_4", 4);
|
||||
wrought_iron.carverHelper
|
||||
.addVariation("tile.newetalOre.5.desc", 5, "metals/wrought_iron/wrought_iron_5", 5);
|
||||
wrought_iron.carverHelper
|
||||
.addVariation("tile.newetalOre.6.desc", 6, "metals/wrought_iron/wrought_iron_6", 6);
|
||||
wrought_iron.carverHelper
|
||||
.addVariation("tile.newetalOre.7.desc", 7, "metals/wrought_iron/wrought_iron_7", 6);
|
||||
wrought_iron.carverHelper.registerAll(wrought_iron, "wroughtironblock");
|
||||
Carving.chisel.registerOre("wroughtironblock", "blockWroughtIron");
|
||||
cast_iron.carverHelper.addVariation("tile.newmetalOre.0.desc", 0, "metals/cast_iron/cast_iron_0", 0);
|
||||
cast_iron.carverHelper.addVariation("tile.newmetalOre.1.desc", 1, "metals/cast_iron/cast_iron_1", 1);
|
||||
cast_iron.carverHelper.addVariation("tile.newetalOre.2.desc", 2, "metals/cast_iron/cast_iron_2", 2);
|
||||
cast_iron.carverHelper.addVariation("tile.newetalOre.3.desc", 3, "metals/cast_iron/cast_iron_3", 3);
|
||||
cast_iron.carverHelper.addVariation("tile.newetalOre.4.desc", 4, "metals/cast_iron/cast_iron_4", 4);
|
||||
cast_iron.carverHelper.addVariation("tile.newetalOre.5.desc", 5, "metals/cast_iron/cast_iron_5", 5);
|
||||
cast_iron.carverHelper.addVariation("tile.newetalOre.6.desc", 6, "metals/cast_iron/cast_iron_6", 6);
|
||||
cast_iron.carverHelper.addVariation("tile.newetalOre.7.desc", 7, "metals/cast_iron/cast_iron_7", 6);
|
||||
cast_iron.carverHelper.registerAll(cast_iron, "castironblock");
|
||||
Carving.chisel.registerOre("castironblock", "blockCastIron");
|
||||
}
|
||||
},
|
||||
TITANIUM {
|
||||
@@ -5251,7 +5243,7 @@ public enum Features {
|
||||
|
||||
@Override
|
||||
void addBlocks() {
|
||||
BlockCarvable road = (BlockCarvable) new BlockCarvable(Material.wood).setStepSound(Block.soundTypeWood)
|
||||
BlockCarvable road = (BlockCarvable) new BlockConcrete().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabModdedChiselBlocks)
|
||||
.setHardness(5F)
|
||||
.setResistance(10F);
|
||||
@@ -5272,7 +5264,7 @@ public enum Features {
|
||||
road.carverHelper.addVariation("tile.road.14.desc", 14, "road/lined_white");
|
||||
road.carverHelper.addVariation("tile.road.15.desc", 15, "road/outline_white");
|
||||
|
||||
BlockCarvable road2 = (BlockCarvable) new BlockCarvable(Material.wood).setStepSound(Block.soundTypeWood)
|
||||
BlockCarvable road2 = (BlockCarvable) new BlockConcrete().setStepSound(Block.soundTypeStone)
|
||||
.setCreativeTab(ChiselTabs.tabModdedChiselBlocks)
|
||||
.setHardness(5F)
|
||||
.setResistance(10F);
|
||||
|
||||
@@ -4,7 +4,6 @@ import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraftforge.client.ForgeHooksClient;
|
||||
|
||||
import team.chisel.client.render.RendererMultiLayer;
|
||||
|
||||
@@ -43,7 +42,6 @@ public abstract class BlockMultiLayerBase extends Block {
|
||||
|
||||
@Override
|
||||
public boolean canRenderInPass(int pass) {
|
||||
ForgeHooksClient.setRenderPass(pass);
|
||||
return pass == 1 || pass == 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import net.minecraft.block.Block;
|
||||
import net.minecraft.client.renderer.RenderBlocks;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraftforge.client.MinecraftForgeClient;
|
||||
import net.minecraftforge.client.ForgeHooksClient;
|
||||
|
||||
import com.gtnewhorizons.angelica.api.ThreadSafeISBRH;
|
||||
|
||||
@@ -57,7 +57,7 @@ public class RendererMultiLayer implements ISimpleBlockRenderingHandler {
|
||||
RenderBlocks renderer) {
|
||||
if (!(blck instanceof BlockMultiLayerBase block)) return false;
|
||||
|
||||
if (MinecraftForgeClient.getRenderPass() == 0) {
|
||||
if (ForgeHooksClient.getWorldRenderPass() == 0) {
|
||||
if (block.icon != null) {
|
||||
renderer.overrideBlockTexture = block.icon;
|
||||
renderer.renderStandardBlock(block, x, y, z);
|
||||
|
||||
@@ -189,7 +189,7 @@ public final class ChiselBlocks {
|
||||
public static final BlockCarvable invar = null;
|
||||
public static final BlockCarvable nickel = null;
|
||||
public static final BlockCarvable platinum = null;
|
||||
public static final BlockCarvable wrought_iron = null;
|
||||
public static final BlockCarvable cast_iron = null;
|
||||
public static final BlockCarvable stainless_steel = null;
|
||||
public static final BlockCarvable titanium = null;
|
||||
public static final BlockCarvable tungstensteel = null;
|
||||
@@ -202,7 +202,7 @@ public final class ChiselBlocks {
|
||||
public static final BlockCarvable albumblock2 = null;
|
||||
public static final BlockCarvable brickCustom2 = null;
|
||||
public static final BlockCarvable brutalism = null;
|
||||
public static final BlockCarvable road = null;
|
||||
public static final BlockConcrete road = null;
|
||||
public static final BlockCarvable porcelain = null;
|
||||
public static final BlockCarvable alabaster = null;
|
||||
|
||||
|
||||
@@ -2820,7 +2820,7 @@ tile.chisel.invarblock.name=Block of Invar
|
||||
tile.chisel.electrumblock.name=Block of Electrum
|
||||
tile.chisel.nickelblock.name=Block of Nickel
|
||||
tile.chisel.platinumblock.name=Block of Platinum
|
||||
tile.chisel.wroughtironblock.name=Block of Wrought Iron
|
||||
tile.chisel.castironblock.name=Block of Cast Iron
|
||||
tile.chisel.stainlesssteelblock.name=Block of Stainless Steel
|
||||
tile.chisel.titaniumblock.name=Block of Titanium
|
||||
tile.chisel.tungstensteelblock.name=Block of Tungstensteel
|
||||
|
||||
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |