Compare commits

..
Author SHA1 Message Date
Martin Robertz 7a6076d9cd update 2025-10-25 14:29:19 +02:00
sisyphussy 39b96c5ec0 Merge pull request #67 from cambech/master
Fix issue 21220
2025-10-20 14:20:58 +02:00
cambech d81198fa0a Fix: corrected textures and removed flickering 2025-10-18 21:13:21 +02:00
cambech 5b169882bc Fix: corrected textures and removed flickering 2025-10-18 12:44:32 +02:00
cambech 30ad41cc57 Merge remote-tracking branch 'upstream/master' 2025-10-04 11:19:48 +02:00
Martin Robertz 4588690780 update 2025-10-01 18:15:53 +02:00
cambech a00cd59d4c Update description key (#66) 2025-09-30 16:59:11 +00:00
cambech e5f830ebb1 Update description key 2
Update description key from tile.voidstone.0.desc to tile.voidstone2.0.desc for voidstone2 variation
2025-09-30 11:54:54 +02:00
cambech 6fc3505ae7 Update description key
Update description key from tile.voidstone.0.desc to tile.voidstone2.0.desc for voidstone2 variation
2025-09-28 22:25:03 +02:00
Martin Robertz 51883263d7 update 2025-09-20 15:47:40 +02:00
JohnButlerThird 97fd3003e3 Add Thaumcraft and Biomes O' Plenty planks and slightly adjust planks for vanilla woods (#61) 2025-09-20 15:46:19 +02:00
Dream Master 14f6a09b9a update 2025-09-05 16:03:57 +02:00
DarkShadow44 40144a0fa5 Make rendering blocks thread safe with Angelica (#65) 2025-09-05 09:48:11 +02:00
Dream Master 4ce0134bed update 2025-08-04 10:00:48 +07:00
Pedro Ortiz Bledow 21caa10d34 Move Snakestone head and body blocks into the Smooth Stone chisel group (#64) 2025-08-04 00:05:30 +00:00
boubou19 4001d105a8 Speed up forge event registration (#62) 2025-07-17 19:17:22 +02:00
11 changed files with 96 additions and 47 deletions

No files matched your search

+5 -5
View File
@@ -1,14 +1,14 @@
// Add your dependencies here
dependencies {
implementation("com.github.GTNewHorizons:CodeChickenCore:1.4.3:dev")
implementation("com.github.GTNewHorizons:NotEnoughItems:2.7.66-GTNH:dev")
implementation("com.github.GTNewHorizons:ForgeMultipart:1.6.7:dev")
implementation("com.github.GTNewHorizons:CodeChickenCore:1.4.7:dev")
implementation("com.github.GTNewHorizons:NotEnoughItems:2.8.21-GTNH:dev")
implementation("com.github.GTNewHorizons:ForgeMultipart:1.7.0:dev")
compileOnly("org.projectlombok:lombok:1.18.24")
annotationProcessor("org.projectlombok:lombok:1.18.24")
devOnlyNonPublishable("com.github.GTNewHorizons:waila:1.8.12:dev") {
devOnlyNonPublishable("com.github.GTNewHorizons:waila:1.9.7:dev") {
transitive = false
}
devOnlyNonPublishable("com.github.GTNewHorizons:WailaHarvestability:1.3.4-GTNH:dev")
@@ -17,7 +17,7 @@ dependencies {
transitive = false
}
compileOnly("com.github.GTNewHorizons:Angelica:1.0.0-beta50:api") {
compileOnly("com.github.GTNewHorizons:Angelica:1.0.0-beta62:api") {
transitive = false
}
}
+3 -1
View File
@@ -96,7 +96,9 @@ usesMixinDebug = false
# Specify the location of your implementation of IMixinConfigPlugin. Leave it empty otherwise.
mixinPlugin =
# Specify the package that contains all of your Mixins. You may only place Mixins in this package or the build will fail!
# 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 =
# Specify the core mod entry class if you use a core mod. This class must implement IFMLLoadingPlugin!
+1 -1
View File
@@ -17,7 +17,7 @@ pluginManagement {
}
plugins {
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.41'
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.46'
}
+1 -1
View File
@@ -57,7 +57,7 @@ import team.chisel.world.GeneratorChisel;
name = Chisel.MOD_NAME,
version = Chisel.VERSION,
guiFactory = "team.chisel.client.gui.GuiFactory",
dependencies = "after:EE3;after:ForgeMultipart;after:Thaumcraft;after:appliedenergistics2;after:Railcraft;after:AWWayofTime;after:TwilightForest;after:BiomesOPlenty;after:salisarcana")
dependencies = "after:EE3;after:ForgeMultipart;after:Thaumcraft;after:appliedenergistics2;after:Railcraft;after:AWWayofTime;after:TwilightForest;after:BiomesOPlenty")
public class Chisel {
public static final String MOD_ID = "chisel";
+18 -14
View File
@@ -3501,8 +3501,10 @@ public enum Features {
// "Stone snake block head");
// LanguageRegistry.addName(new ItemStack(snakestone, 1, 13),
// "Stone snake block body");
Carving.chisel.addVariation("stonebrick", stone_snakestone, 1, 100);
Carving.chisel.addVariation("stonebrick", stone_snakestone, 13, 101);
Carving.chisel.addVariation("stonebricksmooth", stone_snakestone, 1, 20);
Carving.chisel.addVariation("stonebricksmooth", stone_snakestone, 13, 21);
// Carving.chisel.registerOre("snakestoneStone", "snakestoneStone");
}
},
@@ -4062,23 +4064,25 @@ public enum Features {
.setHardness(5.0F)
.setResistance(10.0F);
voidstone2.carverHelper
.addVariation("tile.voidstone.0.desc", 0, new SubmapManagerVoidstone("voidstone/animated/raw", 0));
voidstone2.carverHelper
.addVariation("tile.voidstone.1.desc", 1, new SubmapManagerVoidstone("voidstone/animated/quarters", 1));
voidstone2.carverHelper
.addVariation("tile.voidstone.2.desc", 2, new SubmapManagerVoidstone("voidstone/animated/smooth", 2));
voidstone2.carverHelper
.addVariation("tile.voidstone.3.desc", 3, new SubmapManagerVoidstone("voidstone/animated/skulls", 3));
voidstone2.carverHelper
.addVariation("tile.voidstone.4.desc", 4, new SubmapManagerVoidstone("voidstone/animated/rune", 4));
.addVariation("tile.voidstone2.0.desc", 0, new SubmapManagerVoidstone("voidstone/animated/raw", 0));
voidstone2.carverHelper.addVariation(
"tile.voidstone.5.desc",
"tile.voidstone2.1.desc",
1,
new SubmapManagerVoidstone("voidstone/animated/quarters", 1));
voidstone2.carverHelper
.addVariation("tile.voidstone2.2.desc", 2, new SubmapManagerVoidstone("voidstone/animated/smooth", 2));
voidstone2.carverHelper
.addVariation("tile.voidstone2.3.desc", 3, new SubmapManagerVoidstone("voidstone/animated/skulls", 3));
voidstone2.carverHelper
.addVariation("tile.voidstone2.4.desc", 4, new SubmapManagerVoidstone("voidstone/animated/rune", 4));
voidstone2.carverHelper.addVariation(
"tile.voidstone2.5.desc",
5,
new SubmapManagerVoidstone("voidstone/animated/metalborder", 5));
voidstone2.carverHelper
.addVariation("tile.voidstone.6.desc", 6, new SubmapManagerVoidstone("voidstone/animated/eye", 6));
.addVariation("tile.voidstone2.6.desc", 6, new SubmapManagerVoidstone("voidstone/animated/eye", 6));
voidstone2.carverHelper
.addVariation("tile.voidstone.7.desc", 7, new SubmapManagerVoidstone("voidstone/animated/bevel", 7));
.addVariation("tile.voidstone2.7.desc", 7, new SubmapManagerVoidstone("voidstone/animated/bevel", 7));
voidstone2.carverHelper.registerAll(voidstone2, "voidstone2");
Carving.chisel.registerOre("voidstone2", "voidstone2");
@@ -75,7 +75,13 @@ public class SubmapManagerAntiblock extends SubmapManagerBase {
};
@SideOnly(Side.CLIENT)
private RenderBlocksCTMFullbright rb;
private static ThreadLocal<RenderBlocksCTMFullbright> renderBlocksThreadLocal;
private static void initStatics() {
if (renderBlocksThreadLocal == null) {
renderBlocksThreadLocal = ThreadLocal.withInitial(RenderBlocksCTMFullbright::new);
}
}
private String color;
private TextureSubmap submap, submapSmall;
@@ -99,9 +105,8 @@ public class SubmapManagerAntiblock extends SubmapManagerBase {
@Override
@SideOnly(Side.CLIENT)
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
if (rb == null) {
rb = new RenderBlocksCTMFullbright();
}
initStatics();
RenderBlocksCTMFullbright rb = renderBlocksThreadLocal.get();
rb.setRenderBoundsFromBlock(block);
rb.submap = submap;
rb.submapSmall = submapSmall;
@@ -14,7 +14,13 @@ import team.chisel.ctmlib.TextureSubmap;
public class SubmapManagerCarpetFloor extends SubmapManagerBase {
@SideOnly(Side.CLIENT)
private RenderBlocksCTM rb;
private static ThreadLocal<RenderBlocksCTM> renderBlocksThreadLocal;
private static void initStatics() {
if (renderBlocksThreadLocal == null) {
renderBlocksThreadLocal = ThreadLocal.withInitial(RenderBlocksCTM::new);
}
}
private TextureSubmap submap;
private TextureSubmap submapSmall;
@@ -45,9 +51,8 @@ public class SubmapManagerCarpetFloor extends SubmapManagerBase {
@Override
@SideOnly(Side.CLIENT)
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
if (rb == null) {
rb = new RenderBlocksCTM();
}
initStatics();
RenderBlocksCTM rb = renderBlocksThreadLocal.get();
rb.setRenderBoundsFromBlock(block);
rb.submap = submap;
rb.submapSmall = submapSmall;
@@ -99,7 +99,13 @@ public class SubmapManagerCombinedCTM extends SubmapManagerBase {
}
@SideOnly(Side.CLIENT)
private RenderBlocksCTM rb;
private static ThreadLocal<RenderBlocksCombinedCTM> renderBlocksThreadLocal;
private static void initStatics() {
if (renderBlocksThreadLocal == null) {
renderBlocksThreadLocal = new ThreadLocal<>();
}
}
private TextureSubmap submap, smallSubmap;
private int size;
@@ -133,8 +139,11 @@ public class SubmapManagerCombinedCTM extends SubmapManagerBase {
@Override
@SideOnly(Side.CLIENT)
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
initStatics();
RenderBlocksCombinedCTM rb = renderBlocksThreadLocal.get();
if (rb == null) {
rb = new RenderBlocksCombinedCTM();
renderBlocksThreadLocal.set(rb);
}
rb.setRenderBoundsFromBlock(block);
return rb;
@@ -16,7 +16,13 @@ import team.chisel.ctmlib.TextureSubmap;
public class SubmapManagerSlab implements ISubmapManager {
@SideOnly(Side.CLIENT)
private RenderBlocksCTM rb;
private static ThreadLocal<RenderBlocksCTM> renderBlocksThreadLocal;
private static void initStatics() {
if (renderBlocksThreadLocal == null) {
renderBlocksThreadLocal = ThreadLocal.withInitial(RenderBlocksCTM::new);
}
}
private TextureSubmap submap;
private TextureSubmap submapSmall;
@@ -49,9 +55,8 @@ public class SubmapManagerSlab implements ISubmapManager {
@Override
@SideOnly(Side.CLIENT)
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
if (rb == null) {
rb = new RenderBlocksCTM();
}
initStatics();
RenderBlocksCTM rb = renderBlocksThreadLocal.get();
rb.setRenderBoundsFromBlock(block);
rb.submap = submap;
rb.submapSmall = submapSmall;
@@ -48,7 +48,14 @@ public class SubmapManagerSpecialMaterial extends SubmapManagerBase {
}
};
private RenderBlocksCTMFullbright renderBlocksFullbright;
@SideOnly(Side.CLIENT)
private static ThreadLocal<RenderBlocksCTMFullbright> renderBlocksThreadLocal;
private static void initStatics() {
if (renderBlocksThreadLocal == null) {
renderBlocksThreadLocal = ThreadLocal.withInitial(RenderBlocksCTMFullbright::new);
}
}
private String color;
private MaterialType materialType;
@@ -76,9 +83,8 @@ public class SubmapManagerSpecialMaterial extends SubmapManagerBase {
@Override
@SideOnly(Side.CLIENT)
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
if (renderBlocksFullbright == null) {
renderBlocksFullbright = new RenderBlocksCTMFullbright();
}
initStatics();
RenderBlocksCTMFullbright renderBlocksFullbright = renderBlocksThreadLocal.get();
renderBlocksFullbright.setRenderBoundsFromBlock(block);
renderBlocksFullbright.submap = submap;
renderBlocksFullbright.submapSmall = submapSmall;
@@ -26,7 +26,7 @@ public class SubmapManagerVoidstone extends SubmapManagerBase {
@Override
public void renderFaceXNeg(Block block, double x, double y, double z, IIcon icon) {
super.renderFaceXNeg(block, x, y, z, icon);
renderMinX += 0.001;
renderMinX += 0.005;
setOverrideBlockTexture(getBase(x, y, z, ForgeDirection.WEST.ordinal()));
super.renderFaceXNeg(block, x, y, z, null);
clearOverrideBlockTexture();
@@ -36,7 +36,7 @@ public class SubmapManagerVoidstone extends SubmapManagerBase {
public void renderFaceXPos(Block block, double x, double y, double z, IIcon icon) {
super.renderFaceXPos(block, x, y, z, icon);
setOverrideBlockTexture(getBase(x, y, z, ForgeDirection.EAST.ordinal()));
renderMaxX -= 0.001;
renderMaxX -= 0.005;
super.renderFaceXPos(block, x, y, z, null);
clearOverrideBlockTexture();
}
@@ -45,7 +45,7 @@ public class SubmapManagerVoidstone extends SubmapManagerBase {
public void renderFaceYNeg(Block block, double x, double y, double z, IIcon icon) {
super.renderFaceYNeg(block, x, y, z, icon);
setOverrideBlockTexture(getBase(x, y, z, ForgeDirection.DOWN.ordinal()));
renderMinY += 0.001;
renderMinY += 0.005;
super.renderFaceYNeg(block, x, y, z, null);
clearOverrideBlockTexture();
}
@@ -54,7 +54,7 @@ public class SubmapManagerVoidstone extends SubmapManagerBase {
public void renderFaceYPos(Block block, double x, double y, double z, IIcon icon) {
super.renderFaceYPos(block, x, y, z, icon);
setOverrideBlockTexture(getBase(x, y, z, ForgeDirection.UP.ordinal()));
renderMaxY -= 0.001;
renderMaxY -= 0.005;
super.renderFaceYPos(block, x, y, z, null);
clearOverrideBlockTexture();
}
@@ -63,7 +63,7 @@ public class SubmapManagerVoidstone extends SubmapManagerBase {
public void renderFaceZNeg(Block block, double x, double y, double z, IIcon icon) {
super.renderFaceZNeg(block, x, y, z, icon);
setOverrideBlockTexture(getBase(x, y, z, ForgeDirection.NORTH.ordinal()));
renderMinZ += 0.001;
renderMinZ += 0.005;
super.renderFaceZNeg(block, x, y, z, null);
clearOverrideBlockTexture();
}
@@ -72,14 +72,24 @@ public class SubmapManagerVoidstone extends SubmapManagerBase {
public void renderFaceZPos(Block block, double x, double y, double z, IIcon icon) {
super.renderFaceZPos(block, x, y, z, icon);
setOverrideBlockTexture(getBase(x, y, z, ForgeDirection.SOUTH.ordinal()));
renderMaxZ -= 0.001;
renderMaxZ -= 0.005;
super.renderFaceZPos(block, x, y, z, null);
clearOverrideBlockTexture();
}
public void reset() {
this.submap = null;
}
}
@SideOnly(Side.CLIENT)
private RenderBlocksVoidstone rb;
private static ThreadLocal<RenderBlocksVoidstone> renderBlocksThreadLocal;
private static void initStatics() {
if (renderBlocksThreadLocal == null) {
renderBlocksThreadLocal = new ThreadLocal<>();
}
}
private ISubmapManager overlay;
private TextureSubmap base;
@@ -123,9 +133,12 @@ public class SubmapManagerVoidstone extends SubmapManagerBase {
@Override
@SideOnly(Side.CLIENT)
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
initStatics();
RenderBlocksVoidstone rb = renderBlocksThreadLocal.get();
if (rb == null) {
rb = new RenderBlocksVoidstone();
}
renderBlocksThreadLocal.set(rb);
} else rb.reset();
RenderBlocks ctx = overlay.createRenderContext(rendererOld, block, world);
rb.setRenderBoundsFromBlock(block);
if (ctx instanceof RenderBlocksCTM) {