Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- acceptsFluids() - Method in class com.larashores.laraspipes.fluiddepositor.FluidDepositorEntity
-
Specifies that the entity can accept fluids from other entities in a
PipeNetwork
. - acceptsFluids() - Method in class com.larashores.laraspipes.network.PipeNetworkEntity
-
Meant to be defined by child classes.
- acceptsItems() - Method in class com.larashores.laraspipes.itemdepositor.ItemDepositorEntity
-
Specifies that the entity can accept items from other entities in a
PipeNetwork
. - acceptsItems() - Method in class com.larashores.laraspipes.network.PipeNetworkEntity
-
Meant to be defined by child classes.
- add(PipeNetworkEntity) - Method in class com.larashores.laraspipes.network.PipeNetwork
-
Adds an entity to the network.
- addTranslations() - Method in class com.larashores.laraspipes.datagen.LanguageCompositeProvider
-
Registers translations of component providers.
B
- BlockStateCompositeProvider - Class in com.larashores.laraspipes.datagen
-
Provider that allows defining block states in multiple
DataProvider
s instead of a single monolithic provider. - BlockStateCompositeProvider(Iterable<DataProvider>, PackOutput, ExistingFileHelper) - Constructor for class com.larashores.laraspipes.datagen.BlockStateCompositeProvider
-
Creates the composite provider.
- buildRecipes(Consumer<FinishedRecipe>) - Method in class com.larashores.laraspipes.datagen.RecipeCompositeProvider
-
Builds the recipes defined by the component providers.
C
- canConnect(PipeNetworkBlock<?>, BlockState, Direction) - Method in class com.larashores.laraspipes.network.PipeNetworkBlock
-
Determines whether another
PipeNetworkBlock
can connect to this block along the specified direction. - canConnect(PipeNetworkBlock<?>, BlockState, Direction) - Method in class com.larashores.laraspipes.network.PipeNetworkDirectedBlock
-
Determines whether another
PipeNetworkBlock
can connect to this block along the specified direction. - clear() - Method in class com.larashores.laraspipes.network.PipeNetwork
-
Removes all entities from the network.
- clearNetwork() - Method in class com.larashores.laraspipes.network.PipeNetworkEntity
-
Removes this entity from its
PipeNetwork
. - cols() - Method in record class com.larashores.laraspipes.utils.ScreenGrid
-
Returns the value of the
cols
record component. - com.larashores.laraspipes - package com.larashores.laraspipes
-
Adds Item Pipes to Minecraft! Used for transferring and filtering items to and from chests.
- com.larashores.laraspipes.composite - package com.larashores.laraspipes.composite
-
Defines shared datagen classes used by item pipes, extractors, and depositors.
- com.larashores.laraspipes.datagen - package com.larashores.laraspipes.datagen
-
Defines datagen classes used to define the look and behavior of blocks.
- com.larashores.laraspipes.fluiddepositor - package com.larashores.laraspipes.fluiddepositor
-
Classes that defines the look and behavior of item depositors, used for inserting items in chests.
- com.larashores.laraspipes.fluidextractor - package com.larashores.laraspipes.fluidextractor
-
Classes that defines the look and behavior of item depositors, used for inserting items in chests.
- com.larashores.laraspipes.fluidpipe - package com.larashores.laraspipes.fluidpipe
-
Classes that defines the look and behavior of item pipes, used for transferring items.
- com.larashores.laraspipes.itemdepositor - package com.larashores.laraspipes.itemdepositor
-
Classes that defines the look and behavior of item depositors, used for inserting items in chests.
- com.larashores.laraspipes.itemextractor - package com.larashores.laraspipes.itemextractor
-
Classes that defines the look and behavior of item extractors, used for removing items from chests.
- com.larashores.laraspipes.itempipe - package com.larashores.laraspipes.itempipe
-
Classes that defines the look and behavior of item pipes, used for transferring items.
- com.larashores.laraspipes.network - package com.larashores.laraspipes.network
-
Classes used for grouping pipe blocks and other associated blocks into a single object.
- com.larashores.laraspipes.utils - package com.larashores.laraspipes.utils
-
Implements various utility classes for use by other packages.
- compare(PipeNetworkEntity, BlockPos) - Method in class com.larashores.laraspipes.itemdepositor.ItemDepositorEntity
-
Used for sorting this entity in a list of other
PipeNetworkEntity
s relative to a sort block. - compare(PipeNetworkEntity, BlockPos) - Method in class com.larashores.laraspipes.network.PipeNetworkEntity
-
Used for sorting.
- Config - Class in com.larashores.laraspipes
-
Registers user defined config methods that can be defined for the mod.
- Config() - Constructor for class com.larashores.laraspipes.Config
- CONNECTED - Static variable in class com.larashores.laraspipes.network.PipeNetworkBlock
-
Block states that determine if the
PipeNetworkBlock
is connected to anotherPipeNetworkBlock
along a given direction. - contains(PipeNetworkEntity) - Method in class com.larashores.laraspipes.network.PipeNetwork
-
Whether a
PipeNetworkEntity
is part of this network. - create(BlockPos, BlockState) - Method in interface com.larashores.laraspipes.network.PipeNetworkEntityProvider
-
Creates the
PipeNetworkEntity
. - createBlockStateDefinition(StateDefinition.Builder<Block, BlockState>) - Method in class com.larashores.laraspipes.network.PipeNetworkBlock
-
Defines all block states associated with the block.
- createBlockStateDefinition(StateDefinition.Builder<Block, BlockState>) - Method in class com.larashores.laraspipes.network.PipeNetworkDirectedBlock
-
Defines all block states associated with the block.
- createMenu(int, Inventory, Player) - Method in class com.larashores.laraspipes.itemdepositor.ItemDepositorMenuProvider
-
Creates the menu.
D
- DataGenerator - Class in com.larashores.laraspipes.datagen
-
Datagen class that takes a list of
DataProvider
s and generates all of their data. - DataGenerator(Iterable<DataProvider>) - Constructor for class com.larashores.laraspipes.datagen.DataGenerator
-
Creates the
DataGenerator
. - DataProvider - Class in com.larashores.laraspipes.datagen
-
DataProvider class that allows defining all datagen related methods for a block in a single class.
- DataProvider() - Constructor for class com.larashores.laraspipes.datagen.DataProvider
- DEPOSITOR_BLOCK - Static variable in class com.larashores.laraspipes.Registration
-
Item Depositor Block RegistryObject.
- DEPOSITOR_ENTITY - Static variable in class com.larashores.laraspipes.Registration
-
Item Depositor BlockEntity RegistryObject.
- DEPOSITOR_ITEM - Static variable in class com.larashores.laraspipes.Registration
-
Item Depositor BlockItem RegistryObject.
- DEPOSITOR_MENU - Static variable in class com.larashores.laraspipes.Registration
-
Item Depositor Menu RegistryObject.
- discover(Level, BlockPos) - Static method in class com.larashores.laraspipes.network.PipeNetwork
-
Given a start position, creates a new
PipeNetwork
. - dropSelf(Block) - Method in class com.larashores.laraspipes.datagen.LootTableCompositeProvider
-
Registers a loot table for a block such that when destroyed it drops itself.
E
- equals(Object) - Method in record class com.larashores.laraspipes.utils.ScreenGrid
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.larashores.laraspipes.utils.ScreenPos
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.larashores.laraspipes.utils.ScreenRotation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.larashores.laraspipes.utils.ScreenSize
-
Indicates whether some other object is "equal to" this one.
- EXTRACTOR_BLOCK - Static variable in class com.larashores.laraspipes.Registration
-
Item Extractor Block RegistryObject.
- EXTRACTOR_ENTITY - Static variable in class com.larashores.laraspipes.Registration
-
Item Extractor BlockEntity RegistryObject.
- EXTRACTOR_ITEM - Static variable in class com.larashores.laraspipes.Registration
-
Item Extractor BlockItem RegistryObject.
F
- filters - Variable in class com.larashores.laraspipes.itemdepositor.ItemDepositorEntity
-
Handler used controlling entity's filters.
- FLUID_DEPOSITOR_BLOCK - Static variable in class com.larashores.laraspipes.Registration
-
Fluid Depositor Block RegistryObject.
- FLUID_DEPOSITOR_ENTITY - Static variable in class com.larashores.laraspipes.Registration
-
Fluid Depositor BlockEntity RegistryObject.
- FLUID_DEPOSITOR_ITEM - Static variable in class com.larashores.laraspipes.Registration
-
Fluid Depositor BlockItem RegistryObject.
- FLUID_EXTRACTOR_BLOCK - Static variable in class com.larashores.laraspipes.Registration
-
Fluid Extractor Block RegistryObject.
- FLUID_EXTRACTOR_ENTITY - Static variable in class com.larashores.laraspipes.Registration
-
Item Extractor BlockEntity RegistryObject.
- FLUID_EXTRACTOR_ITEM - Static variable in class com.larashores.laraspipes.Registration
-
Fluid Extractor BlockItem RegistryObject.
- FLUID_PIPE_BLOCK - Static variable in class com.larashores.laraspipes.Registration
-
Fluid Pipe Block RegistryObject.
- FLUID_PIPE_ENTITY - Static variable in class com.larashores.laraspipes.Registration
-
Fluid Pipe BlockEntity RegistryObject.
- FLUID_PIPE_ITEM - Static variable in class com.larashores.laraspipes.Registration
-
Fluid Pipe BlockItem RegistryObject.
- FluidDepositorBlock - Class in com.larashores.laraspipes.fluiddepositor
-
Block that can connect to accept fluids transferred through
FluidPipeBlock
s. - FluidDepositorBlock() - Constructor for class com.larashores.laraspipes.fluiddepositor.FluidDepositorBlock
-
Creates the
FluidDepositorBlock
. - FluidDepositorData - Class in com.larashores.laraspipes.fluiddepositor
-
Datagen for the
FluidDepositorBlock
class. - FluidDepositorData() - Constructor for class com.larashores.laraspipes.fluiddepositor.FluidDepositorData
-
Creates the datagen class.
- FluidDepositorEntity - Class in com.larashores.laraspipes.fluiddepositor
-
PipeNetworkEntity
that can accept fluids fromFluidExtractorEntity
s moved "through"FluidPipeEntity
s connected to the samePipeNetwork
. - FluidDepositorEntity(BlockPos, BlockState) - Constructor for class com.larashores.laraspipes.fluiddepositor.FluidDepositorEntity
-
Creates a new
FluidDepositorEntity
. - FluidExtractorBlock - Class in com.larashores.laraspipes.fluidextractor
-
Block that can connect to accept items transferred through
ItemPipeBlock
s. - FluidExtractorBlock() - Constructor for class com.larashores.laraspipes.fluidextractor.FluidExtractorBlock
-
Creates the
FluidExtractorBlock
. - FluidExtractorData - Class in com.larashores.laraspipes.fluidextractor
-
Datagen for the
FluidExtractorBlock
class. - FluidExtractorData() - Constructor for class com.larashores.laraspipes.fluidextractor.FluidExtractorData
-
Creates the datagen class.
- FluidExtractorEntity - Class in com.larashores.laraspipes.fluidextractor
-
PipeNetworkEntity
that can move items "through"FluidPipeEntity
s intoItemDepositorEntity
s connected to the samePipeNetwork
. - FluidExtractorEntity(BlockPos, BlockState) - Constructor for class com.larashores.laraspipes.fluidextractor.FluidExtractorEntity
-
Creates a new
FluidExtractorEntity
. - FluidPipeBlock - Class in com.larashores.laraspipes.fluidpipe
-
Pipe block that can transfer items.
- FluidPipeBlock() - Constructor for class com.larashores.laraspipes.fluidpipe.FluidPipeBlock
-
Creates a new
FluidPipeBlock
. - FluidPipeData - Class in com.larashores.laraspipes.fluidpipe
-
Datagen for the
FluidPipeBlock
. - FluidPipeData() - Constructor for class com.larashores.laraspipes.fluidpipe.FluidPipeData
-
Creates the datagen class.
- FluidPipeEntity - Class in com.larashores.laraspipes.fluidpipe
-
Simple
PipeNetworkEntity
used to connectFluidExtractorEntity
s toFluidDepositorEntity
s to form aPipeNetwork
. - FluidPipeEntity(BlockPos, BlockState) - Constructor for class com.larashores.laraspipes.fluidpipe.FluidPipeEntity
-
Creates a new
FluidPipeEntity
G
- generate() - Method in class com.larashores.laraspipes.datagen.LootTableCompositeProvider
-
Generates the loot tables defined by the component providers.
- generate(GatherDataEvent) - Method in class com.larashores.laraspipes.datagen.DataGenerator
-
Generates data from all the specified
DataGenerator
classes. - get() - Method in class com.larashores.laraspipes.datagen.LootTableCompositeProvider
-
This provider is both a LootTableSubProvider and a supplier of the same type, so this method returns the provider itself so it can act as provider of itself.
- getDirections(Direction) - Static method in class com.larashores.laraspipes.utils.Utils
-
Given a direction, returns a list of all directions sorted relative to the specified direction in this order: the direction, left of the direction, right of the direction, above the direction, below the direction, and the opposite direction.
- getDisplayName() - Method in class com.larashores.laraspipes.itemdepositor.ItemDepositorMenuProvider
-
Display name of the menu that displays in the
ItemDepositorScreen
. - getFacingCapability(Capability<T>, Level, BlockPos) - Static method in class com.larashores.laraspipes.utils.Utils
-
Given a Level and BlockPos, checks to see if there is a Block with a FACING property.
- getFilters() - Method in class com.larashores.laraspipes.itemdepositor.ItemDepositorEntity
-
Gets the filters that specify which items can be transferred through this entity.
- getFluidAcceptors(BlockPos) - Method in class com.larashores.laraspipes.network.PipeNetwork
-
Returns a sorted list of all
PipeNetworkEntity
s that can accept fluids. - getItemAcceptors(BlockPos) - Method in class com.larashores.laraspipes.network.PipeNetwork
-
Returns a sorted list of all
PipeNetworkEntity
s that can accept items. - getKnownBlocks() - Method in class com.larashores.laraspipes.composite.PipeComponentData
-
Declares that a loot tables should be defined for the registered block.
- getKnownBlocks() - Method in class com.larashores.laraspipes.datagen.DataProvider
-
All blocks which a loot table should be defined for.
- getKnownBlocks() - Method in class com.larashores.laraspipes.datagen.LootTableCompositeProvider
-
Returns all blocks defined by the component providers which there is a loot table defined for.
- getNeighbors() - Method in class com.larashores.laraspipes.network.PipeNetworkEntity
-
Returns all BlockPos's that neighbor a
PipeNetworkEntity
. - getNetwork() - Method in class com.larashores.laraspipes.network.PipeNetworkEntity
-
Gets the
PipeNetwork
that this entity belongs to, if it exists. - getOrCreateNetwork(Level, BlockPos) - Method in class com.larashores.laraspipes.network.PipeNetworkEntity
-
Gets the
PipeNetwork
that the entity belongs to if it exists. - getRotation(Direction) - Static method in class com.larashores.laraspipes.utils.Utils
-
Returns the amount of rotation needed to turn a south facing block to face a direction.
- getStateForPlacement(BlockPlaceContext) - Method in class com.larashores.laraspipes.network.PipeNetworkBlock
-
Sets the initial state of the block as it is placed.
- getStateForPlacement(BlockPlaceContext) - Method in class com.larashores.laraspipes.network.PipeNetworkDirectedBlock
-
Sets the initial state of the block as it is placed.
- getTicker(Level, BlockState, BlockEntityType<T>) - Method in class com.larashores.laraspipes.fluidextractor.FluidExtractorBlock
-
Returns a ticker that initiates fluid transfers if possible.
- getTicker(Level, BlockState, BlockEntityType<T>) - Method in class com.larashores.laraspipes.itemextractor.ItemExtractorBlock
-
Returns a ticker that initiates item transfers if possible.
H
- handleTick(Level, BlockPos) - Method in class com.larashores.laraspipes.fluidextractor.FluidExtractorEntity
-
Checks if the
FluidExtractorEntity
is connected to a chest and tries to transfer items out of it into any connectedItemDepositorEntity
s if possible. - handleTick(Level, BlockPos) - Method in class com.larashores.laraspipes.itemextractor.ItemExtractorEntity
-
Checks if the
ItemExtractorEntity
is connected to a chest and tries to transfer items out of it into any connectedItemDepositorEntity
s if possible. - hashCode() - Method in record class com.larashores.laraspipes.utils.ScreenGrid
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.larashores.laraspipes.utils.ScreenPos
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.larashores.laraspipes.utils.ScreenRotation
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.larashores.laraspipes.utils.ScreenSize
-
Returns a hash code value for this object.
- height() - Method in record class com.larashores.laraspipes.utils.ScreenSize
-
Returns the value of the
height
record component.
I
- ItemDepositorBlock - Class in com.larashores.laraspipes.itemdepositor
-
Block that can connect to accept items transferred through
ItemPipeBlock
s. - ItemDepositorBlock() - Constructor for class com.larashores.laraspipes.itemdepositor.ItemDepositorBlock
-
Creates the
ItemDepositorBlock
. - ItemDepositorData - Class in com.larashores.laraspipes.itemdepositor
-
Datagen for the
ItemDepositorBlock
class. - ItemDepositorData() - Constructor for class com.larashores.laraspipes.itemdepositor.ItemDepositorData
-
Creates the datagen class.
- ItemDepositorEntity - Class in com.larashores.laraspipes.itemdepositor
-
PipeNetworkEntity
that can accept items fromItemExtractorEntity
s moved "through"ItemPipeEntity
s connected to the samePipeNetwork
. - ItemDepositorEntity(BlockPos, BlockState) - Constructor for class com.larashores.laraspipes.itemdepositor.ItemDepositorEntity
-
Creates a new
ItemDepositorEntity
. - ItemDepositorHandler - Class in com.larashores.laraspipes.itemdepositor
-
Handler to act as a callback whenever an
ItemDepositorMenu
's slot is modified. - ItemDepositorHandler(BlockEntity, int) - Constructor for class com.larashores.laraspipes.itemdepositor.ItemDepositorHandler
-
Creates a new handler.
- ItemDepositorMenu - Class in com.larashores.laraspipes.itemdepositor
-
Menu for configuring the filters on a
ItemDepositorEntity
. - ItemDepositorMenu(int, Player, BlockPos) - Constructor for class com.larashores.laraspipes.itemdepositor.ItemDepositorMenu
-
Creates a new
ItemDepositorMenu
. - ItemDepositorMenuProvider - Class in com.larashores.laraspipes.itemdepositor
-
Provider used to create
ItemDepositorMenu
s. - ItemDepositorMenuProvider(BlockPos) - Constructor for class com.larashores.laraspipes.itemdepositor.ItemDepositorMenuProvider
-
Creates a new provider.
- ItemDepositorScreen - Class in com.larashores.laraspipes.itemdepositor
-
GUI used to interact with the
ItemDepositorBlock
. - ItemDepositorScreen(ItemDepositorMenu, Inventory, Component) - Constructor for class com.larashores.laraspipes.itemdepositor.ItemDepositorScreen
-
Creates a new
ItemDepositorScreen
. - ItemExtractorBlock - Class in com.larashores.laraspipes.itemextractor
-
Block that can connect to
ItemPipeBlock
s to transfer items. - ItemExtractorBlock() - Constructor for class com.larashores.laraspipes.itemextractor.ItemExtractorBlock
-
Creates the
ItemExtractorBlock
. - ItemExtractorData - Class in com.larashores.laraspipes.itemextractor
-
Datagen for the
ItemExtractorBlock
. - ItemExtractorData() - Constructor for class com.larashores.laraspipes.itemextractor.ItemExtractorData
-
Creates the datagen class.
- ItemExtractorEntity - Class in com.larashores.laraspipes.itemextractor
-
PipeNetworkEntity
that can move items "through"ItemPipeEntity
s intoItemDepositorEntity
s connected to the samePipeNetwork
. - ItemExtractorEntity(BlockPos, BlockState) - Constructor for class com.larashores.laraspipes.itemextractor.ItemExtractorEntity
-
Creates a new
ItemExtractorEntity
. - ItemModelCompositeProvider - Class in com.larashores.laraspipes.datagen
-
Provider that allows defining item models in multiple
DataProvider
s instead of a single monolithic provider. - ItemModelCompositeProvider(Iterable<DataProvider>, PackOutput, ExistingFileHelper) - Constructor for class com.larashores.laraspipes.datagen.ItemModelCompositeProvider
-
Creates the composite provider.
- ItemPipeBlock - Class in com.larashores.laraspipes.itempipe
-
Pipe block that can transfer items.
- ItemPipeBlock() - Constructor for class com.larashores.laraspipes.itempipe.ItemPipeBlock
-
Creates a new
ItemPipeBlock
. - ItemPipeData - Class in com.larashores.laraspipes.itempipe
-
Datagen for the
ItemPipeBlock
. - ItemPipeData() - Constructor for class com.larashores.laraspipes.itempipe.ItemPipeData
-
Creates the datagen class.
- ItemPipeEntity - Class in com.larashores.laraspipes.itempipe
-
Simple
PipeNetworkEntity
used to connectItemExtractorEntity
s toItemDepositorEntity
s to form aPipeNetwork
. - ItemPipeEntity(BlockPos, BlockState) - Constructor for class com.larashores.laraspipes.itempipe.ItemPipeEntity
-
Creates a new
ItemPipeEntity
- ItemTypeSlot - Class in com.larashores.laraspipes.utils
-
SlotItemHandler that is used to specify a type of item rather than store items.
- ItemTypeSlot(IItemHandler, int, int, int) - Constructor for class com.larashores.laraspipes.utils.ItemTypeSlot
-
Creates the
ItemTypeSlot
.
L
- LanguageCompositeProvider - Class in com.larashores.laraspipes.datagen
-
Provider that allows defining translations in multiple
DataProvider
s instead of a single monolithic provider. - LanguageCompositeProvider(Iterable<DataProvider>, PackOutput, String) - Constructor for class com.larashores.laraspipes.datagen.LanguageCompositeProvider
-
Creates the composite provider.
- load(CompoundTag) - Method in class com.larashores.laraspipes.itemdepositor.ItemDepositorEntity
-
Loads the filters from disk.
- LootTableCompositeProvider - Class in com.larashores.laraspipes.datagen
-
Provider that allows defining loot tables in multiple
DataProvider
s instead of a single monolithic provider. - LootTableCompositeProvider(Iterable<DataProvider>) - Constructor for class com.larashores.laraspipes.datagen.LootTableCompositeProvider
-
Creates the composite provider.
M
- Main - Class in com.larashores.laraspipes
-
Main class used for running the mod and datagen.
- Main() - Constructor for class com.larashores.laraspipes.Main
-
Main entrypoint of the class.
- merge(PipeNetwork, HashSet<BlockPos>) - Method in class com.larashores.laraspipes.network.PipeNetwork
-
Adds all entities from another
PipeNetwork
into this network. - MOD_ID - Static variable in class com.larashores.laraspipes.Main
-
Name of the mod.
N
- newBlockEntity(BlockPos, BlockState) - Method in class com.larashores.laraspipes.network.PipeNetworkBlock
-
Creates a new
PipeNetworkEntity
to associate with the block.
O
- onContentsChanged(int) - Method in class com.larashores.laraspipes.itemdepositor.ItemDepositorHandler
- onLoad() - Method in class com.larashores.laraspipes.network.PipeNetworkEntity
-
Called when this entity is added to a world.
- onPlace(BlockState, Level, BlockPos, BlockState, boolean) - Method in class com.larashores.laraspipes.network.PipeNetworkBlock
-
Called whenever a
PipeNetworkBlock
is added or its state is updated. - onRemove(BlockState, Level, BlockPos, BlockState, boolean) - Method in class com.larashores.laraspipes.network.PipeNetworkBlock
-
Called whenever a
PipeNetworkBlock
is removed.
P
- PIPE_BLOCK - Static variable in class com.larashores.laraspipes.Registration
-
Item Pipe Block RegistryObject.
- PIPE_ENTITY - Static variable in class com.larashores.laraspipes.Registration
-
Item Pipe BlockEntity RegistryObject.
- PIPE_ITEM - Static variable in class com.larashores.laraspipes.Registration
-
Item Pipe BlockItem RegistryObject.
- PipeComponentData - Class in com.larashores.laraspipes.composite
-
Implements shared datagen methods used by
PipeNetworkBlock
. - PipeComponentData(RegistryObject<Block>) - Constructor for class com.larashores.laraspipes.composite.PipeComponentData
-
Creates the datagen class.
- PipeConnectorData - Class in com.larashores.laraspipes.composite
-
Implements shared datagen method used by
ItemExtractorBlock
s andItemDepositorBlock
s. - PipeConnectorData(RegistryObject<Block>) - Constructor for class com.larashores.laraspipes.composite.PipeConnectorData
-
Creates the datagen class.
- PipeNetwork - Class in com.larashores.laraspipes.network
-
Used to group a set of
PipeNetworkEntity
s that are connected. - PipeNetwork() - Constructor for class com.larashores.laraspipes.network.PipeNetwork
- PipeNetworkBlock<T extends PipeNetworkEntity> - Class in com.larashores.laraspipes.network
-
Block that belongs to a
PipeNetwork
. - PipeNetworkBlock(BlockBehaviour.Properties, PipeNetworkEntityProvider<T>, String) - Constructor for class com.larashores.laraspipes.network.PipeNetworkBlock
-
Creates a new
PipeNetworkBlock
. - PipeNetworkDirectedBlock<T extends PipeNetworkEntity> - Class in com.larashores.laraspipes.network
-
Block that belongs to a
PipeNetwork
that has a FACING property. - PipeNetworkDirectedBlock(BlockBehaviour.Properties, PipeNetworkEntityProvider<T>, String) - Constructor for class com.larashores.laraspipes.network.PipeNetworkDirectedBlock
-
Creates a new
PipeNetworkDirectedBlock
. - PipeNetworkEntity - Class in com.larashores.laraspipes.network
-
BlockEntity for a block that belongs to a
PipeNetwork
. - PipeNetworkEntity(BlockEntityType<?>, BlockPos, BlockState) - Constructor for class com.larashores.laraspipes.network.PipeNetworkEntity
-
Creates a new
PipeNetworkEntity
. - PipeNetworkEntityProvider<T extends PipeNetworkEntity> - Interface in com.larashores.laraspipes.network
-
Interface that specifies a function that can create a
PipeNetworkEntity
.
Q
- quickMoveStack(Player, int) - Method in class com.larashores.laraspipes.itemdepositor.ItemDepositorMenu
-
Called when a user shift-clicks a slot in the menu.
R
- RecipeCompositeProvider - Class in com.larashores.laraspipes.datagen
-
Provider that allows defining recipes in multiple
DataProvider
s instead of a single monolithic provider. - RecipeCompositeProvider(Iterable<DataProvider>, PackOutput) - Constructor for class com.larashores.laraspipes.datagen.RecipeCompositeProvider
-
Creates the composite provider.
- register(LootTableCompositeProvider) - Method in class com.larashores.laraspipes.composite.PipeComponentData
-
Registers a loot table such that the registered block drops itself.
- register(LootTableCompositeProvider) - Method in class com.larashores.laraspipes.datagen.DataProvider
-
Registers loot tables for the block.
- register(Consumer<FinishedRecipe>) - Method in class com.larashores.laraspipes.datagen.DataProvider
-
Registers recipes for the block.
- register(Consumer<FinishedRecipe>) - Method in class com.larashores.laraspipes.fluiddepositor.FluidDepositorData
-
Registers recipes for the
FluidDepositorBlock
. - register(Consumer<FinishedRecipe>) - Method in class com.larashores.laraspipes.fluidextractor.FluidExtractorData
-
Registers recipes for the
FluidExtractorBlock
. - register(Consumer<FinishedRecipe>) - Method in class com.larashores.laraspipes.fluidpipe.FluidPipeData
-
Registers recipes for the
FluidPipeBlock
. - register(Consumer<FinishedRecipe>) - Method in class com.larashores.laraspipes.itemdepositor.ItemDepositorData
-
Registers recipes for the
ItemDepositorBlock
. - register(Consumer<FinishedRecipe>) - Method in class com.larashores.laraspipes.itemextractor.ItemExtractorData
-
Registers recipes for the
ItemExtractorBlock
. - register(Consumer<FinishedRecipe>) - Method in class com.larashores.laraspipes.itempipe.ItemPipeData
-
Registers recipes for the
ItemPipeBlock
. - register(BlockStateProvider) - Method in class com.larashores.laraspipes.composite.PipeComponentData
-
Registers the "connection" block states shared by
PipeNetworkBlock
s. - register(BlockStateProvider) - Method in class com.larashores.laraspipes.composite.PipeConnectorData
-
Registers the models representing the blocks connection to its associated chest.
- register(BlockStateProvider) - Method in class com.larashores.laraspipes.datagen.DataProvider
-
Registers block states for the block.
- register(BlockStateProvider) - Method in class com.larashores.laraspipes.fluidpipe.FluidPipeData
-
Registers the block states for the
FluidPipeBlock
. - register(BlockStateProvider) - Method in class com.larashores.laraspipes.itempipe.ItemPipeData
-
Registers the block states for the
ItemPipeBlock
. - register(ItemModelProvider) - Method in class com.larashores.laraspipes.composite.PipeComponentData
-
Registers the item model for the block.
- register(ItemModelProvider) - Method in class com.larashores.laraspipes.datagen.DataProvider
-
Registers item models for the block.
- register(LanguageProvider, String) - Method in class com.larashores.laraspipes.datagen.DataProvider
-
Registers translations for the block.
- register(LanguageProvider, String) - Method in class com.larashores.laraspipes.fluiddepositor.FluidDepositorData
-
Registers the language data for the
FluidDepositorBlock
. - register(LanguageProvider, String) - Method in class com.larashores.laraspipes.fluidextractor.FluidExtractorData
-
Registers the language data for the
FluidExtractorBlock
. - register(LanguageProvider, String) - Method in class com.larashores.laraspipes.fluidpipe.FluidPipeData
-
Registers the language data for the
FluidPipeBlock
. - register(LanguageProvider, String) - Method in class com.larashores.laraspipes.itemdepositor.ItemDepositorData
-
Registers the language data for the
ItemDepositorBlock
. - register(LanguageProvider, String) - Method in class com.larashores.laraspipes.itemextractor.ItemExtractorData
-
Registers the language data for the
ItemExtractorBlock
. - register(LanguageProvider, String) - Method in class com.larashores.laraspipes.itempipe.ItemPipeData
-
Registers the language data for the
ItemPipeBlock
. - register(IEventBus) - Static method in class com.larashores.laraspipes.Registration
-
Registers all event listeners with the mod event bus.
- REGISTERED_BLOCK - Variable in class com.larashores.laraspipes.composite.PipeComponentData
-
Block that datagen is registered with.
- registerModels() - Method in class com.larashores.laraspipes.datagen.ItemModelCompositeProvider
-
Registers item models of component providers.
- registerStatesAndModels() - Method in class com.larashores.laraspipes.datagen.BlockStateCompositeProvider
- Registration - Class in com.larashores.laraspipes
-
Handles registering all blocks, block entities, items, menus, and screens.
- Registration() - Constructor for class com.larashores.laraspipes.Registration
- render(GuiGraphics, int, int, float) - Method in class com.larashores.laraspipes.itemdepositor.ItemDepositorScreen
-
Renders the foreground component of the screen.
- renderBg(GuiGraphics, float, int, int) - Method in class com.larashores.laraspipes.itemdepositor.ItemDepositorScreen
-
Renders the background component of the screen.
- rows() - Method in record class com.larashores.laraspipes.utils.ScreenGrid
-
Returns the value of the
rows
record component.
S
- safeInsert(ItemStack, int) - Method in class com.larashores.laraspipes.utils.ItemTypeSlot
-
Triggered when a player clicks on the slot with an ItemStack.
- saveAdditional(CompoundTag) - Method in class com.larashores.laraspipes.itemdepositor.ItemDepositorEntity
-
Saves filters to disk.
- ScreenGrid - Record Class in com.larashores.laraspipes.utils
-
Records a number of rows and columns in a rectangular screen grid.
- ScreenGrid(int, int) - Constructor for record class com.larashores.laraspipes.utils.ScreenGrid
-
Creates an instance of a
ScreenGrid
record class. - ScreenPos - Record Class in com.larashores.laraspipes.utils
-
Records a position within a section of a screen.
- ScreenPos(int, int) - Constructor for record class com.larashores.laraspipes.utils.ScreenPos
-
Creates an instance of a
ScreenPos
record class. - ScreenRotation - Record Class in com.larashores.laraspipes.utils
-
Records the degrees of rotation along the x and y axes.
- ScreenRotation(int, int) - Constructor for record class com.larashores.laraspipes.utils.ScreenRotation
-
Creates an instance of a
ScreenRotation
record class. - ScreenSize - Record Class in com.larashores.laraspipes.utils
-
Records the size of a section of screen.
- ScreenSize(int, int) - Constructor for record class com.larashores.laraspipes.utils.ScreenSize
-
Creates an instance of a
ScreenSize
record class. - setConnectionStates(Level, BlockPos, BlockState) - Method in class com.larashores.laraspipes.network.PipeNetworkBlock
-
Sets the CONNECTED block state of a corresponding to each Direction.
- setNetwork(PipeNetwork) - Method in class com.larashores.laraspipes.network.PipeNetworkEntity
-
Sets the
PipeNetwork
that this entity is a part of. - setRemoved() - Method in class com.larashores.laraspipes.network.PipeNetworkEntity
-
Called when this entity is removed from a world.
- SPEC - Static variable in class com.larashores.laraspipes.Config
-
Defines which config variables this mod accepts
- stillValid(Player) - Method in class com.larashores.laraspipes.itemdepositor.ItemDepositorMenu
-
Whether the player is close enough that the menu should stay open.
T
- toString() - Method in record class com.larashores.laraspipes.utils.ScreenGrid
-
Returns a string representation of this record class.
- toString() - Method in record class com.larashores.laraspipes.utils.ScreenPos
-
Returns a string representation of this record class.
- toString() - Method in record class com.larashores.laraspipes.utils.ScreenRotation
-
Returns a string representation of this record class.
- toString() - Method in record class com.larashores.laraspipes.utils.ScreenSize
-
Returns a string representation of this record class.
- transferFluid(Level, IFluidHandler) - Method in class com.larashores.laraspipes.fluiddepositor.FluidDepositorEntity
-
Transfers items from a source
IFluidHandler
into theIFluidHandler
theFluidDepositorEntity
is facing, if any. - transferFluid(Level, IFluidHandler) - Method in class com.larashores.laraspipes.network.PipeNetworkEntity
-
If the
PipeNetworkEntity.acceptsFluids()
method of a child class True, this method should be implemented such that it transfers fluids out of the specifiedIFluidHandler
. - transferItems(Set<Item>, IItemHandler, IItemHandler) - Static method in class com.larashores.laraspipes.utils.Utils
-
Transfers as many items as possible from a source item handler to a destination item handler.
- transferItems(Level, IItemHandler) - Method in class com.larashores.laraspipes.itemdepositor.ItemDepositorEntity
-
Transfers items a source chest into the chest connected to the
ItemDepositorEntity
, if any. - transferItems(Level, IItemHandler) - Method in class com.larashores.laraspipes.network.PipeNetworkEntity
-
If the
PipeNetworkEntity.acceptsItems()
method of a child class True, this method should be implemented such that it transfers items out of the specifiedIItemHandler
. - tryRemove(int, int, Player) - Method in class com.larashores.laraspipes.utils.ItemTypeSlot
-
Triggered when a player tries to remove an item from the slot.
U
- use(BlockState, Level, BlockPos, Player, InteractionHand, BlockHitResult) - Method in class com.larashores.laraspipes.itemdepositor.ItemDepositorBlock
-
Called when the user clicks on the entity.
- Utils - Class in com.larashores.laraspipes.utils
-
Collection of various status methods for use by other classes.
- Utils() - Constructor for class com.larashores.laraspipes.utils.Utils
W
- width() - Method in record class com.larashores.laraspipes.utils.ScreenSize
-
Returns the value of the
width
record component.
X
- x() - Method in record class com.larashores.laraspipes.utils.ScreenPos
-
Returns the value of the
x
record component. - x() - Method in record class com.larashores.laraspipes.utils.ScreenRotation
-
Returns the value of the
x
record component.
Y
- y() - Method in record class com.larashores.laraspipes.utils.ScreenPos
-
Returns the value of the
y
record component. - y() - Method in record class com.larashores.laraspipes.utils.ScreenRotation
-
Returns the value of the
y
record component.
All Classes and Interfaces|All Packages|Constant Field Values