Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdding Loottables for item grids #4842
Conversation
There are some errors in some travis-ci build caused from ossupport/file.h It says that it doesn't know what type AString is. Edit: I didn't change that file - no clue why it only fails here Edit 2: Now I know... did the wrong order in the headers in the cpp file... facepalm |
Some random comments, I know this isn't ready for a full review. |
Any help is appreciated - thank you |
added loot table json files removed unwanted types from binary
added loot tables to symlink CMakeLists.txt added loot tables to WindowsExecutables.list and UnixExecutables.list added cLootTableProvider to World.cpp added file reading for loot tables - no parsing at this point
…ions to add
added custom loot tables
start of filling with loot
Ok - the loot tables for chests work now. As you can see there a ton of todo's in the code... some will not be resolved in this PR due to missing implementation. Those are marked with a date and my username. |
I'll add everthing i can add (even the stuff unrelated to chests) and leave and issue with the list of things left |
At the moment each world spits out 20 error messages that some feature isn't added i'm not shure what to do: Removing the entries in the loot tables doesn't seem fitting. |
12xx12 commentedAug 30, 2020
•
edited
As discussed here we'd like to add loot tables to the server
Minecraft Wiki
Fixes #3803
this is work in progress
This is only for chests. The other ones can be based on this also but are not yet supported
Things i would do
The loot tables are quite powerfull so it takes some time/effort and many enums to actually implement them.
At this point the cosole spamms some error messages because there are some features added in the loot tables that are not in cuberite and this is told to the user
Note: this pull request is quite big because it contains the json files