realistictorches's People
realistictorches's Issues
Issues migrating to 1.15.2
I'm working on a server and this was invaluable for me to understand how to better handle timing out torches. However api changes in Bukkit/Spigot/Paper have really done a number on supporting your extra features. I took my best crack at it over the last day, maybe two.
Did they not replace setTypeIdAndData's location setter after deprecating it? Being outside an event context makes this quite tricky to handle in the block manager in any elegant way when intently avoiding the compositional complexity of querying the world on each block in que for destruction and the incidental block break conditions that go uncaught. All I really needed or want is Air so it works out to me just torturing myself...
If you can advise me on what you know, anything that might help, I'd like to give back. I was trying to implement this feature prior to stumbling on your solution and I'm incredibly grateful at this point but a frustrating port was required. I think theres a possibility that some of the bugs I discovered could reside in your version aswell most likely leaky unlits and a missing block cache remove call that locks a blocks state and additional corner cases. Really not trying to write a book atm.
I think it would be best to abandon the custom meta / unlit entirely, and default to air (until someone from Bukkit realises batch torches can't be mutated into a wall torch properly from a non-event context). In my additions, I handle the wall torch variant, logging is left in, commented out.
Its nice to meet you after spending so much time learning from your code.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.