Index

A C D G H I L M N P R S W 
All Classes and Interfaces|All Packages|Constant Field Values

A

addItemsToTabs(BuildCreativeModeTabContentsEvent) - Static method in class de.cech12.woodenshears.NeoforgeWoodenShearsMod
Registers the creative tabs for all items.

C

CommonLoader - Class in de.cech12.woodenshears
A static class for all loaders which initializes everything which is used by all loaders.
CONFIG - Static variable in class de.cech12.woodenshears.platform.Services
Config instance
Constants - Class in de.cech12.woodenshears
Class that contains all common constants.

D

DataComponentHolderMixin - Interface in de.cech12.woodenshears.mixin
 
de.cech12.woodenshears - package de.cech12.woodenshears
 
de.cech12.woodenshears.item - package de.cech12.woodenshears.item
 
de.cech12.woodenshears.mixin - package de.cech12.woodenshears.mixin
 
de.cech12.woodenshears.platform - package de.cech12.woodenshears.platform
 
de.cech12.woodenshears.platform.services - package de.cech12.woodenshears.platform.services
 
DURABILITY_DEFAULT - Static variable in interface de.cech12.woodenshears.platform.services.IConfigHelper
Default value of the shear's durability
DURABILITY_DESCRIPTION - Static variable in interface de.cech12.woodenshears.platform.services.IConfigHelper
Config description of the shear's durability
DURABILITY_MAX - Static variable in interface de.cech12.woodenshears.platform.services.IConfigHelper
Maximal value of the shear's durability
DURABILITY_MIN - Static variable in interface de.cech12.woodenshears.platform.services.IConfigHelper
Minimal value of the shear's durability

G

getBurnTime(ItemStack, RecipeType<?>, FuelValues) - Method in class de.cech12.woodenshears.item.NeoforgeWoodenShearsItem
 
getComponents() - Method in interface de.cech12.woodenshears.mixin.DataComponentHolderMixin
 
getDurability() - Method in class de.cech12.woodenshears.platform.NeoforgeConfigHelper
 
getDurability() - Method in interface de.cech12.woodenshears.platform.services.IConfigHelper
Gets the configured durability value.
getEnvironmentName() - Method in interface de.cech12.woodenshears.platform.services.IPlatformHelper
Gets the name of the environment type as a string.
getOrDefaultProxy(DataComponentType<? extends T>, T, CallbackInfoReturnable<T>) - Method in interface de.cech12.woodenshears.mixin.DataComponentHolderMixin
 
getPlatformName() - Method in class de.cech12.woodenshears.platform.NeoforgePlatformHelper
 
getPlatformName() - Method in interface de.cech12.woodenshears.platform.services.IPlatformHelper
Gets the name of the current platform
getProxy(DataComponentType<? extends T>, CallbackInfoReturnable<T>) - Method in interface de.cech12.woodenshears.mixin.DataComponentHolderMixin
 
getProxy(CraftingInput, HolderLookup.Provider, CallbackInfoReturnable<ItemStack>) - Method in class de.cech12.woodenshears.mixin.RepairItemRecipeMixin
 
getShearsBurnTime() - Method in class de.cech12.woodenshears.item.WoodenShearsItem
 

H

hasProxy(DataComponentType<?>, CallbackInfoReturnable<Boolean>) - Method in interface de.cech12.woodenshears.mixin.DataComponentHolderMixin
 

I

IConfigHelper - Interface in de.cech12.woodenshears.platform.services
Common configuration helper service interface.
id(String) - Static method in class de.cech12.woodenshears.Constants
 
init() - Static method in class de.cech12.woodenshears.CommonLoader
Initialize method that should be called by every loader mod in the constructor.
init() - Method in class de.cech12.woodenshears.platform.NeoforgeConfigHelper
 
init() - Method in interface de.cech12.woodenshears.platform.services.IConfigHelper
Initialization method for the Service implementations.
IPlatformHelper - Interface in de.cech12.woodenshears.platform.services
Common platform helper service interface.
isDevelopmentEnvironment() - Method in class de.cech12.woodenshears.platform.NeoforgePlatformHelper
 
isDevelopmentEnvironment() - Method in interface de.cech12.woodenshears.platform.services.IPlatformHelper
Check if the game is currently in a development environment.
isModLoaded(String) - Method in class de.cech12.woodenshears.platform.NeoforgePlatformHelper
 
isModLoaded(String) - Method in interface de.cech12.woodenshears.platform.services.IPlatformHelper
Checks if a mod with the given id is loaded.
ITEMS - Static variable in class de.cech12.woodenshears.NeoforgeWoodenShearsMod
mod specific item registry

L

load(Class<T>) - Static method in class de.cech12.woodenshears.platform.Services
This code is used to load a service for the current environment.
LOG - Static variable in class de.cech12.woodenshears.Constants
Logger instance

M

MOD_ID - Static variable in class de.cech12.woodenshears.Constants
mod id
MOD_NAME - Static variable in class de.cech12.woodenshears.Constants
mod name

N

NeoforgeConfigHelper - Class in de.cech12.woodenshears.platform
The config service implementation for Neoforge.
NeoforgeConfigHelper() - Constructor for class de.cech12.woodenshears.platform.NeoforgeConfigHelper
 
NeoforgePlatformHelper - Class in de.cech12.woodenshears.platform
The platform service implementation for Neoforge.
NeoforgePlatformHelper() - Constructor for class de.cech12.woodenshears.platform.NeoforgePlatformHelper
 
NeoforgeWoodenShearsItem - Class in de.cech12.woodenshears.item
 
NeoforgeWoodenShearsItem(Item.Properties) - Constructor for class de.cech12.woodenshears.item.NeoforgeWoodenShearsItem
 
NeoforgeWoodenShearsMod - Class in de.cech12.woodenshears
Mod class for the Neoforge loader.
NeoforgeWoodenShearsMod(IEventBus) - Constructor for class de.cech12.woodenshears.NeoforgeWoodenShearsMod
Constructor of a mod instance.

P

PLATFORM - Static variable in class de.cech12.woodenshears.platform.Services
Platform instance

R

registerDispenseBehavior(FMLCommonSetupEvent) - Static method in class de.cech12.woodenshears.NeoforgeWoodenShearsMod
Registers the dispense behaviour of the shears.
RepairItemRecipeMixin - Class in de.cech12.woodenshears.mixin
 
RepairItemRecipeMixin() - Constructor for class de.cech12.woodenshears.mixin.RepairItemRecipeMixin
 

S

Services - Class in de.cech12.woodenshears.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.

W

WOODEN_SHEARS - Static variable in class de.cech12.woodenshears.Constants
Supplier of registered wooden shears item
woodenshears$getItem() - Method in interface de.cech12.woodenshears.mixin.DataComponentHolderMixin
 
WoodenShearsItem - Class in de.cech12.woodenshears.item
Extends the ShearsItem to have a unique class and simplify the construction.
WoodenShearsItem(Item.Properties) - Constructor for class de.cech12.woodenshears.item.WoodenShearsItem
Constructs a WoodenShearsItem by configure it to stack to one item.
A C D G H I L M N P R S W 
All Classes and Interfaces|All Packages|Constant Field Values