UsedRotten
Making Rotten Flesh useful in Spigot/Bukkit/MC.
This is a very simple plugin for Bukkit. Others have done it, but have lagged a bit behind bukkit updates.
It adds:
- rotten flesh in a configurable pattern on a crafting table will make 1 leather. Default is 4 Rotten in a 2x2 pattern.
- Rotten Flesh is also now cookable in a furnace to make leather.
Permissions:
- The permission UsedRotten.Crafting allows people to craft flesh to leather.
- Working on a furnace permission, but none yet.
Configuration:
The configuration file allows turning Crafting and Smelting of Rotten on or off. Additionally, it allows you to pick how many Rotten are used for crafting. The Crafting options are:
-
1: A single Rotten on a will give Leather:
>
R -
2: Two Rotten horizontally will give Leather:
>
RR -
4: Four Rotten in a 2x2 shape will give Leather:
>
RR
RR -
6: Six Rotten in a 3x2 shape will give Leather:
>
RRR
RRR -
9: Nine Rotten in a 3x3 shape will give Leather:
>
RRR
RRR
RRR
Source Code:
https://github.com/cubesteak/UsedRotten
Install:
- Download the jar file (from Files section) and place in server plugins directory.
- Set config file options to turn crafting and smelting on or off
- Add permission for crafting if desired.
Developed against CraftBukkit 1.12.1
Releases:
0.5 - Updated to CraftBukkit 1.12.1
0.4 - Updating plugin.yml to properly reflect new package name an update CraftBukkit to 1.7.9-R0.2
0.3 - Bug fix for crafting multiple items at once, code cleanup and package name change to remove bukkit from the name. Big thanks to TfT-02 for the help!
0.2 - Adds config file, multiple crafting shapes and ability to enable crafting or smelting at a global level.
0.11 - Just removes left over debug lines.
0.1 - Initial release
Known Issues:
- none
To do(maybe):
- Add furnace permissions
- See if I can get a furnace to consume more than 1 flesh per leather created.
- Allow configuration of output for both using a furnace or a Crafting Table
Thanks:
- Using THDigi / RecipeUtil for recipe compares.
- TfT-02 for lending his skills!
is this ever gonna be a 1.16 thing?
Any idea if this works with 1.13.2?
Updated for 1.12.1 and fixed shift-click problem.
Always OK with 1.9.2
Thanks
Thanks !
Good idea ;)
Made a tutorial :D
@madtomic
I believe so... I haven't tested it, but I think that will work, as I don't think there were any changes to recipes from 7.2r0.3 to 7.9-r0.2
Would love to hear how it goes!
@cub3steak
Thank you. can I still use the new release 0.4 for the cb.7.2-r0.3 I know it's build against cb1.7.9-r0.2?
@madtomic
madtomic, yeah, this is fixed in the R0.4 release. If you want to fix it in the UsedRotten.jar that you have, open the jar with something like WinZip and extract the plugin.yml file and change the second line to:
main: net.cubesteak.mcbk.UsedRotten.UsedRotten
Save the plugin.yml file with this edit and then copy it back to the UsedRotten.jar file. If you upload the updated Jar and restart your server, it should work fine.
Hope that helps!
@pignoodle
What issue are you seeing pignoodle?
Can you fix this for cb1.7.2-r0.3.
Error from UsedRotten-v0.3 for CB 1.7.2-R0.3
12:21:49 PM [12:21:49 ERROR]: Could not load 'plugins\UsedRotten.jar' in folder 'plugins' 12:21:49 PM org.bukkit.plugin.InvalidPluginException: Cannot find main class `net.cubesteak.bukkit.UsedRotten.UsedRotten' 12:21:49 PM at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:42) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 12:21:49 PM at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 12:21:49 PM at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:313) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 12:21:49 PM at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:236) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 12:21:49 PM at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:350) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 12:21:49 PM at org.bukkit.craftbukkit.v1_7_R1.CraftServer.<init>(CraftServer.java:312) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 12:21:50 PM at net.minecraft.server.v1_7_R1.PlayerList.<init>(PlayerList.java:63) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 12:21:50 PM at net.minecraft.server.v1_7_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 12:21:50 PM at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 12:21:50 PM at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 12:21:50 PM at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 12:21:50 PM Caused by: java.lang.ClassNotFoundException: net.cubesteak.bukkit.UsedRotten.UsedRotten 12:21:50 PM at java.net.URLClassLoader$1.run(Unknown Source) [?:1.7.0_51] 12:21:50 PM at java.net.URLClassLoader$1.run(Unknown Source) [?:1.7.0_51] 12:21:50 PM at java.security.AccessController.doPrivileged(Native Method) [?:1.7.0_51] 12:21:50 PM at java.net.URLClassLoader.findClass(Unknown Source) [?:1.7.0_51] 12:21:50 PM at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 12:21:50 PM at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 12:21:50 PM at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.7.0_51] 12:21:50 PM at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.7.0_51] 12:21:50 PM at java.lang.Class.forName0(Native Method) [?:1.7.0_51] 12:21:50 PM at java.lang.Class.forName(Unknown Source) [?:1.7.0_51] 12:21:50 PM at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 12:21:50 PM ... 10 more
not working for me! on 1.7.9 build of bukkit...
They approved update file, so should be good to go now..
@dropstheblocks
Hi, sorry about that. There is a pending update that should fix the problem. Was uploaded to BKdev a few days ago, just waiting for approval.
Sorry for the inconvenience!
Plugin is broken in spigot 1487
Thanks for the update! keep up the good work!
Yeah, and cows kinda need a nerf in breeding. Especially the ones on shrooms O_O
Really good idea, use up that useless flesh!
Seems like a decent idea.