Compare commits

...
Author SHA1 Message Date
Martin Robertz 6788f10a3e update 2024-05-13 20:22:48 +02:00
GirixK 691d3a2962 spotlessApply 2024-05-13 20:21:05 +02:00
GirixK a99686e3a8 Change former assets to comply with minecraft's EULA
- Removed assets for variations 0-8
- Replaced 0-8 with different themed assets
- Added variation 9
2024-05-13 20:21:05 +02:00
GirixK 6064b7bc3d Fix typo in en_US 2024-05-13 20:21:05 +02:00
GirixK 3b8a85a20d Backport Froglights
Backported 3 froglights and added 6 more

Pearlescent, Ochre, Veridium, and the 6 custom ones meant to look like Osmium, Tungstensteel, Iron, Titanium, Aluminium, and Grisium
2024-05-13 20:21:05 +02:00
Jason Mitchell 772987a4f2 Fixes an NPE thrown with NEI 2024-02-20 09:28:57 -08:00
Jason Mitchell 33f240c73a Null saftey (#45) 2024-02-20 18:18:12 +01:00
19 changed files with 62 additions and 12 deletions

No files matched your search

+7 -7
View File
@@ -1,24 +1,24 @@
// Add your dependencies here
dependencies {
implementation("com.github.GTNewHorizons:CodeChickenCore:1.2.0:dev")
implementation("com.github.GTNewHorizons:CodeChickenLib:1.2.0:dev")
implementation("com.github.GTNewHorizons:NotEnoughItems:2.5.4-GTNH:dev")
implementation("com.github.GTNewHorizons:ForgeMultipart:1.4.7:dev")
implementation("com.github.GTNewHorizons:CodeChickenCore:1.2.1:dev")
implementation("com.github.GTNewHorizons:CodeChickenLib:1.2.1:dev")
implementation("com.github.GTNewHorizons:NotEnoughItems:2.6.0-GTNH:dev")
implementation("com.github.GTNewHorizons:ForgeMultipart:1.4.8:dev")
compileOnly("org.projectlombok:lombok:1.18.24")
annotationProcessor("org.projectlombok:lombok:1.18.24")
devOnlyNonPublishable("com.github.GTNewHorizons:waila:1.6.5:dev") {
devOnlyNonPublishable("com.github.GTNewHorizons:waila:1.7.3:dev") {
transitive = false
}
devOnlyNonPublishable("com.github.GTNewHorizons:WailaHarvestability:1.2.0-GTNH:dev")
devOnlyNonPublishable("com.github.GTNewHorizons:WailaHarvestability:1.2.1-GTNH:dev")
compileOnly("curse.maven:ee3-65509:2305023") { // https://www.curseforge.com/minecraft/mc-mods/ee3/files/2305023
transitive = false
}
compileOnly("com.github.GTNewHorizons:Angelica:1.0.0-alpha28:api") {
compileOnly("com.github.GTNewHorizons:Angelica:1.0.0-alpha48:api") {
transitive = false
}
}
+1 -1
View File
@@ -117,7 +117,7 @@ minimizeShadowedDependencies = true
# If disabled, won't rename the shadowed classes.
relocateShadowedDependencies = false
# Adds the GTNH maven, CurseMaven, IC2/Player maven, and some more well-known 1.7.10 repositories.
# Adds the GTNH maven, CurseMaven, Modrinth, and some more well-known 1.7.10 repositories.
includeWellKnownRepositories = true
# Change these to your Maven coordinates if you want to publish to a custom Maven repository instead of the default GTNH Maven.
Binary file not shown.
+1 -1
View File
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
+1 -1
View File
@@ -17,7 +17,7 @@ pluginManagement {
}
plugins {
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.14'
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.22'
}
@@ -206,6 +206,7 @@ public enum TextureType {
@Override
@SideOnly(Side.CLIENT)
protected RenderBlocks createRenderContext(RenderBlocks rendererOld, IBlockAccess world, Object cachedObject) {
TextureType.initStatics();
RenderBlocksCTM ret = theRenderBlocksCTM.get();
Triple<?, TextureSubmap, TextureSubmap> data = (Triple<?, TextureSubmap, TextureSubmap>) cachedObject;
ret.blockAccess = world;
@@ -348,8 +349,8 @@ public enum TextureType {
@SideOnly(Side.CLIENT)
public static void clearStatics() {
theRenderBlocksCTM.remove();
theRenderBlocksColumn.remove();
if(theRenderBlocksCTM != null) theRenderBlocksCTM.remove();
if(theRenderBlocksColumn != null) theRenderBlocksColumn.remove();
}
public ISubmapManager createManagerFor(ICarvingVariation variation, String texturePath) {
+33
View File
@@ -4302,6 +4302,39 @@ public enum Features {
boolean needsMetaRecipes() {
return true;
}
},
FROGLIGHT {
@Override
void addBlocks() {
BlockCarvable froglight = (BlockCarvable) new BlockCarvable()
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setLightLevel(1.0F)
.setStepSound(Block.soundTypeStone);
for (int i = 0; i < 10; i++) {
froglight.carverHelper.addVariation("tile.froglight." + i + ".desc", i, "froglight/" + i);
}
froglight.carverHelper.registerAll(froglight, "froglight");
}
@Override
void addRecipes() {
GameRegistry.addRecipe(
new ItemStack(ChiselBlocks.froglight, 8, 0),
"SGS",
"BSB",
"SGS",
'S',
new ItemStack(Blocks.stone, 1, 0),
'G',
new ItemStack(Items.glowstone_dust, 1),
'B',
new ItemStack(Items.slime_ball, 1));
}
};
private static final String[] dyeOres = { "dyeBlack", "dyeRed", "dyeGreen", "dyeBrown", "dyeBlue", "dyePurple",
@@ -167,5 +167,8 @@ public final class ChiselBlocks {
// 1.9... drull pls
public static final BlockCarvable purpur = null;
// 1.19, skipped 10 versions but thats fine
public static final BlockCarvable froglight = null;
private ChiselBlocks() {}
}
@@ -1878,3 +1878,16 @@ tile.glotek.12.desc=Cranberry
tile.glotek.13.desc=Brink Pink
tile.glotek.14.desc=Dark Salmon
tile.glotek.15.desc=Harvest Gold
#Froglight
tile.chisel.froglight.name=Froglight
tile.froglight.0.desc=Aluminium
tile.froglight.1.desc=Titanium
tile.froglight.2.desc=Tungstensteel
tile.froglight.3.desc=Osmium
tile.froglight.4.desc=Fluxed
tile.froglight.5.desc=Uranium
tile.froglight.6.desc=Girisium
tile.froglight.7.desc=Orundum
tile.froglight.8.desc=Blood-Stained
tile.froglight.9.desc=Ichor
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1005 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 956 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 960 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB