Closed plugnplay0 closed 1 year ago
@plugnplay0
thistle seeds
in grass now, you can always re-enable the world genfast craft
and see if that fixes it?
EDIT: Just checked out the 2.6.3 code and tested in development, stomach drops work perfectly fine.Hi IceDragon200, thanks for your quick anwer.
@plugnplay0
FASTCRAFT-1.21.jar
@plugnplay0
FluidRegistry_dump.txt
and look for something "milk" like throw all the names you find at me and I'll add it to 2.6 (2.7 isn't quite ready for use yet)The config option in question is:
$MINECRAFT/config/growthcraft/core.conf
"minecraft/debug" {
# Should Growthcraft dump the GameRegistry and FluidRegistry to text files?; Default : false
B:"Enable Game Registry Dump"=true
}
How weird... it works! I mean, I didn't think that just activating debug mode would fix the problem, only give hints about the potential origin (it's the Java developer in me speaking here ;) ). Anyway, the pancheon now has a processing progression (in Waila) and works fine, producing 1 Cream bottle for 2 Skim Milk Bottles. Here are the generated dump files:
I also removed FastCraft while I was at it, and as a result the stomachs no longer glitch and I can collect them.
Thank you for your help and reactivity. Please let me know if there is some 'cleaner' manner to fix the problem than by activating the debug mode, else I am just as happy :)
@plugnplay0 Well activating the debug mode doesn't affect any of the code paths except logging (and all I do with that is swap the logger on all the submodules to the parent module's logger) I see that a "milk" fluid is present, that should work fine, try turning the debug off and see if it causes problems again :)
I've tried the following things:
I don't know what to think... It seems the stomachs will work only with FastCraft 1.21 AND debug mode enabled. While the pancheon now works whatever the situation, even in the same situation it didn't before (which makes me wonder if this issue will be fixed on my server).
Have a same visual glitch with stomach drops on clean forge client
I saw the stomach glitch too with forge 1.7.10-10.13.4.1558
This diff fixes the stomach bug:
diff --git a/src/java/growthcraft/milk/eventhandler/EventHandlerOnBabyCowDeath.java b/src/java/growthcraft/milk/eventhandler/EventHandlerOnBabyCowDeath.java
index 884bc986..f3bc57bf 100644
--- a/src/java/growthcraft/milk/eventhandler/EventHandlerOnBabyCowDeath.java
+++ b/src/java/growthcraft/milk/eventhandler/EventHandlerOnBabyCowDeath.java
@@ -51,8 +51,10 @@ public class EventHandlerOnBabyCowDeath
final int count = RandomUtils.range(rng, GrowthCraftMilk.getConfig().stomachMinDropped, GrowthCraftMilk.getConfig().stomachMaxDropped);
if (count > 0)
{
- final ItemStack stack = GrowthCraftMilk.items.stomach.asStack(count);
- ItemUtils.spawnItemStackAtEntity(stack, event.entityLiving, rng);
+ if (!event.entity.worldObj.isRemote) {
+ final ItemStack stack = GrowthCraftMilk.items.stomach.asStack(count);
+ ItemUtils.spawnItemStackAtEntity(stack, event.entityLiving, rng);
+ }
}
}
}
@moxventura Thanks for the fix, I've merged your change into dev, unfortunately our build system seems to be broken at the moment so new releases may be delayed, I'll try to get my local builds back up and running and put up a test build (which may have to serve as the official build)
Once anyone has tested and confirmed the fix works, we can close this issue.
Sorry it took so long to be addressed.
EDIT:
Okay a test build is available, it's being hosted on mediafire, my dropbox is packed at the moment
Np. It's a classic. :) Glad to help out. Good work on this mod btw!
I'll look at the build this week and we'll release your fixes. Thanks for adding to the community!
Growthcraft Milk doesn't seem to be working with my modpack. As far as I can see:
I was using Growthcraft Community Edition 2.5.2 but when I saw it not working I moved to latest build 2.6.3 but that didn't change anything. My modpack is a custom one running in Minecraft 1.7.10, please see the list of mods: modlist.txt I can't find any clue no matter how I search in Google. Are there any known incompatibilities that I am not aware of?