ochotonida / bones Goto Github PK
View Code? Open in Web Editor NEWA minecraft mod that adds a bunch of skeletal mobs
License: MIT License
A minecraft mod that adds a bunch of skeletal mobs
License: MIT License
spawn rates are ridiculously high! fix it or add config option pls
also would be nice to have an option to blacklist or whitelist biomes for skeletal creatures to spawn
Could you port this mod to 1.18.2? Thanks.
Hi, I'd like to make a pull request to update Bones from 1.16.1 to 1.16.5. However, it seems like the 1.16 branch is the same as the 1.15 branch. Could you please update the 1.16 branch to match the latest 1.16.1 file?
As per #1. From my understanding of the watchdog crash report, the server was waiting on chunk generation, while the chunk generation was waiting on the server. This seems to be a fundamental issue with the mobCondition
static function as defined in your Entities
class.
The only major difference I can see between that and the default Vanilla is the syntax is slightly different, and possibly in a way that could be causing the issue. Yours:
return spawnReason == SpawnReason.SPAWNER || world.getWorld().getBlockState(blockpos).canEntitySpawn(world, blockpos, entityType);
Vanilla:
return reason == SpawnReason.SPAWNER || worldIn.getBlockState(blockpos).canEntitySpawn(worldIn, blockpos, typeIn);
I believe that dereferencing the IWorld instance into an actual world is what's causing the problem. My understanding of the world generation code in 1.14 is a little bit fuzzy, but I believe what you are actually getting is an instance of WorldGenRegion
, which you can use getBlockState
etc for all of the relevant blocks as it translates it to the chunk currently being generated (and not yet existing in the world).
By trying to convert that back into the actual World
instance and then use that with getBlockState
, it then results in some sort of deadlock loop.
Changing your code to remove the getWorld()
should fix the problem immeditately.
https://pastebin.com/hdV7wVDJ - crash report
i don't know what the cause is, but something about your mod causes chunk errors. whenever i enter theses broken chunks the game locks up and my server crashes.
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.