Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Petrolpark's Library

Petrolpark's Library

A library of shared features and utilities for my mods

147.3k
32
Library

Compatibility

Minecraft: Java Edition

1.21.1
1.20.1

Platforms

Forge
NeoForge

Supported environments

Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Visit wiki Join Discord server
Donate on Patreon

Creators

petrolpark
petrolpark Member

Details

Licensed ARR
Published last year
Updated 2 weeks ago
DescriptionChangelogVersions

This library contains code common to my Create add-ons and other mods.

API Features

  • Contaminants
  • Decaying items
    • Ageing Recipes
  • Ingredient modifiers (more advanced Ingredients)
  • Shops (WIP)
  • Badges
  • More customizable creative mode tabs
  • NumberProviders, including Item and Entity subtypes
  • Manual-only crafting recipes
  • Rendering transparent colored/dyeable items
  • Nine slice rendering
  • Manager for recipes involving compressing items
  • Helpers for vector math, NBT and raycasting

Create Features

  • Splined tubular blocks
  • Contaminants propagate through almost all Create recipes
  • Contaminable Smart Block Entities
  • "First-time lucky" recipes
  • Saving Contaminants to Block Entities
  • Biome-specific recipes
  • Off-grid tiling textured blocks
  • New Ponder instructions
    • Shake the camera
    • Create a fishing line
    • Highlight a Ponder tag
    • Make an entity swing an arm
    • Outline any box
  • Behaviour for block entities that need to remember who placed them
  • Helpers for kinetic blocks

Shared Features

These are content-adding features (not just API) which are only enabled by certain dependent mods (see below).

  • Basin Lid
  • Extrusion Die
  • Mandrel (WIP)

Dependents

  • Destroy
  • Petrol's Parts
  • pquality

Credits

  • Idea for the Basin Lid copied with permission from Create: Diesel Generators

Modrinth is open source.

main@bf16d36

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.