Compare commits

..
Author SHA1 Message Date
Martin Robertz 3da974b1cf update 2024-10-21 21:55:35 +02:00
slprimeandslprime 637001538c Fix Waila for Torch & Pumpkin (#53)
Co-authored-by: slprime <[email protected]>
2024-10-21 21:18:36 +02:00
Dr-Nye 95c8c72db5 Update en_GB.lang (#52)
Consistency of chisel block names with regular block names
2024-10-21 21:18:15 +02:00
5 changed files with 13 additions and 47 deletions

No files matched your search

+3 -3
View File
@@ -1,9 +1,9 @@
// Add your dependencies here
dependencies {
implementation("com.github.GTNewHorizons:CodeChickenCore:1.3.6:dev")
implementation("com.github.GTNewHorizons:CodeChickenCore:1.3.9:dev")
implementation("com.github.GTNewHorizons:CodeChickenLib:1.3.0:dev")
implementation("com.github.GTNewHorizons:NotEnoughItems:2.6.19-GTNH:dev")
implementation("com.github.GTNewHorizons:NotEnoughItems:2.6.42-GTNH:dev")
implementation("com.github.GTNewHorizons:ForgeMultipart:1.5.0:dev")
compileOnly("org.projectlombok:lombok:1.18.24")
@@ -18,7 +18,7 @@ dependencies {
transitive = false
}
compileOnly("com.github.GTNewHorizons:Angelica:1.0.0-beta2:api") {
compileOnly("com.github.GTNewHorizons:Angelica:1.0.0-beta9:api") {
transitive = false
}
}
+1 -1
View File
@@ -17,7 +17,7 @@ pluginManagement {
}
plugins {
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.25'
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.27'
}
@@ -7,21 +7,14 @@ import net.minecraft.entity.monster.EntityIronGolem;
import net.minecraft.init.Blocks;
import net.minecraft.item.ItemStack;
import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import com.cricketcraft.chisel.api.ICarvable;
import com.cricketcraft.chisel.api.carving.CarvableHelper;
import com.cricketcraft.chisel.api.carving.IVariationInfo;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import team.chisel.Chisel;
import team.chisel.entity.EntityChiselSnowman;
public class BlockCarvablePumpkin extends BlockPumpkin implements ICarvable {
public CarvableHelper carverHelper;
public class BlockCarvablePumpkin extends BlockPumpkin {
@SideOnly(Side.CLIENT)
private IIcon top, face;
@@ -32,7 +25,6 @@ public class BlockCarvablePumpkin extends BlockPumpkin implements ICarvable {
super(isOn);
this.setStepSound(Block.soundTypeWood);
if (isOn) setLightLevel(10.0F);
carverHelper = new CarvableHelper(this);
}
@Override
@@ -122,16 +114,6 @@ public class BlockCarvablePumpkin extends BlockPumpkin implements ICarvable {
this.blockIcon = icon.registerIcon(Chisel.MOD_ID + ":pumpkin/pumpkin_side");
}
@Override
public IVariationInfo getManager(IBlockAccess world, int x, int y, int z, int metadata) {
return carverHelper.getVariation(metadata);
}
@Override
public IVariationInfo getManager(int meta) {
return carverHelper.getVariation(meta);
}
public void setInformation(String textureLocation) {
this.faceLocation = textureLocation;
}
@@ -4,28 +4,22 @@ import java.util.Random;
import net.minecraft.block.BlockTorch;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import com.cricketcraft.chisel.api.ChiselTabs;
import com.cricketcraft.chisel.api.ICarvable;
import com.cricketcraft.chisel.api.carving.CarvableHelper;
import com.cricketcraft.chisel.api.carving.IVariationInfo;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import team.chisel.Chisel;
public class BlockCarvableTorch extends BlockTorch implements ICarvable {
public class BlockCarvableTorch extends BlockTorch {
public CarvableHelper carverHelper;
private String texLocation;
protected boolean emitsParticles = true;
public int idx;
public BlockCarvableTorch(int idx, String tex) {
super();
carverHelper = new CarvableHelper(this);
setCreativeTab(ChiselTabs.tabOtherChiselBlocks);
setLightLevel(0.9375F);
setBlockName("torch");
@@ -33,16 +27,6 @@ public class BlockCarvableTorch extends BlockTorch implements ICarvable {
this.texLocation = tex;
}
@Override
public IVariationInfo getManager(IBlockAccess world, int x, int y, int z, int metadata) {
return carverHelper.getVariation(metadata);
}
@Override
public IVariationInfo getManager(int meta) {
return carverHelper.getVariation(meta);
}
@Override
public void registerBlockIcons(IIconRegister icon) {
this.blockIcon = icon.registerIcon(Chisel.MOD_ID + ":torch/" + texLocation);
@@ -238,7 +238,7 @@ tile.arcane.10.desc=Fine Thaumaturge's Emblem
tile.arcane.11.desc=Cracked Rock leaking Eldritch Glow
# Thaumium
tile.chisel.thaumium.name=Thaumium Block
tile.chisel.thaumium.name=Block of Thaumium
tile.thaumium.0.desc=Ornate Pattern
tile.thaumium.1.desc=Totem Faces
tile.thaumium.2.desc=Bricks
@@ -692,7 +692,7 @@ tile.factory2.2.desc=Metallic Blue Circuit Plating
tile.factory2.3.desc=Blue Wireframing
# Diamond blocks
tile.chisel.diamond_block.name=Diamond Block
tile.chisel.diamond_block.name=Block of Diamond
tile.diamond.1.desc=Embossed Diamond Block
tile.diamond.2.desc=Diamond Block with Panel
tile.diamond.3.desc=Diamond Cells
@@ -783,7 +783,7 @@ tile.roadLine.3.desc=Double Yellow
tile.roadLine.4.desc=Hazard Tape
# Iron Blocks
tile.chisel.iron_block.name=Iron Block
tile.chisel.iron_block.name=Block of Iron
tile.iron.1.desc=Large Iron Ingots
tile.iron.2.desc=Small Iron Ingots
tile.iron.3.desc=Iron Gears
@@ -801,7 +801,7 @@ tile.iron.14.desc=Iron Vents
tile.iron.15.desc=Simple Iron Block
# Gold Blocks
tile.chisel.gold_block.name=Gold Block
tile.chisel.gold_block.name=Block of Gold
tile.gold.1.desc=Large Golden Ingots
tile.gold.2.desc=Small Golden Ingots
tile.gold.3.desc=Golden Bricks
@@ -836,7 +836,7 @@ tile.lightstone.14.desc=Glowstone Bismuth
tile.lightstone.15.desc=Glowstone Bismuth Panel
# Lapis blocks
tile.chisel.lapis_block.name=Lapis Block
tile.chisel.lapis_block.name=Lapis Lazuli Block
tile.lapis.1.desc=Chunky Lapis Block
tile.lapis.2.desc=Dark Lapis Block
tile.lapis.3.desc=Zelda Lapis Block
@@ -847,7 +847,7 @@ tile.lapis.7.desc=Smooth Lapis
tile.lapis.8.desc=Lapis with Ornate Layer
# Emerald Blocks
tile.chisel.emerald_block.name=Emerald Block
tile.chisel.emerald_block.name=Block of Emerald
tile.emerald.1.desc=Emerald Panel
tile.emerald.2.desc=Classic emerald Panel
tile.emerald.3.desc=Smooth Emerald
@@ -1108,7 +1108,7 @@ tile.glass_pane.14.desc=Japanese Glass Pane
tile.glass_pane.15.desc=Ornate Japanese Glass Pane
# Redstone block
tile.chisel.redstone_block.name=Redstone Block
tile.chisel.redstone_block.name=Block of Redstone
tile.redstone_block.1.desc=Smooth Redstone
tile.redstone_block.2.desc=Large Redstone Block
tile.redstone_block.3.desc=Small Redstone Block