LogLib

LogLib

A simple library for making logs

by
46 Downloads
forge
Rent Server with this Mod

About this Mod

LogLib banner

What is this?

Just something I made while making a log, which I thought would be good to make a library so other people could do it more easily

How to use:

1. Make your log strippable

Just add your log to the LogMap list in commonSetup like so:

  private void commonSetup(final FMLCommonSetupEvent event) {
    event.enqueueWork(() -> {
      LogEvents.LogMap.put(YOUR_MOD.YOUR_LOG.get(), YOUR_MOD.YOUR_STRIPPED_LOG.get())
    });
  }

2. Optional: Add a loot table for bark

1.Add your bark to a log

  private void commonSetup(final FMLCommonSetupEvent event) {
    event.enqueueWork(() -> {
        LogEvents.BarkMap.put(YOUR_MOD.YOUR_LOG.get() /*Can actually be any log*/, The resource location of your loot table);
    });
  }

2.Add a loot table
In datagen, add this:

  this.add(YOUR_MOD.YOUR_LOG.get()
      () -> BarkLootMethods.CreateDefaultLootTable(YOUR_MOD.YOUR_BARK.get()));

Or alternatively, this:

  this.add(YOUR_MOD.YOUR_LOG.get()
      () -> BarkLootMethods.CreareRangeLootTable(YOUR_MOD.YOUR_BARK.get(), MinimumAmount, MaximumAmount));

And you're done!

This mod also has a datagen method for log models.
In datagen:

LogMethods.logBlockWithItem(this, (RotatedPillarBlock) YOUR_MOD.YOUR_LOG,
    Name of the texture for the side of the block (usually just the block's name),
    Name of the texture for the tip of the block (usually "[block's name]_top"),
    the name of the block)

Available Versions

LogLib 1.0.0release
MC 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6forge
September 3, 2025

How to Install LogLib on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.20.6).

3

Install Mod

Open the mod browser in the dashboard and search for "LogLib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forge

Minecraft Versions

1.20.6, 1.20.5, 1.20.4 (+3 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

LogLib server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.6). You can switch loaders with one click in the panel.

Is LogLib compatible with forge?

LogLib officially supports forge for Minecraft 1.20.6, 1.20.5, 1.20.4. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with LogLib – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if LogLib consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install LogLib with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.20.61.20.51.20.41.20.31.20.21.20.1