Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2415e17583 | ||
|
|
0cabe335dd | ||
|
|
568e405e25 | ||
|
|
e851556159 | ||
|
|
b610b590a2 | ||
|
|
6788f10a3e | ||
|
|
691d3a2962 | ||
|
|
a99686e3a8 | ||
|
|
6064b7bc3d | ||
|
|
3b8a85a20d | ||
|
|
772987a4f2 | ||
|
|
33f240c73a |
No files matched your search
@@ -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.3.6:dev")
|
||||
implementation("com.github.GTNewHorizons:CodeChickenLib:1.3.0:dev")
|
||||
implementation("com.github.GTNewHorizons:NotEnoughItems:2.6.19-GTNH:dev")
|
||||
implementation("com.github.GTNewHorizons:ForgeMultipart:1.5.0: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.8.1: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-beta2:api") {
|
||||
transitive = false
|
||||
}
|
||||
}
|
||||
@@ -85,6 +85,11 @@ accessTransformersFile = chisel_compile_at.cfg
|
||||
# Provides setup for Mixins if enabled. If you don't know what mixins are: Keep it disabled!
|
||||
usesMixins = false
|
||||
|
||||
# Set to a non-empty string to configure mixins in a separate source set under src/VALUE, instead of src/main.
|
||||
# This can speed up compile times thanks to not running the mixin annotation processor on all input sources.
|
||||
# Mixin classes will have access to "main" classes, but not the other way around.
|
||||
separateMixinSourceSet =
|
||||
|
||||
# Adds some debug arguments like verbose output and class export.
|
||||
usesMixinDebug = false
|
||||
|
||||
@@ -117,9 +122,15 @@ 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 CurseMaven, Modrinth, and some more well-known 1.7.10 repositories.
|
||||
includeWellKnownRepositories = true
|
||||
|
||||
# A list of repositories to exclude from the includeWellKnownRepositories setting. Should be a space separated
|
||||
# list of strings, with the acceptable keys being(case does not matter):
|
||||
# cursemaven
|
||||
# modrinth
|
||||
excludeWellKnownRepositories =
|
||||
|
||||
# Change these to your Maven coordinates if you want to publish to a custom Maven repository instead of the default GTNH Maven.
|
||||
# Authenticate with the MAVEN_USER and MAVEN_PASSWORD environment variables.
|
||||
# If you need a more complex setup disable maven publishing here and add a publishing repository to addon.gradle.
|
||||
|
||||
@@ -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.9-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
@@ -55,7 +57,7 @@
|
||||
# Darwin, MinGW, and NonStop.
|
||||
#
|
||||
# (3) This script is generated from the Groovy template
|
||||
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# within the Gradle project.
|
||||
#
|
||||
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||
@@ -84,7 +86,8 @@ done
|
||||
# shellcheck disable=SC2034
|
||||
APP_BASE_NAME=${0##*/}
|
||||
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
||||
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
|
||||
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
|
||||
' "$PWD" ) || exit
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD=maximum
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
@rem See the License for the specific language governing permissions and
|
||||
@rem limitations under the License.
|
||||
@rem
|
||||
@rem SPDX-License-Identifier: Apache-2.0
|
||||
@rem
|
||||
|
||||
@if "%DEBUG%"=="" @echo off
|
||||
@rem ##########################################################################
|
||||
|
||||
@@ -17,7 +17,7 @@ pluginManagement {
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.14'
|
||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.25'
|
||||
}
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -1455,10 +1455,6 @@ public enum Features {
|
||||
BlockCarvable glotek = (BlockCarvable) new BlockCarvableGlowie(Material.rock)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks);
|
||||
|
||||
if (!Configurations.allowChiselCrossColors) {
|
||||
glotek.carverHelper.forbidChiseling = true;
|
||||
}
|
||||
|
||||
for (int i = 0; i < 16; i++) {
|
||||
glotek.carverHelper.addVariation(
|
||||
"tile.glotek." + i + ".desc",
|
||||
@@ -2658,10 +2654,6 @@ public enum Features {
|
||||
BlockCarvable neonite = (BlockCarvable) new BlockCarvableGlowie(Material.rock)
|
||||
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks);
|
||||
|
||||
if (!Configurations.allowChiselCrossColors) {
|
||||
neonite.carverHelper.forbidChiseling = true;
|
||||
}
|
||||
|
||||
for (int i = 0; i < 16; i++) {
|
||||
neonite.carverHelper.addVariation(
|
||||
"tile.neonite." + i + ".desc",
|
||||
@@ -4302,6 +4294,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",
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
package team.chisel.block;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.Random;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockGlass;
|
||||
@@ -105,4 +107,9 @@ public class BlockCarvableGlass extends BlockGlass implements ICarvable {
|
||||
public int getRenderBlockPass() {
|
||||
return isAlpha ? 1 : 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int quantityDropped(Random random) {
|
||||
return Objects.equals(this.getUnlocalizedName(), "tile.chisel.technical2") ? 1 : 0;
|
||||
}
|
||||
}
|
||||
@@ -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() {}
|
||||
}
|
||||
@@ -152,13 +152,13 @@ public class ContainerChisel extends Container {
|
||||
}
|
||||
|
||||
public void onChiselSlotChanged() {
|
||||
ItemStack stack = playerInventory.mainInventory[chiselSlot];
|
||||
ItemStack stack = playerInventory.getStackInSlot(chiselSlot);
|
||||
if (stack == null || !stack.isItemEqual(chisel)) finished = true;
|
||||
|
||||
if (finished) return;
|
||||
|
||||
General.setChiselTarget(chisel, inventory.getStackInSpecialSlot());
|
||||
|
||||
playerInventory.mainInventory[chiselSlot] = chisel;
|
||||
playerInventory.setInventorySlotContents(chiselSlot, chisel);
|
||||
}
|
||||
}
|
||||
@@ -66,7 +66,7 @@ public class SlotChiselSelection extends Slot {
|
||||
.onChisel(player.worldObj, container.chisel, General.getVariation(crafted))) {
|
||||
container.chisel.damageItem(1, player);
|
||||
if (container.chisel.stackSize <= 0) {
|
||||
player.inventory.mainInventory[player.inventory.currentItem] = null;
|
||||
player.setCurrentItemOrArmor(0, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ public enum ChiselMode implements IChiselMode {
|
||||
player.getCurrentEquippedItem()
|
||||
.damageItem(1, player);
|
||||
if (player.getCurrentEquippedItem().stackSize <= 0) {
|
||||
player.inventory.mainInventory[player.inventory.currentItem] = null;
|
||||
player.setCurrentItemOrArmor(0, null);
|
||||
breakChisel = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1005 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 956 B |
|
After Width: | Height: | Size: 960 B |
|
After Width: | Height: | Size: 1.0 KiB |