All Classes and Interfaces

Class
Description
 
 
 
 
 
 
 
 
 
 
 
Implementation of ITeam which implements Data Component manipulation, but not anything to do with membership of the Team itself.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
petrolpark:
 
 
 
 
 
 
 
 
 
 
 
petrolpark:attribute
 
 
 
 
 
 
 
 
 
 
Wrap methods for inserting/removing Items from Barrels to allow them to do AgeingRecipes.
 
 
 
 
 
 
 
 
 
 
A BasinOperatingBlockEntity which works directly above the Basin rather than two Blocks above it.
 
 
Extension to ItemStack that allows for a count greater than ItemStack.getMaxStackSize().
 
 
 
 
Deprecated.
Replaced with BogglePatternHelper
 
 
 
 
Biome IIngredientType
 
 
 
 
BlockColors are called after Biome blending has been done.
 
 
 
Given that a Recipe is possible, convert into a better form for the Blender.
Check if a Recipe (of potentially any RecipeType) can be done in a Blender.
 
 
 
 
 
 
The base class for Blending recipe generation.
 
 
Substitute for SmartBlockEntity if Create is not a dependency.
 
Deprecated.
Use BlockFace instead.
 
 
Deprecated.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
The base class for Boiling recipe generation.
 
 
 
 
 
 
 
A Flaggable that is backed by a built-in (i.e.
 
 
 
 
 
 
 
 
 
The base class for Centrifugation recipe generation.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
If an Item is removed from a Barrel, it should stop ageing.
 
 
 
Fired every tick for every loaded LevelChunk, on the Neo event bus on the server side only.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
petrolpark:color
 
 
 
 
 
 
Convert Recipes added by other mods to Recipes in your own mod by emulating their Codecs and reading the JSON files as they are loaded.
 
 
 
 
 
 
 
 
 
 
 
 
petrolpark:conditional
 
 
 
 
 
petrolpark:entity_property
 
 
 
petrolpark:team_property
 
 
petrolpark:tool_property
Copy of Codec that accepts a context object when encoding and decoding
 
Copy of Decoder that accepts a context object when decoding
Copy of Encoder that accepts a context object when encoding and decoding
Copy of FieldDecoder that accepts a context object when decoding
Copy of FieldEncoder that accepts a context object when encoding
Copy of KeyDispatchCodec that accepts a context object.
Copy of ListCodec that accepts a context object when encoding and decoding
Copy of MapCodec that accepts a context object when encoding and decoding
 
Copy of MapDecoder that accepts a context object when decoding
 
Copy of MapDecoder that accepts a context object when encoding
 
 
Copy of StreamCodec that accepts a context object when encoding and decoding
 
 
A context-(i.e.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
petrolpark:count
 
 
 
 
 
 
 
 
 
 
 
 
Deprecated, for removal: This API element is subject to removal in a future version.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
petrolpark:customer_wait_time
Modification of ScrollGridRecipeWidget to allow custom slot backgrounds
A more versatile Creative Mode Tab that allows you to leave Slots empty and add labels.
 
 
A simple ItemStack, like in a normal CreativeModeTab.
Add a caption that takes up a whole row in this CustomTab.
 
petrolpark:component
 
 
 
 
 
 
 
 
 
 
 
Largely copied from DirectionalKineticBlock
 
 
 
A BasinOperatingBlockEntity which works directly above the Basin rather than two Blocks above it.
Directly recycle an Item into known RecyclingOutputs.
petrolpark:direct
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
A Block never registered to Registries.BLOCK.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
petrolpark:enchantment_level
petrolpark:effect_duration
 
 
 
Entity-specific version of NumberProvider.
petrolpark:predicate
 
 
 
petrolpark:equipment
 
petrolpark:experience_level
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
A model based on a top, side and bottom texture, and a Mask.
 
Largely copied from ItemModelGenerator.
 
 
 
 
 
 
 
 
 
 
 
 
The base class for Filtering recipe generation.
 
 
 
 
Instances of Flaggable represent whole classes of flaggable objects.
 
 
 
 
 
 
 
 
 
 
 
 
Flag IIngredientType
 
 
 
 
 
 
 
Behaviour for Create Block Entities which can hold the Flags of the ItemStack used to place them.
 
 
 
petrolpark:flat
petrolpark:flat
petrolpark:flat
 
 
 
 
 
 
 
 
 
 
 
 
 
 
petrolpark:from_set
Milling recipes which guarantee all chance outputs the first time they are done.
 
 
 
 
 
Fired to gather ITeams of which this Player is a part.
 
 
 
 
A AbstractFlagPole not tied to any specific object.
 
 
 
Marks a static method in a Mod class as a provider of shared features for the Petrolpark Library.
 
 
petrolpark:give_item
petrolpark:give_loot
 
 
 
 
 
 
 
 
 
 
 
 
 
petrolpark:grant_experience
 
 
 
 
 
 
Called on a random Block in a chunk exposed to the sky every tick, for things like filling Cauldrons.
 
 
 
 
 
 
 
 
 
Mostly copied from Create source code.
petrolpark:health
 
An IIngredientHelper for data-pack registered objects.
 
 
 
 
 
 
Largely copied from Create source code
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ArmBlockEntity duck interface for Petrolpark Library's ChainConveyorArmInteractionPoint.
 
 
 
 
 
 
ChainConveyorBlockEntity duck interface for Petrolpark Library's ChainConveyorArmInteractionPoint.
 
 
 
 
 
 
 
 
 
Item that can be deleted from the Inventory by holding x
 
 
 
 
 
 
 
 
 
 
Extension of vanilla LootContext.EntityTarget allowing reference to any Entity LootContextParam.
 
 
 
 
 
 
 
Menus which add the Slots for the ExtendedInventory themselves, preferably in their constructor.
Screens which have special support for rendering the ExtendedInventory.
 
A specific instance of a flaggable object, storing the specific Flags that object posseses.
 
 
 
 
 
 
Implement if the recipe propagates Flags itself TODO javadoc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
An enclosed cuboid Multi-Block.
 
 
 
 
 
 
 
 
 
Recycle the output of another Recipe that takes an Ingredient into known RecyclingOutputs.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
A Block which can be instantly picked up and will always remove the Item when placed, even in Creative.
 
Storage for IPuterFiles.
 
 
 
 
 
 
 
 
A Recipe which can be reversed by recycling.
 
 
 
 
Used in IPlacementHelpers if this Block can replace or be replaced by others
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
A feature (typically a registered object like an Item) enabled by a SharedFeatureFlag.
 
 
 
petrolpark:is_neutral
 
 
 
A collection of Players acting as one entity.
ITeam objects have one instance for each team, and cannot be serialized.
 
A Block Entity which can be linked to a ITeam.
An Item which can be linked to a ITeam.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Item equivalent for Block-based KineticStats
petrolpark:predicate
 
Copied from Create source code
 
Item Stack-specific version of NumberProvider.
Item equivalent of BlockStressValues
 
 
 
 
 
 
"Transport Tycoon" Pipe, so named because I was inspired by the way train tracks can connect in Transport Tycoon Deluxe by Sid Myers
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
The base class for Juicing recipe generation.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
petrolpark:loot
 
 
 
 
 
 
 
 
 
A set of "enabled" pixels in a global 2D grid.
 
 
petrolpark:max
petrolpark:mean
 
 
 
petrolpark:member_count
petrolpark:member_reduction
Rewards a proportion of members of a ITeam with an IEntityReward.
 
 
 
 
 
 
 
 
 
petrolpark:min
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Largely copied from Create source code.
Deprecated, for removal: This API element is subject to removal in a future version.
 
A CompressionItemHandler whose IItemCompressionSequence is set by the first Item to be added and can changed be by emptying.
 
 
petrolpark:name
 
Extension to Either that permits neither value, in addition to just the left or just the right.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copied from Create source code.
BlockBuilder without any default datagen
 
 
Used to generate JEI Categories for Petrolpark mods.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
For now, this library's JEI plugin relies heavily on Create, so is set up to load only when Create is loaded.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
This class will be loaded without the guarantee that Curios is installed.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Mainly copied from Create source code.
 
 
 
Copied from Create source code.
 
 
 
ItemBuilder without any default datagen
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Deprecated.
 
 
 
 
 
 
 
 
 
 
 
 
 
Copied from Create source code.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
petrolpark:polynomial
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
petrolpark:product
 
 
Puter file analogue of Item.
IPuterFile analogue of ItemStack. A Puter file of a certain PuterData with variable size Can be split up arbitrarily Conserved (can't be copied, in general)
One-off IPuterFile with a fixed size, such as a IPuterProgram.
petrolpark:quality
 
 
 
 
 
 
 
 
 
 
 
 
Not to be confused with the vanilla KnowledgeBookItem.
 
 
 
 
 
 
 
 
 
 
 
Copy of RecordCodecBuilder that accepts a context object when encoding and decoding
 
 
Copy of RecordCodecBuilder for Decoders only
 
 
 
Publicly readable version of ProcessingRecipeParams
 
 
 
A modification to the RecyclingOutputs of a recycled Item.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
petrolpark:restaurant
 
 
 
 
 
 
 
 
 
 
 
 
 
Largely copied from Create source code
 
 
 
 
ITeam wrapping vanilla's Scoreboard Teams.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Set the ITeam Component of ItemStacks to the context Team.
 
 
Allow Shaped Recipes to propagate the Flags of the Ingredients to the result.
Allow Shapeless Recipes to propagate the Flags of the Ingredients to the result.
Register any objects shared between dependent mods.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Handle the manual addition of DirectionalTransportedItemStacks to Depots by Players.
 
 
Shared Feature Flags are used for conditional registration, allowing mods to share features.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
petrolpark:sigmoid
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
The ITeam consisting of a single Player.
 
 
If an Item is removed from a Barrel, it should stop ageing.
Takes textures, with the expected format being the same as vanilla Banner Pattern textures, and intelligently modifies them to be half the size.
 
 
 
 
 
 
 
 
TransportedItemStack with special behaviour, namely ticking, rendering and de/serialization
 
 
 
 
 
 
 
 
 
 
 
petrolpark:sum
 
 
 
 
 
petrolpark:tamed
Team-specific version of NumberProvider.
 
 
 
 
 
 
 
 
 
 
 
 
A Clamped Cubic Spline with each end in the middle of a Block Face
 
 
 
 
 
 
 
 
 
 
 
 
petrolpark:unlock_trade
 
 
 
 
 
 
 
 
petrolpark:villager_gossip
 
 
 
 
Fired when a Player interacts with a Villager to modify the price, e.g.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Largely copied from WaterWheelRenderer.
 
 
 
 
 
 
 
 
 
 
Takes an existing SpriteSource and applies some function to its results, typically a texture transformation like with MeanShiftClusterSpriteSource.