Minecraft WhatsInTheBoxAPI mod 2026 download
logo
minecraft mod WhatsInTheBoxAPI

WhatsInTheBoxAPI

Game Version: 1.15-Snapshot
Total Downloads: 71
Updated: Nov 2, 2019
Created: Oct 30, 2019
Download WhatsInTheBoxAPIDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
WhatsInTheBox-0.1.4.jar release 38.76 KB Nov 2, 2019 1.15-Snapshot 40 download WhatsInTheBoxAPI WhatsInTheBox-0.1.4.jar releaseDownload
WhatsInTheBox-0.1.3.jar release 38.77 KB Nov 1, 2019 1.15-Snapshot 15 download WhatsInTheBoxAPI WhatsInTheBox-0.1.3.jar releaseDownload
WhatsInTheBox-0.1.0.jar beta 27.80 KB Oct 30, 2019 1.15-Snapshot 16 download WhatsInTheBoxAPI WhatsInTheBox-0.1.0.jar betaDownload

Description

Share this:

Tihs should be used in as a dependency in other mods. Not intended for regular game play

Check Gitlab for version Current version

Whats in the Box

Is a basic api allowing the Client to receive information about LootTables on the server

Adding to Project

If you using fabric-example-mod as a base you'll need to add the follow to your build.gradle

repositories
{
maven { url 'https://jitpack.io' }
}

and add the follow to the dependencies block

modCompile "com.gitlab.biom4st3r:WhatsInTheBoxAPI:{version}"

include "com.gitlab.biom4st3r:WhatsInTheBoxAPI:{version}"

Run down

  • The Main method you'll be needing is WhatsInTheBox#requestLootTable(Identifier lootTableId).

— This will store a LootTable in LootTableStorage or LootTable.EMPTY if it wasn't a valid id.

  • If the server permits it you can also use WhatsInTheBox#requestAllLootTableIds().

— This will store all LootTableIds in LootTableStorage with null LootTables

Note

  • This mod also enables LootableContainerBlockEntities to store there LootTableId tag with the client(configurable). So you won't need to request that from the server; Just ask that client sideded BlockEntity

Comments

Add a comment