Inactive [FUN] PigGrinder v1.3 - Make pigs spew bacon [1.2.3-R0.1]

Discussion in 'Inactive/Unsupported Plugins' started by zhuowei, Aug 12, 2011.

  1. Offline

    zhuowei

    This is a clone of iChun's single player Pig Grinder mod, and was requested on this thread. The grinder texture is by iChun.

    This plugin's project page on BukkitDev is here.

    PigGrinder version 1.3

    PigGrinder allows you to craft a Grinder, cunningly disguised as a common bucket, with the following recipe:
    [​IMG]
    Right-click a pig with it, and the grinder will cut the pig into slices of delicious bacon from the inside out. When there is no more bacon left in the pig's empty shell, the pig explodes. The grinder will also work on sheep and cows, spitting out wool and steak, respectively.

    Features:
    • Get pork/steak/wool. Lots of it.
    • Get cooked porkchops if the pig is lit on fire, and cooked steak if the cow is on fire
    • Configurable amount of pork spawned per pig, rate of spawn, and whether pigs explode when they are exhausted of pork.
    • Optional Spout support. If Spout is detected, players with the Spoutcraft client will see the grinder on the animal when it is attached. Optionally, the grinder can have a custom name and texture for the users with Spoutcraft, enabled in the configuration file.
    Screenshots:

    Show Spoiler

    [​IMG]
    [​IMG]


    Plugin review by JustDoAsIDo for version 1.1:


    Download
    Source at GitHub

    Configuration:
    Show Spoiler

    amount: amount of loot that can be spawned from an animal. Default: 20
    delay: Interval between loot drops in in-game ticks (1/20th of a second). Default: 5
    yvelocity: The initial vertical speed of an item when it drops from the grinder. Increase it to have the drops launch higher. Default: 0.25
    explode: Whether animals explode after dropping all their loot. Default: true
    explodepower: The power of the explosion. Default: 1.0
    use-spout-item: Whether to use a SpoutPlugin custom item for the grinder.
    itemtextureurl: The URL for the texture of the pig grinder when using the Spout Custom Item support. Default: http://cloud.github.com/downloads/zhuowei/PigGrinder/pig_grinder_item_texture.png
    material: The item that the grinder appears as, if not using the Spout item support. Default: BUCKET
    metadata: The special damage value that distinguishes grinders, if not using the Spout item support. Default: 70
    textureurl: the URL of the pig's texture when a grinder is attached. Default: http://cloud.github.com/downloads/zhuowei/PigGrinder/pig_grinder_texture.png
    textureurl-cow: The url of the cow's texture when a grinder is attached. Default: http://cloud.github.com/downloads/zhuowei/PigGrinder/pig_grinder_cow_texture.png
    textureurl-sheep: The url of a sheep's texture when a grinder is attached. Default: http://cloud.github.com/downloads/zhuowei/PigGrinder/pig_grinder_sheep_texture.png


    Permission nodes:
    Show Spoiler

    piggrinder.use: Allows a player to use a grinder on an animal. Default: true
    piggrinder.use.pig: Allows a player to use a grinder on a pig. Default: same as piggrinder.use
    piggrinder.use.sheep: Allows a player to use a grinder on a sheep. Default: same as piggrinder.use
    piggrinder.use.cow: Allows a player to use a grinder on a cow. Default: same as piggrinder.use


    Changelog:
    v1.3: (February 4th, 2012)
    Updated to latest Spout and Bukkit apis
    Sheep now drops wool of the correct colour
    Added config to use Spout custom item instead of non-spout item
    v1.2:
    Added custom grinder texture for Spout users
    Added ability to grind sheep and cows.
    Added permission nodes.
    Switched to iChun's grinder icon.
    v1.1.1:
    Spout's api changed for 1.0.5, and the plugin had to be fixed.
    Show Spoiler

    v1.1:
    Now uses Spout to change pig's skin when grinder is attached
    Set vertical velocity of items dropped to match the look of the original mod
    v1.0.2:
    Can now specify whether the pigs would explode and the power of the explosion
    v1.0.1:
    Added Spout support
    v1.0:
    Initial release
     
  2. lol flatfiles.

    It's already fixed with a custom version that actually defaults to false (imho correctly)
     
  3. Offline

    cr0ss

    Maybe I'm doing it wrong, but are the permission nodes working with the current version of PEX? I can't get it to work.
     
  4. Offline

    jinS

    wow nice , good and great!
     
  5. Offline

    zhuowei

  6. Offline

    rabbits

    Hey, I'm a noob at these type of stuff. I have Spout and it reads my Pig Grinder.

    Code:
    ( example: itemMap.txt in spout folder:
                 1024:PigGrinder.Grinder )
    -------------------------------------------
    ( example CRCCache.txt in spout folder:
     1316305516000:-8301924802458716989:http\://cloud.github.com/downloads/zhuowei/PigGrinder/pig_grinder_item_texture.png
    1316832564000:-1820185900146053320:http\://cloud.github.com/downloads/zhuowei/PigGrinder/pig_grinder_sheep_texture.png
    1322895046000:5781591909278601495:http\://cloud.github.com/downloads/zhuowei/PigGrinder/pig_grinder_texture.png
    1316832516000:8714749343369967762:http\://cloud.github.com/downloads/zhuowei/PigGrinder/pig_grinder_cow_texture.png ) 
    But, when I start it up and make it I get a piece of flint. It works fine but how about the grinder texture? I really want to know how to get that. Sorry if I'm more of a noob than natural.
     
  7. Offline

    zhuowei

    Are you using the Spoutcraft client? You need it to see the grinder with the correct name and texture.
     
  8. Offline

    rabbits

    Oh, right. Spoutcraft. Right. Thanks.
     
  9. Offline

    kevber123

    been a while! hows the mod going? havent had internet for a while so i couldnt check it.
     
  10. Offline

    zhuowei

    It's working with the latest SpoutPlugin and Spoutcraft, and is compatible with at least 1.2.3, the version that was stable last time I tested.
     
  11. Offline

    kevber123

    then i will start using it right away!
     
    zhuowei likes this.
  12. Offline

    kevber123

    hey, is it possible to make the tornado mod (couldnt find the mc forum page, but heres the mod: http://www.coros.us/mods/tornadoes ) for smp? maybe without the 3d effects since they dont NEED to be there, but if its possible could you work that in too?
     
  13. Offline

    zhuowei

    I would wait for the author of the mod to port it over to the official Minecraft Mod API when it is released (probably very soon). My skills are not good enough for me to port that mod over, and, besides, the server only allows spawning three types of falling blocks - sand, gravel, and dragon egg. You might try to post your request in the Plugin Requests section.
     
  14. Offline

    kevber123

    what i meant, btw, wasnt spawning the blocks in midair, but more within a radius of the place you used the "tornado" it would at randomly place blocks around it that it takes from a smaller radius (both of them configurable) where it was used. the hammer tool and whatever that comees with it doesnt matter, but using the same way making it pile them up behind you might be good for digging downwards tunnels. but if you cant, thanks for atleast considering it i guess.
     
  15. Offline

    Tuckapokemon

    I wish people could make more fun mods like this and animal waste!
     

Share This Page