Compare commits

...
56 Commits
Author SHA1 Message Date
Ruling-0 916808e245 Bump GT5-Unofficial to 5.99.99-mu57 2026-10-12 16:27:12 -05:00
Ruling-0 31cd11ae4e Bump GT5-Unofficial to 5.99.99-mu56 2026-10-12 15:04:47 -05:00
Ruling-0 84da10d17e Bump GT5-Unofficial to 5.99.99-mu54 2026-10-12 11:36:01 -05:00
Ruling-0 7f576cc7d9 Bump MaterialLib to 0.24.0-mu and GT5-Unofficial to 5.99.99-mu53 2026-10-11 18:25:36 -05:00
Ruling-0 bd9ddad84c Bump GT5-Unofficial to 5.99.99-mu52 2026-10-10 00:56:15 -05:00
Ruling-0 7ff16faec3 Bump GT5-Unofficial to 5.99.99-mu51 2026-10-09 22:46:18 -05:00
Ruling-0 5104fb5871 Bump GT5-Unofficial to 5.99.99-mu50 2026-10-09 21:19:33 -05:00
Ruling-0 c0a91fde66 Bump MaterialLib to 0.21.0-mu 2026-10-09 21:16:41 -05:00
Ruling-0 632ef1bc56 Bump GT5-Unofficial to 5.99.99-mu49 2026-10-09 19:07:02 -05:00
Ruling-0 b34849271b Bump MaterialLib to 0.20.0-mu 2026-10-09 19:03:13 -05:00
Ruling-0 ac25bc65d4 Bump GT5-Unofficial to 5.99.99-mu41 and MaterialLib to 0.19.0-mu 2026-10-06 15:02:52 -05:00
Ruling-0 7b128f0670 Bump GT5-Unofficial to 5.99.99-mu36 2026-10-05 13:30:27 -05:00
Ruling-0 fcd0c9e762 Merge remote-tracking branch 'origin/master' into mu 2026-10-05 13:22:14 -05:00
Ruling-0 4db0b1ac07 Bump MaterialLib to 0.18.0-mu 2026-10-04 12:35:06 -05:00
Ruling-0 835386352e Bump MaterialLib to 0.17.0-mu 2026-10-04 12:16:05 -05:00
Ruling-0 83bed04da1 Bump MaterialLib to 0.16.0-mu 2026-10-04 02:48:35 -05:00
Edgar Su 5a6b05f13c fix liquefaction focus not making lava (#147) 2026-10-03 20:23:20 -05:00
Ruling-0 16d9b525db Bump MaterialLib to 0.15.0-mu 2026-09-30 13:01:52 -05:00
Ruling-0 b7291f8456 Bump GT5-Unofficial to 5.99.99-mu32 2026-09-30 11:49:02 -05:00
Ruling-0 9e52237a2c Merge remote-tracking branch 'origin/master' into mu 2026-09-30 11:33:14 -05:00
Ruling-0 ab3ee05667 Bump GT5-Unofficial to 5.99.99-mu31 2026-09-30 11:07:07 -05:00
Ruling-0 a458218979 Bump MaterialLib to 0.14.0-mu 2026-09-30 11:03:31 -05:00
Ruling-0 66e3b422ca Bump GT5-Unofficial to 5.99.99-mu30 2026-09-30 09:26:50 -05:00
micvog 51763e0f80 Fix Synthskin draining Nutrition while the hunger bar is full (#148) 2026-09-30 14:03:11 +00:00
Ruling-0 c88f2117f1 Bump GT5-Unofficial to 5.99.99-mu27 2026-09-29 23:08:37 -05:00
Ruling-0 ce1a38322d Bump GT5-Unofficial to 5.99.99-mu26 2026-09-29 22:26:32 -05:00
Ruling-0 3d41f068be Bump GT5-Unofficial to 5.99.99-mu25 and MaterialLib to 0.13.0-mu 2026-09-29 16:57:49 -05:00
Ruling-0 44563de7c4 Bump GT5-Unofficial to 5.99.99-mu24 2026-09-29 11:04:54 -05:00
Ruling-0 1e92c12a02 Bump GT5-Unofficial to 5.99.99-mu23 2026-09-29 10:42:41 -05:00
Ruling-0 5cd824635f Bump GT5-Unofficial to 5.99.99-mu22 2026-09-29 08:40:11 -05:00
Ruling-0 f692f4e072 Bump MaterialLib to 0.12.0-mu 2026-09-29 07:22:42 -05:00
Ruling-0 4feb0093ca Bump GT5-Unofficial to 5.99.99-mu21 2026-09-28 22:04:53 -05:00
Ruling-0 e8e06d158c Bump GT5-Unofficial to 5.99.99-mu20 2026-09-28 15:46:41 -05:00
Ruling-0 23fd27450c Bump GT5-Unofficial to 5.99.99-mu19 2026-09-28 15:28:02 -05:00
Ruling-0 61282f78b3 Bump GT5-Unofficial to 5.99.99-mu18 2026-09-28 14:12:07 -05:00
Ruling-0 4ca137f310 Bump GT5-Unofficial to 5.99.99-mu17 2026-09-28 13:28:59 -05:00
Ruling-0 93bb3ebe20 Bump GT5-Unofficial to 5.99.99-mu16 2026-09-28 11:43:57 -05:00
Ruling-0 308cd69e21 Bump GT5-Unofficial to 5.99.99-mu15 2026-09-28 07:56:11 -05:00
Ruling-0 224c3e9693 Bump GT5-Unofficial to 5.99.99-mu14 2026-09-27 20:38:16 -05:00
Ruling-0 695bcfbb5b Bump GT5-Unofficial to 5.99.99-mu13 2026-09-27 19:04:23 -05:00
Ruling-0 f6fd32b557 Bump GT5-Unofficial to 5.99.99-mu12 2026-09-27 16:44:32 -05:00
Ruling-0 95c5e6d1f3 Bump MaterialLib to 0.11.0-mu 2026-09-22 09:54:01 -05:00
Ruling-0 2599dd85c9 Bump GT5-Unofficial to 5.99.99-mu11 2026-09-22 09:54:00 -05:00
Ruling-0 4799d7b2cd Bump GT5-Unofficial to 5.99.99-mu10 2026-09-20 11:40:10 -05:00
Ruling-0 3b869b8c74 Merge remote-tracking branch 'origin/master' into mu
# Conflicts:
#	dependencies.gradle
2026-09-20 11:22:13 -05:00
Martin Robertz 21ab790045 update+gradle+bs+deps+gitignore
fix curse auto uploader
2026-09-18 00:28:41 +02:00
Ruling-0 3f4f2ca548 Bump GT5-Unofficial to 5.99.99-mu9 2026-09-17 16:31:13 -05:00
Ruling-0 79dc3475e0 Bump GT5-Unofficial to 5.99.99-mu8 2026-09-16 16:03:44 -05:00
Ruling-0 e1dbd7fd2f Bump GT5-Unofficial to 5.99.99-mu7 2026-09-15 16:51:32 -05:00
Ruling-0 0479b655f6 Bump GT5-Unofficial to 5.99.99-mu6 2026-09-09 12:58:27 -05:00
Ruling-0 abdb44b545 Merge remote-tracking branch 'origin/master' into mu
# Conflicts:
#	dependencies.gradle
2026-09-09 12:54:10 -05:00
f42bcf230b Fix cloned mob item dupe (#122)
Co-authored-by: tiffit <10173431+tiffit@users.noreply.github.com>
Co-authored-by: Martin Robertz <dream-master@gmx.net>
Co-authored-by: Nikolay S. <nicksitnikov@gmail.com>
2026-09-07 19:33:28 +00:00
Ruling-0 c1b0d26bd5 Bump GT5-Unofficial to 5.99.99-mu5 and MaterialLib to 0.10.0-mu 2026-08-29 22:50:33 -05:00
Ruling-0 d8788d1d22 Bump GT5-Unofficial to 5.99.99-mu4 2026-08-18 02:43:27 -05:00
Ruling-0 3935278dd7 Bump MaterialLib to 0.9.0-mu 2026-08-17 13:53:01 -05:00
Ruling-0 49c37a05d8 Convert to MaterialLib system 2026-07-31 16:16:05 -05:00
13 changed files with 82 additions and 74 deletions

No files matched your search

+1
View File
@@ -27,6 +27,7 @@ whitelist.json
*.iws
src/main/resources/mixins.*.json
*.bat
*.sh
*.DS_Store
!gradlew.bat
layout.json
+4 -3
View File
@@ -1,10 +1,11 @@
// Add your dependencies here
dependencies {
api('com.github.GTNewHorizons:Baubles-Expanded:2.2.22-GTNH:dev')
api('com.github.GTNewHorizons:Baubles-Expanded:2.2.24-GTNH:dev')
api('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev')
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.54.135:dev') {transitive = false}
api("com.github.GTNewHorizons:GT5-Unofficial:5.99.99-mu57:dev") {transitive = false}
api("com.ruling_0:MaterialLib:0.24.0-mu:dev")
runtimeOnlyNonPublishable('com.github.GTNewHorizons:AspectRecipeIndex:1.1.4:dev')
runtimeOnlyNonPublishable('com.github.GTNewHorizons:AspectRecipeIndex:1.1.5:dev')
}
+5
View File
@@ -186,6 +186,11 @@ modrinthRelations =
# Leave this empty if you don't want to publish on CurseForge.
curseForgeProjectId = 227914
# Comma-separated supported CurseForge environments: client, server (case-insensitive).
# Use client or server for mods that only support one environment. Defaults to client,server.
# These tags describe where the mod can run, not whether installation is required on both sides.
curseForgeEnvironments = client,server
# The project's relations on CurseForge. You can use this to refer to other projects on CurseForge.
# Syntax: type1:name1;type2:name2;...
# Where type can be one of [requiredDependency, embeddedLibrary, optionalDependency, tool, incompatible],
Binary file not shown.
+3 -1
View File
@@ -1,7 +1,9 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.1-bin.zip
networkTimeout=10000
retries=0
retryBackOffMs=500
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Vendored
+3 -3
View File
@@ -20,7 +20,7 @@
##############################################################################
#
# Gradle start up script for POSIX generated by Gradle.
# gradlew start up script for POSIX generated by Gradle.
#
# Important for running:
#
@@ -29,7 +29,7 @@
# bash, then to run this script, type that shell name before the whole
# command line, like:
#
# ksh Gradle
# ksh gradlew
#
# Busybox and similar reduced shells will NOT work, because this script
# requires all of these POSIX shell features:
@@ -57,7 +57,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/b631911858264c0b6e4d6603d677ff5218766cee/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/3d91ce3b8caaf77ad09f381f43615b715b53f72c/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/.
Vendored
+12 -23
View File
@@ -19,12 +19,12 @@
@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem gradlew startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
@rem Set local scope for the variables, and ensure extensions are enabled
setlocal EnableExtensions
set DIRNAME=%~dp0
if "%DIRNAME%"=="" set DIRNAME=.
@@ -51,7 +51,7 @@ echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
goto fail
"%COMSPEC%" /c exit 1
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
@@ -65,29 +65,18 @@ echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
goto fail
"%COMSPEC%" /c exit 1
:execute
@rem Setup the command line
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
@rem Execute gradlew
@rem endlocal doesn't take effect until after the line is parsed and variables are expanded
@rem which allows us to clear the local environment before executing the java command
endlocal & "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* & call :exitWithErrorLevel
:end
@rem End local scope for the variables with windows NT shell
if %ERRORLEVEL% equ 0 goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
set EXIT_CODE=%ERRORLEVEL%
if %EXIT_CODE% equ 0 set EXIT_CODE=1
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
exit /b %EXIT_CODE%
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega
:exitWithErrorLevel
@rem Use "%COMSPEC%" /c exit to allow operators to work properly in scripts
"%COMSPEC%" /c exit %ERRORLEVEL%
+1
View File
@@ -1,4 +1,5 @@
// Add any additional repositories for your dependencies here
repositories {
mavenLocal()
}
+1 -1
View File
@@ -17,7 +17,7 @@ pluginManagement {
}
plugins {
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.29'
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.31'
}
@@ -225,6 +225,7 @@ import com.kentington.thaumichorizons.common.tiles.TileVatSlave;
import com.kentington.thaumichorizons.common.tiles.TileVisDynamo;
import com.kentington.thaumichorizons.common.tiles.TileVortex;
import com.kentington.thaumichorizons.common.tiles.TileVortexStabilizer;
import com.ruling_0.materiallib.api.MaterialLibAPI;
import cpw.mods.fml.client.event.ConfigChangedEvent.OnConfigChangedEvent;
import cpw.mods.fml.common.FMLCommonHandler;
@@ -240,9 +241,8 @@ import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.network.NetworkRegistry;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.common.registry.GameRegistry;
import gregtech.api.enums.Materials;
import gregtech.api.enums.OrePrefixes;
import gregtech.api.util.GTOreDictUnificator;
import gregtech.api.enums.materials.Materials;
import gregtech.api.enums.materials.Shapes;
import thaumcraft.api.ThaumcraftApi;
import thaumcraft.api.aspects.Aspect;
import thaumcraft.api.aspects.AspectList;
@@ -2082,17 +2082,17 @@ public class ThaumicHorizons {
.add(Aspect.AURA, 32).add(Aspect.MIND, 16).add(Aspect.ELDRITCH, 64),
new ItemStack(itemPlanarConduit),
new ItemStack[] { new ItemStack(ConfigItems.itemShard, 1, 6),
GTOreDictUnificator.get(OrePrefixes.gemExquisite, Materials.Glass, 1L),
GTOreDictUnificator.get(OrePrefixes.lens, Materials.InfusedOrder, 1L),
MaterialLibAPI.getStack(Materials.Glass, Shapes.gemExquisite, 1),
MaterialLibAPI.getStack(Materials.InfusedOrder, Shapes.lens, 1),
new ItemStack(ConfigItems.itemShard, 1, 6),
GTOreDictUnificator.get(OrePrefixes.gemExquisite, Materials.Glass, 1L),
GTOreDictUnificator.get(OrePrefixes.lens, Materials.InfusedOrder, 1L),
MaterialLibAPI.getStack(Materials.Glass, Shapes.gemExquisite, 1),
MaterialLibAPI.getStack(Materials.InfusedOrder, Shapes.lens, 1),
new ItemStack(ConfigItems.itemShard, 1, 6),
GTOreDictUnificator.get(OrePrefixes.gemExquisite, Materials.Glass, 1L),
GTOreDictUnificator.get(OrePrefixes.lens, Materials.InfusedOrder, 1L),
MaterialLibAPI.getStack(Materials.Glass, Shapes.gemExquisite, 1),
MaterialLibAPI.getStack(Materials.InfusedOrder, Shapes.lens, 1),
new ItemStack(ConfigItems.itemShard, 1, 6),
GTOreDictUnificator.get(OrePrefixes.gemExquisite, Materials.Glass, 1L),
GTOreDictUnificator.get(OrePrefixes.lens, Materials.InfusedOrder, 1L) });
MaterialLibAPI.getStack(Materials.Glass, Shapes.gemExquisite, 1),
MaterialLibAPI.getStack(Materials.InfusedOrder, Shapes.lens, 1) });
recipeKeystone1 = ThaumcraftApi.addInfusionCraftingRecipe(
"planarKeystone",
new ItemStack(itemKeystone),
@@ -2102,11 +2102,11 @@ public class ThaumicHorizons {
new ItemStack(Items.ender_eye),
new ItemStack[] { new ItemStack(ConfigItems.itemShard, 1, 6),
new ItemStack(ConfigItems.itemResource, 1, 3),
GTOreDictUnificator.get(OrePrefixes.lens, Materials.Glass, 1L),
MaterialLibAPI.getStack(Materials.Glass, Shapes.lens, 1),
new ItemStack(ConfigItems.itemResource, 1, 3),
new ItemStack(ConfigItems.itemShard, 1, 6),
new ItemStack(ConfigItems.itemResource, 1, 3),
GTOreDictUnificator.get(OrePrefixes.lens, Materials.Glass, 1L),
MaterialLibAPI.getStack(Materials.Glass, Shapes.lens, 1),
new ItemStack(ConfigItems.itemResource, 1, 3) });
recipeSlot = ThaumcraftApi.addInfusionCraftingRecipe(
"planarKeystone",
@@ -2115,18 +2115,18 @@ public class ThaumicHorizons {
(new AspectList()).add(Aspect.VOID, 48).add(Aspect.TRAVEL, 64).add(Aspect.AIR, 64)
.add(Aspect.MECHANISM, 32).add(Aspect.ELDRITCH, 64).add(Aspect.MAGIC, 16),
new ItemStack(itemPlanarConduit),
new ItemStack[] { GTOreDictUnificator.get(OrePrefixes.plateDense, Materials.Void, 1L),
GTOreDictUnificator.get(OrePrefixes.screw, Materials.Titanium, 1L),
GTOreDictUnificator.get(OrePrefixes.plateDense, Materials.Enderium, 1L),
GTOreDictUnificator.get(OrePrefixes.plateDense, Materials.Void, 1L),
GTOreDictUnificator.get(OrePrefixes.plateDense, Materials.InfusedGold, 1L),
GTOreDictUnificator.get(OrePrefixes.screw, Materials.Titanium, 1L),
GTOreDictUnificator.get(OrePrefixes.plateDense, Materials.Void, 1L),
GTOreDictUnificator.get(OrePrefixes.screw, Materials.Titanium, 1L),
GTOreDictUnificator.get(OrePrefixes.plateDense, Materials.InfusedGold, 1L),
GTOreDictUnificator.get(OrePrefixes.plateDense, Materials.Void, 1L),
GTOreDictUnificator.get(OrePrefixes.plateDense, Materials.Enderium, 1L),
GTOreDictUnificator.get(OrePrefixes.screw, Materials.Titanium, 1L) });
new ItemStack[] { MaterialLibAPI.getStack(Materials.Void, Shapes.plateDense, 1),
MaterialLibAPI.getStack(Materials.Titanium, Shapes.screw, 1),
MaterialLibAPI.getStack(Materials.Enderium, Shapes.plateDense, 1),
MaterialLibAPI.getStack(Materials.Void, Shapes.plateDense, 1),
MaterialLibAPI.getStack(Materials.InfusedGold, Shapes.plateDense, 1),
MaterialLibAPI.getStack(Materials.Titanium, Shapes.screw, 1),
MaterialLibAPI.getStack(Materials.Void, Shapes.plateDense, 1),
MaterialLibAPI.getStack(Materials.Titanium, Shapes.screw, 1),
MaterialLibAPI.getStack(Materials.InfusedGold, Shapes.plateDense, 1),
MaterialLibAPI.getStack(Materials.Void, Shapes.plateDense, 1),
MaterialLibAPI.getStack(Materials.Enderium, Shapes.plateDense, 1),
MaterialLibAPI.getStack(Materials.Titanium, Shapes.screw, 1) });
} else {
recipeKeystone = ThaumcraftApi.addInfusionCraftingRecipe(
"pocketPlane",
@@ -401,7 +401,27 @@ public class ItemFocusLiquefaction extends ItemFocusBasic {
final int meltable = this.isMeltableBlock(bi, md);
final boolean flammable = bi.isFlammable(p.worldObj, x, y, z, ForgeDirection.UNKNOWN);
ItemStack result = FurnaceRecipes.smelting().getSmeltingResult(new ItemStack(bi, 1, md));
if (result != null && wand.consumeAllVis(stack, p, this.getVisCost(stack), true, true)) {
// Meltable blocks (e.g. stone) take priority over any furnace smelting recipe they may have,
// otherwise mods that add a smelting recipe for stone (such as Et Futurum Requiem's smooth
// stone) would prevent the stone -> lava transmutation.
if (meltable > 0 && wand.consumeAllVis(stack, p, this.getVisCost(stack), true, true)) {
if (meltable == 1) {
p.worldObj.setBlockToAir(x, y, z);
} else if (meltable == 2) {
if (p.worldObj.provider.dimensionId != -1) {
p.worldObj.setBlock(x, y, z, Blocks.water, 0, 3);
} else {
p.worldObj.setBlockToAir(x, y, z);
}
} else if (meltable == 3) {
p.worldObj.setBlock(x, y, z, Blocks.dirt, 0, 3);
} else if (meltable == 4) {
Blocks.tnt.onBlockDestroyedByPlayer(p.worldObj, x, y, z, 1);
p.worldObj.setBlockToAir(x, y, z);
} else if (meltable == 6) {
p.worldObj.setBlock(x, y, z, Blocks.lava, 0, 3);
}
} else if (result != null && wand.consumeAllVis(stack, p, this.getVisCost(stack), true, true)) {
if (this.getUpgradeLevel(wand.getFocusItem(stack), ItemFocusLiquefaction.purity) > 0
&& Utils.findSpecialMiningResult(new ItemStack(bi, 1, md), 9999.0f, p.worldObj.rand) != null) {
final ItemStack pure = Utils
@@ -433,23 +453,6 @@ public class ItemFocusLiquefaction extends ItemFocusBasic {
theItem.setEntityItemStack(result.copy());
p.worldObj.spawnEntityInWorld(theItem);
}
} else if (meltable > 0 && wand.consumeAllVis(stack, p, this.getVisCost(stack), true, true)) {
if (meltable == 1) {
p.worldObj.setBlockToAir(x, y, z);
} else if (meltable == 2) {
if (p.worldObj.provider.dimensionId != -1) {
p.worldObj.setBlock(x, y, z, Blocks.water, 0, 3);
} else {
p.worldObj.setBlockToAir(x, y, z);
}
} else if (meltable == 3) {
p.worldObj.setBlock(x, y, z, Blocks.dirt, 0, 3);
} else if (meltable == 4) {
Blocks.tnt.onBlockDestroyedByPlayer(p.worldObj, x, y, z, 1);
p.worldObj.setBlockToAir(x, y, z);
} else if (meltable == 6) {
p.worldObj.setBlock(x, y, z, Blocks.lava, 0, 3);
}
} else if (flammable && wand.consumeAllVis(stack, p, this.getVisCost(stack), true, true)) {
p.worldObj.setBlock(x, y, z, Blocks.fire);
}
@@ -68,6 +68,11 @@ public class ItemSyringeEmpty extends Item {
final NBTTagCompound critterTag = new NBTTagCompound();
critter.writeToNBT(critterTag);
critterTag.setString("id", EntityList.getEntityString(ent));
// Strip inventory-related tags - a blood sample should only carry genetic data
critterTag.removeTag("Items");
critterTag.removeTag("ArmorItem");
critterTag.removeTag("SaddleItem");
critterTag.removeTag("ChestedHorse");
bloodSample.stackTagCompound.setString("critterName", ent.getCommandSenderName());
bloodSample.stackTagCompound.setTag("critter", critterTag);
if (p.inventory.addItemStackToInventory(bloodSample)) {
@@ -339,6 +339,7 @@ public class EventHandlerEntity {
}
}
if (prop.hasPlayerInfusion(6) && event.entity.ticksExisted % 200 == 0
&& player.getFoodStats().needFood()
&& player.worldObj.isDaytime()
&& player.worldObj.canBlockSeeTheSky(
MathHelper.floor_double(player.posX),