New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collector's Bee Ring feature #19
Conversation
…h the paritcleFX, but not huge deal right now. Would be nice to have, but crashes make people even sadder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, reduce amount of copy-pasted code. Either create single Container/UI/logic implementation (for both ring and jar) or create base classes with common details.
And if you need help with coding, you can ask me on Discord (OneEyeMaker#4423
) or other devs of GTNH.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, even with the code comment, I tested it out and it does indeed work
@OneEyeMaker please can you re check pr. |
Aight, the code itself looked fine and most of his requested changes were done besides a subjective "don't copy and paste code" request, so I thought it'd be fine, the code itself works so. |
@Cardinalstars please run spotlessaply |
@Alastors I'm sorry, but your changes made code even more messy. |
I think we should just leave this in limbo until someone fixes it instead of closing this out entirely, I don't think just saying "I don't know how to fix this, I'll reimplement this myself eventually, no one else can fix this" is a good enough reason to just nuke a feature pr |
Either offer a new implementation as a justification to yeet this, or offer solutions to its lone issue, of which multiple have been offered in the discord, such as it only checking like once every minute or such, or as I proposed, only one bee being allowed in it while the effect was happening, and not allowing any more until the bee was destroyed. |
set to draft by wishes of cardinalstar and alastor |
posted that (deleted message) on the wrong pr |
I apologize for my previous statement. My mind was overclouded yesterday.
Probably needs to fix:
(I say "probably", because I haven't large and populated server to test.) |
…ame. After testing it seems to work, but if somewhere an effect is implemented very weird it might not.
@Cardinalstars is this ready for review ? |
@Dream-Master Yes, it should now be ready. I just needed to test on dedicated server. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah looks fine to me, my only comment being that this needs extensive testing in large multiplayer worlds (zeta) to ensure we don't need to do more to address the possible lag that nbt checking could be, likewise,it needs a recipe, but things like this can bee handled at a later date.
Adding a bauble that simulates a Bee Collector's Jar using NBT stored on the item.
The main logic is located in ItemBeeRing.java and InventoryBeeRing.java. GUI and container are basically copy-pasted from the Collector's Bee Jar. RingHousing.java simulates an apiary just enough to get the effect to trigger.
I'm sorry if it's coded horribly; this is my first major Minecraft feature. :)