
About:
Sammie's Jammie Slimes is a mod that was inspired by an idea my wife had for a mod. Her idea was to create a mod that allowed the player to feed slimes fruit jams, which would transform the slimes into fruit slimes of the jam fruit flavor fed to it.
This mod was created both from her idea and as a 1.12.2 Modding Coalition mod jam entry for October 2023, hence the "Mod Jam Spooky Edition", which showcases this mod's capabilities by providing a spooky template.
This mod goes beyond Sammie's original idea. It's a fully customizable slime-maker mod! You can add and tweak up to 4 custom slimes, choosing its name, appearance, and how it transforms!
Note: This mod is an alpha build, for showcasing purposes for the 1.12.2 Modding Coalition October Mod Jam.
You're free to use and tinker with the mod, but it is missing planned features which will be added for the official release later on!
How To Use:
1) Install the mod! There are currently NO dependencies =)
2) Run the game once. This will generate a folder at config/sammiejamslimes and a default slimes.json file. The mod also outputs a en_us.lang file to config/sammiejamslimes/lang which writes the localization names using the values written for the "displayName" property in slimes.json. This lang file must be loaded in a resource pack for the names to show in-game, otherwise they will always default to "Slime One", "Slime Two", "Slime Three" and "Slime Four"
3) Test it out! The default slimes.json already comes with 4 preconfigured slimes. In-game, just search in the creative menu for spawn eggs for Slime One through Four (or Jam, Apple, Melon and Diamond Slime if you put the lang file in a resourcepack). Or you can find them spawning in the world.
4) Feed the slimes! For the defaults, you can feed the slimes apples, golden apples (apple slime), melons or speckled melons (melon slime) or diamond and diamond pickaxe (diamond slime). By default, the jam slime can't be transformed from other slimes.
5) Tweak! After playing around with the mod's defaults, feel free to customize your own! See the below "Slimes.json" section for an in-depth how-to.
Templates:
I've created some templates for your use!
Using the templates:
Just download the zip of your choice and unzip it somewhere on your PC.
It contains a preview image, a preconfigured slimes.json, and a resourcepack. Backup your current slimes.json (if you wanna save you current settings for later), and replace it with the slimes.json in the template zip.
Place the resourcepack in your resourcepacks folder.
Launch the game and enable the resourcepack. Your slimes should be ready to go!
October 2023 Spooky Mod Jam:
https://drive.google.com/file/d/1mSvWoPafwz-ardIJo_dnBPRpQhP-iaSv/view?usp=sharing
(More coming soon!)
Slimes.json:
Slimes.json is the primary way you are able to customize your slimes.
Currently, only up to 4 custom slimes are supported. This cap will be greatly increased for the official release.
Each slime is defined by a json object, and each object contains several properties you can set and define values for. Let's walk through them.
entityID: Required for the slime to be registered. If this property is missing or the value is invalid, the slime will not register at all!
Can be any alphanumeric value. Can not contain spaces or special characters. Underscores are permitted.
Note: the value here doesn't actually impact the registered entity ID. The entity ID registered will always be slimeX where X is the order in which it appears in slimes.json (slime1, slime2, slime3 and slime4 respectively)
From here on out, all other properties are optional, but a default value may be supplied in some cases.
displayName: Setting this is optional. Ultimately, the name of your slime is defined by your language file. The name you set here will be written to a en_us.lang file in config/sammiejamslimes/lang, which is provided for your convenience. Just copy the language file into your resourcepack.
spawnEggColors: You can set the primary (base) and secondary (spots) colors of the spawn egg for your slime. Use hexadecimal color format, such as FFFFFF. Please use an online hex color picker to help choose your colors and get the hex code.
Defaults to vanilla slime egg colors.
transformItems: Use this property to define the items required to be fed to other slimes, which will transform them into "this" slime (the slime the property is part of)
Expects an array of objects.
Each object can contain these properties:
itemID: Set any valid item ID. Will check against all currently registered items in your minecraft forge instance. Invalid IDs are ignored. Accepts wildcards, NBT and metadata.
consumeItem: Not yet implemented. Items won't be consumed (default false)
reduceDurability: Note yet implemented. Items won't reduce durability (default false)
appearance: Define how your slimes will appear in-game.
type: Use either "color" or "texture"
Color: If set, then use the "source" property to set your desired color. Use an rgba array format, such as [255, 255, 255, 0.5]
This will cause your slime to render as the color you set, including transparency.
Texture: If set, "source" property is ignored. Instead, this tells the mod to expect a texture in your resourcepack. Simply supply the texture with the correct name that corresponds to the entity ID (slime1-4.png)
transformTo: Not yet implemented. In the future, this will be used to set a whitelist or blacklist of other slimes that "this" slime can or can not transform into, allowing for complex transformation sequences =)
spawningEnable: True or false. Determines if the slime should spawn naturally in the world or not. Currently, slimes will spawn in all biomes if set to true. I plan to add more spawn customization options in the future.