Fish buckets save and restore object properties in item entity #3013
No reviewers
Labels
No Label
#P1 CRITICAL
#P2: HIGH
#P3: elevated
#P4 priority: medium
#P6: low
#Review
annoying
API
bug
code quality
combat
commands
compatibility
configurability
contribution inside
controls
core feature
creative mode
delayed for engine release
documentation
duplicate
enhancement
environment
feature request
gameplay
graphics
ground content conflict
GUI/HUD
help wanted
incomplete feature
invalid / won't fix
items
looking for contributor
mapgen
meta
mineclone2+
Minecraft >= 1.13
Minecraft >= 1.17
missing feature
mobile
mobs
mod support
model needed
multiplayer
Needs adoption
needs discussion
needs engine change
needs more information
needs research
nodes
non-mob entities
performance
player
possible close
redstone
release notes
schematics
Skyblock
sounds
Testing / Retest
tools
translation
unconfirmed
mcl5
mcla
Media missing
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: VoxeLibre/VoxeLibre#3013
Loading…
Reference in New Issue
No description provided.
Delete Branch "fish_bucket_save"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This refactors / rewrites the fish bucket code to not use the bucket api at all – it was clearly not made for this kind of thing. It also puts it in a separate file in mcl_buckets.
If the properties metadata field is set on the bucket item, the placing will set the object properties from that after spawn.
Correspondingly axolotls and tropical fish set this meta field on_rightclick bucket pickup.
This way the textures and other properties (mesh is also important for t-fish) are persistent over bucket transfers.
This PR fixes #3008
This PR fixes #3006
Should it check for flowing river water too?
should it check for flowing normal water ? It would only even make a difference when theres flowing river water and ground directly beneath it which i dont think really occurs naturally.
What about when players make an aquarium, to put the aquatics in? That could be river water... depending on mapgen.
so when they release a fish from a bucket and there is only flowing river water it would place a normal water source .. sounds ok to me - it seems unlikely anyone would make a river water aquarium in the first place if only for the sheer work that means bc river water isn't renewable.
I was thinking the valley mapgen players. riverwater would be common. but replacing the river water with regular water would be okay imho.
it would still be a huge pain to get all that river water for your aquarium as you'd have to manually transport every single source. It does not replicate like normal water does.
I see your point, even though my brain immediately retorted "oh, kinda like going down and mining 800 deepslate to build a castle..." lol.
The amount of buckets needed to do that would probably make it too much work for most players, so I see what you say. And they would probably exhaust any nearby water sources.
I've made it so you can place it in flowing river water. But not take from it to prevent unintended water dupe.
Seems the meta data is saved to the empty buckets and they no longer stack, and the unlimited water placement in creative is broken again.
fixed
c3e2c309e4
tof14bfdc0cd
Fish buckets cant be placed in item frames, but otherwise works very nicely.
The basic buckets, or ones with fish in them?
Works, LGTM