LogLib
No reviews yet
A simple library for making logs
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description

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)
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources