Compare commits

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

* Register torch part via IPartFactory2

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

* rocks and such

* spootless

* gemz

* gemz

* architect's palette

* spotle-who the hell is playing the goldship song

* optimize images

---------

Co-authored-by: Algent <[email protected]>
Co-authored-by: UltraProdigy <[email protected]>
2026-11-20 17:31:24 +01:00
DarkShadow44andboubou19 a431e2a65c Little Tiles support (#107)
* Refactor: Extract "matches" as method and use early exit

* Extend API to allow Little Tiles support

* Render little tiles with partial textures

* spotless

* Fix LT AO

* Ask for the right block

---------

Co-authored-by: boubou19 <[email protected]>
2026-11-09 11:37:43 +00:00
UltraProdigy aa803a1e51 ci: run build and test on release branches 2026-11-09 01:42:52 -05:00
3 changed files with 22 additions and 6 deletions

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
dependencies {
implementation("com.github.GTNewHorizons:CodeChickenCore:1.4.12:dev")
implementation("com.github.GTNewHorizons:NotEnoughItems:2.8.84-GTNH:dev")
implementation("com.github.GTNewHorizons:ForgeMultipart:1.7.3:dev")
implementation("com.github.GTNewHorizons:ForgeMultipart:2.0.0:dev")
compileOnly("org.projectlombok:lombok:1.18.24")
annotationProcessor("org.projectlombok:lombok:1.18.24")
+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")
dependencies = "after:EE3;after:ForgeMultipart@[2.0.0,);after:Thaumcraft;after:appliedenergistics2;after:Railcraft;after:AWWayofTime;after:TwilightForest;after:BiomesOPlenty")
public class Chisel {
public static final String MOD_ID = "chisel";
@@ -1,25 +1,27 @@
package team.chisel.compat.fmp;
import net.minecraft.block.Block;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
import com.cricketcraft.chisel.api.carving.IVariationInfo;
import com.google.common.collect.Lists;
import codechicken.lib.data.MCDataInput;
import codechicken.lib.vec.BlockCoord;
import codechicken.microblock.MicroMaterialRegistry;
import codechicken.multipart.MultiPartRegistry;
import codechicken.multipart.MultiPartRegistry.IPartConverter;
import codechicken.multipart.MultiPartRegistry.IPartFactory;
import codechicken.multipart.MultiPartRegistry.IPartFactory2;
import codechicken.multipart.TMultiPart;
import team.chisel.client.render.FullBrightMicroMaterial;
import team.chisel.init.ChiselBlocks;
public class FMPCompat implements IPartFactory, IPartConverter {
public class FMPCompat implements IPartFactory2, IPartConverter {
public void init() {
MultiPartRegistry.registerConverter(this);
MultiPartRegistry.registerParts(this, new String[] { "chisel_torch" });
MultiPartRegistry.registerPartFactory(this, "chisel_torch");
}
@Override
@@ -39,7 +41,21 @@ public class FMPCompat implements IPartFactory, IPartConverter {
}
@Override
public TMultiPart createPart(String type, boolean client) {
public TMultiPart createPart(String type, NBTTagCompound nbt) {
return newPart(type);
}
@Override
public TMultiPart createPart(String type, MCDataInput packet) {
return newPart(type);
}
@Override
public TMultiPart createPartForClientPreview(String type, NBTTagCompound nbt) {
return newPart(type);
}
private static TMultiPart newPart(String type) {
if (type.equals("chisel_torch")) {
return new PartChiselTorch();
}