Logo
MINECRAFTBIBLE
Items
Items

All game items

Blocks
Blocks

Building blocks

Mobs
Mobs

Creatures & monsters

Biomes
Biomes

World biomes

Structures
Structures

Generated structures

Recipes
Recipes

Crafting guides

Advancements
Advancements

Achievements

Loot Tables
Loot Tables

Drop rates

Tags
Tags

Item groupings

All Versions
View all data →
Capes
Cape ArchiveNEW

Browse rare Minecon capes, OptiFine capes, and custom capes from players worldwide

Browse

Player Database
Player DatabasePopular

Search any player

Skin Browser
Skin Browser

Browse & download skins

Cape Gallery
Cape GalleryNEW

Minecon & OptiFine capes

Seed Vault
Seed Vault

Curated seeds

Learn

Guides
GuidesNew

Tutorials & tips

Blog
Blog

News & updates

Community

Community Hub
Community HubHub

Posts, discussions & more

All Versions
View community →
Seed Analyzer
Seed Analyzer

World seed analysis

Loot Explorer
Loot Explorer

Drop rates

Crafting Calculator
Crafting Calculator

Material planning

Enchant Calculator
Enchant Calculator

Probability math

Redstone Lab
Redstone Lab

Signal timing

Trading Profit
Trading Profit

Villager ROI

All Versions
View all tools →
Mods
Mods

Browse all mods

Plugins
Plugins

Server plugins

Resource Packs
Resource Packs

Textures & sounds

Shaders
Shaders

Visual enhancements

Datapacks
Datapacks

World logic

Scanner
Mod Intelligence

Scan & analyze any mod

All Versions
View all mods →
Loading...
IntroductionIntroductionVersion HistoryVersion HistoryGuidesGuidesBlog & NewsBlog & News
ItemsItemsBlocksBlocksMobsMobsRecipesRecipesBiomesBiomesStructuresStructuresAdvancementsAdvancementsLoot TablesLoot TablesTagsTags
ModsModsPluginsPluginsResource PacksResource PacksShadersShadersDatapacksDatapacks

MinecraftBible

The Ultimate Wiki

Logo
MINECRAFTBIBLE

The ultimate Minecraft reference. Every item, block, mob, and recipe documented with precision.

Community

  • Skin Browser
  • Cape Gallery
  • Seed Vault
  • Blog
  • Guides

Database

  • Items
  • Blocks
  • Mobs
  • Recipes
  • Biomes
  • Structures

Tools

  • Seed Analyzer
  • Mod Intelligence
  • Crafting Calculator
  • Enchant Calculator

Mods & Packs

  • Mods
  • Plugins
  • Resource Packs
  • Shaders
  • Datapacks

Site & Legal

  • About
  • Authors
  • Editorial Policy
  • Corrections
  • Contact
  • Privacy Policy
  • Terms of Service
  • DMCA
  • Sitemap

© 2026 MinecraftBible. Not affiliated with Mojang or Microsoft.

PrivacyTermsContact
CobbleLib
ModApache-2.0

CobbleLib

CobbleSuite Library By WhosLucid

21
Downloads
1
Followers
3 months ago
Updated
📦
1
Versions
libraryneoforge
Download Latestv1.0.0View on Modrinth

📖About CobbleLib

CobbleLib

A core utility library for Cobblemon NeoForge mods providing virtual economy (Cobbletokens), permissions, UI framework, and Pokemon helpers.

Requirements

  • Minecraft 1.21.1
  • NeoForge 21.1.90+
  • Cobblemon 1.7.2+
  • Java 21+

Features

Economy(Cobbletokens)

A simple virtual currency system with balances stored in economy.json:

  • Virtual balances tracked per player
  • Easy /cobbletokens command for players to manage their tokens
  • Admin commands for server operators
  • Transfer tokens between players

Permission System

Integrates with FTB Ranks for permission checks with automatic fallback to vanilla op levels.

PermissionApi.hasPermission(player, "permission.node", opLevel);

UI Components

GooeyLibs-based GUI utilities:

  • ConfirmMenu - Confirmation dialogs
  • PartyPcMenu - Party/PC Pokemon selection interface

Utilities

  • AdventureTranslator - Convert legacy color codes (&a, &l) and hex (&#RRGGBB) to Components
  • PlayerUtils - Chat, actionbar, and broadcast messaging
  • PokemonUtils - Placeholder replacement and stat helpers
  • ItemModel - ItemStack builder with display name, lore, NBT support

Commands

Token Commands (/cobbletokens)

Command Permission Description
/cobbletokens cobblelib.tokens Check your balance
/cobbletokens balance [player] cobblelib.tokens / cobblelib.tokens.admin Check balance (admin for others)
/cobbletokens send <player> <amount> cobblelib.tokens Send tokens to another player
/cobbletokens pay <player> <amount> cobblelib.tokens Alias for send
/cobbletokens give <player> <amount> cobblelib.tokens.admin Give tokens to a player
/cobbletokens take <player> <amount> cobblelib.tokens.admin Take tokens from a player
/cobbletokens set <player> <amount> cobblelib.tokens.admin Set a player's balance

Admin Commands (/cobblelib)

Command Permission Description
/cobblelib reload cobblelib.reload Reload all configs
/cobblelib info cobblelib.base Display mod info

Configuration

Config files are located at config/cobblelib/

config.json

{
  "debug": false,
  "useDefault": true,
  "economySymbol": "Cobbletokens"
}

Language Files

Located at config/cobblelib/lang/en.json

API Usage

Economy API

import com.whoslucid.cobblelib.api.EconomyApi;

// Check balance
BigDecimal balance = EconomyApi.getBalance(playerUUID, null);

// Add money
EconomyApi.addMoney(playerUUID, BigDecimal.valueOf(100), null);

// Remove money
EconomyApi.removeMoney(playerUUID, BigDecimal.valueOf(50), null);

// Transfer between players
EconomyApi.transfer(fromUUID, toUUID, 100);

// Check and deduct
boolean success = EconomyApi.hasEnoughMoney(playerUUID, BigDecimal.valueOf(100), null, true);

// Get currency symbol
String symbol = EconomyApi.getSymbol(null);

Permission API

import com.whoslucid.cobblelib.api.PermissionApi;

// Check permission with op fallback
boolean allowed = PermissionApi.hasPermission(player, "your.permission", 2);

Color Codes

import com.whoslucid.cobblelib.util.AdventureTranslator;

Component text = AdventureTranslator.toComponent("&aGreen &lBold &#FF5555Custom Hex");

Building

./gradlew build

Output: build/libs/cobblelib-1.0.0.jar

License

All rights reserved.

👥 Team & Contributors

WhosLucid
WhosLucidOwner

⚙️ Compatibility

Environment
🖥️ Server-side
Loaders
neoforge
Minecraft Versions
1.21.11.21.21.21.31.21.41.21.51.21.61.21.71.21.8+3 more

🔗 Links

Modrinth Page