Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- a() - Method in record class top.girlkisser.lazuli.api.colour.UnpackedColour
-
Returns the value of the
arecord component. - AABBHelpers - Class in top.girlkisser.lazuli.api.world
-
Provides helpers for
AABBs. - AbstractBlockEntityContainer<T> - Class in top.girlkisser.lazuli.api.menu
-
A generic class for containers/menus for a block entity.
- AbstractBlockEntityContainer(MenuType<?>, Block, int, int, Inventory, BlockPos) - Constructor for class top.girlkisser.lazuli.api.menu.AbstractBlockEntityContainer
-
A generic class for containers/menus for a block entity.
- AbstractBlockWithEntity<T> - Class in top.girlkisser.lazuli.api.block
-
A block class which provides helpers for block entities and tickers.
- AbstractBlockWithEntity(BlockEntityType.BlockEntitySupplier<T>, BlockBehaviour.Properties) - Constructor for class top.girlkisser.lazuli.api.block.AbstractBlockWithEntity
-
A block class which provides helpers for block entities and tickers.
- AbstractCapacitorBE - Class in top.girlkisser.lazuli.api.block
-
A generic battery block with an inventory to charge items with.
- AbstractCapacitorBE(BlockEntityType<? extends AbstractCapacitorBE>, BlockPos, BlockState) - Constructor for class top.girlkisser.lazuli.api.block.AbstractCapacitorBE
-
A generic battery block with an inventory to charge items with.
- AbstractEnergyBE - Class in top.girlkisser.lazuli.api.block
-
A block entity with an energy storage.
- AbstractEnergyBE(BlockEntityType<?>, BlockPos, BlockState) - Constructor for class top.girlkisser.lazuli.api.block.AbstractEnergyBE
-
A block entity with an energy storage.
- AbstractGeneratorBE - Class in top.girlkisser.lazuli.api.block
-
An
AbstractEnergyBEthat distributes power every tick and cannot receive power. - AbstractGeneratorBE(BlockEntityType<?>, BlockPos, BlockState) - Constructor for class top.girlkisser.lazuli.api.block.AbstractGeneratorBE
-
An
AbstractEnergyBEthat distributes power every tick and cannot receive power. - AbstractInventoryBE - Class in top.girlkisser.lazuli.api.block
-
A generic class for block entities with inventories.
- AbstractInventoryBE(BlockEntityType<?>, int, BlockPos, BlockState) - Constructor for class top.girlkisser.lazuli.api.block.AbstractInventoryBE
-
A generic class for block entities with inventories.
- AbstractLazuliContainer - Class in top.girlkisser.lazuli.api.menu
-
A basic implementation for
AbstractContainerMenuprovidingquickMoveStackand some helper functions. - AbstractLazuliContainer(MenuType<?>, int, int, Inventory) - Constructor for class top.girlkisser.lazuli.api.menu.AbstractLazuliContainer
-
A basic implementation for
AbstractContainerMenu. - AbstractLazuliContainer.SlotFactory - Interface in top.girlkisser.lazuli.api.menu
-
A factory to create
Slots from. - AbstractLazuliContainerScreen<T> - Class in top.girlkisser.lazuli.api.client.screen
-
Provides a basic implementation for
Screens withAbstractLazuliContainermenus. - AbstractLazuliContainerScreen(T, Inventory, Component) - Constructor for class top.girlkisser.lazuli.api.client.screen.AbstractLazuliContainerScreen
-
A basic implementation for
Screens withAbstractLazuliContainermenus. - AbstractLazuliMenuScreen<T> - Class in top.girlkisser.lazuli.api.client.screen
-
Provides a basic
Screenthat does not implementContainerScreen. - AbstractLazuliMenuScreen(T, Component) - Constructor for class top.girlkisser.lazuli.api.client.screen.AbstractLazuliMenuScreen
-
Provides a basic
Screenthat does not implementContainerScreen. - AbstractSingleTankAndInventoryBE - Class in top.girlkisser.lazuli.api.block
-
A block entity implementing both
ISingleTankBEandIInventoryBE. - AbstractSingleTankAndInventoryBE(BlockEntityType<?>, int, int, BlockPos, BlockState) - Constructor for class top.girlkisser.lazuli.api.block.AbstractSingleTankAndInventoryBE
-
A block entity implementing both
ISingleTankBEandIInventoryBE. - AbstractSingleTankBE - Class in top.girlkisser.lazuli.api.block
-
A block entity with a single tank.
- AbstractSingleTankBE(BlockEntityType<?>, int, BlockPos, BlockState) - Constructor for class top.girlkisser.lazuli.api.block.AbstractSingleTankBE
-
A block entity with a single tank.
- accumulatedWeight - Variable in class top.girlkisser.lazuli.api.collections.WeightedRandomList
-
The total weight of all entries in the list.
- accumulatedWeight() - Method in record class top.girlkisser.lazuli.api.collections.WeightedRandomList.Entry
-
Returns the value of the
accumulatedWeightrecord component. - addDust(DustParticleOptions, Level, Vec3) - Static method in class top.girlkisser.lazuli.api.client.particle.ParticleHelper
-
Adds a dust particle at the given location.
- addDust(DustParticleOptions, Level, Vec3, Vec3) - Static method in class top.girlkisser.lazuli.api.client.particle.ParticleHelper
-
Adds a dust particle at the given location.
- addDustInBlock(DustParticleOptions, Level, BlockPos) - Static method in class top.girlkisser.lazuli.api.client.particle.ParticleHelper
-
Adds many dust particles inside the given block pos.
- addDustInBlock(DustParticleOptions, Level, BlockPos, int, float) - Static method in class top.girlkisser.lazuli.api.client.particle.ParticleHelper
-
Adds many dust particles inside the given block pos or around the position.
- addEntry(T) - Method in class top.girlkisser.lazuli.api.collections.WeightedRandomList
-
Add an entry to the list.
- addOutputSlotBox(Container, int, int, int, int, int, int, int) - Method in class top.girlkisser.lazuli.api.menu.AbstractLazuliContainer
-
Add a 2D range of output slots.
- addOutputSlotRange(Container, int, int, int, int, int) - Method in class top.girlkisser.lazuli.api.menu.AbstractLazuliContainer
-
Add a range of output-only slots.
- addParticle(IParticle2D) - Method in interface top.girlkisser.lazuli.api.client.particle2d.IParticleEngine2D
-
Add the given particle to the engine.
- addParticle(IParticle2D) - Method in class top.girlkisser.lazuli.api.client.particle2d.ScreenParticleEngine2D
- addPlayerInventorySlots(Container, int, int) - Method in class top.girlkisser.lazuli.api.menu.AbstractLazuliContainer
-
Add slots for a player's inventory (9 slots by 4 slots).
- addSlotBox(Container, int, int, int, int, int, int, int) - Method in class top.girlkisser.lazuli.api.menu.AbstractLazuliContainer
-
Add a 2D range of slots.
- addSlotBox(Container, int, int, int, int, int, int, int, AbstractLazuliContainer.SlotFactory) - Method in class top.girlkisser.lazuli.api.menu.AbstractLazuliContainer
-
Add a 2D range of slots using the provided factory.
- addSlotRange(Container, int, int, int, int, int) - Method in class top.girlkisser.lazuli.api.menu.AbstractLazuliContainer
-
Add a range of slots.
- addSlotRange(Container, int, int, int, int, int, AbstractLazuliContainer.SlotFactory) - Method in class top.girlkisser.lazuli.api.menu.AbstractLazuliContainer
-
Add a range of slots using the provided slot factory to create slots with.
- allowModification(Player) - Method in class top.girlkisser.lazuli.api.menu.SlotOutputOnly
- ArgLazy<ItT,
ArgT> - Class in top.girlkisser.lazuli.api.misc -
A clone of
Lazyexcept ArgLazy takes in an argument too. - ArgLazy(Function<ArgT, ItT>) - Constructor for class top.girlkisser.lazuli.api.misc.ArgLazy
-
A clone of
Lazywith arguments. - ArrayHelpers - Class in top.girlkisser.lazuli.api.collections
-
Provides a handful of helpers for arrays.
B
- b() - Method in record class top.girlkisser.lazuli.api.colour.UnpackedColour
-
Returns the value of the
brecord component. - BasicFluidType - Class in top.girlkisser.lazuli.api.fluid
-
A basic
FluidTypeimplementation. - BasicFluidType(ResourceLocation, ResourceLocation, ResourceLocation, int, Vector3f, FluidType.Properties) - Constructor for class top.girlkisser.lazuli.api.fluid.BasicFluidType
-
A basic
FluidTypeimplementation. - BIRL(Optional<ResourceLocation>, Optional<ResourceLocation>) - Constructor for record class top.girlkisser.lazuli.api.crafting.BlockIngredient.BIRL
-
Creates an instance of a
BIRLrecord class. - BIRL_CODEC - Static variable in record class top.girlkisser.lazuli.api.crafting.BlockIngredient
- BIRL_STREAM_CODEC - Static variable in record class top.girlkisser.lazuli.api.crafting.BlockIngredient
- block - Variable in class top.girlkisser.lazuli.api.menu.AbstractBlockEntityContainer
-
The container's block.
- block() - Method in record class top.girlkisser.lazuli.api.crafting.BlockIngredient.BIRL
-
Returns the value of the
blockrecord component. - block() - Method in record class top.girlkisser.lazuli.api.crafting.BlockIngredient
-
Returns the value of the
blockrecord component. - block() - Method in record class top.girlkisser.lazuli.api.crafting.BlockOutput
-
Returns the value of the
blockrecord component. - block() - Method in record class top.girlkisser.lazuli.api.crafting.BlockOutput.BORL
-
Returns the value of the
blockrecord component. - blockEntity - Variable in class top.girlkisser.lazuli.api.menu.AbstractBlockEntityContainer
-
The container block entity.
- BlockIngredient - Record Class in top.girlkisser.lazuli.api.crafting
-
An ingredient record for blocks or block tags.
- BlockIngredient(Optional<Block>, Optional<TagKey<Block>>) - Constructor for record class top.girlkisser.lazuli.api.crafting.BlockIngredient
-
Creates an instance of a
BlockIngredientrecord class. - BlockIngredient(TagKey<Block>) - Constructor for record class top.girlkisser.lazuli.api.crafting.BlockIngredient
-
An ingredient record for blocks or block tags.
- BlockIngredient(Block) - Constructor for record class top.girlkisser.lazuli.api.crafting.BlockIngredient
-
An ingredient record for blocks or block tags.
- BlockIngredient.BIRL - Record Class in top.girlkisser.lazuli.api.crafting
-
A block ingredient where the block and tag are represented by their respective
ResourceLocations. - BlockOutput - Record Class in top.girlkisser.lazuli.api.crafting
-
A record for recipes that output blocks.
- BlockOutput(Block) - Constructor for record class top.girlkisser.lazuli.api.crafting.BlockOutput
-
Creates an instance of a
BlockOutputrecord class. - BlockOutput.BORL - Record Class in top.girlkisser.lazuli.api.crafting
-
A block output where the block is represented by its
ResourceLocation. - blockRaycast(Entity, double, boolean) - Static method in class top.girlkisser.lazuli.api.world.Raycasting
-
Performs a block raycast.
- BORL(ResourceLocation) - Constructor for record class top.girlkisser.lazuli.api.crafting.BlockOutput.BORL
-
Creates an instance of a
BORLrecord class. - BORL_CODEC - Static variable in record class top.girlkisser.lazuli.api.crafting.BlockOutput
- BORL_STREAM_CODEC - Static variable in record class top.girlkisser.lazuli.api.crafting.BlockOutput
- breakBlockAndGetDrops(ServerLevel, BlockPos) - Static method in class top.girlkisser.lazuli.api.world.FakePlayerHelpers
-
Breaks a block and gets the drops from it.
- breakBlockAndGetDrops(ServerLevel, BlockState, BlockPos) - Static method in class top.girlkisser.lazuli.api.world.FakePlayerHelpers
-
Breaks a block and gets the drops from it.
C
- canDistributeInDirection(Direction) - Method in class top.girlkisser.lazuli.api.block.AbstractCapacitorBE
- canDistributeInDirection(Direction) - Method in interface top.girlkisser.lazuli.api.block.IEnergyBE
-
Get whether the block entity can push energy in the given direction.
- canEjectSlot(int) - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Returns true if the item in the given slot can be ejected.
- canPlaceItemThroughFace(int, ItemStack, Direction) - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Controls whether an item can be inserted into the given slot through the given face.
- canRedo() - Method in class top.girlkisser.lazuli.api.collections.HistoryList
-
Get whether a
HistoryList.redo()will do anything when invoked. - canTakeItemThroughFace(int, ItemStack, Direction) - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Controls whether an item can be taken from the given slot through the given face.
- canUndo() - Method in class top.girlkisser.lazuli.api.collections.HistoryList
-
Get whether an
HistoryList.undo()will do anything when invoked. - capacity - Variable in class top.girlkisser.lazuli.api.block.AbstractSingleTankBE
-
The tank's capacity in mB.
- chance() - Method in record class top.girlkisser.lazuli.api.fluid.ChancedFluidStack
-
Returns the value of the
chancerecord component. - chance() - Method in record class top.girlkisser.lazuli.api.item.ChancedItemStack
-
Returns the value of the
chancerecord component. - ChancedFluidStack - Record Class in top.girlkisser.lazuli.api.fluid
-
A record for a fluid stack which has a chance of being empty.
- ChancedFluidStack(Fluid, int, float) - Constructor for record class top.girlkisser.lazuli.api.fluid.ChancedFluidStack
-
A record for a fluid stack which has a chance of being empty.
- ChancedFluidStack(FluidStack, float) - Constructor for record class top.girlkisser.lazuli.api.fluid.ChancedFluidStack
-
Creates an instance of a
ChancedFluidStackrecord class. - ChancedItemStack - Record Class in top.girlkisser.lazuli.api.item
-
A record for an item stack which has a chance of being empty.
- ChancedItemStack(ItemStack, float) - Constructor for record class top.girlkisser.lazuli.api.item.ChancedItemStack
-
Creates an instance of a
ChancedItemStackrecord class. - ChancedItemStack(ItemLike, float) - Constructor for record class top.girlkisser.lazuli.api.item.ChancedItemStack
-
A record for an item stack which has a chance of being empty.
- ChancedItemStack(ItemLike, int, float) - Constructor for record class top.girlkisser.lazuli.api.item.ChancedItemStack
-
A record for an item stack which has a chance of being empty.
- clear() - Method in interface top.girlkisser.lazuli.api.client.particle2d.IParticleEngine2D
-
Clear all particles from the engine.
- clear() - Method in class top.girlkisser.lazuli.api.client.particle2d.ScreenParticleEngine2D
- clear() - Method in class top.girlkisser.lazuli.api.collections.HistoryList
-
Clears all data and history from this list.
- clearContent() - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Clear all items from the inventory.
- clearContent() - Method in record class top.girlkisser.lazuli.api.crafting.ItemEntityRecipeInput
- CLIENT - Static variable in class top.girlkisser.lazuli.api.misc.TickScheduler
-
A tick scheduler for the client.
- clientTick(ClientLevel) - Method in interface top.girlkisser.lazuli.api.block.ITickableBE
-
Invoked on the client every tick.
- clientTicks - Static variable in class top.girlkisser.lazuli.api.client.LazuliClientHelpers
-
The amount of ticks that have passed since the game opened on the client.
- CODEC - Static variable in record class top.girlkisser.lazuli.api.colour.ColourPalette
- CODEC - Static variable in record class top.girlkisser.lazuli.api.colour.UnpackedColour
- CODEC - Static variable in record class top.girlkisser.lazuli.api.crafting.BlockIngredient
- CODEC - Static variable in record class top.girlkisser.lazuli.api.crafting.BlockOutput
- CODEC - Static variable in record class top.girlkisser.lazuli.api.crafting.CountedIngredient
- CODEC - Static variable in record class top.girlkisser.lazuli.api.fluid.ChancedFluidStack
- CODEC - Static variable in record class top.girlkisser.lazuli.api.item.ChancedItemStack
- CODEC - Static variable in class top.girlkisser.lazuli.api.item.GhostItemStack
-
A codec for
GhostItemStacks, based onItemStack.OPTIONAL_CODEC. - CODEC - Static variable in record class top.girlkisser.lazuli.api.mathematics.CubicBezier
-
A codec for a cubic Bézier curve with the following format:
{ "start": { "x": 0.0, "y": 0.0 }, "control1": { "x": 0.25, "y": 0.5 }, "control2": { "x": 0.75, "y": 0.2 }, "end": { "x": 1.0, "y": 1.0 } } - CODEC - Static variable in record class top.girlkisser.lazuli.api.mathematics.QuadraticBezier
-
A codec for a quadratic Bézier curve with the following format:
{ "start": { "x": 0.0, "y": 0.0 }, "control": { "x": 0.25, "y": 0.5 }, "end": { "x": 1.0, "y": 1.0 } } - ColourPalette - Record Class in top.girlkisser.lazuli.api.colour
-
A palette of
UnpackedColours. - ColourPalette(List<UnpackedColour>) - Constructor for record class top.girlkisser.lazuli.api.colour.ColourPalette
-
A palette of
UnpackedColours. - ColourPalette(UnpackedColour...) - Constructor for record class top.girlkisser.lazuli.api.colour.ColourPalette
-
Creates an instance of a
ColourPaletterecord class. - colours() - Method in record class top.girlkisser.lazuli.api.colour.ColourPalette
-
Returns the value of the
coloursrecord component. - ContainerUtils - Class in top.girlkisser.lazuli.api.inventory
-
Provides a handful of helpers for containers.
- contains(int[], int) - Static method in class top.girlkisser.lazuli.api.collections.ArrayHelpers
-
Check if an array contains a given value.
- contains(T[], T) - Static method in class top.girlkisser.lazuli.api.collections.ArrayHelpers
-
Check if an array contains a given value.
- control() - Method in record class top.girlkisser.lazuli.api.mathematics.QuadraticBezier
-
Returns the value of the
controlrecord component. - control1() - Method in record class top.girlkisser.lazuli.api.mathematics.CubicBezier
-
Returns the value of the
control1record component. - control2() - Method in record class top.girlkisser.lazuli.api.mathematics.CubicBezier
-
Returns the value of the
control2record component. - copy() - Method in class top.girlkisser.lazuli.api.item.GhostItemStack
-
Copies the stack.
- count() - Method in record class top.girlkisser.lazuli.api.crafting.CountedIngredient
-
Returns the value of the
countrecord component. - CountedIngredient - Record Class in top.girlkisser.lazuli.api.crafting
-
An ingredient with a count.
- CountedIngredient(Ingredient, int) - Constructor for record class top.girlkisser.lazuli.api.crafting.CountedIngredient
-
Creates an instance of a
CountedIngredientrecord class. - countItems(Container, Predicate<ItemStack>) - Static method in class top.girlkisser.lazuli.api.inventory.ContainerUtils
-
Count how many items the container has that match the predicate.
- CubicBezier - Record Class in top.girlkisser.lazuli.api.mathematics
-
A cubic Bézier curve implementation.
- CubicBezier(float, float, float, float) - Constructor for record class top.girlkisser.lazuli.api.mathematics.CubicBezier
-
Create a cubic Bézier curve using the provided coordinates for control points.
- CubicBezier(float, float, float, float, float, float, float, float) - Constructor for record class top.girlkisser.lazuli.api.mathematics.CubicBezier
-
Create a cubic Bézier curve using the provided coordinates for points.
- CubicBezier(Vector2f, Vector2f) - Constructor for record class top.girlkisser.lazuli.api.mathematics.CubicBezier
-
Create a cubic Bézier curve using the provided control points.
- CubicBezier(Vector2f, Vector2f, Vector2f, Vector2f) - Constructor for record class top.girlkisser.lazuli.api.mathematics.CubicBezier
-
Creates an instance of a
CubicBezierrecord class.
D
- data - Variable in class top.girlkisser.lazuli.api.collections.HistoryList
-
The contained elements.
- dataSize() - Method in class top.girlkisser.lazuli.api.collections.HistoryList
-
Get the current amount of elements.
- decode(DynamicOps<T>, T) - Method in record class top.girlkisser.lazuli.api.codec.LimitedStringCodec
- DEFAULT_MAX_ENERGY - Static variable in interface top.girlkisser.lazuli.api.block.IEnergyBE
-
The default amount of RF that an IEnergyBE can store.
- deserializeNBT(HolderLookup.Provider, CompoundTag) - Method in class top.girlkisser.lazuli.api.inventory.GhostStackHandler
- deserializeNBT(HolderLookup.Provider, CompoundTag) - Method in class top.girlkisser.lazuli.api.item.GhostItemStack
- distributePower() - Method in interface top.girlkisser.lazuli.api.block.IEnergyBE
-
Distributes power to each direction if able.
- doesListContainItemMatchingIngredient(List<ItemStack>, Ingredient) - Static method in class top.girlkisser.lazuli.api.inventory.ContainerUtils
-
Check if the provided list contains at least one item that matches the ingredient.
E
- ejectFrom(ServerLevel, BlockPos, Direction, int, int) - Static method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Ejects an
ItemStackinto the world or into a valid container from anIInventoryBE. - ejectFrom(IInventoryBE<T>, int) - Static method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Ejects an
ItemStackinto the world or into a valid container from anIInventoryBE. - ejectFrom(IInventoryBE<T>, int, int) - Static method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Ejects an
ItemStackinto the world or into a valid container from anIInventoryBE. - ejectStack(ServerLevel, BlockPos, Direction, ItemStack) - Static method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Ejects an
ItemStackinto the world or into a valid container. - EMPTY - Static variable in class top.girlkisser.lazuli.api.item.GhostItemStack
-
An empty
GhostItemStack. - encode(String, DynamicOps<T>, T) - Method in record class top.girlkisser.lazuli.api.codec.LimitedStringCodec
- end() - Method in record class top.girlkisser.lazuli.api.mathematics.CubicBezier
-
Returns the value of the
endrecord component. - end() - Method in record class top.girlkisser.lazuli.api.mathematics.QuadraticBezier
-
Returns the value of the
endrecord component. - entities() - Method in record class top.girlkisser.lazuli.api.crafting.ItemEntityRecipeInput
-
Returns the value of the
entitiesrecord component. - entity() - Method in record class top.girlkisser.lazuli.api.crafting.EntityRecipeInput
-
Returns the value of the
entityrecord component. - entityRaycast(Entity, double) - Static method in class top.girlkisser.lazuli.api.world.Raycasting
-
Performs an entity raycast.
- EntityRecipeInput - Record Class in top.girlkisser.lazuli.api.crafting
-
A recipe input for...
- EntityRecipeInput(EntityType<?>) - Constructor for record class top.girlkisser.lazuli.api.crafting.EntityRecipeInput
-
Creates an instance of a
EntityRecipeInputrecord class. - entries - Variable in class top.girlkisser.lazuli.api.collections.WeightedRandomList
-
The list's entries.
- Entry(T, int) - Constructor for record class top.girlkisser.lazuli.api.collections.WeightedRandomList.Entry
-
Creates an instance of a
Entryrecord class. - enumStringCodec(T[], Function<String, T>) - Static method in record class top.girlkisser.lazuli.api.codec.LimitedStringCodec
-
Create a
LimitedStringCodecallowing the provided enum's values. - equals(Object) - Method in record class top.girlkisser.lazuli.api.client.particle2d.SimpleParticle2D
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class top.girlkisser.lazuli.api.codec.LimitedStringCodec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class top.girlkisser.lazuli.api.collections.WeightedRandomList.Entry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class top.girlkisser.lazuli.api.colour.ColourPalette
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class top.girlkisser.lazuli.api.colour.UnpackedColour
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class top.girlkisser.lazuli.api.crafting.BlockIngredient.BIRL
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class top.girlkisser.lazuli.api.crafting.BlockIngredient
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class top.girlkisser.lazuli.api.crafting.BlockOutput.BORL
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class top.girlkisser.lazuli.api.crafting.BlockOutput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class top.girlkisser.lazuli.api.crafting.CountedIngredient
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class top.girlkisser.lazuli.api.crafting.EntityRecipeInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class top.girlkisser.lazuli.api.crafting.FluidStackInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class top.girlkisser.lazuli.api.crafting.ItemEntityRecipeInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class top.girlkisser.lazuli.api.fluid.ChancedFluidStack
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class top.girlkisser.lazuli.api.item.ChancedItemStack
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class top.girlkisser.lazuli.api.mathematics.CubicBezier
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class top.girlkisser.lazuli.api.mathematics.QuadraticBezier
-
Indicates whether some other object is "equal to" this one.
- extractEnergy(int, boolean) - Method in class top.girlkisser.lazuli.api.energy.LazuliEnergyStorage
-
Remove energy from the storage.
- extractItem(int, int, boolean) - Method in class top.girlkisser.lazuli.api.inventory.GhostStackHandler
-
Use instead.
- extractItems(Container, Predicate<ItemStack>, int) - Static method in class top.girlkisser.lazuli.api.inventory.ContainerUtils
-
Extract items from the given container.
- extractItemsForCrafting(Container, Predicate<ItemStack>, int) - Static method in class top.girlkisser.lazuli.api.inventory.ContainerUtils
-
Extract items from the given container and checks for crafting remainders on extracted items.
F
- FAKE_PLAYER - Static variable in class top.girlkisser.lazuli.api.world.FakePlayerHelpers
-
A fake player to use.
- FakePlayerHelpers - Class in top.girlkisser.lazuli.api.world
-
Provides helpers for NeoForge
FakePlayers. - fillStackedContents(StackedContents) - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
- FLEXIBLE_CODEC - Static variable in record class top.girlkisser.lazuli.api.colour.UnpackedColour
-
A codec for colours allowing a variety of formats: - RGB(A) as an object (
{"r":255,"g":100,"b":150,"a":255}) - RGBA as a list ([255, 100, 150, 255]) - RGB as a list ([255, 100, 150]) - Hex (RGBA) codes as a string ("#rrggbbaa") - Hex (RGB) codes as a string ("#rrggbb") - Packed colours as an integer (16777215) - flowingTexture - Variable in class top.girlkisser.lazuli.api.fluid.BasicFluidType
-
The texture to use for the fluid's flowing texture.
- fluid() - Method in record class top.girlkisser.lazuli.api.crafting.FluidStackInput
-
Returns the value of the
fluidrecord component. - FluidRenderingHelpers - Class in top.girlkisser.lazuli.api.client
-
Provides helpers for rendering fluids, primarily on GUIs.
- FluidStackInput - Record Class in top.girlkisser.lazuli.api.crafting
-
A recipe input for
FluidStacks. - FluidStackInput(FluidStack) - Constructor for record class top.girlkisser.lazuli.api.crafting.FluidStackInput
-
Creates an instance of a
FluidStackInputrecord class. - fogColour - Variable in class top.girlkisser.lazuli.api.fluid.BasicFluidType
-
The fluid type's fog colour as a
Vector3f. - forceExtractEnergy(int, boolean) - Method in class top.girlkisser.lazuli.api.energy.ProtectiveEnergyStorage
-
Forcefully extract energy, ignoring if the energy storage can have energy extracted from or not.
- forceReceiveEnergy(int, boolean) - Method in class top.girlkisser.lazuli.api.energy.ProtectiveEnergyStorage
-
Forcefully receive energy, ignoring if the energy storage can receive energy or not.
G
- g() - Method in record class top.girlkisser.lazuli.api.colour.UnpackedColour
-
Returns the value of the
grecord component. - GENERIC_FLUID - Static variable in class top.girlkisser.lazuli.common.LazuliDataComponents
-
A data component to contain any fluid stack.
- get(int) - Method in class top.girlkisser.lazuli.api.inventory.GhostStackHandler
-
Get an item from the slot.
- get(ArgT) - Method in class top.girlkisser.lazuli.api.misc.ArgLazy
-
Get or generate the lazy's value.
- getBlockPos() - Method in interface top.girlkisser.lazuli.api.block.IBE
-
Get the block position of the block entity.
- getBlockState() - Method in interface top.girlkisser.lazuli.api.block.IBE
-
Get the block state of the block entity.
- getCachedWorkZone() - Method in interface top.girlkisser.lazuli.api.block.IZonedBE
-
Get the cached work zone for the block entity.
- getClientExtensionsFor(BasicFluidType) - Static method in class top.girlkisser.lazuli.api.fluid.BasicFluidType
-
Get
IClientFluidTypeExtensionsfor the fluid. - getComponents() - Method in class top.girlkisser.lazuli.api.item.GhostItemStack
-
Get the ghost stack's data components.
- getComponentsPatch() - Method in class top.girlkisser.lazuli.api.item.GhostItemStack
-
Get the ghost stack's data component patches.
- getContainerSize() - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
- getContainerSize() - Method in record class top.girlkisser.lazuli.api.crafting.ItemEntityRecipeInput
- getCount() - Method in class top.girlkisser.lazuli.api.item.GhostItemStack
-
Get the stack's count.
- getDefaultFluidHandlerCapacity() - Method in interface top.girlkisser.lazuli.api.item.LazuliItem
-
Get the default mB that this item's tank can hold.
- getDirectionNormals(Direction) - Static method in class top.girlkisser.lazuli.api.mathematics.Mathematics
-
Get the direction normals for the given direction.
- getEjectDirection(BlockState) - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Get the
Directionto eject items at. - getEnergyStorage() - Method in class top.girlkisser.lazuli.api.block.AbstractEnergyBE
- getEnergyStorage() - Method in interface top.girlkisser.lazuli.api.block.IEnergyBE
-
Gets the energy storage for this block entity.
- getEnergyStorage(Direction) - Method in class top.girlkisser.lazuli.api.block.AbstractCapacitorBE
-
Get the energy storage for a given direction (or no direction).
- getEnergyStored() - Method in interface top.girlkisser.lazuli.api.block.IEnergyBE
-
Gets the amount of energy stored in the block entity.
- getEntitiesInWorkZone(Class<T>, Predicate<T>) - Method in interface top.girlkisser.lazuli.api.block.IZonedBE
-
Get all entities in the work zone that are of
class_and matchfilter. - getEntries() - Method in class top.girlkisser.lazuli.api.collections.WeightedRandomList
-
Get the list's entries.
- getExtractOnly() - Method in class top.girlkisser.lazuli.api.energy.LazuliEnergyStorage
-
Creates a copy of this energy storage that cannot receive energy.
- getFirstEntityInWorkZone(Class<T>, Predicate<T>) - Method in interface top.girlkisser.lazuli.api.block.IZonedBE
-
Finds the first entity within the work zone.
- getFirstStackIndex() - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Returns the index to the first non-empty
ItemStackin the inventory or-1if no such item exists. - getFluid(ItemStack) - Method in interface top.girlkisser.lazuli.api.item.LazuliItem
-
Get the
FluidStackcontained in the item's first tank. - getFluid(ItemStack, int) - Method in interface top.girlkisser.lazuli.api.item.LazuliItem
-
Get the
FluidStackcontained in the given tank. - getFluidHandler(ItemStack) - Method in interface top.girlkisser.lazuli.api.item.LazuliItem
-
Get the fluid handler for the given stack.
- getFluidTankCapacity(ItemStack) - Method in interface top.girlkisser.lazuli.api.item.LazuliItem
-
Get the fluid tank capacity in mB of the item's first tank.
- getFluidTankCapacity(ItemStack, int) - Method in interface top.girlkisser.lazuli.api.item.LazuliItem
-
Get the fluid tank capacity in mB of the given tank.
- getFluidTankTooltip(FluidStack, int) - Static method in class top.girlkisser.lazuli.api.item.TooltipUtil
-
Get a
Componentfor theFluidStack. - getFluidTankTooltip(IFluidTank) - Static method in class top.girlkisser.lazuli.api.item.TooltipUtil
-
Get a
Componentfor the tank representing its contents. - getGuiLeft() - Method in class top.girlkisser.lazuli.api.client.screen.AbstractLazuliMenuScreen
-
Get the X position of the screen.
- getGuiTop() - Method in class top.girlkisser.lazuli.api.client.screen.AbstractLazuliMenuScreen
-
Get the Y position of the screen.
- getHeldStack() - Method in class top.girlkisser.lazuli.api.block.AbstractCapacitorBE
-
Get the item held by the item handler.
- getInventory() - Method in class top.girlkisser.lazuli.api.block.AbstractCapacitorBE
- getInventory() - Method in class top.girlkisser.lazuli.api.block.AbstractInventoryBE
- getInventory() - Method in class top.girlkisser.lazuli.api.block.AbstractSingleTankAndInventoryBE
- getInventory() - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Get the block entity's inventory
- getInventory(Direction) - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Get the inventory on the given side, by default the inventory is non-sided, so this returns the main inventory.
- getItem() - Method in class top.girlkisser.lazuli.api.item.GhostItemStack
-
Get the stack's item.
- getItem(int) - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Get the item in the given slot index.
- getItem(int) - Method in record class top.girlkisser.lazuli.api.crafting.EntityRecipeInput
- getItem(int) - Method in record class top.girlkisser.lazuli.api.crafting.FluidStackInput
- getItem(int) - Method in record class top.girlkisser.lazuli.api.crafting.ItemEntityRecipeInput
- getLevel() - Method in interface top.girlkisser.lazuli.api.block.IBE
-
Get the level of the block entity.
- getMaxEnergy() - Method in interface top.girlkisser.lazuli.api.block.IEnergyBE
-
Gets the energy capacity of the machine
- getMaxEnergyExtract() - Method in interface top.girlkisser.lazuli.api.block.IEnergyBE
-
Gets the maximum energy extractable per tick for the BE.
- getMaxEnergyReceive() - Method in class top.girlkisser.lazuli.api.block.AbstractGeneratorBE
- getMaxEnergyReceive() - Method in interface top.girlkisser.lazuli.api.block.IEnergyBE
-
Gets the maximum energy receivable per tick for the BE.
- getMaxFluidExtract() - Method in interface top.girlkisser.lazuli.api.block.ISingleTankBE
-
Gets the maximum fluid extractable per tick for the block entity.
- getMaxFluidReceive() - Method in interface top.girlkisser.lazuli.api.block.ISingleTankBE
-
Gets the maximum fluid receivable per tick for the block entity.
- getMenu() - Method in class top.girlkisser.lazuli.api.client.screen.AbstractLazuliMenuScreen
- getPlayerInventory() - Method in class top.girlkisser.lazuli.api.menu.AbstractLazuliContainer
-
Get the player's inventory.
- getPoints(float) - Method in record class top.girlkisser.lazuli.api.mathematics.CubicBezier
-
Get a list of points from 0 to 1 with `resolution` steps.
- getPoints(float) - Method in record class top.girlkisser.lazuli.api.mathematics.QuadraticBezier
-
Get a list of points from 0 to 1 with `resolution` steps.
- getRandom(RandomSource) - Method in record class top.girlkisser.lazuli.api.colour.ColourPalette
-
Gets a random colour from the palette.
- getRandomUsedSlot(RandomSource) - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Gets a random slot with at least 1 item in it.
- getRandomUsedSlot(RandomSource, int) - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Gets a random slot with at least
minimumCountitems in it, or a slot where the maximum stack size equals 1. - getReceiveOnly() - Method in class top.girlkisser.lazuli.api.energy.LazuliEnergyStorage
-
Creates a copy of this energy storage that cannot have energy extracted.
- getSlotLimit(int) - Method in class top.girlkisser.lazuli.api.inventory.GhostStackHandler
- getSlots() - Method in class top.girlkisser.lazuli.api.inventory.GhostStackHandler
- getSlotsForFace(Direction) - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Gets the indexes to any slots accessible on the given side.
- getStack() - Method in class top.girlkisser.lazuli.api.item.GhostItemStack
-
Get the held stack.
- getStackInSlot(int) - Method in class top.girlkisser.lazuli.api.inventory.GhostStackHandler
- getTank() - Method in class top.girlkisser.lazuli.api.block.AbstractSingleTankAndInventoryBE
- getTank() - Method in class top.girlkisser.lazuli.api.block.AbstractSingleTankBE
- getTank() - Method in interface top.girlkisser.lazuli.api.block.ISingleTankBE
-
Get the block entity's tank.
- getTankCapacity() - Method in interface top.girlkisser.lazuli.api.block.ISingleTankBE
-
Gets the tank capacity for the block entity.
- getTicker(Level, BlockState, BlockEntityType<U>) - Method in class top.girlkisser.lazuli.api.block.AbstractBlockWithEntity
- getUI() - Method in class top.girlkisser.lazuli.api.client.screen.AbstractLazuliContainerScreen
-
Gets the texture to use for the screen's background.
- getUI() - Method in class top.girlkisser.lazuli.api.client.screen.AbstractLazuliMenuScreen
-
Gets the texture to use for the screen's background.
- getUseOnContext(ServerLevel, ItemStack, BlockPos) - Static method in class top.girlkisser.lazuli.api.world.FakePlayerHelpers
-
Creates a
UseOnContext. - getWorkZone() - Method in interface top.girlkisser.lazuli.api.block.IZonedBE
-
Gets the work zone for the block entity.
- getWorkZoneHeight() - Method in interface top.girlkisser.lazuli.api.block.IZonedBE
-
Get the work zone
AABB's height in blocks. - getWorkZoneRange() - Method in interface top.girlkisser.lazuli.api.block.IZonedBE
-
Get the work zone
AABB's range in blocks. - GhostItemStack - Class in top.girlkisser.lazuli.api.item
-
A fake item stack.
- GhostItemStack(Holder<Item>) - Constructor for class top.girlkisser.lazuli.api.item.GhostItemStack
-
A fake item stack.
- GhostItemStack(Holder<Item>, int) - Constructor for class top.girlkisser.lazuli.api.item.GhostItemStack
-
A fake item stack.
- GhostItemStack(Holder<Item>, int, DataComponentPatch) - Constructor for class top.girlkisser.lazuli.api.item.GhostItemStack
-
A fake item stack.
- GhostItemStack(ItemLike) - Constructor for class top.girlkisser.lazuli.api.item.GhostItemStack
-
A fake item stack.
- GhostItemStack(ItemLike, int) - Constructor for class top.girlkisser.lazuli.api.item.GhostItemStack
-
A fake item stack.
- GhostSlot - Class in top.girlkisser.lazuli.api.menu
-
A slot which copies the inserted item and clears when a player attempts to take the contained item.
- GhostSlot(Container, int, int, int) - Constructor for class top.girlkisser.lazuli.api.menu.GhostSlot
-
A slot which copies the inserted item and clears when a player attempts to take the contained item.
- GhostStackHandler - Class in top.girlkisser.lazuli.api.inventory
-
A "fake item stack handler." Extracted items are cleared instead of given and inserted items are copied and not consumed.
- GhostStackHandler() - Constructor for class top.girlkisser.lazuli.api.inventory.GhostStackHandler
-
Create a ghost stack handler with a single slot.
- GhostStackHandler(int) - Constructor for class top.girlkisser.lazuli.api.inventory.GhostStackHandler
-
A "fake item stack handler." Extracted items are cleared instead of given and inserted items are copied and not consumed.
- GhostStackHandler(Collection<GhostItemStack>) - Constructor for class top.girlkisser.lazuli.api.inventory.GhostStackHandler
-
Create a ghost stack handler with the given stacks.
- giveItem(ItemStack) - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Add an item to the inventory, returning the remainder.
- gravity() - Method in record class top.girlkisser.lazuli.api.client.particle2d.SimpleParticle2D
-
Returns the value of the
gravityrecord component.
H
- hasFluid(ItemStack) - Method in interface top.girlkisser.lazuli.api.item.LazuliItem
-
Returns true if the stack has a fluid in its tank.
- hasFluidTank() - Method in interface top.girlkisser.lazuli.api.item.LazuliItem
-
Get whether the item has a fluid tank.
- hashCode() - Method in record class top.girlkisser.lazuli.api.client.particle2d.SimpleParticle2D
-
Returns a hash code value for this object.
- hashCode() - Method in record class top.girlkisser.lazuli.api.codec.LimitedStringCodec
-
Returns a hash code value for this object.
- hashCode() - Method in record class top.girlkisser.lazuli.api.collections.WeightedRandomList.Entry
-
Returns a hash code value for this object.
- hashCode() - Method in record class top.girlkisser.lazuli.api.colour.ColourPalette
-
Returns a hash code value for this object.
- hashCode() - Method in record class top.girlkisser.lazuli.api.colour.UnpackedColour
-
Returns a hash code value for this object.
- hashCode() - Method in record class top.girlkisser.lazuli.api.crafting.BlockIngredient.BIRL
-
Returns a hash code value for this object.
- hashCode() - Method in record class top.girlkisser.lazuli.api.crafting.BlockIngredient
-
Returns a hash code value for this object.
- hashCode() - Method in record class top.girlkisser.lazuli.api.crafting.BlockOutput.BORL
-
Returns a hash code value for this object.
- hashCode() - Method in record class top.girlkisser.lazuli.api.crafting.BlockOutput
-
Returns a hash code value for this object.
- hashCode() - Method in record class top.girlkisser.lazuli.api.crafting.CountedIngredient
-
Returns a hash code value for this object.
- hashCode() - Method in record class top.girlkisser.lazuli.api.crafting.EntityRecipeInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class top.girlkisser.lazuli.api.crafting.FluidStackInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class top.girlkisser.lazuli.api.crafting.ItemEntityRecipeInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class top.girlkisser.lazuli.api.fluid.ChancedFluidStack
-
Returns a hash code value for this object.
- hashCode() - Method in record class top.girlkisser.lazuli.api.item.ChancedItemStack
-
Returns a hash code value for this object.
- hashCode() - Method in record class top.girlkisser.lazuli.api.mathematics.CubicBezier
-
Returns a hash code value for this object.
- hashCode() - Method in record class top.girlkisser.lazuli.api.mathematics.QuadraticBezier
-
Returns a hash code value for this object.
- hasTicker - Variable in class top.girlkisser.lazuli.api.block.AbstractBlockWithEntity
-
Whether this block entity has tickers on either the server or the client.
- HistoryList<T> - Class in top.girlkisser.lazuli.api.collections
-
A helper class for storing and managing a list with undo/redo capabilities.
- HistoryList(int) - Constructor for class top.girlkisser.lazuli.api.collections.HistoryList
-
A helper class for storing and managing a list with undo/redo capabilities.
- historySize() - Method in class top.girlkisser.lazuli.api.collections.HistoryList
-
Get the current amount of elements stored in history.
I
- IBE - Interface in top.girlkisser.lazuli.api.block
-
Default methods for a block entity.
- IEnergyBE - Interface in top.girlkisser.lazuli.api.block
-
Basic methods for block entities with energy.
- IFluidBE - Interface in top.girlkisser.lazuli.api.block
-
Provides a large number of helper functions for block entities with fluid handlers.
- IInventoryBE<T> - Interface in top.girlkisser.lazuli.api.block
-
Provides a large number of helper functions for block entities with inventories.
- imageHeight - Variable in class top.girlkisser.lazuli.api.client.screen.AbstractLazuliMenuScreen
-
The screen's height.
- imageWidth - Variable in class top.girlkisser.lazuli.api.client.screen.AbstractLazuliMenuScreen
-
The screen's width.
- index - Variable in class top.girlkisser.lazuli.api.inventory.RoundRobinInventory
-
The next index to insert an item into.
- ingredient() - Method in record class top.girlkisser.lazuli.api.crafting.CountedIngredient
-
Returns the value of the
ingredientrecord component. - init() - Method in class top.girlkisser.lazuli.api.client.screen.AbstractLazuliMenuScreen
- insertItem(int, ItemStack, boolean) - Method in class top.girlkisser.lazuli.api.inventory.GhostStackHandler
-
Use instead.
- insertItem(int, ItemStack, boolean) - Method in class top.girlkisser.lazuli.api.inventory.RoundRobinInventory
-
You should use
RoundRobinInventory.insertItem(ItemStack, boolean)instead since theignoredSlotparameter is ignored. - insertItem(ItemStack, boolean) - Method in class top.girlkisser.lazuli.api.inventory.LazuliItemStackHandler
-
Attempt to insert an item into the stack handler.
- insertItem(ItemStack, boolean) - Method in class top.girlkisser.lazuli.api.inventory.RoundRobinInventory
-
Inserts an item into the inventory.
- insertItem(ItemStackHandler, ItemStack, boolean) - Static method in class top.girlkisser.lazuli.api.inventory.LazuliItemStackHandler
-
Attempt to insert an item into the stack handler.
- insertItemInto(IItemHandler, ItemStack) - Static method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Inserts an item into the provided item handler.
- insertItemInto(IItemHandler, ItemStack, int, int) - Static method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Inserts an item into the provided item handler.
- INSTANCE - Static variable in class top.girlkisser.lazuli.api.client.particle2d.ScreenParticleEngine2D
-
A default instance to use.
- InstancedParticle2D - Class in top.girlkisser.lazuli.api.client.particle2d
-
Stores information about an active
IParticle2D. - InstancedParticle2D(IParticle2D, int) - Constructor for class top.girlkisser.lazuli.api.client.particle2d.InstancedParticle2D
-
Stores information about an active
IParticle2D. - invalidateWorkZone() - Method in interface top.girlkisser.lazuli.api.block.IZonedBE
-
Invalidates the cached work zone.
- inventory - Variable in class top.girlkisser.lazuli.api.block.AbstractInventoryBE
-
The block entity's inventory.
- inventory - Variable in class top.girlkisser.lazuli.api.block.AbstractSingleTankAndInventoryBE
-
The block entity's inventory
- IParticle2D - Interface in top.girlkisser.lazuli.api.client.particle2d
-
Provides methods for rendering particles in a 2D space.
- IParticleEngine2D - Interface in top.girlkisser.lazuli.api.client.particle2d
-
Provides methods to manage particles in a 2D space.
- IS_ADULT_ANIMAL - Static variable in interface top.girlkisser.lazuli.api.block.IZonedBE
-
Returns `true` when the entity is an animal and is an adult.
- IS_BABY - Static variable in interface top.girlkisser.lazuli.api.block.IZonedBE
-
Returns `true` when the entity is a baby.
- IS_BABY_ANIMAL - Static variable in interface top.girlkisser.lazuli.api.block.IZonedBE
-
Returns `true` when the entity is an animal and is a baby.
- IS_ITEM - Static variable in interface top.girlkisser.lazuli.api.block.IZonedBE
-
Returns `true` when the entity is an
ItemEntity. - IS_PLAYER - Static variable in interface top.girlkisser.lazuli.api.block.IZonedBE
-
Returns `true` when the entity is a
Player. - isEmpty() - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
- isEmpty() - Method in record class top.girlkisser.lazuli.api.crafting.EntityRecipeInput
- isEmpty() - Method in record class top.girlkisser.lazuli.api.crafting.FluidStackInput
- isEmpty() - Method in record class top.girlkisser.lazuli.api.crafting.ItemEntityRecipeInput
- ISerializableEnergyStorage - Interface in top.girlkisser.lazuli.api.energy
-
An NBT serializable energy storage.
- ISerializableFluidHandler - Interface in top.girlkisser.lazuli.api.fluid
-
A serializable fluid handler.
- ISerializableItemHandler - Interface in top.girlkisser.lazuli.api.inventory
-
An NBT serializable item handler.
- isFake() - Method in class top.girlkisser.lazuli.api.menu.GhostSlot
- isFull(IItemHandler) - Static method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Returns true if the given handler has no empty slots.
- isGameActive() - Static method in class top.girlkisser.lazuli.api.client.LazuliClientHelpers
-
Gets whether the game is paused or not.
- ISingleTankBE - Interface in top.girlkisser.lazuli.api.block
-
A basic interface for block entities with a single tank.
- isInventoryFull() - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Gets whether the inventory has no empty slots.
- isItemValid(int, ItemStack) - Method in class top.girlkisser.lazuli.api.inventory.GhostStackHandler
- isPresent() - Method in class top.girlkisser.lazuli.api.misc.ArgLazy
-
Gets whether the lazy's value has been generated or not.
- it() - Method in record class top.girlkisser.lazuli.api.collections.WeightedRandomList.Entry
-
Returns the value of the
itrecord component. - ItemEntityRecipeInput - Record Class in top.girlkisser.lazuli.api.crafting
-
A recipe input for a
net.minecraft.core.NonNullList<net.minecraft.world.entity.item.ItemEntity>. - ItemEntityRecipeInput(NonNullList<ItemEntity>) - Constructor for record class top.girlkisser.lazuli.api.crafting.ItemEntityRecipeInput
-
Creates an instance of a
ItemEntityRecipeInputrecord class. - itemHandler - Variable in class top.girlkisser.lazuli.api.block.AbstractCapacitorBE
-
The capacitor's item handler.
- ITickableBE - Interface in top.girlkisser.lazuli.api.block
-
Implements methods for ticking on the server and the client.
- IZonedBE - Interface in top.girlkisser.lazuli.api.block
-
A block entity with a "working zone."
L
- Lazuli - Class in top.girlkisser.lazuli
-
Woohoo the Lazuli mod! :3 (JavaDoc is making me put a comment here.
- Lazuli(IEventBus, ModContainer, Dist) - Constructor for class top.girlkisser.lazuli.Lazuli
-
Don't ever use this.
- LazuliClientHelpers - Class in top.girlkisser.lazuli.api.client
-
Misc client helpers.
- LazuliDataComponents - Class in top.girlkisser.lazuli.common
-
Common data components that can be used by mods depending on Lazuli.
- LazuliEnergyStorage - Class in top.girlkisser.lazuli.api.energy
-
A basic serializable energy storage implementation.
- LazuliEnergyStorage(int, int, int) - Constructor for class top.girlkisser.lazuli.api.energy.LazuliEnergyStorage
-
A basic serializable energy storage implementation.
- LazuliExtraCodecs - Interface in top.girlkisser.lazuli.api.codec
-
Extra codecs for random things.
- LazuliItem - Interface in top.girlkisser.lazuli.api.item
-
Provides a large handful of generic helpers for items.
- LazuliItemStackHandler - Class in top.girlkisser.lazuli.api.inventory
-
An
ItemStackHandlerwith some helper methods. - LazuliItemStackHandler() - Constructor for class top.girlkisser.lazuli.api.inventory.LazuliItemStackHandler
-
Creates a LazuliItemStackHandler with a size of 1.
- LazuliItemStackHandler(int) - Constructor for class top.girlkisser.lazuli.api.inventory.LazuliItemStackHandler
-
Creates a LazuliItemStackHandler with the given size.
- LazuliItemStackHandler(NonNullList<ItemStack>) - Constructor for class top.girlkisser.lazuli.api.inventory.LazuliItemStackHandler
-
Creates a LazuliItemStackHandler with the given stacks.
- leftPos - Variable in class top.girlkisser.lazuli.api.client.screen.AbstractLazuliMenuScreen
-
The screen's X position on the window.
- lifetime() - Method in interface top.girlkisser.lazuli.api.client.particle2d.IParticle2D
-
Gets the total lifetime of this particle in ticks.
- lifetime() - Method in record class top.girlkisser.lazuli.api.client.particle2d.SimpleParticle2D
-
Returns the value of the
lifetimerecord component. - lifetimeLeft - Variable in class top.girlkisser.lazuli.api.client.particle2d.InstancedParticle2D
-
The ticks left until this particle is removed.
- limitedStringCodec(Set<String>) - Static method in record class top.girlkisser.lazuli.api.codec.LimitedStringCodec
-
Create a
LimitedStringCodecallowing the provided values. - LimitedStringCodec - Record Class in top.girlkisser.lazuli.api.codec
-
A string codec that only allows specified values.
- LimitedStringCodec(Set<String>) - Constructor for record class top.girlkisser.lazuli.api.codec.LimitedStringCodec
-
Creates an instance of a
LimitedStringCodecrecord class. - LIST_CODEC - Static variable in record class top.girlkisser.lazuli.api.colour.UnpackedColour
- LIST_CODEC - Static variable in class top.girlkisser.lazuli.api.inventory.GhostStackHandler
-
A codec for a
net.minecraft.core.NonNullList<GhostItemStack>. - LIST_CODEC - Static variable in record class top.girlkisser.lazuli.api.mathematics.CubicBezier
-
A codec for a cubic Bézier curve with the following format:
[ { "x": 0.0, "y": 0.0 }, { "x": 0.25, "y": 0.5 }, { "x": 0.75, "y": 0.2 }, { "x": 1.0, "y": 1.0 } ] - LIST_CODEC - Static variable in record class top.girlkisser.lazuli.api.mathematics.QuadraticBezier
-
A codec for a quadratic Bézier curve with the following format:
[ { "x": 0.0, "y": 0.0 }, { "x": 0.5, "y": 0.5 }, { "x": 1.0, "y": 1.0 } ] - LIST_STREAM_CODEC - Static variable in record class top.girlkisser.lazuli.api.mathematics.CubicBezier
- LIST_STREAM_CODEC - Static variable in record class top.girlkisser.lazuli.api.mathematics.QuadraticBezier
- loadAdditional(CompoundTag, HolderLookup.Provider) - Method in class top.girlkisser.lazuli.api.block.AbstractCapacitorBE
- loadAdditional(CompoundTag, HolderLookup.Provider) - Method in class top.girlkisser.lazuli.api.block.AbstractEnergyBE
- loadAdditional(CompoundTag, HolderLookup.Provider) - Method in class top.girlkisser.lazuli.api.block.AbstractInventoryBE
- loadAdditional(CompoundTag, HolderLookup.Provider) - Method in class top.girlkisser.lazuli.api.block.AbstractSingleTankAndInventoryBE
- loadAdditional(CompoundTag, HolderLookup.Provider) - Method in class top.girlkisser.lazuli.api.block.AbstractSingleTankBE
- LOGGER - Static variable in class top.girlkisser.lazuli.Lazuli
-
Lazuli's logger.
M
- makeEnergyStorage() - Method in class top.girlkisser.lazuli.api.block.AbstractEnergyBE
-
Creates the block entity's energy storage.
- makeFluidHandler(ItemStack) - Method in interface top.girlkisser.lazuli.api.item.LazuliItem
-
Creates a fluid handler for the item.
- makeFluidTank() - Method in class top.girlkisser.lazuli.api.block.AbstractSingleTankAndInventoryBE
-
Creates the fluid tank for the block entity.
- makeFluidTank() - Method in class top.girlkisser.lazuli.api.block.AbstractSingleTankBE
-
Creates the fluid tank for the block entity.
- makeItemStackHandler() - Method in class top.girlkisser.lazuli.api.block.AbstractInventoryBE
-
Instantiates an inventory for the block entity.
- makeItemStackHandler() - Method in class top.girlkisser.lazuli.api.block.AbstractSingleTankAndInventoryBE
-
Creates the item stack handler for the block entity.
- makeSlot(Container, int, int, int) - Method in interface top.girlkisser.lazuli.api.menu.AbstractLazuliContainer.SlotFactory
-
Creates a slot using the provided coordinates, index, and container.
- Mathematics - Class in top.girlkisser.lazuli.api.mathematics
-
Provides a handful of helpers for math related things.
- MAX_PARTICLES - Static variable in class top.girlkisser.lazuli.api.client.particle2d.ScreenParticleEngine2D
-
The maximum number of particles allowed at any given time.
- maxLength - Variable in class top.girlkisser.lazuli.api.collections.HistoryList
-
The maximum combined length of each list.
- mayPlace(ItemStack) - Method in class top.girlkisser.lazuli.api.menu.SlotOutputOnly
- menu - Variable in class top.girlkisser.lazuli.api.client.screen.AbstractLazuliMenuScreen
-
The menu.
- MODID - Static variable in class top.girlkisser.lazuli.Lazuli
-
Lazuli's mod ID
- modulateAlpha(RandomSource, int) - Method in record class top.girlkisser.lazuli.api.colour.UnpackedColour
-
Add
random.nextInt(-variance, variance)to the alpha value. - modulateRGB(RandomSource, int) - Method in record class top.girlkisser.lazuli.api.colour.UnpackedColour
-
Add
random.nextInt(-variance, variance)to the R, G, and B values.
N
- newBlockEntity(BlockPos, BlockState) - Method in class top.girlkisser.lazuli.api.block.AbstractBlockWithEntity
- NOT_BABY - Static variable in interface top.girlkisser.lazuli.api.block.IZonedBE
-
Returns `true` when the entity is **NOT** a baby.
- NOT_ITEM - Static variable in interface top.girlkisser.lazuli.api.block.IZonedBE
-
Returns `true` when the entity is **NOT**
Player. - NOT_PLAYER - Static variable in interface top.girlkisser.lazuli.api.block.IZonedBE
-
Returns `true` when the entity is **NOT** a
Player.
O
- of(ItemStack) - Static method in class top.girlkisser.lazuli.api.item.GhostItemStack
-
Create a ghost item stack of the given stack with a count of 1.
- ofBlock(BlockPos) - Static method in class top.girlkisser.lazuli.api.world.AABBHelpers
-
Get an
AABBencapsulating only the provided block position. - onChange() - Method in class top.girlkisser.lazuli.api.energy.LazuliEnergyStorage
-
Invoked when the energy storage changes.
- onContentsChanged(int) - Method in class top.girlkisser.lazuli.api.inventory.GhostStackHandler
-
Invoked any time the contents of the ghost stack handler change.
- onRedo(T) - Method in class top.girlkisser.lazuli.api.collections.HistoryList
-
Invoked any time
HistoryList.redo()is called successfully. - onUndo(T) - Method in class top.girlkisser.lazuli.api.collections.HistoryList
-
Invoked any time
HistoryList.undo()is called successfully. - overlayTexture - Variable in class top.girlkisser.lazuli.api.fluid.BasicFluidType
-
The texture to use for the fluid's overlay texture.
P
- pack() - Method in record class top.girlkisser.lazuli.api.colour.UnpackedColour
-
Gets the colour as a packed integer in ARGB32 format.
- PACKED_CODEC - Static variable in record class top.girlkisser.lazuli.api.colour.ColourPalette
- PACKED_CODEC - Static variable in record class top.girlkisser.lazuli.api.colour.UnpackedColour
- PACKED_STREAM_CODEC - Static variable in record class top.girlkisser.lazuli.api.colour.ColourPalette
- particle - Variable in class top.girlkisser.lazuli.api.client.particle2d.InstancedParticle2D
-
The particle.
- ParticleHelper - Class in top.girlkisser.lazuli.api.client.particle
-
Generic helper functions for particles.
- particleQueue - Variable in class top.girlkisser.lazuli.api.client.particle2d.ScreenParticleEngine2D
-
A queue of particles to add on the next frame.
- particles - Variable in class top.girlkisser.lazuli.api.client.particle2d.ScreenParticleEngine2D
-
The current list of particles.
- pick(RandomSource) - Method in class top.girlkisser.lazuli.api.collections.WeightedRandomList
-
Pick a random value from the list.
- placeBlockItem(ServerLevel, BlockPos, ItemStack, Direction) - Static method in class top.girlkisser.lazuli.api.world.FakePlayerHelpers
-
Places a block item.
- playerInventory - Variable in class top.girlkisser.lazuli.api.menu.AbstractLazuliContainer
-
The player's inventory.
- pointWithinRectangle(int, int, int, int, int, int) - Static method in class top.girlkisser.lazuli.api.mathematics.Mathematics
-
Checks if the provided point is within the rectangle.
- pos - Variable in class top.girlkisser.lazuli.api.menu.AbstractBlockEntityContainer
-
The container block entity's position.
- position() - Method in interface top.girlkisser.lazuli.api.client.particle2d.IParticle2D
-
Gets the position to render the particle at.
- position() - Method in record class top.girlkisser.lazuli.api.client.particle2d.SimpleParticle2D
-
Returns the value of the
positionrecord component. - properlyBoundedStreamAABB(AABB) - Static method in class top.girlkisser.lazuli.api.world.AABBHelpers
-
The same as but excludes
minX/Y/Z. - ProtectiveEnergyStorage - Class in top.girlkisser.lazuli.api.energy
-
An energy storage implementation that provides forceful receive/extract methods.
- ProtectiveEnergyStorage(int, int, int) - Constructor for class top.girlkisser.lazuli.api.energy.ProtectiveEnergyStorage
-
An energy storage implementation that provides forceful receive/extract methods.
- push(T) - Method in class top.girlkisser.lazuli.api.collections.HistoryList
-
Pushes an item onto the history.
Q
- QuadraticBezier - Record Class in top.girlkisser.lazuli.api.mathematics
-
A quadratic Bézier curve implementation.
- QuadraticBezier(float, float) - Constructor for record class top.girlkisser.lazuli.api.mathematics.QuadraticBezier
-
Create a quadratic Bézier curve using the provided coordinates for the control point.
- QuadraticBezier(float, float, float, float, float, float) - Constructor for record class top.girlkisser.lazuli.api.mathematics.QuadraticBezier
-
Create a quadratic Bézier curve using the provided coordinates for points.
- QuadraticBezier(Vector2f) - Constructor for record class top.girlkisser.lazuli.api.mathematics.QuadraticBezier
-
Create a quadratic Bézier curve using the provided control point.
- QuadraticBezier(Vector2f, Vector2f, Vector2f) - Constructor for record class top.girlkisser.lazuli.api.mathematics.QuadraticBezier
-
Creates an instance of a
QuadraticBezierrecord class. - quickMoveStack(Player, int) - Method in class top.girlkisser.lazuli.api.menu.AbstractLazuliContainer
R
- r() - Method in record class top.girlkisser.lazuli.api.colour.UnpackedColour
-
Returns the value of the
rrecord component. - R - Static variable in class top.girlkisser.lazuli.common.LazuliDataComponents
-
JavaDoc is holding me hostage...
- rangeOf(int) - Static method in class top.girlkisser.lazuli.api.collections.ArrayHelpers
-
Creates an array using the provided range where the starting value is 0.
- rangeOf(int, int) - Static method in class top.girlkisser.lazuli.api.collections.ArrayHelpers
-
Creates an array using the provided range.
- rangeOf(int, int, int) - Static method in class top.girlkisser.lazuli.api.collections.ArrayHelpers
-
Creates an array using the provided range.
- raycast(Entity, double, boolean) - Static method in class top.girlkisser.lazuli.api.world.Raycasting
-
Performs a raycast.
- Raycasting - Class in top.girlkisser.lazuli.api.world
-
Helpers for performing raycasts.
- receiveEnergy(int, boolean) - Method in class top.girlkisser.lazuli.api.energy.LazuliEnergyStorage
-
Add energy to the storage.
- redo() - Method in class top.girlkisser.lazuli.api.collections.HistoryList
-
Undo the lastest
HistoryList.undo(). - redoHistory - Variable in class top.girlkisser.lazuli.api.collections.HistoryList
-
A stack containing the elements to add to
HistoryList.datawhenHistoryList.redo()is invoked. - removeEntityFromWorld(int) - Method in record class top.girlkisser.lazuli.api.crafting.ItemEntityRecipeInput
-
Remove the item entity with the given index from the world.
- removeItem(int, int) - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Removes `amount` items from the given slot and returns the taken
ItemStack. - removeItem(int, int) - Method in record class top.girlkisser.lazuli.api.crafting.ItemEntityRecipeInput
- removeItemNoUpdate(int) - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Removes the item from the given slot without updating the container.
- removeItemNoUpdate(int) - Method in record class top.girlkisser.lazuli.api.crafting.ItemEntityRecipeInput
- render(GuiGraphics, float) - Method in interface top.girlkisser.lazuli.api.client.particle2d.IParticleEngine2D
-
Render all particles using the provided
GuiGraphics. - render(GuiGraphics, float) - Method in class top.girlkisser.lazuli.api.client.particle2d.ScreenParticleEngine2D
- render(GuiGraphics, int, int, float) - Method in class top.girlkisser.lazuli.api.client.screen.AbstractLazuliContainerScreen
- render(InstancedParticle2D, GuiGraphics, float) - Method in interface top.girlkisser.lazuli.api.client.particle2d.IParticle2D
-
Renders this particle using the provided
GuiGraphics. - render(InstancedParticle2D, GuiGraphics, float) - Method in record class top.girlkisser.lazuli.api.client.particle2d.SimpleParticle2D
- renderBackground(GuiGraphics, int, int, float) - Method in class top.girlkisser.lazuli.api.client.screen.AbstractLazuliMenuScreen
- renderBg(GuiGraphics, float, int, int) - Method in class top.girlkisser.lazuli.api.client.screen.AbstractLazuliContainerScreen
- renderBg(GuiGraphics, float, int, int) - Method in class top.girlkisser.lazuli.api.client.screen.AbstractLazuliMenuScreen
-
Renders the background.
- renderFluidGui(FluidStack, GuiGraphics, int, int, int, int) - Static method in class top.girlkisser.lazuli.api.client.FluidRenderingHelpers
-
Renders the provided fluid stack in the GUI.
- renderFluidTankGui(FluidStack, int, GuiGraphics, int, int, int, int) - Static method in class top.girlkisser.lazuli.api.client.FluidRenderingHelpers
-
Renders the provided fluid stack in the GUI.
- roll(RandomSource) - Method in record class top.girlkisser.lazuli.api.fluid.ChancedFluidStack
-
Get either the contained
FluidStackorFluidStack.EMPTY. - roll(RandomSource) - Method in record class top.girlkisser.lazuli.api.item.ChancedItemStack
-
Get either the contained
ItemStackorItemStack.EMPTY. - RoundRobinInventory - Class in top.girlkisser.lazuli.api.inventory
-
An inventory that inserts items round-robin into the inventory.
- RoundRobinInventory() - Constructor for class top.girlkisser.lazuli.api.inventory.RoundRobinInventory
-
Creates a round-robin inventory with a size of 1.
- RoundRobinInventory(int) - Constructor for class top.girlkisser.lazuli.api.inventory.RoundRobinInventory
-
Creates a round-robin inventory with the given size.
- RoundRobinInventory(NonNullList<ItemStack>) - Constructor for class top.girlkisser.lazuli.api.inventory.RoundRobinInventory
-
Creates a round-robin inventory with the given stacks.
S
- safeInsert(ItemStack) - Method in class top.girlkisser.lazuli.api.menu.SlotOutputOnly
- safeInsert(ItemStack, int) - Method in class top.girlkisser.lazuli.api.menu.GhostSlot
- safeInsert(ItemStack, int) - Method in class top.girlkisser.lazuli.api.menu.SlotOutputOnly
- sample(float) - Method in record class top.girlkisser.lazuli.api.mathematics.CubicBezier
-
Get the point for the given `t` value.
- sample(float) - Method in record class top.girlkisser.lazuli.api.mathematics.QuadraticBezier
-
Get the point for the given `t` value.
- saveAdditional(CompoundTag, HolderLookup.Provider) - Method in class top.girlkisser.lazuli.api.block.AbstractCapacitorBE
- saveAdditional(CompoundTag, HolderLookup.Provider) - Method in class top.girlkisser.lazuli.api.block.AbstractEnergyBE
- saveAdditional(CompoundTag, HolderLookup.Provider) - Method in class top.girlkisser.lazuli.api.block.AbstractInventoryBE
- saveAdditional(CompoundTag, HolderLookup.Provider) - Method in class top.girlkisser.lazuli.api.block.AbstractSingleTankAndInventoryBE
- saveAdditional(CompoundTag, HolderLookup.Provider) - Method in class top.girlkisser.lazuli.api.block.AbstractSingleTankBE
- scheduleWork(int, Runnable) - Method in class top.girlkisser.lazuli.api.misc.TickScheduler
-
Schedule a task to run in
inTicksticks. - ScreenParticleEngine2D - Class in top.girlkisser.lazuli.api.client.particle2d
-
A particle engine for
Screens. - ScreenParticleEngine2D() - Constructor for class top.girlkisser.lazuli.api.client.particle2d.ScreenParticleEngine2D
-
A particle engine for
Screens. - serializeNBT(HolderLookup.Provider) - Method in class top.girlkisser.lazuli.api.inventory.GhostStackHandler
- serializeNBT(HolderLookup.Provider) - Method in class top.girlkisser.lazuli.api.item.GhostItemStack
- SERVER - Static variable in class top.girlkisser.lazuli.api.misc.TickScheduler
-
A tick scheduler for the server.
- serverTick(ServerLevel) - Method in class top.girlkisser.lazuli.api.block.AbstractCapacitorBE
- serverTick(ServerLevel) - Method in class top.girlkisser.lazuli.api.block.AbstractGeneratorBE
- serverTick(ServerLevel) - Method in interface top.girlkisser.lazuli.api.block.ITickableBE
-
Invoked on the server every tick.
- setChanged() - Method in interface top.girlkisser.lazuli.api.block.IBE
-
Mark the block entity as having changed.
- setChanged() - Method in record class top.girlkisser.lazuli.api.crafting.ItemEntityRecipeInput
-
Deprecated.
- setItem(int, ItemStack) - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Set the
ItemStackin the given slot. - setItem(int, ItemStack) - Method in record class top.girlkisser.lazuli.api.crafting.ItemEntityRecipeInput
- setStackInSlot(int, ItemStack) - Method in class top.girlkisser.lazuli.api.inventory.GhostStackHandler
- shouldEjectItems() - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Whether the inventory should eject any items inside its inventory.
- SimpleParticle2D - Record Class in top.girlkisser.lazuli.api.client.particle2d
-
A simple implementation of
IParticle2D. - SimpleParticle2D(ResourceLocation, Vector2f, Vector2f, Vector2f, Vector2i, int) - Constructor for record class top.girlkisser.lazuli.api.client.particle2d.SimpleParticle2D
-
Creates an instance of a
SimpleParticle2Drecord class. - size() - Method in interface top.girlkisser.lazuli.api.client.particle2d.IParticle2D
-
Gets the size to render the particle at.
- size() - Method in record class top.girlkisser.lazuli.api.client.particle2d.SimpleParticle2D
-
Returns the value of the
sizerecord component. - size() - Method in record class top.girlkisser.lazuli.api.crafting.EntityRecipeInput
- size() - Method in record class top.girlkisser.lazuli.api.crafting.FluidStackInput
- size() - Method in record class top.girlkisser.lazuli.api.crafting.ItemEntityRecipeInput
- slotCount - Variable in class top.girlkisser.lazuli.api.menu.AbstractLazuliContainer
-
The amount of slots in the container.
- SlotOutputOnly - Class in top.girlkisser.lazuli.api.menu
-
A slot that allows extracts but not inserts.
- SlotOutputOnly(Container, int, int, int) - Constructor for class top.girlkisser.lazuli.api.menu.SlotOutputOnly
-
A slot that allows extracts but not inserts.
- slots - Variable in class top.girlkisser.lazuli.api.block.AbstractInventoryBE
-
The amount of slots that the inventory has.
- slots - Variable in class top.girlkisser.lazuli.api.block.AbstractSingleTankAndInventoryBE
-
The amount of slots the inventory has.
- stack() - Method in record class top.girlkisser.lazuli.api.fluid.ChancedFluidStack
-
Returns the value of the
stackrecord component. - stack() - Method in record class top.girlkisser.lazuli.api.item.ChancedItemStack
-
Returns the value of the
stackrecord component. - stacks - Variable in class top.girlkisser.lazuli.api.inventory.GhostStackHandler
-
The contained ghost stacks.
- start() - Method in record class top.girlkisser.lazuli.api.mathematics.CubicBezier
-
Returns the value of the
startrecord component. - start() - Method in record class top.girlkisser.lazuli.api.mathematics.QuadraticBezier
-
Returns the value of the
startrecord component. - stillTexture - Variable in class top.girlkisser.lazuli.api.fluid.BasicFluidType
-
The texture to use for the fluid's still texture.
- stillValid(Player) - Method in interface top.girlkisser.lazuli.api.block.IInventoryBE
-
Returns true if the container is still valid for the player to interact with.
- stillValid(Player) - Method in record class top.girlkisser.lazuli.api.crafting.ItemEntityRecipeInput
- stillValid(Player) - Method in class top.girlkisser.lazuli.api.menu.AbstractBlockEntityContainer
- STREAM_CODEC - Static variable in record class top.girlkisser.lazuli.api.crafting.BlockIngredient
- STREAM_CODEC - Static variable in record class top.girlkisser.lazuli.api.crafting.BlockOutput
- STREAM_CODEC - Static variable in record class top.girlkisser.lazuli.api.crafting.CountedIngredient
- STREAM_CODEC - Static variable in record class top.girlkisser.lazuli.api.fluid.ChancedFluidStack
- STREAM_CODEC - Static variable in record class top.girlkisser.lazuli.api.item.ChancedItemStack
- STREAM_CODEC - Static variable in record class top.girlkisser.lazuli.api.mathematics.CubicBezier
- STREAM_CODEC - Static variable in record class top.girlkisser.lazuli.api.mathematics.QuadraticBezier
- STRING_CODEC - Static variable in record class top.girlkisser.lazuli.api.colour.UnpackedColour
- sync(BlockEntity) - Static method in class top.girlkisser.lazuli.api.world.SyncUtils
-
Sync the block and its block entity at the given location.
- sync(Level, BlockPos) - Static method in class top.girlkisser.lazuli.api.world.SyncUtils
-
Update clients of the block state at the given position.
- SyncUtils - Class in top.girlkisser.lazuli.api.world
-
Provides tiny utilities for syncing blocks and block entities.
T
- tag() - Method in record class top.girlkisser.lazuli.api.crafting.BlockIngredient.BIRL
-
Returns the value of the
tagrecord component. - tag() - Method in record class top.girlkisser.lazuli.api.crafting.BlockIngredient
-
Returns the value of the
tagrecord component. - tank - Variable in class top.girlkisser.lazuli.api.block.AbstractSingleTankAndInventoryBE
-
The block entity's fluid tank.
- tank - Variable in class top.girlkisser.lazuli.api.block.AbstractSingleTankBE
-
The block entity's fluid tank.
- tankCapacity - Variable in class top.girlkisser.lazuli.api.block.AbstractSingleTankAndInventoryBE
-
The tank's capacity in mB.
- test(BlockState) - Method in record class top.girlkisser.lazuli.api.crafting.BlockIngredient
-
Match the block state to the ingredient.
- texture() - Method in interface top.girlkisser.lazuli.api.client.particle2d.IParticle2D
-
The texture to render the particle with.
- texture() - Method in record class top.girlkisser.lazuli.api.client.particle2d.SimpleParticle2D
-
Returns the value of the
texturerecord component. - tick() - Method in class top.girlkisser.lazuli.api.misc.TickScheduler
-
Ticks the scheduler.
- TickScheduler - Class in top.girlkisser.lazuli.api.misc
-
Allows you to schedule one-shot events that occur in some amount of ticks.
- TickScheduler() - Constructor for class top.girlkisser.lazuli.api.misc.TickScheduler
-
Allows you to schedule one-shot events that occur in some amount of ticks.
- tintColour - Variable in class top.girlkisser.lazuli.api.fluid.BasicFluidType
-
The fluid type's tint colour as a packed integer.
- toBIRL() - Method in record class top.girlkisser.lazuli.api.crafting.BlockIngredient
-
Converts the block ingredient to a
BlockIngredient.BIRL("Block Ingredient from Resource Location"). - toBlockOutput() - Method in record class top.girlkisser.lazuli.api.crafting.BlockOutput.BORL
-
Converts the BORL to a
BlockOutput. - toBORL() - Method in record class top.girlkisser.lazuli.api.crafting.BlockOutput
-
Converts the block output to a
BlockOutput.BORL("Block Output from Resource Location"). - toColorRGBA() - Method in record class top.girlkisser.lazuli.api.colour.UnpackedColour
-
Converts the unpacked colour to a
ColorRGBA. - toIngredient() - Method in record class top.girlkisser.lazuli.api.crafting.BlockIngredient.BIRL
-
Converts the BIRL to a
BlockIngredient. - toItemIngredient() - Method in record class top.girlkisser.lazuli.api.crafting.BlockIngredient
-
Converts the block ingredient to an item ingredient (using
Block.asItem()) - TooltipUtil - Class in top.girlkisser.lazuli.api.item
-
Provides misc helpers for item tooltips.
- top.girlkisser.lazuli - package top.girlkisser.lazuli
-
Lazuli is a personal library mod made to make modding a little less tedious.
- top.girlkisser.lazuli.api.block - package top.girlkisser.lazuli.api.block
-
Contains helpers for blocks and block entities.
- top.girlkisser.lazuli.api.client - package top.girlkisser.lazuli.api.client
-
Client helpers, contains: - Particle helpers - 2D particle engine - Screen (GUI) helpers - Fluid rendering utilities
- top.girlkisser.lazuli.api.client.particle - package top.girlkisser.lazuli.api.client.particle
-
Particle helpers.
- top.girlkisser.lazuli.api.client.particle2d - package top.girlkisser.lazuli.api.client.particle2d
-
Implements a 2D particle engine, primarily for GUIs, although it can be easily adapted for other use cases as well.
- top.girlkisser.lazuli.api.client.screen - package top.girlkisser.lazuli.api.client.screen
-
Provides screen (GUI) helpers.
- top.girlkisser.lazuli.api.codec - package top.girlkisser.lazuli.api.codec
-
Provides extra/niche codecs.
- top.girlkisser.lazuli.api.collections - package top.girlkisser.lazuli.api.collections
-
Provides general helpers for collections (lists, arrays, etc.).
- top.girlkisser.lazuli.api.colour - package top.girlkisser.lazuli.api.colour
-
Provides basic helpers for colours.
- top.girlkisser.lazuli.api.crafting - package top.girlkisser.lazuli.api.crafting
-
Provides helpers for recipes, recipe inputs, ingredients, etc.
- top.girlkisser.lazuli.api.energy - package top.girlkisser.lazuli.api.energy
-
Provides helpers for energy (RF/FE).
- top.girlkisser.lazuli.api.fluid - package top.girlkisser.lazuli.api.fluid
-
Provides helpers for fluid (millibuckets/mB).
- top.girlkisser.lazuli.api.inventory - package top.girlkisser.lazuli.api.inventory
-
Provides helpers for inventories and item stack handlers.
- top.girlkisser.lazuli.api.item - package top.girlkisser.lazuli.api.item
-
Provides helpers for items.
- top.girlkisser.lazuli.api.mathematics - package top.girlkisser.lazuli.api.mathematics
-
Provides some math helpers.
- top.girlkisser.lazuli.api.menu - package top.girlkisser.lazuli.api.menu
-
Provides helpers for container (menu) GUIs.
- top.girlkisser.lazuli.api.misc - package top.girlkisser.lazuli.api.misc
-
Misc helpers provided by Lazuli.
- top.girlkisser.lazuli.api.world - package top.girlkisser.lazuli.api.world
-
Provides helpers for doing things in the world.
- top.girlkisser.lazuli.common - package top.girlkisser.lazuli.common
-
"Content" provided by Lazuli.
- topPos - Variable in class top.girlkisser.lazuli.api.client.screen.AbstractLazuliMenuScreen
-
The screen's Y position on the window.
- toString() - Method in record class top.girlkisser.lazuli.api.client.particle2d.SimpleParticle2D
-
Returns a string representation of this record class.
- toString() - Method in record class top.girlkisser.lazuli.api.codec.LimitedStringCodec
-
Returns a string representation of this record class.
- toString() - Method in record class top.girlkisser.lazuli.api.collections.WeightedRandomList.Entry
-
Returns a string representation of this record class.
- toString() - Method in record class top.girlkisser.lazuli.api.colour.ColourPalette
-
Returns a string representation of this record class.
- toString() - Method in record class top.girlkisser.lazuli.api.colour.UnpackedColour
-
Returns a string representation of this record class.
- toString() - Method in record class top.girlkisser.lazuli.api.crafting.BlockIngredient.BIRL
-
Returns a string representation of this record class.
- toString() - Method in record class top.girlkisser.lazuli.api.crafting.BlockIngredient
-
Returns a string representation of this record class.
- toString() - Method in record class top.girlkisser.lazuli.api.crafting.BlockOutput.BORL
-
Returns a string representation of this record class.
- toString() - Method in record class top.girlkisser.lazuli.api.crafting.BlockOutput
-
Returns a string representation of this record class.
- toString() - Method in record class top.girlkisser.lazuli.api.crafting.CountedIngredient
-
Returns a string representation of this record class.
- toString() - Method in record class top.girlkisser.lazuli.api.crafting.EntityRecipeInput
-
Returns a string representation of this record class.
- toString() - Method in record class top.girlkisser.lazuli.api.crafting.FluidStackInput
-
Returns a string representation of this record class.
- toString() - Method in record class top.girlkisser.lazuli.api.crafting.ItemEntityRecipeInput
-
Returns a string representation of this record class.
- toString() - Method in record class top.girlkisser.lazuli.api.fluid.ChancedFluidStack
-
Returns a string representation of this record class.
- toString() - Method in record class top.girlkisser.lazuli.api.item.ChancedItemStack
-
Returns a string representation of this record class.
- toString() - Method in record class top.girlkisser.lazuli.api.mathematics.CubicBezier
-
Returns a string representation of this record class.
- toString() - Method in record class top.girlkisser.lazuli.api.mathematics.QuadraticBezier
-
Returns a string representation of this record class.
- tryDistributeFluid() - Method in interface top.girlkisser.lazuli.api.block.ISingleTankBE
-
Attempts to distribute fluid to neighbouring blocks.
- tryDistributeFluid(IFluidTank, Level, int, IBE) - Static method in interface top.girlkisser.lazuli.api.block.IFluidBE
-
Attempts to distribute fluid to neighbouring blocks.
- tryPushFluid(IFluidTank, Level, int, IBE, Direction) - Static method in interface top.girlkisser.lazuli.api.block.IFluidBE
-
Attempt to push fluid from a block entity in a given direction.
U
- undo() - Method in class top.girlkisser.lazuli.api.collections.HistoryList
-
Undo the lastest
HistoryList.push(Object). - UnpackedColour - Record Class in top.girlkisser.lazuli.api.colour
-
Represents an RGBA colour in an unpacked form.
- UnpackedColour(int) - Constructor for record class top.girlkisser.lazuli.api.colour.UnpackedColour
-
Creates an unpacked colour from the packed colour (expects ARGB32).
- UnpackedColour(int, int, int) - Constructor for record class top.girlkisser.lazuli.api.colour.UnpackedColour
-
Creates an unpacked colour using the provided R, G, and B values (0-255).
- UnpackedColour(int, int, int, int) - Constructor for record class top.girlkisser.lazuli.api.colour.UnpackedColour
-
Creates an instance of a
UnpackedColourrecord class.
V
- validate(FluidStack) - Method in class top.girlkisser.lazuli.api.block.AbstractSingleTankBE
-
A basic validator for fluid stacks.
- validateFluidStack(FluidStack) - Method in class top.girlkisser.lazuli.api.block.AbstractSingleTankAndInventoryBE
-
A basic validator for fluid stacks.
- values() - Method in record class top.girlkisser.lazuli.api.codec.LimitedStringCodec
-
Returns the value of the
valuesrecord component. - VECTOR2F - Static variable in interface top.girlkisser.lazuli.api.codec.LazuliExtraCodecs
-
A codec for a JOML
Vector2f. - VECTOR2F_STREAM_CODEC - Static variable in interface top.girlkisser.lazuli.api.codec.LazuliExtraCodecs
-
Stream codec for
LazuliExtraCodecs.VECTOR2F. - velocity() - Method in record class top.girlkisser.lazuli.api.client.particle2d.SimpleParticle2D
-
Returns the value of the
velocityrecord component.
W
- weight() - Method in interface top.girlkisser.lazuli.api.collections.WeightedRandomList.IWeighted
-
Gets the weight of this value.
- WeightedRandomList<T> - Class in top.girlkisser.lazuli.api.collections
-
A list for picking random values with weights.
- WeightedRandomList(List<T>) - Constructor for class top.girlkisser.lazuli.api.collections.WeightedRandomList
-
Create a weighted random list using the given values.
- WeightedRandomList.Entry<T> - Record Class in top.girlkisser.lazuli.api.collections
-
An entry in the list.
- WeightedRandomList.IWeighted - Interface in top.girlkisser.lazuli.api.collections
-
An interface for a weighted value.
All Classes and Interfaces|All Packages|Constant Field Values