-
Notifications
You must be signed in to change notification settings - Fork 275
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
Portal Mechanics (Closes #130) #1024
base: dev
Are you sure you want to change the base?
Conversation
…lFrame.java; initial implementation of NetherTravelAgent.
…nto create-portal-event Merging VaiTons work
…reate-portal-event Merge upstream
This is where I'm at now |
Good job man! |
Next sneak peak (chance of zombie pigman spawning increased by 1000% to shorten video length :)) |
for end platform generation when the end gets implemented
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.
I think it would be better if we implemented two TravelAgents, one for nether worlds and one for end ones.
My take on this is that each GlowWorld registers one TravelAgentImpl which then deals with portal implementation. |
@heisluft Is this still WIP or ready for review? |
I’m sorry, I kind of lost track of this PR. After loosing some of my work to faulty git usage of mine I lost motivation to actually finish this PR. There are still features to implement concerning the actual travel to the nether and I fear this PR is getting too big if I tried to mimic exact vanilla behavior. Don’t get me wrong though, I will continue my work on this today in order to get it working, although it will be more of a quick and dirty hack as I would have to make changes to GlowKit and seemingly unrelated code making this PR too confusing and difficult to review. I look, however, into making a follow-up PR to GlowKit and GlowStone fixing the shortcomings of my hacky implementation. TL;DR: No, this PR is not yet ready for review, but I continue contributing and will request review as soon as I’m done |
…reate-portal-event Merge dev branch
Next (And probably last sneak peak). EDIT: Done |
Finished Work on this PR, ready for review |
src/main/java/net/glowstone/block/itemtype/ItemFlintAndSteel.java
Outdated
Show resolved
Hide resolved
This is some great work! I was hoping for more unit tests though, or at least setting up the ground work by separating the calculations into readable units. |
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.
Final stretch!
Merge Upstream repository
@aramperes What's left for this? |
This PR implements the creation of nether portals and implements the actual travelling to the nether via portal as well as generating portals in the nether. It also implements any Bukkit / Spigot / PaperSpigot Event related to Portals and their mechanics.
This will fix one of Glowstone´s oldest issues while greatly expanding it´s functionality as a vanilla server.
What is implemented: