Petrolpark Library

Shared code for my mods

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

Credits

The Petrolpark Library Team

profile avatar
  • 26
    Followers
  • 4
    Projects
  • 4.3M
    Downloads
Donate

More from PetrolparkView all

  • Petrol's Parts (Create add-on) project image

    Petrol's Parts (Create add-on)

    • 2.0M
    • Mods

    Unique aesthetic and functional components for Create like Corner Shafts, Pneumatic Tubes and Coaxial Cogwheels

    • 2.0M
    • April 23, 2026
    • Mods
    • +4
  • The Space project image

    The Space

    • 1.4K
    • Mods

    Real Space in Minecraft.

    • 1.4K
    • April 4, 2026
    • Mods
  • Destroy project image

    Destroy

    • 142.8K
    • Mods

    A chemistry-themed add-on to Create

    • 142.8K
    • July 26, 2025
    • Mods
    • +4
  • pquality project image

    pquality

    • 563
    • Mods

    Items can have an associated quality that affects their stats

    • 563
    • January 26, 2025
    • Mods
    • +3
  • Petrol's Parts (Create add-on) project image

    Petrol's Parts (Create add-on)

    • 2.0M
    • Mods

    Unique aesthetic and functional components for Create like Corner Shafts, Pneumatic Tubes and Coaxial Cogwheels

    • 2.0M
    • April 23, 2026
    • Mods
    • +4
  • The Space project image

    The Space

    • 1.4K
    • Mods

    Real Space in Minecraft.

    • 1.4K
    • April 4, 2026
    • Mods
  • Destroy project image

    Destroy

    • 142.8K
    • Mods

    A chemistry-themed add-on to Create

    • 142.8K
    • July 26, 2025
    • Mods
    • +4
  • pquality project image

    pquality

    • 563
    • Mods

    Items can have an associated quality that affects their stats

    • 563
    • January 26, 2025
    • Mods
    • +3