Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addItemsToTabs(BuildCreativeModeTabContentsEvent) - Static method in class de.cech12.coppershears.ForgeCopperShearsMod
-
Registers the creative tabs for all items.
C
- CommonLoader - Class in de.cech12.coppershears
-
A static class for all loaders which initializes everything which is used by all loaders.
- CONFIG - Static variable in class de.cech12.coppershears.platform.Services
-
Config instance
- Constants - Class in de.cech12.coppershears
-
Class that contains all common constants.
- COPPER_SHEARS - Static variable in class de.cech12.coppershears.Constants
-
Supplier of registered copper shears item
- CopperShearsItem - Class in de.cech12.coppershears.item
-
Extends the ShearsItem to have a unique class and simplify the construction.
- CopperShearsItem(Item.Properties) - Constructor for class de.cech12.coppershears.item.CopperShearsItem
-
Constructs a CopperShearsItem by configure it to stack to one item.
D
- de.cech12.coppershears - package de.cech12.coppershears
- de.cech12.coppershears.item - package de.cech12.coppershears.item
- de.cech12.coppershears.mixin - package de.cech12.coppershears.mixin
- de.cech12.coppershears.platform - package de.cech12.coppershears.platform
- de.cech12.coppershears.platform.services - package de.cech12.coppershears.platform.services
- DURABILITY_DEFAULT - Static variable in interface de.cech12.coppershears.platform.services.IConfigHelper
-
Default value of the shear's durability
- DURABILITY_DESCRIPTION - Static variable in interface de.cech12.coppershears.platform.services.IConfigHelper
-
Config description of the shear's durability
- DURABILITY_MAX - Static variable in interface de.cech12.coppershears.platform.services.IConfigHelper
-
Maximal value of the shear's durability
- DURABILITY_MIN - Static variable in interface de.cech12.coppershears.platform.services.IConfigHelper
-
Minimal value of the shear's durability
F
- ForgeConfigHelper - Class in de.cech12.coppershears.platform
-
The config service implementation for Forge.
- ForgeConfigHelper() - Constructor for class de.cech12.coppershears.platform.ForgeConfigHelper
- ForgeCopperShearsMod - Class in de.cech12.coppershears
-
Mod class for the Forge loader.
- ForgeCopperShearsMod(FMLJavaModLoadingContext) - Constructor for class de.cech12.coppershears.ForgeCopperShearsMod
-
Constructor of a mod instance.
- ForgePlatformHelper - Class in de.cech12.coppershears.platform
-
The platform service implementation for Forge.
- ForgePlatformHelper() - Constructor for class de.cech12.coppershears.platform.ForgePlatformHelper
G
- getDurability() - Method in class de.cech12.coppershears.platform.ForgeConfigHelper
- getDurability() - Method in interface de.cech12.coppershears.platform.services.IConfigHelper
-
Gets the configured durability value.
- getEnvironmentName() - Method in interface de.cech12.coppershears.platform.services.IPlatformHelper
-
Gets the name of the environment type as a string.
- getItem() - Method in class de.cech12.coppershears.mixin.MixinItemStack
- getMaxDamageProxy(CallbackInfoReturnable<Integer>) - Method in class de.cech12.coppershears.mixin.MixinItemStack
- getPlatformName() - Method in class de.cech12.coppershears.platform.ForgePlatformHelper
- getPlatformName() - Method in interface de.cech12.coppershears.platform.services.IPlatformHelper
-
Gets the name of the current platform
I
- IConfigHelper - Interface in de.cech12.coppershears.platform.services
-
Common configuration helper service interface.
- id(String) - Static method in class de.cech12.coppershears.Constants
-
Static method to create a ResourceLocation for this mod.
- init() - Static method in class de.cech12.coppershears.CommonLoader
-
Initialize method that should be called by every loader mod in the constructor.
- init() - Method in class de.cech12.coppershears.platform.ForgeConfigHelper
- init() - Method in interface de.cech12.coppershears.platform.services.IConfigHelper
-
Initialization method for the Service implementations.
- IPlatformHelper - Interface in de.cech12.coppershears.platform.services
-
Common platform helper service interface.
- isDamageableItemProxy(CallbackInfoReturnable<Boolean>) - Method in class de.cech12.coppershears.mixin.MixinItemStack
- isDevelopmentEnvironment() - Method in class de.cech12.coppershears.platform.ForgePlatformHelper
- isDevelopmentEnvironment() - Method in interface de.cech12.coppershears.platform.services.IPlatformHelper
-
Check if the game is currently in a development environment.
- isModLoaded(String) - Method in class de.cech12.coppershears.platform.ForgePlatformHelper
- isModLoaded(String) - Method in interface de.cech12.coppershears.platform.services.IPlatformHelper
-
Checks if a mod with the given id is loaded.
- ITEMS - Static variable in class de.cech12.coppershears.ForgeCopperShearsMod
-
mod specific item registry
L
- load(Class<T>) - Static method in class de.cech12.coppershears.platform.Services
-
This code is used to load a service for the current environment.
- LOG - Static variable in class de.cech12.coppershears.Constants
-
Logger instance
M
- MixinItemStack - Class in de.cech12.coppershears.mixin
-
Mixin for the Item class to enable the possibility to configure the item's durability.
- MixinItemStack() - Constructor for class de.cech12.coppershears.mixin.MixinItemStack
- MOD_ID - Static variable in class de.cech12.coppershears.Constants
-
mod id
- MOD_NAME - Static variable in class de.cech12.coppershears.Constants
-
mod name
P
R
- registerDispenseBehavior(FMLCommonSetupEvent) - Static method in class de.cech12.coppershears.ForgeCopperShearsMod
-
Registers the dispense behaviour of the shears.
S
- Services - Class in de.cech12.coppershears.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.
All Classes and Interfaces|All Packages|Constant Field Values