Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- appendHoverText(ItemStack, Item.TooltipContext, TooltipDisplay, Consumer, TooltipFlag) - Method in class de.cech12.woodenhopper.item.WoodenHopperItem
B
- BLOCK_ITEM_NAME - Static variable in class de.cech12.woodenhopper.Constants
C
- CODEC - Static variable in record class de.cech12.woodenhopper.FabricWoodenHopperMod.HopperData
- CommonLoader - Class in de.cech12.woodenhopper
-
A static class for all loaders which initializes everything which is used by all loaders.
- CONFIG - Static variable in class de.cech12.woodenhopper.platform.Services
-
Config instance
- Constants - Class in de.cech12.woodenhopper
-
Class that contains all common constants.
- COOLDOWN - Variable in class de.cech12.woodenhopper.platform.FabricConfigHelper
- COOLDOWN_DEFAULT - Static variable in interface de.cech12.woodenhopper.platform.services.IConfigHelper
-
Default value of the hoppers cooldown value
- COOLDOWN_DESCRIPTION - Static variable in interface de.cech12.woodenhopper.platform.services.IConfigHelper
-
Config description of the hoppers cooldown value
- COOLDOWN_MAX - Static variable in interface de.cech12.woodenhopper.platform.services.IConfigHelper
-
Maximal value of the hoppers cooldown value
- COOLDOWN_MIN - Static variable in interface de.cech12.woodenhopper.platform.services.IConfigHelper
-
Minimal value of the hoppers cooldown value
- createMenu(int, Inventory) - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
D
- de.cech12.woodenhopper - package de.cech12.woodenhopper
- de.cech12.woodenhopper.block - package de.cech12.woodenhopper.block
- de.cech12.woodenhopper.blockentity - package de.cech12.woodenhopper.blockentity
- de.cech12.woodenhopper.client - package de.cech12.woodenhopper.client
- de.cech12.woodenhopper.compat - package de.cech12.woodenhopper.compat
- de.cech12.woodenhopper.inventory - package de.cech12.woodenhopper.inventory
- de.cech12.woodenhopper.item - package de.cech12.woodenhopper.item
- de.cech12.woodenhopper.platform - package de.cech12.woodenhopper.platform
- de.cech12.woodenhopper.platform.services - package de.cech12.woodenhopper.platform.services
E
- empty() - Method in record class de.cech12.woodenhopper.FabricWoodenHopperMod.HopperData
-
Returns the value of the
emptyrecord component. - entityInside(BlockState, Level, BlockPos, Entity, InsideBlockEffectApplier, boolean) - Method in class de.cech12.woodenhopper.block.WoodenHopperBlock
- equals(Object) - Method in record class de.cech12.woodenhopper.FabricWoodenHopperMod.HopperData
-
Indicates whether some other object is "equal to" this one.
- extractBackground(GuiGraphicsExtractor, int, int, float) - Method in class de.cech12.woodenhopper.client.WoodenHopperScreen
- extractRenderState(GuiGraphicsExtractor, int, int, float) - Method in class de.cech12.woodenhopper.client.WoodenHopperScreen
F
- FabricConfigHelper - Class in de.cech12.woodenhopper.platform
-
The config service implementation for Fabric.
- FabricConfigHelper() - Constructor for class de.cech12.woodenhopper.platform.FabricConfigHelper
- FabricPlatformHelper - Class in de.cech12.woodenhopper.platform
-
The platform service implementation for Fabric.
- FabricPlatformHelper() - Constructor for class de.cech12.woodenhopper.platform.FabricPlatformHelper
- FabricRegistryHelper - Class in de.cech12.woodenhopper.platform
- FabricRegistryHelper() - Constructor for class de.cech12.woodenhopper.platform.FabricRegistryHelper
- FabricWoodenHopperBlock - Class in de.cech12.woodenhopper.block
- FabricWoodenHopperBlock(BlockBehaviour.Properties) - Constructor for class de.cech12.woodenhopper.block.FabricWoodenHopperBlock
- FabricWoodenHopperBlockEntity - Class in de.cech12.woodenhopper.blockentity
- FabricWoodenHopperBlockEntity(BlockPos, BlockState) - Constructor for class de.cech12.woodenhopper.blockentity.FabricWoodenHopperBlockEntity
- FabricWoodenHopperClientMod - Class in de.cech12.woodenhopper.client
- FabricWoodenHopperClientMod() - Constructor for class de.cech12.woodenhopper.client.FabricWoodenHopperClientMod
- FabricWoodenHopperMod - Class in de.cech12.woodenhopper
- FabricWoodenHopperMod() - Constructor for class de.cech12.woodenhopper.FabricWoodenHopperMod
- FabricWoodenHopperMod.HopperData - Record Class in de.cech12.woodenhopper
G
- getAllAliveEntitiesAt(Level, double, double, double, Predicate) - Static method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
- getContainerSize() - Method in class de.cech12.woodenhopper.blockentity.FabricWoodenHopperBlockEntity
-
Returns the number of slots in the inventory.
- getCooldown() - Method in class de.cech12.woodenhopper.platform.FabricConfigHelper
- getCooldown() - Method in interface de.cech12.woodenhopper.platform.services.IConfigHelper
-
Gets the configured cooldown value.
- getDefaultName() - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
- getEnvironmentName() - Method in interface de.cech12.woodenhopper.platform.services.IPlatformHelper
-
Gets the name of the environment type as a string.
- getItemHandler(Level, double, double, double, Direction) - Method in class de.cech12.woodenhopper.blockentity.FabricWoodenHopperBlockEntity
- getItemHandler(Level, double, double, double, Direction) - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
- getItems() - Method in class de.cech12.woodenhopper.blockentity.FabricWoodenHopperBlockEntity
- getLastUpdateTime() - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
- getLevelX() - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
-
Gets the world X position for this hopper entity.
- getLevelY() - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
-
Gets the world Y position for this hopper entity.
- getLevelZ() - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
-
Gets the world Z position for this hopper entity.
- getModConfigScreenFactory() - Method in class de.cech12.woodenhopper.compat.ModMenuCompat
- getNewBlockEntity(BlockPos, BlockState) - Method in class de.cech12.woodenhopper.platform.FabricRegistryHelper
- getNewBlockEntity(BlockPos, BlockState) - Method in interface de.cech12.woodenhopper.platform.services.IRegistryHelper
- getOwnItemHandler() - Method in class de.cech12.woodenhopper.blockentity.FabricWoodenHopperBlockEntity
- getOwnItemHandler() - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
- getPlatformName() - Method in class de.cech12.woodenhopper.platform.FabricPlatformHelper
- getPlatformName() - Method in interface de.cech12.woodenhopper.platform.services.IPlatformHelper
-
Gets the name of the current platform
- getTicker(Level, BlockState, BlockEntityType) - Method in class de.cech12.woodenhopper.block.WoodenHopperBlock
H
- hashCode() - Method in record class de.cech12.woodenhopper.FabricWoodenHopperMod.HopperData
-
Returns a hash code value for this object.
- HopperData(boolean) - Constructor for record class de.cech12.woodenhopper.FabricWoodenHopperMod.HopperData
-
Creates an instance of a
HopperDatarecord class.
I
- IConfigHelper - Interface in de.cech12.woodenhopper.platform.services
-
Common configuration helper service interface.
- id(String) - Static method in class de.cech12.woodenhopper.Constants
- init() - Static method in class de.cech12.woodenhopper.CommonLoader
-
Initialize method that should be called by every loader mod in the constructor.
- init() - Method in class de.cech12.woodenhopper.platform.FabricConfigHelper
- init() - Method in interface de.cech12.woodenhopper.platform.services.IConfigHelper
-
Initialization method for the Service implementations.
- IPlatformHelper - Interface in de.cech12.woodenhopper.platform.services
-
Common platform helper service interface.
- IRegistryHelper - Interface in de.cech12.woodenhopper.platform.services
-
Common registry helper service interface.
- isDevelopmentEnvironment() - Method in class de.cech12.woodenhopper.platform.FabricPlatformHelper
- isDevelopmentEnvironment() - Method in interface de.cech12.woodenhopper.platform.services.IPlatformHelper
-
Check if the game is currently in a development environment.
- isGridAligned() - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
- isModLoaded(String) - Method in class de.cech12.woodenhopper.platform.FabricPlatformHelper
- isModLoaded(String) - Method in interface de.cech12.woodenhopper.platform.services.IPlatformHelper
-
Checks if a mod with the given id is loaded.
- isNotFull(Object) - Method in class de.cech12.woodenhopper.blockentity.FabricWoodenHopperBlockEntity
- isNotFull(Object) - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
- isNotOnTransferCooldown() - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
- isPullItemsFromInventoriesEnabled() - Method in class de.cech12.woodenhopper.platform.FabricConfigHelper
- isPullItemsFromInventoriesEnabled() - Method in interface de.cech12.woodenhopper.platform.services.IConfigHelper
-
Gets the configured "pull items from inventories" value.
- isPullItemsFromWorldEnabled() - Method in class de.cech12.woodenhopper.platform.FabricConfigHelper
- isPullItemsFromWorldEnabled() - Method in interface de.cech12.woodenhopper.platform.services.IConfigHelper
-
Gets the configured "pull items from world" value.
L
- load(Class) - Static method in class de.cech12.woodenhopper.platform.Services
-
This code is used to load a service for the current environment.
- loadAdditional(ValueInput) - Method in class de.cech12.woodenhopper.blockentity.FabricWoodenHopperBlockEntity
- loadAdditional(ValueInput) - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
- LOG - Static variable in class de.cech12.woodenhopper.Constants
-
Logger instance
M
- mayNotTransfer() - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
- MOD_ID - Static variable in class de.cech12.woodenhopper.Constants
-
mod id
- MOD_NAME - Static variable in class de.cech12.woodenhopper.Constants
-
mod name
- ModMenuCompat - Class in de.cech12.woodenhopper.compat
- ModMenuCompat() - Constructor for class de.cech12.woodenhopper.compat.ModMenuCompat
N
- newBlockEntity(BlockPos, BlockState) - Method in class de.cech12.woodenhopper.block.WoodenHopperBlock
O
- onInitialize() - Method in class de.cech12.woodenhopper.FabricWoodenHopperMod
- onInitializeClient() - Method in class de.cech12.woodenhopper.client.FabricWoodenHopperClientMod
- onItemEntityIsCaptured(ItemEntity) - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
P
- PLATFORM - Static variable in class de.cech12.woodenhopper.platform.Services
-
Platform instance
- PULL_ITEMS_FROM_INVENTORIES_ENABLED - Variable in class de.cech12.woodenhopper.platform.FabricConfigHelper
- PULL_ITEMS_FROM_INVENTORIES_ENABLED_DEFAULT - Static variable in interface de.cech12.woodenhopper.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.woodenhopper.platform.services.IConfigHelper
-
Config description of the hoppers "pull items from inventories" value
- PULL_ITEMS_FROM_WORLD_ENABLED - Variable in class de.cech12.woodenhopper.platform.FabricConfigHelper
- PULL_ITEMS_FROM_WORLD_ENABLED_DEFAULT - Static variable in interface de.cech12.woodenhopper.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.woodenhopper.platform.services.IConfigHelper
-
Config description of the hoppers "pull items from world" value
- pullItems() - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
-
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.woodenhopper.blockentity.FabricWoodenHopperBlockEntity
- pullItemsFromItemHandler(Object) - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
- putStackInInventoryAllSlots(BlockEntity, Object, Object, ItemStack) - Method in class de.cech12.woodenhopper.blockentity.FabricWoodenHopperBlockEntity
- putStackInInventoryAllSlots(BlockEntity, Object, Object, ItemStack) - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
Q
- quickMoveStack(Player, int) - Method in class de.cech12.woodenhopper.inventory.WoodenHopperContainer
-
Handle when the stack in slot
indexis shift-clicked.
R
- REGISTRY - Static variable in class de.cech12.woodenhopper.platform.Services
-
Registry instance
- removed(Player) - Method in class de.cech12.woodenhopper.inventory.WoodenHopperContainer
-
Called when the container is closed.
- removeItem(int, int) - Method in class de.cech12.woodenhopper.blockentity.FabricWoodenHopperBlockEntity
-
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.woodenhopper.blockentity.FabricWoodenHopperBlockEntity
-
Removes a stack from the given slot and returns it.
S
- saveAdditional(ValueOutput) - Method in class de.cech12.woodenhopper.blockentity.FabricWoodenHopperBlockEntity
- saveAdditional(ValueOutput) - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
- Services - Class in de.cech12.woodenhopper.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.woodenhopper.blockentity.FabricWoodenHopperBlockEntity
-
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.woodenhopper.blockentity.FabricWoodenHopperBlockEntity
- setTransferCooldown(int) - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
- stillValid(Player) - Method in class de.cech12.woodenhopper.inventory.WoodenHopperContainer
-
Determines whether supplied player can use this container
T
- tick(Level, WoodenHopperBlockEntity) - Static method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
- tickedGameTime - Variable in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
- toString() - Method in record class de.cech12.woodenhopper.FabricWoodenHopperMod.HopperData
-
Returns a string representation of this record class.
- transferCooldown - Variable in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
U
- updateCooldown(boolean, BlockEntity, Object) - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
- updateHopper(Supplier) - Method in class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
- useWithoutItem(BlockState, Level, BlockPos, Player, BlockHitResult) - Method in class de.cech12.woodenhopper.block.FabricWoodenHopperBlock
- useWithoutItem(BlockState, Level, BlockPos, Player, BlockHitResult) - Method in class de.cech12.woodenhopper.block.WoodenHopperBlock
W
- WOODEN_HOPPER_BLOCK - Static variable in class de.cech12.woodenhopper.Constants
- WOODEN_HOPPER_BLOCK_ENTITY_TYPE - Static variable in class de.cech12.woodenhopper.Constants
- WOODEN_HOPPER_ITEM - Static variable in class de.cech12.woodenhopper.Constants
- WOODEN_HOPPER_MENU_TYPE - Static variable in class de.cech12.woodenhopper.Constants
- WoodenHopperBlock - Class in de.cech12.woodenhopper.block
- WoodenHopperBlock(BlockBehaviour.Properties) - Constructor for class de.cech12.woodenhopper.block.WoodenHopperBlock
- WoodenHopperBlockEntity - Class in de.cech12.woodenhopper.blockentity
- WoodenHopperBlockEntity(BlockPos, BlockState) - Constructor for class de.cech12.woodenhopper.blockentity.WoodenHopperBlockEntity
- WoodenHopperContainer - Class in de.cech12.woodenhopper.inventory
- WoodenHopperContainer(int, Inventory) - Constructor for class de.cech12.woodenhopper.inventory.WoodenHopperContainer
- WoodenHopperContainer(int, Inventory, Container) - Constructor for class de.cech12.woodenhopper.inventory.WoodenHopperContainer
- WoodenHopperItem - Class in de.cech12.woodenhopper.item
- WoodenHopperItem(Block, Item.Properties) - Constructor for class de.cech12.woodenhopper.item.WoodenHopperItem
- WoodenHopperScreen - Class in de.cech12.woodenhopper.client
- WoodenHopperScreen(WoodenHopperContainer, Inventory, Component) - Constructor for class de.cech12.woodenhopper.client.WoodenHopperScreen
All Classes and Interfaces|All Packages|Constant Field Values