Skip to content

quat1024/boat-with-everything

Repository files navigation

Boat with Everything

An exercise in how far you have to take a joke before it starts being funny. It's for both the modloaders, you can stop complaining now!

This is the 1.19 xplat branch. 1.18.2-fabric work is on the 1.18.2-back branch.

Research:

  • Can it be a more ✨ well-integrated ✨ mod, i.e use modloader services instead of aggressively hacking up the boat entity class lol.
    • Apparently it does have incompatibilities with some other fabric mods, but the one i checked was... poorly put together. Yes this mod is a giant "coremod" but I at least tried to be polite with my patches.
  • Make the 1.18.2 backport for forge too (I mean it's doable it's just going to be a giant pain in the tail)

Inspiration

"boat with dirt block"

Funny todo

currently it acts like an item frame. the boat stores "what blockstate should render in te boat" and "what itemstack was used to place that block" so that the same itemstack can be returned when you remove the block from the boat. i think this is what players expect, as opposed to vanilla block-like where if you rename stone then place and break it it loses the name

it's a leaky abstraction, though: stuff like flower pots where interacting with it can change the item stack, shulker boxes where the contents of the container should not be spilled on the ground, etc.

so ideally i would instead use the block loot table, right. except there's no actual block that's being broken! and also if you put stone in a boat and remove it you shouldn't get cobblestone so maybe simulate a silk touch tool or something, but also keeping all the itemstack data like name is still important, etc

as well as things like banners which need the block entity information to come from somewhere, and there's nice convenient methods for setting the block entity render up with... an itemstack

About

boat with everything

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages