haven-king / fiblib Goto Github PK
View Code? Open in Web Editor NEWA Fabric library for sending false data to clients.
License: Creative Commons Zero v1.0 Universal
A Fabric library for sending false data to clients.
License: Creative Commons Zero v1.0 Universal
We should not store all Fibbed blocks, only the Fibbed blocks that exist in currently loaded chunks. Will likely require mixing into ThreadedAnvilChunkStorage
.
Hello. I can't find FibLib on CurseForge.
I would greatly appreciate it if you could make it available there. Other mods (e.g. Game Phases) that are there are based on your mod but cannot be used in modpacks because FibLib is not available. Too bad.
Dimension-specific BlockFibs should take precedence over dimension-agnostic ones.
This would be a nice feature so that server owners can use FibLib without needing to write any Java code. Could be JSON-based for ease of use, JavaScript based for flexibility, or both!
Things that would be nice to have for a JSON implementation:
I'm not 100% sure what causes this crash, and have spent many hours trying to fix it. If you are smarter than me and have an idea, please try it!
The exception produced is as follows:
crash-2020-04-09_18.59.30-server.txt
A chunk update with high variance (greater than 9 different kinds of blocks. See PalettedContainer#setPaletteSize) will use Minecraft's built in Block.STATE_IDS as its palette. This palette uses ID numbers to represent states that can be quite large (up to 11337, to be exact) which usually isn't a problem. When replacing a lot of low ID numbers with high ID numbers (GRASS_BLOCK#9 to GLOWSTONE#3999 for instance) the packet buffer is overwhelmed.
One way that might be able to fix this error is to just use BiMapPalette's for all Chunk updates, though this sounds like it's pretty likely to break the game.
Seems the dev is inactive, I made a new repo that has better docs (including Kotlin code examples) and a nicer Readme. There'll soon be an example mod too! https://github.com/SkyfallWasTaken/FibLib
I'm willing to work on a Forge version as this could well be split up like KubeJS so that a single repo provides for both loaders. So, I wanted to see if there's interest in that vs forking/porting?
This is something I'd like to add soon. Shouldn't be too difficult, I just haven't gotten around to it.
Seems to have more recent commits (5 months to 8) so I suggest making it the default branch
Crash log:
https://gist.github.com/a9d2497fdf751ac2f912297d95996c58
At appears like the cardinal component gets saved incorrectly. It may be a bug with this CCA version. But I couldn't find any reports of this on CCA's github.
Most worldgen features don't trigger Block#onBlockAdded, so they're not added to the update list.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.