Index

A B C D E F G H I L M N O P Q R S T U 
All Classes and Interfaces|All Packages|Constant Field Values

A

appendHoverText(ItemStack, Item.TooltipContext, TooltipDisplay, Consumer, TooltipFlag) - Method in class de.cech12.brickhopper.item.BrickHopperItem
 

B

BLOCK_ITEM_NAME - Static variable in class de.cech12.brickhopper.Constants
 
BRICK_HOPPER_BLOCK - Static variable in class de.cech12.brickhopper.Constants
 
BRICK_HOPPER_BLOCK_ENTITY_TYPE - Static variable in class de.cech12.brickhopper.Constants
 
BRICK_HOPPER_ITEM - Static variable in class de.cech12.brickhopper.Constants
 
BRICK_HOPPER_MENU_TYPE - Static variable in class de.cech12.brickhopper.Constants
 
BrickHopperBlock - Class in de.cech12.brickhopper.block
 
BrickHopperBlock(BlockBehaviour.Properties) - Constructor for class de.cech12.brickhopper.block.BrickHopperBlock
 
BrickHopperBlockEntity - Class in de.cech12.brickhopper.blockentity
 
BrickHopperBlockEntity(BlockPos, BlockState) - Constructor for class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 
BrickHopperContainer - Class in de.cech12.brickhopper.inventory
 
BrickHopperContainer(int, Inventory) - Constructor for class de.cech12.brickhopper.inventory.BrickHopperContainer
 
BrickHopperContainer(int, Inventory, Container) - Constructor for class de.cech12.brickhopper.inventory.BrickHopperContainer
 
BrickHopperItem - Class in de.cech12.brickhopper.item
 
BrickHopperItem(Block, Item.Properties) - Constructor for class de.cech12.brickhopper.item.BrickHopperItem
 
BrickHopperScreen - Class in de.cech12.brickhopper.client
 
BrickHopperScreen(BrickHopperContainer, Inventory, Component) - Constructor for class de.cech12.brickhopper.client.BrickHopperScreen
 

C

CODEC - Static variable in record class de.cech12.brickhopper.FabricBrickHopperMod.HopperData
 
CommonLoader - Class in de.cech12.brickhopper
A static class for all loaders which initializes everything which is used by all loaders.
CONFIG - Static variable in class de.cech12.brickhopper.platform.Services
Config instance
Constants - Class in de.cech12.brickhopper
Class that contains all common constants.
COOLDOWN - Variable in class de.cech12.brickhopper.platform.FabricConfigHelper
 
COOLDOWN_DEFAULT - Static variable in interface de.cech12.brickhopper.platform.services.IConfigHelper
Default value of the hoppers cooldown value
COOLDOWN_DESCRIPTION - Static variable in interface de.cech12.brickhopper.platform.services.IConfigHelper
Config description of the hoppers cooldown value
COOLDOWN_MAX - Static variable in interface de.cech12.brickhopper.platform.services.IConfigHelper
Maximal value of the hoppers cooldown value
COOLDOWN_MIN - Static variable in interface de.cech12.brickhopper.platform.services.IConfigHelper
Minimal value of the hoppers cooldown value
createMenu(int, Inventory) - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 

D

de.cech12.brickhopper - package de.cech12.brickhopper
 
de.cech12.brickhopper.block - package de.cech12.brickhopper.block
 
de.cech12.brickhopper.blockentity - package de.cech12.brickhopper.blockentity
 
de.cech12.brickhopper.client - package de.cech12.brickhopper.client
 
de.cech12.brickhopper.compat - package de.cech12.brickhopper.compat
 
de.cech12.brickhopper.inventory - package de.cech12.brickhopper.inventory
 
de.cech12.brickhopper.item - package de.cech12.brickhopper.item
 
de.cech12.brickhopper.platform - package de.cech12.brickhopper.platform
 
de.cech12.brickhopper.platform.services - package de.cech12.brickhopper.platform.services
 

E

empty() - Method in record class de.cech12.brickhopper.FabricBrickHopperMod.HopperData
Returns the value of the empty record component.
entityInside(BlockState, Level, BlockPos, Entity, InsideBlockEffectApplier, boolean) - Method in class de.cech12.brickhopper.block.BrickHopperBlock
 
equals(Object) - Method in record class de.cech12.brickhopper.FabricBrickHopperMod.HopperData
Indicates whether some other object is "equal to" this one.
extractBackground(GuiGraphicsExtractor, int, int, float) - Method in class de.cech12.brickhopper.client.BrickHopperScreen
 
extractRenderState(GuiGraphicsExtractor, int, int, float) - Method in class de.cech12.brickhopper.client.BrickHopperScreen
 

F

FabricBrickHopperBlock - Class in de.cech12.brickhopper.block
 
FabricBrickHopperBlock(BlockBehaviour.Properties) - Constructor for class de.cech12.brickhopper.block.FabricBrickHopperBlock
 
FabricBrickHopperBlockEntity - Class in de.cech12.brickhopper.blockentity
 
FabricBrickHopperBlockEntity(BlockPos, BlockState) - Constructor for class de.cech12.brickhopper.blockentity.FabricBrickHopperBlockEntity
 
FabricBrickHopperClientMod - Class in de.cech12.brickhopper.client
 
FabricBrickHopperClientMod() - Constructor for class de.cech12.brickhopper.client.FabricBrickHopperClientMod
 
FabricBrickHopperMod - Class in de.cech12.brickhopper
 
FabricBrickHopperMod() - Constructor for class de.cech12.brickhopper.FabricBrickHopperMod
 
FabricBrickHopperMod.HopperData - Record Class in de.cech12.brickhopper
 
FabricConfigHelper - Class in de.cech12.brickhopper.platform
The config service implementation for Fabric.
FabricConfigHelper() - Constructor for class de.cech12.brickhopper.platform.FabricConfigHelper
 
FabricPlatformHelper - Class in de.cech12.brickhopper.platform
The platform service implementation for Fabric.
FabricPlatformHelper() - Constructor for class de.cech12.brickhopper.platform.FabricPlatformHelper
 
FabricRegistryHelper - Class in de.cech12.brickhopper.platform
 
FabricRegistryHelper() - Constructor for class de.cech12.brickhopper.platform.FabricRegistryHelper
 

G

getAllAliveEntitiesAt(Level, double, double, double, Predicate) - Static method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 
getContainerSize() - Method in class de.cech12.brickhopper.blockentity.FabricBrickHopperBlockEntity
Returns the number of slots in the inventory.
getCooldown() - Method in class de.cech12.brickhopper.platform.FabricConfigHelper
 
getCooldown() - Method in interface de.cech12.brickhopper.platform.services.IConfigHelper
Gets the configured cooldown value.
getDefaultName() - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 
getEnvironmentName() - Method in interface de.cech12.brickhopper.platform.services.IPlatformHelper
Gets the name of the environment type as a string.
getItemHandler(Level, double, double, double, Direction) - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 
getItemHandler(Level, double, double, double, Direction) - Method in class de.cech12.brickhopper.blockentity.FabricBrickHopperBlockEntity
 
getItems() - Method in class de.cech12.brickhopper.blockentity.FabricBrickHopperBlockEntity
 
getLastUpdateTime() - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 
getLevelX() - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
Gets the world X position for this hopper entity.
getLevelY() - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
Gets the world Y position for this hopper entity.
getLevelZ() - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
Gets the world Z position for this hopper entity.
getModConfigScreenFactory() - Method in class de.cech12.brickhopper.compat.ModMenuCompat
 
getNewBlockEntity(BlockPos, BlockState) - Method in class de.cech12.brickhopper.platform.FabricRegistryHelper
 
getNewBlockEntity(BlockPos, BlockState) - Method in interface de.cech12.brickhopper.platform.services.IRegistryHelper
 
getOwnItemHandler() - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 
getOwnItemHandler() - Method in class de.cech12.brickhopper.blockentity.FabricBrickHopperBlockEntity
 
getPlatformName() - Method in class de.cech12.brickhopper.platform.FabricPlatformHelper
 
getPlatformName() - Method in interface de.cech12.brickhopper.platform.services.IPlatformHelper
Gets the name of the current platform
getTicker(Level, BlockState, BlockEntityType) - Method in class de.cech12.brickhopper.block.BrickHopperBlock
 

H

hashCode() - Method in record class de.cech12.brickhopper.FabricBrickHopperMod.HopperData
Returns a hash code value for this object.
HopperData(boolean) - Constructor for record class de.cech12.brickhopper.FabricBrickHopperMod.HopperData
Creates an instance of a HopperData record class.

I

IConfigHelper - Interface in de.cech12.brickhopper.platform.services
Common configuration helper service interface.
id(String) - Static method in class de.cech12.brickhopper.Constants
 
init() - Static method in class de.cech12.brickhopper.CommonLoader
Initialize method that should be called by every loader mod in the constructor.
init() - Method in class de.cech12.brickhopper.platform.FabricConfigHelper
 
init() - Method in interface de.cech12.brickhopper.platform.services.IConfigHelper
Initialization method for the Service implementations.
IPlatformHelper - Interface in de.cech12.brickhopper.platform.services
Common platform helper service interface.
IRegistryHelper - Interface in de.cech12.brickhopper.platform.services
Common registry helper service interface.
isDevelopmentEnvironment() - Method in class de.cech12.brickhopper.platform.FabricPlatformHelper
 
isDevelopmentEnvironment() - Method in interface de.cech12.brickhopper.platform.services.IPlatformHelper
Check if the game is currently in a development environment.
isGridAligned() - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 
isModLoaded(String) - Method in class de.cech12.brickhopper.platform.FabricPlatformHelper
 
isModLoaded(String) - Method in interface de.cech12.brickhopper.platform.services.IPlatformHelper
Checks if a mod with the given id is loaded.
isNotFull(Object) - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 
isNotFull(Object) - Method in class de.cech12.brickhopper.blockentity.FabricBrickHopperBlockEntity
 
isNotOnTransferCooldown() - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 
isPullItemsFromInventoriesEnabled() - Method in class de.cech12.brickhopper.platform.FabricConfigHelper
 
isPullItemsFromInventoriesEnabled() - Method in interface de.cech12.brickhopper.platform.services.IConfigHelper
Gets the configured "pull items from inventories" value.
isPullItemsFromWorldEnabled() - Method in class de.cech12.brickhopper.platform.FabricConfigHelper
 
isPullItemsFromWorldEnabled() - Method in interface de.cech12.brickhopper.platform.services.IConfigHelper
Gets the configured "pull items from world" value.

L

load(Class) - Static method in class de.cech12.brickhopper.platform.Services
This code is used to load a service for the current environment.
loadAdditional(ValueInput) - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 
loadAdditional(ValueInput) - Method in class de.cech12.brickhopper.blockentity.FabricBrickHopperBlockEntity
 
LOG - Static variable in class de.cech12.brickhopper.Constants
Logger instance

M

mayNotTransfer() - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 
MOD_ID - Static variable in class de.cech12.brickhopper.Constants
mod id
MOD_NAME - Static variable in class de.cech12.brickhopper.Constants
mod name
ModMenuCompat - Class in de.cech12.brickhopper.compat
 
ModMenuCompat() - Constructor for class de.cech12.brickhopper.compat.ModMenuCompat
 

N

newBlockEntity(BlockPos, BlockState) - Method in class de.cech12.brickhopper.block.BrickHopperBlock
 

O

onInitialize() - Method in class de.cech12.brickhopper.FabricBrickHopperMod
 
onInitializeClient() - Method in class de.cech12.brickhopper.client.FabricBrickHopperClientMod
 
onItemEntityIsCaptured(ItemEntity) - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 

P

PLATFORM - Static variable in class de.cech12.brickhopper.platform.Services
Platform instance
PULL_ITEMS_FROM_INVENTORIES_ENABLED - Variable in class de.cech12.brickhopper.platform.FabricConfigHelper
 
PULL_ITEMS_FROM_INVENTORIES_ENABLED_DEFAULT - Static variable in interface de.cech12.brickhopper.platform.services.IConfigHelper
Default value of the hoppers "pull items from inventories" value
PULL_ITEMS_FROM_INVENTORIES_ENABLED_DESCRIPTION - Static variable in interface de.cech12.brickhopper.platform.services.IConfigHelper
Config description of the hoppers "pull items from inventories" value
PULL_ITEMS_FROM_WORLD_ENABLED - Variable in class de.cech12.brickhopper.platform.FabricConfigHelper
 
PULL_ITEMS_FROM_WORLD_ENABLED_DEFAULT - Static variable in interface de.cech12.brickhopper.platform.services.IConfigHelper
Default value of the hoppers "pull items from world" value
PULL_ITEMS_FROM_WORLD_ENABLED_DESCRIPTION - Static variable in interface de.cech12.brickhopper.platform.services.IConfigHelper
Config description of the hoppers "pull items from world" value
pullItems() - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
Pull dropped EntityItems from the world above the hopper and items from any inventory attached to this hopper into the hopper's inventory.
pullItemsFromItemHandler(Object) - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 
pullItemsFromItemHandler(Object) - Method in class de.cech12.brickhopper.blockentity.FabricBrickHopperBlockEntity
 
putStackInInventoryAllSlots(BlockEntity, Object, Object, ItemStack) - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 
putStackInInventoryAllSlots(BlockEntity, Object, Object, ItemStack) - Method in class de.cech12.brickhopper.blockentity.FabricBrickHopperBlockEntity
 

Q

quickMoveStack(Player, int) - Method in class de.cech12.brickhopper.inventory.BrickHopperContainer
Handle when the stack in slot index is shift-clicked.

R

REGISTRY - Static variable in class de.cech12.brickhopper.platform.Services
Registry instance
removed(Player) - Method in class de.cech12.brickhopper.inventory.BrickHopperContainer
Called when the container is closed.
removeItem(int, int) - Method in class de.cech12.brickhopper.blockentity.FabricBrickHopperBlockEntity
Removes up to a specified number of items from an inventory slot and returns them in a new stack.
removeItemNoUpdate(int) - Method in class de.cech12.brickhopper.blockentity.FabricBrickHopperBlockEntity
Removes a stack from the given slot and returns it.

S

saveAdditional(ValueOutput) - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 
saveAdditional(ValueOutput) - Method in class de.cech12.brickhopper.blockentity.FabricBrickHopperBlockEntity
 
Services - Class in de.cech12.brickhopper.platform
Service loaders are a built-in Java feature that allow us to locate implementations of an interface that vary from one environment to another.
setItem(int, ItemStack) - Method in class de.cech12.brickhopper.blockentity.FabricBrickHopperBlockEntity
Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
setItems(NonNullList) - Method in class de.cech12.brickhopper.blockentity.FabricBrickHopperBlockEntity
 
setTransferCooldown(int) - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 
stillValid(Player) - Method in class de.cech12.brickhopper.inventory.BrickHopperContainer
Determines whether supplied player can use this container

T

tick(Level, BrickHopperBlockEntity) - Static method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 
tickedGameTime - Variable in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 
toString() - Method in record class de.cech12.brickhopper.FabricBrickHopperMod.HopperData
Returns a string representation of this record class.
transferCooldown - Variable in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 

U

updateCooldown(boolean, BlockEntity, Object) - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 
updateHopper(Supplier) - Method in class de.cech12.brickhopper.blockentity.BrickHopperBlockEntity
 
useWithoutItem(BlockState, Level, BlockPos, Player, BlockHitResult) - Method in class de.cech12.brickhopper.block.BrickHopperBlock
 
useWithoutItem(BlockState, Level, BlockPos, Player, BlockHitResult) - Method in class de.cech12.brickhopper.block.FabricBrickHopperBlock
 
A B C D E F G H I L M N O P Q R S T U 
All Classes and Interfaces|All Packages|Constant Field Values