Index

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

A

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

C

CERAMIC_SHEARS - Static variable in class de.cech12.ceramicshears.ForgeCeramicShearsMod
ceramic shears item registry object
CERAMIC_SHEARS_PART - Static variable in class de.cech12.ceramicshears.ForgeCeramicShearsMod
ceramic shears part item registry object
ceramicshears$getItem() - Method in interface de.cech12.ceramicshears.mixin.DataComponentHolderMixin
 
CeramicShearsItem - Class in de.cech12.ceramicshears.item
Extends the ShearsItem to have a unique class and simplify the construction.
CeramicShearsItem(Item.Properties) - Constructor for class de.cech12.ceramicshears.item.CeramicShearsItem
Constructs a CeramicShearsItem by configure it to stack to one item.
CLAY_SHEARS_PART - Static variable in class de.cech12.ceramicshears.ForgeCeramicShearsMod
clay shears part item registry object
CommonLoader - Class in de.cech12.ceramicshears
A static class for all loaders which initializes everything which is used by all loaders.
CONFIG - Static variable in class de.cech12.ceramicshears.platform.Services
Config instance
Constants - Class in de.cech12.ceramicshears
Class that contains all common constants.

D

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

F

ForgeCeramicShearsMod - Class in de.cech12.ceramicshears
Mod class for the Forge loader.
ForgeCeramicShearsMod(FMLJavaModLoadingContext) - Constructor for class de.cech12.ceramicshears.ForgeCeramicShearsMod
Constructor of a mod instance.
ForgeConfigHelper - Class in de.cech12.ceramicshears.platform
The config service implementation for Forge.
ForgeConfigHelper() - Constructor for class de.cech12.ceramicshears.platform.ForgeConfigHelper
 
ForgePlatformHelper - Class in de.cech12.ceramicshears.platform
The platform service implementation for Forge.
ForgePlatformHelper() - Constructor for class de.cech12.ceramicshears.platform.ForgePlatformHelper
 

G

getComponents() - Method in interface de.cech12.ceramicshears.mixin.DataComponentHolderMixin
 
getDurability() - Method in class de.cech12.ceramicshears.platform.ForgeConfigHelper
 
getDurability() - Method in interface de.cech12.ceramicshears.platform.services.IConfigHelper
Gets the configured durability value.
getEnvironmentName() - Method in interface de.cech12.ceramicshears.platform.services.IPlatformHelper
Gets the name of the environment type as a string.
getOrDefaultProxy(DataComponentType, T, CallbackInfoReturnable) - Method in interface de.cech12.ceramicshears.mixin.DataComponentHolderMixin
 
getPlatformName() - Method in class de.cech12.ceramicshears.platform.ForgePlatformHelper
 
getPlatformName() - Method in interface de.cech12.ceramicshears.platform.services.IPlatformHelper
Gets the name of the current platform
getProxy(DataComponentType, CallbackInfoReturnable) - Method in interface de.cech12.ceramicshears.mixin.DataComponentHolderMixin
 
getProxy(CraftingInput, CallbackInfoReturnable) - Method in class de.cech12.ceramicshears.mixin.RepairItemRecipeMixin
 
GrindstoneMenuMixin - Class in de.cech12.ceramicshears.mixin
Combining two ceramic shears in a grindstone must not store a fixed max damage, so the durability config still applies to the result (like the crafting repair, see RepairItemRecipeMixin).
GrindstoneMenuMixin() - Constructor for class de.cech12.ceramicshears.mixin.GrindstoneMenuMixin
 

H

hasProxy(DataComponentType, CallbackInfoReturnable) - Method in interface de.cech12.ceramicshears.mixin.DataComponentHolderMixin
 

I

IConfigHelper - Interface in de.cech12.ceramicshears.platform.services
Common configuration helper service interface.
id(String) - Static method in class de.cech12.ceramicshears.Constants
 
init() - Static method in class de.cech12.ceramicshears.CommonLoader
Initialize method that should be called by every loader mod in the constructor.
init() - Method in class de.cech12.ceramicshears.platform.ForgeConfigHelper
 
init() - Method in interface de.cech12.ceramicshears.platform.services.IConfigHelper
Initialization method for the Service implementations.
IPlatformHelper - Interface in de.cech12.ceramicshears.platform.services
Common platform helper service interface.
isDevelopmentEnvironment() - Method in class de.cech12.ceramicshears.platform.ForgePlatformHelper
 
isDevelopmentEnvironment() - Method in interface de.cech12.ceramicshears.platform.services.IPlatformHelper
Check if the game is currently in a development environment.
isModLoaded(String) - Method in class de.cech12.ceramicshears.platform.ForgePlatformHelper
 
isModLoaded(String) - Method in interface de.cech12.ceramicshears.platform.services.IPlatformHelper
Checks if a mod with the given id is loaded.
ITEMS - Static variable in class de.cech12.ceramicshears.ForgeCeramicShearsMod
mod specific item registry
ItemStackMixin - Class in de.cech12.ceramicshears.mixin
Ceramic shears have no default damage component (the durability comes from the config, see DataComponentHolderMixin), so setting the damage to 0 (anvil, mending) would store a damage component that new shears do not have.
ItemStackMixin() - Constructor for class de.cech12.ceramicshears.mixin.ItemStackMixin
 

L

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

M

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

P

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

R

registerDispenseBehavior(FMLCommonSetupEvent) - Static method in class de.cech12.ceramicshears.ForgeCeramicShearsMod
Registers the dispense behaviour of the ceramic shears.
removeStoredMaxDamage(ItemStack) - Static method in class de.cech12.ceramicshears.item.CeramicShearsItem
Repairing (crafting grid, grindstone) stores the current max damage as a fixed component in the result.
RepairItemRecipeMixin - Class in de.cech12.ceramicshears.mixin
 
RepairItemRecipeMixin() - Constructor for class de.cech12.ceramicshears.mixin.RepairItemRecipeMixin
 

S

Services - Class in de.cech12.ceramicshears.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 F G H I L M P R S 
All Classes and Interfaces|All Packages|Constant Field Values