the pork update
- 9 Devlogs
- 18 Total hours
a joke minecraft mod based off of some meme i found online (also my first minecraft mod)
a joke minecraft mod based off of some meme i found online (also my first minecraft mod)
today i ported over my effects to 1.21.11
im also making this devlog on the way to outpost lmao
as of writing im in PHX airport waiting for my flights to san francisco
i did a small overhaul of the Feel Full effect, changing the name to Feelin' Full and making it more of a healing/survivability effect at the trade off of speed, rather than speed related buffs cuz it makes more sense that way tbh
the leg cramp effect is still the exact same tho lol ( but now 1.21.11 has a new attribute that allows me to change the fall damage requirement which is pretty funny)
today i ported my mod over to 1.21.11 since apparently fabric docs don’t have an entity section for any other version other than this and 26.1.2
i decided to split my porting process over multiple devlogs cuz im tired rn and i wanna publish something now, so i started off with my items and made a short list of features that need to be ported
anyways time to get back into this
today i decided to add textures to the pork block i made.
the original meme just used stripped cherry wood as the “texture”, so i pretty much did the same but added extra details to make it look more porky in a sense (fat streaks and dark spots specifically)
after that, i made a bottle of fat item which i came up with in the shower. i initially wanted it to be crafted in a brewing stand, but then i found out that its reserved for potions (which i could do, maybe later lol)
the bottle of fat serves as an alternative to honeycombs in the candle crafting recipe, since honeycombs are annoying to get in bulk for building imo
i also dug around the source code for minecraft and added the honey bottle sounds and animation to the item, which makes this item horrible to use lmao
to do list:
this mod is not serious bro 💔
today i added two new effects called Feel Full and Leg Cramp
Feel Full is a minor buff in speed stats and health given by the breakfast item from before, while leg cramp is an evil ass near-instant death effect given by (soon to be) pork licker mobs.
to make these effects i started off with the fabric docs tutorial, but then moved onto the minecraft source to figure out how they did the stat buffs for effects like speed and haste. once i understood how mojang implemented them, i added them to my mod, making each effect a combination of vanilla effects/attributes (which strangely includes gravity and fall damage)
judging by the icons and death message i had way too much fun making these lmao
i also added a pork block that doesnt do anything as of now but yeah (texture not made yet)
i added a cleaver item
initially i wanted this item to be an ingredient in crafting bacon and other food items, but i couldn’t get it to preserve when crafting like a milk bucket. although i did look inside the minecraft source and use .craftRemainder(), setting the result to the item results in the cleaver still destroying itself.
maybe i’ll try to experiment with some off hand right clicking, but thats for later (its 1:28 am at writing)
the cleaver also functions as an iron sword variant, having faster attack speed with lower damage (4 damage with 2 speed)
got distracted and made a bunch of food items
i was lowkey kinda bored today so i decided to just add some pork related food items to the mod (and also to learn more about modding in general)
so far, i’ve added raw and cooked bacon, which serve as small but fast food sources, as well as a breakfast item that gives tons of hunger and saturation in exchange for being relatively annoying to craft
i also added a neat lil interaction between raw bacon and campfires, where campfires actually cook bacon faster and give more xp than smokers or furnaces since it’s more akin to frying bacon irl (and also i want an excuse for campfires being useful)
i also learned about some cool features i can incorporate into my mod, such as adding rarities to color item names and making my breakfast item return the bowl after eating through .usingConvertsTo()
ok i got the item working (huge thanks to @ penguinencounter on slack :D)
apparently i just needed to insert the item initializer from the tutorial as an entrypoint in the .json file, since before hand the item wasnt being registered due to the file doing that not being activated or smth
anyways cool picture of my item with a texture i made in like 5 seconds
tried again at making the items work, still failed
here’s the general overview of what i’m adding to the mod (might add more if my skills grow over time)
i followed the tutorial in the fabric docs, but the item wouldn’t show in game even after registering the item under the ingredients creative tab
today i tried to get an item in but failed miserably lmao (but at least i got the loader to work)
this joke minecraft mod is based off of a meme i saw months ago that i couldnt get out of my head for a while so now im making it(refer to image 2)
this is my first ever minecraft mod so it’ll probably be shitty but at the same time its a shitpost mod so