Problem with Factory Controller in 1.12
CharitableClas opened this issue · 14 comments
I added your mod to a personal modpack that I am using and tried to use the Tier 4 version and when I go to verify the factory after having placed everything including the Factory Heart, Factory Controller, Battery, Importer, and Exporter it says that the Factory Controller needs to be placed in a certain location in which that is placed. So I don't know if this is a bug you are trying to fix or if I am just doing something wrong but I read the guide book you have in the game and its not very clear about it. Also how do you make the Mob Controller in the game I have the ender shards with the mob data in them fully programed but when i go to make the controller on the anvil it says recipe does not exist.
The programmed mob controller that comes out of the anvil goes one block back and up from the heart.
If you cheat a controller in then it won't be programmed. Use "woot give player mob name" to get a programmed one, as that is what I use during debug. You can tab out both player and mob.
To create one in game. Right-click a full ender shard on the anvil, then drop the other components on top and right click with the yah hammer. The guide should show you what the other components are. That should generate a programmed controller. The shard is only full when you have hit and killed at least one mob. The tool tip should show the count.
Yes.
I cannot work out yet how to make JEI show the glowing Item stack to make it clearer, but it is on my todo list, as I can see how it could be confusing.
The structure should firm when you place the last block.
The torch thing is just for asking it to validate the current structure so you know where the error is. Torch stack size determines which Tier you want to check against.
As long as you can get the programmed controllers it should work on peaceful.
The mobs I learn from never get spawned into the world.
Of course how you get programmed controllers or ender shards is up to you. (add them to treasure chests in the world, fully programmed???)
Each mob can have their own spawn time, but I only up them for the EnderDragon (10min?) and Wither Boss (will be 5min).
Only one upgrade totem of each type, they don't stack.
That doesn't sound right. A dragon should drop 500xp, but with full xp totem that bumps to 900xp. Each xp item is 16 xp, So that should be one stack of xp. I'll need to take a look and make sure I've not screwed up the maths again.
I'm using a fixed value in the config file for the dragon xp.
It is possible that my code is ignoring the value and using the real dragon value.
I'll need to try this and see what my xp gen code is doing.
That sounds to me like what is happening is that your code reads where you want it to use the XP Shards amount but instead of using your code its reading the XP amount of the Enderdragon and giving the appropriate number of shards for it.
From my experiments:
Dragon (No Mass upgrade)
Tier I XP: 500XP =>31 XP shards
Tier II XP: 705XP => 44 XP shards
Tier III XP: 901XP => 56 XP shards
Dragon (Tier III Mass upgrade = 6 Dragons)
Tier III XP: 5409XP => 338 XP shards => 5.5 stacks
So my debug is showing that each Dragon death is generating a base value of 500XP, which I'm then converting into then appropriate XP shard count. (This matches the value I have in my config files).
Granted with the Tier III XP and Mass it generates 5.5 stack of XP shards, but that still gives space for the Dragon Egg and Dragon Breath in a standard chest.
So I'm not seeing the same problem that you are - which means this gets a lot more difficult to fix.
Grated if you didn't have an output chest and then ran the factory with these upgrades, there will be nowhere to put anything. The Dragon drops will never be generated, but the XP still builds up inside the factory. If you then put an output chest in place, the next Dragon spawn would dump all the stored XP into the chest.
Thats the thing I am using the Iron chest mod and had a Diamond chest sitting there when I started using the Ender Dragon controller I was waiting on it then decided to try something else so I went and mined the controller to replace it when i got back to the chest it was full of xp shards