Loading...
Beta Modpages Unclaimed

Loot Block

Randomized loot in a stylish duffle bag.

0 Likes
6226 Downloads
Created by Nuparu00

Description

About

Loot Block is a mod that adds a respawnable block that gives a randomized block. This mod is intended for use by server/map/modpack creators and should not be used in a normal survival game, as the block is a creative-only item.

 

Usage

After installing the mod you have to first create a "LootCategory". You can think of it as a vanilla LootTable. It stores the information about the possible loot, the times it takes for loot to respawn and the color of the block.

First, prepare all the items you want to spawn in your inventory. Then write to the chat "/ccategory <name> <hex> <time>" (replace <name>, <hex>,.... with the values you want to use). Name is the name of the LootCategory, hex is the color of the block in hexadecimal format (for example 0xFF00FF = magenta). Time is the time (in ticks) it takes for the loot to respawn. Keep in mind the command also saves the amount, metadata, and NBT of the items in your inventory. The command does not save your armor or offhand slots. If you did everything right, you should see a green "Successfully saved name!" message in the chat.

 

To use the LootCategory take the Loot Block block from the Decoration Blocks Creative tab and rename it to the name you used previously in the command. You can place the renamed block anywhere you want.

 

If you want to add an item to an existing LootCategory, use the "/acategory <name>" command while holding the time in hand. You can remove one or all categories from the cache using the "/rcategory <name>". Keep in mind that any changes to categories are not reflected in existing Loot Blocks, unless you restart the world!

 

The LootCategories are stored in .json files in your save folder. You can edit those files manually if you feel like it.

 

 

 


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

Mouse Tweaks

Enhances inventory management by adding various functions to the mouse buttons.

Bookshelf

An open source library for other mods!

Comforts (Fabric/Forge/Quilt)

Adds sleeping bags and hammocks for, respectively, portability and turning day to night, without setting new spawns. Comes in 16 different colors!

BetterFps

Performance Improvements

Supplementaries

Vanilla+ additions: Jars, signposts, faucets, weather vanes spring launchers, sconces, planters, lights, decoration and automation

RandomPatches (Forge)

A bunch of miscellaneous patches for Minecraft, including configurable connection timeouts, player speed limits and other bug fixes and improvements.

FancyMenu

Customize Minecraft's menus with ease!

Phosphor (Forge)

Performance improvements for Minecraft's lighting engine

Snad

Finally, sand that actually makes sugarcane grow faster.