Index

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

A

addItemsToTabs(BuildCreativeModeTabContentsEvent) - Static method in class de.cech12.coppershears.NeoforgeCopperShearsMod
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() - 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

G

getDurability() - Method in class de.cech12.coppershears.platform.NeoforgeConfigHelper
 
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
 
getMaxDamage(ItemStack) - Method in class de.cech12.coppershears.item.NeoforgeCopperShearsItem
 
getMaxDamageProxy(CallbackInfoReturnable<Integer>) - Method in class de.cech12.coppershears.mixin.MixinItemStack
 
getPlatformName() - Method in class de.cech12.coppershears.platform.NeoforgePlatformHelper
 
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.NeoforgeConfigHelper
 
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.
isDamageable(ItemStack) - Method in class de.cech12.coppershears.item.NeoforgeCopperShearsItem
 
isDamageableItemProxy(CallbackInfoReturnable<Boolean>) - Method in class de.cech12.coppershears.mixin.MixinItemStack
 
isDevelopmentEnvironment() - Method in class de.cech12.coppershears.platform.NeoforgePlatformHelper
 
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.NeoforgePlatformHelper
 
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.NeoforgeCopperShearsMod
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

N

NeoforgeConfigHelper - Class in de.cech12.coppershears.platform
The config service implementation for Neoforge.
NeoforgeConfigHelper() - Constructor for class de.cech12.coppershears.platform.NeoforgeConfigHelper
 
NeoforgeCopperShearsItem - Class in de.cech12.coppershears.item
 
NeoforgeCopperShearsItem() - Constructor for class de.cech12.coppershears.item.NeoforgeCopperShearsItem
 
NeoforgeCopperShearsMod - Class in de.cech12.coppershears
Mod class for the Neoforge loader.
NeoforgeCopperShearsMod(IEventBus) - Constructor for class de.cech12.coppershears.NeoforgeCopperShearsMod
Constructor of a mod instance.
NeoforgePlatformHelper - Class in de.cech12.coppershears.platform
The platform service implementation for Neoforge.
NeoforgePlatformHelper() - Constructor for class de.cech12.coppershears.platform.NeoforgePlatformHelper
 

P

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

R

registerDispenseBehavior(FMLCommonSetupEvent) - Static method in class de.cech12.coppershears.NeoforgeCopperShearsMod
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.
A C D G I L M N P R S 
All Classes and Interfaces|All Packages|Constant Field Values