Have you ever wanted to obtain spawn eggs in survival? Or maybe you wanted a faster, more efficient mob grinder? If so, this mod is for you!
Update re-canceled. There are better and more balanced mods for this anyway. Minefactory reloaded, soul shards, and probably others.
Old topic:
Mod part 1: The Mob Compressor
This is the mob compressor. It has 256 uses. When right clicked on a mob, it will turn it into an egg! With a few exceptions...
1: It will not stuff villagers into eggs. Who would do such a thing?
2: It will not compress iron golems. It's not strong enough. However, you will get most of your iron back. The amount of iron is proportional to the golem's health.
3: It will not compress snow golems. They would not survive. However, it will drop the pumpkin needed to build one again.
4: It has no effect on giants. It simply damages the compressor by 5 uses.
5: It will not work on mobs form other mods. Try it, something cool happens!
If you put a spawn egg in a dispenser, it will spawn the mob in front of it. However, the egg is consumed. That's where part 2 comes in.
Mod part 2: The Controlled Spawner
If you use the compressor on a monster spawner, you can collect it! However, once you place it, it will only spawn pigs. The spawner itself has a much better use.
What do you get when you combine the dispenser's power to spawn mobs in a controlled place and time, and the spawner's ability to spawn mobs forever? You get the controlled spawner! When you place it, it will face towards you. You can open it up just like a chest, and change the mob it spawns by placing a spawn egg inside it. Not only can you control which mob it spawns, you can also control when and where (like the dispenser). It will always spawn the mob directly in front of it. (based on the direction you placed it) Even if there's not enough room. Did someone say... mob grinder? As for when, it should be controlled by redstone, but a bug in CustomStuff makes it respond to block updates instead.
Download and Installation:
This mod requires CustomStuff, which requires forge. To install, unzip and follow the instructions in the readme.
Download Minecraft Forge Here
Download Custom Stuff Here
Download Mob Craft Here
Future Plans:
Support for mobs from other mods that can be added via config file
Spawners can be placed and retain their mobs when compressed with an advanced compressor.
Will no longer require CustomStuff. Just forge.
Re-balencing uses and crafting recipes
Compressor will have 64 uses instead of 256
Controlled spawner will have a delay for how quickly it can spawn mobs
Advanced versions of spawners and compressors
Compressor will have only 16 uses, but will hold entity data
Will keep animal age, sheep color, villager trading options, etc...
Spawner can use that data when spawning, but has an even longer delay
Current plan for spawner delay: 1 mob every 10 seconds
Current plan for advanced spawner: 1 mob per minute
NOTE: Zombies can pick up armor, and if they do, they have a 100% chance of dropping it on death. When spawned with this spawner, they will not drop anything except their usual drops when to prevent infinite duplication.
Controlled spawners will look more like vanilla spawners. They will have a spinning miniature entity inside.
If the spawner has a mob egg, it will always spin, and when the delay is over, it will start emitting flame particles. Then will spawn the mob directly on top of it when given a redstone signal. It will not spawn anything until that delay is finished. (to prevent hundreds of mobs per second)
Fast versions of spawners, and durable versions of compressors.
Fast spawner has a wait time of 5 seconds instead of 10.
Fast advanced spawner has a wait time of 30 seconds instead of 60.
Durable compressor will have 128 uses instead of 64.
Durable advanced compressor will have 32 uses instead of 16.
Other suggestions welcome!
So, what have I done so far?
Modding without custom stuff is quite a bit harder, but MUCH more powerful. As a result, progress will most likely be much slower. I have made some of progress though.
10/3/2013: Noticed that a second person was interested in the update, so I picked up working on it again. So now I will make two people happy instead of just one. Sweet. Anyway, I thought of fast spawners and durable compressors. Also updated artwork, and added art for the new spawners and compressors. I also made a way to make spawners orient themselves when placed. However, this method used metadata, and there are not enough possible data values for all the spawner types. Minecraft can only handle and save 16 data values. By using data values, I would need 6 for orientation, 2 for advanced or not, 2 for ready to spawn or not, and 2 for being a fast spawner or not. 6*2*2*2 = 48. Using every possible slot, I would need 3 block IDs. I would prefer to use 4 for simplicity of coding, but I still only want to use just 1 ID, so I'm thinking about using tile entity data to store the type of spawner, AND the mob being spawned. I still have the method for determining orientation though, so I will be able to use that when I get the tile entity working. This is most likely to be the hardest thing to code. I also want to change the recipes for them, but they don't have recipes yet, so that really doesn't matter. I just mean that they will be different than the custom stuff version. The next idea I had was that breaking a controlled spawner will only drop a spawn egg if it had one. To re-collect it, you will need a mob compressor. The different kinds of spawners need different kinds of compressors. The normal ones need normal compressors, the advanced ones need advanced compressors, the fast ones need durable compressors, etc… Luckily, compressing a normal spawner will damage the compressor by 4 uses, but compressing a controlled spawner will NOT damage the compressor at all! And it will keep whatever egg it has in it while in your inventory. As a final comment, 1.5 is almost here, and I am eager to update it to 1.5 before I do anything else. All the things that I have already added will most likely be easy to update, but the things I have planned will probably not be. I also have an idea for 1.5 when I do get started working on it. When a spawner is ready to spawn, it will emit a redstone comparator signal.
16/2/2013: The normal compressor will only work on mobs with default eggs (only the ones in the creative menu). The advanced compressor will work on ALL entities. This also includes modded entities, endercrystals, minecarts with chests, even the enderdragon if you can get close enough. Still drops vanilla spawn eggs, so you won't be able to use the above entities' eggs. I plan to add a new egg item that can hold the data for the entity, and can always be used regardless of what kind of entity it is.
14/2/2013: Added advanced spawner item. Acts exactly like regular one, but has a cool special effect when used. Does not hold entity data yet, and still makes fake client-side egg item.
10/2/2013: First progress entry. Managed to add a spawner block, and a mob compressor. The spawner block is just a block so far. Pretty much a re-textured dirt . The compressor will compress mobs into eggs, and it should work for all mobs including modded ones. However, it will always drop the vanilla spawn egg with the modded mob's data value, and therefore won't do anything. Looking for a work around. Also, the mob will drop its egg, but will also make a client-side fake that can't be interacted with. Looking for a work around for that too.
That's a really good mod! I'm sure my subscribers would love that. I'm intending to continue my Mod Spotlights again and I'd love this to be my next one to review!
I currently have 220 Subscribers and around 21,000 views, My last Mod Spotlight gained the Mod creater around an extra 400-500 person reach. If I was you I'd think about this offer very seriously as something like this may not come around all that often!
An amzing mod really enhances mob traps but one thing i would say is that it is waaaay too OP. I think the mob compressor should be made with a diamond block instead of diamond and have like 10 uses to even it out a bit aswell as the controlled spawner using gold or diamonds instead of iron. Also i would love for the controlled spawner chunk update to be fixed so its only the redstone current that activated it because as it is it generates an insane number of mobs in a very short amount of time. Overall this is an amazing mod but as with most mods it needs balancing great work though love the idea
Also i would love to see a smp version of this
I tried to make it balanced right from the start. To make the compressor, you need to find diamonds, and you need to go to the nether. To make infinite mobs, you still need to find the spawners in the first place. And finding dungeons is not exactly easy. The block update instead of redstone bug is, believe it or not, a problem with Custom Stuff, not my mod. Lastly, Custom Stuff already works on SMP.
could you help me out if you get the chance i have installed everything however rightclicking with the compressor does nothing at all? any idea as to why that might be
could you help me out if you get the chance i have installed everything however rightclicking with the compressor does nothing at all? any idea as to why that might be
Tell me exactly how you installed this mod, and any other mods you installed. And the order you installed the mods.
Tell me exactly how you installed this mod, and any other mods you installed. And the order you installed the mods.
i just run multi MC to install most of them i did of corse yours abit diffrently installed it into the configs folder mods for custom stuff it works fine the "controll spawners" right click just does nothing at all with the compressor as for my mods list
Buildcraft 3.2.0pre7
Additional Pipes
Commands0.1.0
Custom Stuff
Diamond Buckets
Forestry 1.5.0.2
Gregtech
IC2 nuclear control
IC2
Logistics Pipes
Compact Solars
Extra Building Materials
Iron Chests
Modlar Force Field
More Explosives
More furnaces
Railcraft 6.1.2.0
Utility Chest
1: Does the compressor show up in the creative menu? (tools)
2: Does the controlled spawner show up in the creative menu? (redstone)
3: Can you craft them?
4: Does the compressor compress mobs?
5: Does the compressor let you obtain spawners?
6: Can you access the GUI of the controlled spawner?
7: Does the controlled spawner spawn mobs when a block update occurs?
8: Please post your "ForgeModLoader-client-0.log" file. (using spoilers)
1: Does the compressor show up in the creative menu? (tools)
2: Does the controlled spawner show up in the creative menu? (redstone)
3: Can you craft them?
4: Does the compressor compress mobs?
5: Does the compressor let you obtain spawners?
6: Can you access the GUI of the controlled spawner?
7: Does the controlled spawner spawn mobs when a block update occurs?
8: Please post your "ForgeModLoader-client-0.log" file. (using spoilers)
ok everything in the mod works even the compressor on mod spawners the only thing it wont do is compress a mob its self into egg format
ok everything in the mod works even the compressor on mod spawners the only thing it wont do is compress a mob its self into egg format
So, it won't turn mobs into eggs? Which mobs have you tried? I put a few rules on which mobs it will and won't compress. Try it on a zombie. If it won't work, post your "ForgeModLoader-client-0.log" file. (using spoilers)
I finally got around to checking on this after you posted it in the CS2 forum. You are technically supposed to post your custom stuff mods on the CS wiki, but whatever. I looked at your code a bit and noticed something interesting. Since you did not specify a metavalue for the spawner, you can use ANY mob spawner from vanilla (spawned with NEI) to make the controlled spawner. This means you can let the compressor turn the mob spawners into their real counterparts instead of a non-working pig spawner. You just need to add a world.getBlockMetadata like so:
Also, maybe you should increase the damage that the compressor tool takes to 64 (and require 64 remaining) damage when compressing spawners to make it slightly more balanced. That way you can only compress the spawner a maximum of 4 times per diamond, but can still choose to get lots of mob eggs instead. Maybe you could also include a way for players to turn 1 spawner into 64 of it's egg type if they do not want to use the controlled spawner.
I finally got around to checking on this after you posted it in the CS2 forum. You are technically supposed to post your custom stuff mods on the CS wiki, but whatever. I looked at your code a bit and noticed something interesting. Since you did not specify a metavalue for the spawner, you can use ANY mob spawner from vanilla (spawned with NEI) to make the controlled spawner. This means you can let the compressor turn the mob spawners into their real counterparts instead of a non-working pig spawner. You just need to add a world.getBlockMetadata like so:
Also, maybe you should increase the damage that the compressor tool takes to 64 (and require 64 remaining) damage when compressing spawners to make it slightly more balanced. That way you can only compress the spawner a maximum of 4 times per diamond, but can still choose to get lots of mob eggs instead. Maybe you could also include a way for players to turn 1 spawner into 64 of it's egg type if they do not want to use the controlled spawner.
I tried to make the spawners drop themselves, but apparently, that's not how they work anymore. Now, they no longer use metadata to select the mob they spawn. Instead, they use tile entity data. When I used code to actually check the spawner metadata, it always said 0. I once tried typing "/item 52 1 #" into the chat, but no matter what value I substituted # for, it always spawned pigs. The ability to change the spawner type in inventory is because of NEI. Still, I like all of the above ideas. Perhaps I will change the balancing in another version.
Update re-canceled. There are better and more balanced mods for this anyway. Minefactory reloaded, soul shards, and probably others.
Old topic:
Mod part 1: The Mob Compressor
This is the mob compressor. It has 256 uses. When right clicked on a mob, it will turn it into an egg! With a few exceptions...
2: It will not compress iron golems. It's not strong enough. However, you will get most of your iron back. The amount of iron is proportional to the golem's health.
3: It will not compress snow golems. They would not survive. However, it will drop the pumpkin needed to build one again.
4: It has no effect on giants. It simply damages the compressor by 5 uses.
5: It will not work on mobs form other mods. Try it, something cool happens!
What do you get when you combine the dispenser's power to spawn mobs in a controlled place and time, and the spawner's ability to spawn mobs forever? You get the controlled spawner! When you place it, it will face towards you. You can open it up just like a chest, and change the mob it spawns by placing a spawn egg inside it. Not only can you control which mob it spawns, you can also control when and where (like the dispenser). It will always spawn the mob directly in front of it. (based on the direction you placed it) Even if there's not enough room. Did someone say... mob grinder? As for when, it should be controlled by redstone, but a bug in CustomStuff makes it respond to block updates instead.
This mod requires CustomStuff, which requires forge. To install, unzip and follow the instructions in the readme.
Download Minecraft Forge Here
Download Custom Stuff Here
Download Mob Craft Here
Modding without custom stuff is quite a bit harder, but MUCH more powerful. As a result, progress will most likely be much slower. I have made some of progress though.
10/3/2013: Noticed that a second person was interested in the update, so I picked up working on it again. So now I will make two people happy instead of just one. Sweet. Anyway, I thought of fast spawners and durable compressors. Also updated artwork, and added art for the new spawners and compressors. I also made a way to make spawners orient themselves when placed. However, this method used metadata, and there are not enough possible data values for all the spawner types. Minecraft can only handle and save 16 data values. By using data values, I would need 6 for orientation, 2 for advanced or not, 2 for ready to spawn or not, and 2 for being a fast spawner or not. 6*2*2*2 = 48. Using every possible slot, I would need 3 block IDs. I would prefer to use 4 for simplicity of coding, but I still only want to use just 1 ID, so I'm thinking about using tile entity data to store the type of spawner, AND the mob being spawned. I still have the method for determining orientation though, so I will be able to use that when I get the tile entity working. This is most likely to be the hardest thing to code. I also want to change the recipes for them, but they don't have recipes yet, so that really doesn't matter. I just mean that they will be different than the custom stuff version. The next idea I had was that breaking a controlled spawner will only drop a spawn egg if it had one. To re-collect it, you will need a mob compressor. The different kinds of spawners need different kinds of compressors. The normal ones need normal compressors, the advanced ones need advanced compressors, the fast ones need durable compressors, etc… Luckily, compressing a normal spawner will damage the compressor by 4 uses, but compressing a controlled spawner will NOT damage the compressor at all! And it will keep whatever egg it has in it while in your inventory. As a final comment, 1.5 is almost here, and I am eager to update it to 1.5 before I do anything else. All the things that I have already added will most likely be easy to update, but the things I have planned will probably not be. I also have an idea for 1.5 when I do get started working on it. When a spawner is ready to spawn, it will emit a redstone comparator signal.
16/2/2013: The normal compressor will only work on mobs with default eggs (only the ones in the creative menu). The advanced compressor will work on ALL entities. This also includes modded entities, endercrystals, minecarts with chests, even the enderdragon if you can get close enough. Still drops vanilla spawn eggs, so you won't be able to use the above entities' eggs. I plan to add a new egg item that can hold the data for the entity, and can always be used regardless of what kind of entity it is.
14/2/2013: Added advanced spawner item. Acts exactly like regular one, but has a cool special effect when used. Does not hold entity data yet, and still makes fake client-side egg item.
10/2/2013: First progress entry. Managed to add a spawner block, and a mob compressor. The spawner block is just a block so far. Pretty much a re-textured dirt . The compressor will compress mobs into eggs, and it should work for all mobs including modded ones. However, it will always drop the vanilla spawn egg with the modded mob's data value, and therefore won't do anything. Looking for a work around. Also, the mob will drop its egg, but will also make a client-side fake that can't be interacted with. Looking for a work around for that too.
I made my own shader pack, by the way.
Done
I made my own shader pack, by the way.
Wow.
That would be awesome.
I made my own shader pack, by the way.
SWEET!!! Now I'll have 2 videos! XD
I made my own shader pack, by the way.
I tried to make it balanced right from the start. To make the compressor, you need to find diamonds, and you need to go to the nether. To make infinite mobs, you still need to find the spawners in the first place. And finding dungeons is not exactly easy. The block update instead of redstone bug is, believe it or not, a problem with Custom Stuff, not my mod. Lastly, Custom Stuff already works on SMP.
Thanks for the feedback though!
I made my own shader pack, by the way.
Tell me exactly how you installed this mod, and any other mods you installed. And the order you installed the mods.
I made my own shader pack, by the way.
i just run multi MC to install most of them i did of corse yours abit diffrently installed it into the configs folder mods for custom stuff it works fine the "controll spawners" right click just does nothing at all with the compressor as for my mods list
Buildcraft 3.2.0pre7
Additional Pipes
Commands0.1.0
Custom Stuff
Diamond Buckets
Forestry 1.5.0.2
Gregtech
IC2 nuclear control
IC2
Logistics Pipes
Compact Solars
Extra Building Materials
Iron Chests
Modlar Force Field
More Explosives
More furnaces
Railcraft 6.1.2.0
Utility Chest
1: Does the compressor show up in the creative menu? (tools)
2: Does the controlled spawner show up in the creative menu? (redstone)
3: Can you craft them?
4: Does the compressor compress mobs?
5: Does the compressor let you obtain spawners?
6: Can you access the GUI of the controlled spawner?
7: Does the controlled spawner spawn mobs when a block update occurs?
8: Please post your "ForgeModLoader-client-0.log" file. (using spoilers)
I made my own shader pack, by the way.
ok everything in the mod works even the compressor on mod spawners the only thing it wont do is compress a mob its self into egg format
So, it won't turn mobs into eggs? Which mobs have you tried? I put a few rules on which mobs it will and won't compress. Try it on a zombie. If it won't work, post your "ForgeModLoader-client-0.log" file. (using spoilers)
I made my own shader pack, by the way.
Do you use a custom generator or something? I hardly ever find spawners.
I made my own shader pack, by the way.
Also, maybe you should increase the damage that the compressor tool takes to 64 (and require 64 remaining) damage when compressing spawners to make it slightly more balanced. That way you can only compress the spawner a maximum of 4 times per diamond, but can still choose to get lots of mob eggs instead. Maybe you could also include a way for players to turn 1 spawner into 64 of it's egg type if they do not want to use the controlled spawner.
I tried to make the spawners drop themselves, but apparently, that's not how they work anymore. Now, they no longer use metadata to select the mob they spawn. Instead, they use tile entity data. When I used code to actually check the spawner metadata, it always said 0. I once tried typing "/item 52 1 #" into the chat, but no matter what value I substituted # for, it always spawned pigs. The ability to change the spawner type in inventory is because of NEI. Still, I like all of the above ideas. Perhaps I will change the balancing in another version.
I made my own shader pack, by the way.