Plugin category: Miscellaneous Minecraft version: Spigot 1.10 Suggested name: SkylaskSheep What I want: This plugin makes sheep spawn in random colors, which are configurable. When you kill a colored sheep, it drops 1 white wool along with a 20% chance (Out of 100%) to also drop the appropriate dye for the sheep's color. When you sheer a colored sheep, there is a chance to drop 1-3 pieces of white wool. You always get 1 dye of the sheep's color when sheering, but there is a 15% chance to get more (Max of how ever many white wool is dropped) Config.yml Example Code: Possible colors: Black DarkGray LightGray White LightBlue Orange Red DarkBlue Purple Magenta Pink Brown Yellow Lime Green Aqua # Out of 100% Dye-Kill: 20% Dye-Sheer: 15% # Does the sheep always drop 1 dye when sheered? DyeAlways: true DyeAlwaysPer: 15% # Only applies if "DyeAlways" is set to false Sheep colors Ideas for commands: No commands needed for this plugin. Ideas for permissions: No permissions needed for this plugin. When I'd like it by: Whenever you get it done by.
I might try to take this up, Should it always spawn a color sheep and have an equal chance for any color to spawn or a chance that a sheep spawned might get colored randomly
I forgot to add this above, but could you make it so the spawn chance is configurable? The sheep's color is randomly chosen by the percentage set in config.yml. Code: white : 5% purple : 7% gray : 0% etc.. With this configuration, there is a 5% chance for white sheep to spawn, 7% purple , and gray sheep will never spawn.
Alrighty UPDATE: Custom spawning with colors seems to be working with the spawn percentages. Edit @Skrubzy Would it be better/make more sense if the sheep didn't all drop white wool but the appropriate colored wool/like normal and then just have a chance to drop the dye? UPDATE: pretty much done at this point, everything seems to be working fine. I plan to add a make the amount of dye that the sheep drops on death or on shearing more customizable than a whole number like maybe a percent chance to drop any set amount. Heres what the config looks like right-now. Code: SkylaskSheep: enabled: true Spawn Chance: - "white:9%" - "Silver:6.5%" - "yellow:6.5%" - "red:6.5%" - "brown:6.5%" - "gray:6.5%" - "green:6.5%" - "blue:6.5%" - "black:6.5%" - "light_blue:6.5%" - "pink:6.5%" - "cyan:6.5%" - "lime:6.5%" - "magenta:6.5%" - "purple:6.5%" Drop dye on death: true Death drop amount: 1 Death drop chance: "20%" Drop dye on shear: true Shear drop amount: 1 Shear drop chance: "15%" It'll be done by tomorrow. UPDATE: Uploading to BukkitDev. @Skrubzy , It will be here, once it's approved.
So? I didn't get notified of your reply for some reason, I'll test it in the morning Thank you for making this EDIT by Moderator: merged posts, please use the edit button instead of double posting.