Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractClientPlayerFix - Class in net.dillon.dillonlib.mixin.client.fix.bow
- AbstractClientPlayerFix() - Constructor for class net.dillon.dillonlib.mixin.client.fix.bow.AbstractClientPlayerFix
- acceptTargets(Set, Set) - Method in class net.dillon.dillonlib.mixin.ConditionalMixinPlugin
- addButtons(AbstractWidget...) - Method in class net.dillon.dillonlib.screen.DillonLibMenuScreen
-
Adds a list of buttons to the screen.
- addFooter() - Method in class net.dillon.dillonlib.screen.DillonLibMenuScreen
- addHeader(Component) - Method in class net.dillon.dillonlib.screen.DillonLibMenuScreen
-
Creates a header.
- addItemsToTab(BuildCreativeModeTabContentsEvent) - Static method in class net.dillon.dillonlib.platform.common.NeoForgeCommonPlatformImpl
-
Registers the creative mode tab event modification.
- addItemToGroup(ResourceKey, Supplier) - Method in class net.dillon.dillonlib.platform.common.CommonModPlatform
-
Adds an item to an item group.
- addItemToGroup(ResourceKey, Supplier) - Method in class net.dillon.dillonlib.platform.common.NeoForgeCommonPlatformImpl
- addModWidget(T) - Method in interface net.dillon.dillonlib.mixin.accessor.ScreenInvoker
- addOptions() - Method in class net.dillon.dillonlib.screen.DillonLibMenuScreen
-
Required method to override.
- addRenderableModWidget(T) - Method in interface net.dillon.dillonlib.mixin.accessor.ScreenInvoker
- admin(CommandSourceStack) - Static method in class net.dillon.dillonlib.util.SimplePermissions
- all(CommandSourceStack) - Static method in class net.dillon.dillonlib.util.SimplePermissions
- ALPHA - Enum constant in enum class net.dillon.dillonlib.platform.info.Release
- apply() - Method in class net.dillon.dillonlib.screen.ScreenBuilder.ScreenValue
-
Applies this value to the builder, and returns the value that was applied.
- applyAbstractClientPlayerFix - Variable in class net.dillon.dillonlib.core.DillonLibOptions
- applyAvatarRendererFix - Variable in class net.dillon.dillonlib.core.DillonLibOptions
- applyDebugOptionsScreenFix - Variable in class net.dillon.dillonlib.core.DillonLibOptions
- applyFullBrightIfRequired - Variable in class net.dillon.dillonlib.core.DillonLibOptions
- applyIgnitableFactories - Variable in class net.dillon.dillonlib.core.DillonLibOptions
- applyPersonHandsAndItemsRendererFix - Variable in class net.dillon.dillonlib.core.DillonLibOptions
- applyShearFactories - Variable in class net.dillon.dillonlib.core.DillonLibOptions
- Arithmetics - Class in net.dillon.dillonlib.util
-
Different formulas and math expressions.
- Arithmetics() - Constructor for class net.dillon.dillonlib.util.Arithmetics
- AvatarRendererFix - Class in net.dillon.dillonlib.mixin.client.fix.bow
- AvatarRendererFix() - Constructor for class net.dillon.dillonlib.mixin.client.fix.bow.AvatarRendererFix
B
- BACK - Static variable in class net.dillon.dillonlib.util.Texts
- BaseOptions<T> - Class in net.dillon.dillonlib.util
-
A base class for registering options on different multiple environment sides.
- BaseOptions(String) - Constructor for class net.dillon.dillonlib.util.BaseOptions
-
Constructor which initializes the file id and the instance of the options.
- BasicDillonLibScreen - Class in net.dillon.dillonlib.screen
-
A common screen.
- BasicDillonLibScreen(Component) - Constructor for class net.dillon.dillonlib.screen.BasicDillonLibScreen
- BeehiveBlockFix - Class in net.dillon.dillonlib.mixin.shear
- BeehiveBlockFix() - Constructor for class net.dillon.dillonlib.mixin.shear.BeehiveBlockFix
- BETA - Enum constant in enum class net.dillon.dillonlib.platform.info.Release
- bindCommonReferences() - Static method in class net.dillon.dillonlib.registry.NeoForgeSoundEvents
- bindSounds(SoundEvent) - Static method in class net.dillon.dillonlib.core.DillonLibSounds
-
Binds the Fortnite battle pass sound to the sound event.
- BLANK - Static variable in class net.dillon.dillonlib.util.Texts
- blitLargeTexture(GuiGraphicsExtractor, Identifier, Button) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Blits a large texture over a button.
- blitLargeTexture(GuiGraphicsExtractor, Identifier, Button, float) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Blits a large texture over a button with a custom alpha.
- blitSmallTexture(GuiGraphicsExtractor, Identifier, Button) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Blits a small texture over a button.
- blitSmallTexture(GuiGraphicsExtractor, Identifier, Button, float) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Blits a small texture over a button with a custom alpha.
- blitTexture(GuiGraphicsExtractor, Identifier, int, int, int, int) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Blits a texture.
- blitTexture(GuiGraphicsExtractor, Identifier, int, int, int, int, float) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Blits a texture with a custom alpha value.
- BoatData - Record Class in net.dillon.dillonlib.factory.data
-
Holds boat registration data.
- BoatData(EntityType, Identifier, boolean) - Constructor for record class net.dillon.dillonlib.factory.data.BoatData
-
Creates an instance of a
BoatDatarecord class. - boatModelLayer(String, String) - Static method in class net.dillon.dillonlib.factory.ClientFactories
- BOATS - Static variable in class net.dillon.dillonlib.factory.Factories
- BOOK - Static variable in class net.dillon.dillonlib.util.CommonSprites
- BowFactory - Class in net.dillon.dillonlib.factory.item
-
A default
BowItem, with comes with built-in fov effect changers and correct bow use. - BowFactory(Item.Properties) - Constructor for class net.dillon.dillonlib.factory.item.BowFactory
- builder() - Method in class net.dillon.dillonlib.screen.BasicDillonLibScreen
- builder() - Method in class net.dillon.dillonlib.screen.DillonLibMenuScreen
- button() - Method in class net.dillon.dillonlib.platform.info.PlatformMenuButton
C
- CandleCakeBlockFix - Class in net.dillon.dillonlib.mixin.ignitable
- CandleCakeBlockFix() - Constructor for class net.dillon.dillonlib.mixin.ignitable.CandleCakeBlockFix
- canSendPacket(LocalPlayer) - Method in class net.dillon.dillonlib.platform.client.ClientModPlatform
- canSendPacket(LocalPlayer) - Method in class net.dillon.dillonlib.platform.client.ClientNeoForgePlatformImpl
- captureGraphicsHeight() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Captures the graphics height in its current place.
- captureGraphicsWidth() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Captures the graphics width in its current place.
- captureHeight() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Captures the height in its current place.
- captureWidth() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Captures the width in its current place.
- checkForUpdate(String, String) - Static method in class net.dillon.dillonlib.util.UpdateChecker
-
Checks Modrinth for an update.
- chest() - Method in record class net.dillon.dillonlib.factory.data.BoatData
-
Returns the value of the
chestrecord component. - chestBoatModelLayer(String, String) - Static method in class net.dillon.dillonlib.factory.ClientFactories
- cInitialize() - Static method in class net.dillon.dillonlib.core.DillonLibClient
-
Initializes the
client-sideof DillonLib. - clearCustomDirectory() - Method in class net.dillon.dillonlib.util.BaseOptions
-
Clears custom directory.
- CLIENT - Enum constant in enum class net.dillon.dillonlib.annotation.DillType
- ClientDillonLibNeoForge - Class in net.dillon.dillonlib
- ClientDillonLibNeoForge(ModContainer, IEventBus) - Constructor for class net.dillon.dillonlib.ClientDillonLibNeoForge
- ClientFactories - Class in net.dillon.dillonlib.factory
-
Stores client-side factories for different Minecraft items and blocks.
- ClientFactories() - Constructor for class net.dillon.dillonlib.factory.ClientFactories
- ClientModPlatform - Class in net.dillon.dillonlib.platform.client
-
An instance of
Loadable. - ClientModPlatform() - Constructor for class net.dillon.dillonlib.platform.client.ClientModPlatform
- ClientNeoForgePlatformImpl - Class in net.dillon.dillonlib.platform.client
- ClientNeoForgePlatformImpl() - Constructor for class net.dillon.dillonlib.platform.client.ClientNeoForgePlatformImpl
- ClientTasks - Class in net.dillon.dillonlib.task
-
Client-side only methods and tasks that can be commonly used throughout your mod.
- ClientTasks() - Constructor for class net.dillon.dillonlib.task.ClientTasks
- codec() - Static method in class net.dillon.dillonlib.client.IncreasedBrightnessSliderCallbackBase
- codec() - Method in enum class net.dillon.dillonlib.event.IncreasedBrightnessSliderCallback
- collectionOf(Class) - Static method in class net.dillon.dillonlib.platform.PlatformLoader
- COMMON - Enum constant in enum class net.dillon.dillonlib.annotation.DillType
- CommonModPlatform - Class in net.dillon.dillonlib.platform.common
-
Platform class which always returns the same value for specific platforms, meaning it's not customizable by your mod.
- CommonModPlatform() - Constructor for class net.dillon.dillonlib.platform.common.CommonModPlatform
- commonModVersion(String) - Method in class net.dillon.dillonlib.platform.common.CommonModPlatform
- commonModVersion(String) - Method in class net.dillon.dillonlib.platform.common.NeoForgeCommonPlatformImpl
- CommonSprites - Class in net.dillon.dillonlib.util
-
Common sprites used throughout Dillon's mods.
- CommonSprites() - Constructor for class net.dillon.dillonlib.util.CommonSprites
- CommonTasks - Class in net.dillon.dillonlib.task
-
Common tasks that can be used in your mod.
- CommonTasks() - Constructor for class net.dillon.dillonlib.task.CommonTasks
- compare(String, String) - Static method in class net.dillon.dillonlib.util.UpdateChecker
-
Checks whether the latest version is newer.
- compareVersions(String, String) - Static method in class net.dillon.dillonlib.util.UpdateChecker
-
Compares two numeric versions.
- condition() - Method in class net.dillon.dillonlib.mixinplugin.PredicateEntry
- ConditionalMixinPlugin - Class in net.dillon.dillonlib.mixin
- ConditionalMixinPlugin() - Constructor for class net.dillon.dillonlib.mixin.ConditionalMixinPlugin
- ConditionalTooltip - Class in net.dillon.dillonlib.screen
-
Holds two tooltips based on the result of a boolean supplier.
- configDir() - Method in class net.dillon.dillonlib.platform.common.CommonModPlatform
-
Gets the config directory for the supported platform.
- configDir() - Method in class net.dillon.dillonlib.platform.common.NeoForgeCommonPlatformImpl
- configDir() - Method in class net.dillon.dillonlib.util.BaseOptions
-
Returns the config directory to be resolved.
- consume() - Static method in class net.dillon.dillonlib.util.KeybindScrollHelper
-
Consumes the current keybind category and removes it.
- consumer() - Method in class net.dillon.dillonlib.platform.info.PlatformMenuButton
- contains(UUID) - Method in class net.dillon.dillonlib.util.PlayerStorage
- CopperGolemFix - Class in net.dillon.dillonlib.mixin.shear
- CopperGolemFix() - Constructor for class net.dillon.dillonlib.mixin.shear.CopperGolemFix
- createAttributeTag(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
attributetag. - createBiomeTag(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
biometag. - createBlockAndItemTag(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
BlockItemTagIdtag. - createBlockTag(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
blocktag. - createDamageTypeTag(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
damage typetag. - createDefault() - Method in class net.dillon.dillonlib.core.DillonLibOptions.DillonLibOptionsHandler
- createDefault() - Method in class net.dillon.dillonlib.util.BaseOptions
-
Returns the type to get the options from.
- createDimensionTag(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
dimensiontag. - createDimensionTypeTag(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
dimension typetag. - createDoubleOption(String, String, double, double, double, double, BaseOptions, BiConsumer) - Static method in class net.dillon.dillonlib.client.ModernWidgetOptions
- createEnchantmentTag(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
enchantmenttag. - createEntityTypeTag(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
entity typetag. - createFeatureTag(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
featuretag. - createFluidTag(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
fluidtag. - createGson() - Method in class net.dillon.dillonlib.util.BaseOptions
-
Creates the
GSON reader,which reads options correctly. - createHeader(Component, AbstractWidget...) - Method in class net.dillon.dillonlib.screen.DillonLibMenuScreen
-
Creates a header with buttons.
- createHeaderWithBig(Component, AbstractWidget, AbstractWidget...) - Method in class net.dillon.dillonlib.screen.DillonLibMenuScreen
-
Creates a header a big button at the top, and then a list of regular buttons below it.
- createItemTag(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
itemtag. - createKeyMapping(String, InputConstants.Type, KeyMapping.Category, int, Consumer) - Static method in class net.dillon.dillonlib.factory.ClientFactories
-
Registers a
key binding factory,with an functional action and a message to send. - createMenuButton(String, Identifier, Button.OnPress, Map, Component, boolean) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Creates a menu button.
- createMenuButton(String, Identifier, Button.OnPress, Map, Component, int, int, boolean) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Creates a menu button with a custom sprite width and height.
- createModBlockItemWithCustomItemName(Block) - Static method in interface net.dillon.dillonlib.mixin.accessor.ItemsInvoker
- createOpenKeybindsButton(Component) - Method in class net.dillon.dillonlib.screen.DillonLibMenuScreen
- createOption(OptionInstance) - Static method in class net.dillon.dillonlib.client.ModernWidgetOptions
-
Creates an option widget from an
OptionInstance. - createPlacedFeatureTag(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
placed featuretag. - createPotionTag(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
potiontag. - createRegisterableTag(ResourceKey, Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers any
TagKeyobject ofRegistries. - createSimpleBooleanOption(String, boolean, boolean, BaseOptions, BiConsumer, Object...) - Static method in class net.dillon.dillonlib.client.ModernWidgetOptions
- createSimpleIntegerOption(String, BiFunction, OptionInstance.IntRange, int, BaseOptions, BiConsumer) - Static method in class net.dillon.dillonlib.client.ModernWidgetOptions
- createStructureSetTag(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
structure settag. - createStructureTag(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
structuretag. - createTemplatePoolTag(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
template pooltag. - createTradeSetTag(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
trade settag. - createVillagerTradeTag(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
villager tradetag. - createWidget(AbstractWidget) - Method in interface net.dillon.dillonlib.screen.DillonLibScreen
-
Creates an always-active widget with no tooltip.
- createWidget(AbstractWidget, BooleanSupplier) - Method in interface net.dillon.dillonlib.screen.DillonLibScreen
-
Creates a widget with custom active state and no tooltip.
- createWidget(AbstractWidget, BooleanSupplier, IntSupplier, IntSupplier) - Method in interface net.dillon.dillonlib.screen.DillonLibScreen
-
Creates a widget with custom active state and position.
- createWidget(AbstractWidget, BooleanSupplier, Supplier) - Method in interface net.dillon.dillonlib.screen.DillonLibScreen
-
Creates a widget with custom active state and tooltip.
- createWidget(AbstractWidget, BooleanSupplier, Supplier, IntSupplier, IntSupplier) - Method in interface net.dillon.dillonlib.screen.DillonLibScreen
-
Creates a widget with custom active state, tooltip, and position.
- createWidget(AbstractWidget, IntSupplier, IntSupplier) - Method in interface net.dillon.dillonlib.screen.DillonLibScreen
-
Creates an always-active widget with a custom position.
- createWidget(AbstractWidget, Supplier) - Method in interface net.dillon.dillonlib.screen.DillonLibScreen
-
Creates an always-active widget with a conditional tooltip.
- createWidget(AbstractWidget, Supplier, IntSupplier, IntSupplier) - Method in interface net.dillon.dillonlib.screen.DillonLibScreen
-
Creates an always-active widget with a custom tooltip and position.
- createWidget(AbstractWidget, Component) - Method in interface net.dillon.dillonlib.screen.DillonLibScreen
-
Creates an always-active widget with a tooltip.
- CrossbowFactory - Class in net.dillon.dillonlib.factory.item
-
A default
CrossbowItem, with comes with built-in rendering fixes and charging rules. - CrossbowFactory(Item.Properties) - Constructor for class net.dillon.dillonlib.factory.item.CrossbowFactory
D
- ddouble(String, String) - Static method in class net.dillon.dillonlib.mixinplugin.PredicateEntry
- DEBUG - Enum constant in enum class net.dillon.dillonlib.mixinplugin.MessageType
- DebugOptionsScreenAccessor - Interface in net.dillon.dillonlib.mixin.accessor
-
Accessor for the debug options screen
EditBox. - DebugOptionsScreenImpl - Interface in net.dillon.dillonlib.util
-
Used to implement a fix for the debug options screen.
- DebugOptionsScreenMixin - Class in net.dillon.dillonlib.mixin.client.fix.screen
-
Fixes a bug when closing the debug options screen always sets the parent screen to
null. - DebugOptionsScreenMixin(Component) - Constructor for class net.dillon.dillonlib.mixin.client.fix.screen.DebugOptionsScreenMixin
- DebugScreenEntriesInvoker - Interface in net.dillon.dillonlib.mixin.accessor
-
Invoker for registering debug entries to your mod.
- DEDICATED_SERVER - Enum constant in enum class net.dillon.dillonlib.annotation.DillType
- DEFAULT - Static variable in class net.dillon.dillonlib.factory.item.BowFactory
- DEFAULT - Static variable in class net.dillon.dillonlib.factory.item.CrossbowFactory
- DEFAULT - Static variable in class net.dillon.dillonlib.factory.item.ShearsFactory
- defaultGraphicsOffset() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
- defaultOffset() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
- Dill - Annotation Interface in net.dillon.dillonlib.annotation
-
Provides universal annotation for client and dedicated server classes and methods.
- DillonLibClient - Class in net.dillon.dillonlib.core
-
Clientinitialization entrypoint for DillonLib. - DillonLibClient() - Constructor for class net.dillon.dillonlib.core.DillonLibClient
- DillonLibEvents - Class in net.dillon.dillonlib.core
-
All registry events for DillonLib.
- DillonLibEvents() - Constructor for class net.dillon.dillonlib.core.DillonLibEvents
- DillonLibMain - Class in net.dillon.dillonlib.core
-
Maininitialization entrypoint for DillonLib. - DillonLibMain() - Constructor for class net.dillon.dillonlib.core.DillonLibMain
- DillonLibMenuScreen - Class in net.dillon.dillonlib.screen
-
A common
menuscreen that contains basic mod information and access to configurations, resources and other things. - DillonLibMenuScreen(Screen, Component, Function) - Constructor for class net.dillon.dillonlib.screen.DillonLibMenuScreen
- DillonLibMixinPluginUtil - Class in net.dillon.dillonlib.core
- DillonLibMixinPluginUtil() - Constructor for class net.dillon.dillonlib.core.DillonLibMixinPluginUtil
- DillonLibModConfigLibs - Class in net.dillon.dillonlib.core
- DillonLibModConfigLibs() - Constructor for class net.dillon.dillonlib.core.DillonLibModConfigLibs
- DillonLibModReferences - Class in net.dillon.dillonlib.core
- DillonLibModReferences() - Constructor for class net.dillon.dillonlib.core.DillonLibModReferences
- DillonLibNeoForge - Class in net.dillon.dillonlib
- DillonLibNeoForge(ModContainer, IEventBus) - Constructor for class net.dillon.dillonlib.DillonLibNeoForge
- DillonLibOptions - Class in net.dillon.dillonlib.core
- DillonLibOptions() - Constructor for class net.dillon.dillonlib.core.DillonLibOptions
- DillonLibOptions.DillonLibOptionsHandler - Class in net.dillon.dillonlib.core
- DillonLibOptionsHandler() - Constructor for class net.dillon.dillonlib.core.DillonLibOptions.DillonLibOptionsHandler
- DillonLibScreen - Interface in net.dillon.dillonlib.screen
-
A common interface for creating basic screens.
- DillonLibServer - Class in net.dillon.dillonlib.core
-
Serverinitialization entrypoint for DillonLib. - DillonLibServer() - Constructor for class net.dillon.dillonlib.core.DillonLibServer
- DillonLibSounds - Class in net.dillon.dillonlib.core
-
Sounds for DillonLib.
- DillonLibSounds() - Constructor for class net.dillon.dillonlib.core.DillonLibSounds
- DILLONS_DISCORD - Static variable in class net.dillon.dillonlib.util.Links
- DillType - Enum Class in net.dillon.dillonlib.annotation
-
Annotations for a class, method or field, on what environment the object should be run on.
- disconnect(Runnable) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Disconnects from the current world with a consumer.
- drawGraphics(GuiGraphicsExtractor) - Method in class net.dillon.dillonlib.screen.BasicDillonLibScreen
-
Draws graphics on the screen.
- drawLargeSprite(GuiGraphicsExtractor, Identifier, Button) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Draws a large sprite over a button.
- drawLargeSprite(GuiGraphicsExtractor, Identifier, Button, float) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Draws a large sprite over a button with a custom alpha.
- drawModInfo(GuiGraphicsExtractor, Screen, Component, Identifier, boolean) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Draws a mod version and icon in a main menu screen.
- drawSmallSprite(GuiGraphicsExtractor, Identifier, Button) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Draws a small sprite over a button.
- drawSmallSprite(GuiGraphicsExtractor, Identifier, Button, float) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Draws a small sprite over a button with a custom alpha.
- drawSprite(GuiGraphicsExtractor, Identifier, int, int, int, int) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Draws a sprite.
- drawSprite(GuiGraphicsExtractor, Identifier, int, int, int, int, float) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Draws a sprite with a custom alpha fade.
- drawTooltip(Component, GuiGraphicsExtractor, int, int) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Draws a tooltip.
- drawUpdateSprite(GuiGraphicsExtractor, int, int) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Draws the update icon.
- drawWidgetData(GuiGraphicsExtractor, int, int) - Method in interface net.dillon.dillonlib.screen.DillonLibScreen
-
Draws all widget data.
E
- empty() - Static method in class net.dillon.dillonlib.screen.ConditionalTooltip
-
Uses an empty tooltip.
- ENCHANTED_BOOK - Static variable in class net.dillon.dillonlib.util.CommonSprites
- entityType() - Method in record class net.dillon.dillonlib.factory.data.BoatData
-
Returns the value of the
entityTyperecord component. - EntityTypesInvoker - Interface in net.dillon.dillonlib.mixin.accessor
-
Invoker for registering boat and chest boat factories to map the boat item to the boat's entity type.
- entries() - Method in class net.dillon.dillonlib.core.DillonLibMixinPluginUtil
- entries() - Method in record class net.dillon.dillonlib.factory.item.SimpleItemGroupFactory
-
Returns the value of the
entriesrecord component. - entries() - Method in class net.dillon.dillonlib.mixinplugin.MixinPluginUtil
- equals(Object) - Method in record class net.dillon.dillonlib.factory.data.BoatData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.dillon.dillonlib.factory.item.SimpleItemGroupFactory
-
Indicates whether some other object is "equal to" this one.
- ERROR - Enum constant in enum class net.dillon.dillonlib.mixinplugin.MessageType
- executeForEachClientPlatform(Consumer) - Static method in class net.dillon.dillonlib.platform.PlatformLoader
-
Executes a given task (or method) for all instances
ClientModPlatformclasses, and then returns the total amount of client platforms (excluding DillonLib's base client platform). - executeForEachMixinPlatform(Consumer) - Static method in class net.dillon.dillonlib.platform.PlatformLoader
-
Executes a given task (or method) for all instances
MixinModPlatformclasses, and then returns the total amount of mixin platforms (excluding DillonLib's base mixin platform). - executeForEachPlatform(Consumer) - Static method in class net.dillon.dillonlib.platform.PlatformLoader
-
Executes a given task (or method) for all instances
ModPlatformclasses, and then returns the total amount of platforms (excluding DillonLib's base platform). - executeIfClientLevel(Consumer) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Executes a task of the current
ClientLevelif it isn't null. - executeIfClientPlayer(Consumer) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Executes a task for the
LocalPlayerif the player isn't null. - executeIfPlayer(Player, Consumer) - Static method in class net.dillon.dillonlib.task.CommonTasks
-
Executes a task for a
Playerif they aren't null. - executeIftLevel(Level, Consumer) - Static method in class net.dillon.dillonlib.task.CommonTasks
-
Executes a task of the current
Levelif it isn't null. - extractContents(GuiGraphicsExtractor, int, int, float) - Method in class net.dillon.dillonlib.platform.info.UpdatableSpriteButton
- extractRenderState(GuiGraphicsExtractor, int, int, float) - Method in class net.dillon.dillonlib.screen.BasicDillonLibScreen
- extractRenderState(GuiGraphicsExtractor, int, int, float) - Method in class net.dillon.dillonlib.screen.DillonLibMenuScreen
F
- fabric() - Method in enum class net.dillon.dillonlib.platform.info.Platform
- FABRIC - Enum constant in enum class net.dillon.dillonlib.platform.info.Platform
- Factories - Class in net.dillon.dillonlib.factory
-
Stores and registers different factories for specific Minecraft registries.
- Factories() - Constructor for class net.dillon.dillonlib.factory.Factories
- factorItemLikeIntoCreativeTab(ResourceKey, ItemLike) - Static method in class net.dillon.dillonlib.factory.Factories
-
Adds a
ItemLiketo a specificCreativeModeTab. - factorItemLikesIntoCreativeTab(ResourceKey, List) - Static method in class net.dillon.dillonlib.factory.Factories
- factorItemLikesIntoCreativeTabs(List, List) - Static method in class net.dillon.dillonlib.factory.Factories
- factorItemStackIntoCreativeTab(ResourceKey, Supplier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Adds an
ItemStackto a specificCreativeModeTab. - factorItemStacksIntoCreativeTab(ResourceKey, Supplier) - Static method in class net.dillon.dillonlib.factory.Factories
- factorItemStacksIntoCreativeTabs(List, Supplier) - Static method in class net.dillon.dillonlib.factory.Factories
- findCategory(KeyMapping.Category) - Static method in class net.dillon.dillonlib.util.KeybindScrollHelper
-
Finds the current keybind category, and does nothing if it was not found.
- FlintAndSteel(Item.Properties) - Constructor for class net.dillon.dillonlib.factory.item.IgnitableFactory.FlintAndSteel
- FlintAndSteel(Item.Properties, boolean) - Constructor for class net.dillon.dillonlib.factory.item.IgnitableFactory.FlintAndSteel
- forge() - Method in enum class net.dillon.dillonlib.platform.info.Platform
- FORGE - Enum constant in enum class net.dillon.dillonlib.platform.info.Platform
- FORTNITE_BATTLE_PASS - Static variable in class net.dillon.dillonlib.core.DillonLibSounds
- FORTNITE_BATTLE_PASS_ID - Static variable in class net.dillon.dillonlib.core.DillonLibSounds
- fortniteBattlePass - Variable in class net.dillon.dillonlib.core.DillonLibOptions
- fromSliderValue(double) - Static method in class net.dillon.dillonlib.client.IncreasedBrightnessSliderCallbackBase
- fromSliderValue(double) - Method in enum class net.dillon.dillonlib.event.IncreasedBrightnessSliderCallback
G
- gamemaster(CommandSourceStack) - Static method in class net.dillon.dillonlib.util.SimplePermissions
- get(UUID) - Method in class net.dillon.dillonlib.util.PlayerStorage
- getCommonPlatform() - Static method in class net.dillon.dillonlib.platform.Platforms
- getConditionalTooltip() - Method in class net.dillon.dillonlib.screen.WidgetData
- getConfigClass() - Method in class net.dillon.dillonlib.core.DillonLibOptions.DillonLibOptionsHandler
- getConfigClass() - Method in class net.dillon.dillonlib.util.BaseOptions
-
Returns the class to get the options from.
- getConfigFile() - Method in class net.dillon.dillonlib.util.BaseOptions
-
Gets
thisconfig file. - getCustomDir() - Method in class net.dillon.dillonlib.util.BaseOptions
- getDillonLibClientPlatform() - Static method in class net.dillon.dillonlib.platform.Platforms
- getDillonLibMixinPlatform() - Static method in class net.dillon.dillonlib.platform.Platforms
- getDillonLibPlatform() - Static method in class net.dillon.dillonlib.platform.PlatformGetter
-
The mod's multi-loader platform.
- getDoneButton() - Method in class net.dillon.dillonlib.screen.DillonLibMenuScreen
- getEntitiesWithinRange(Level, Class, LivingEntity, List, Predicate) - Static method in class net.dillon.dillonlib.task.CommonTasks
- getFabricClientPlatform() - Static method in class net.dillon.dillonlib.platform.NeoForgePlatforms
- getFabricMixinPlatform() - Static method in class net.dillon.dillonlib.platform.NeoForgePlatforms
- getFile() - Method in class net.dillon.dillonlib.util.BaseOptions
- getFileName() - Method in class net.dillon.dillonlib.util.BaseOptions
- getFont() - Static method in class net.dillon.dillonlib.task.ClientTasks
- getGuiHeight(GuiGraphicsExtractor) - Static method in class net.dillon.dillonlib.task.ClientTasks
- getGuiWidth(GuiGraphicsExtractor) - Static method in class net.dillon.dillonlib.task.ClientTasks
- getHorizontalPosition(int, int, int) - Method in class net.dillon.dillonlib.mixin.client.TitleScreenMixin
- getInstance() - Method in class net.dillon.dillonlib.util.BaseOptions
-
Gets the instance of options.
- getItemBySlot(Player, EquipmentSlot) - Static method in class net.dillon.dillonlib.task.CommonTasks
- getKeyBindsList() - Method in interface net.dillon.dillonlib.mixin.accessor.KeyBindsScreenAccessor
- getLibInstance() - Static method in class net.dillon.dillonlib.core.DillonLibOptions
- getMainHandStack(Player) - Static method in class net.dillon.dillonlib.task.CommonTasks
- getMinecraft() - Static method in class net.dillon.dillonlib.task.ClientTasks
- getMixins() - Method in class net.dillon.dillonlib.mixin.ConditionalMixinPlugin
- getName() - Method in class net.dillon.dillonlib.platform.info.UpdatableSpriteButton
- getOffHandStack(Player) - Static method in class net.dillon.dillonlib.task.CommonTasks
- getParent() - Method in class net.dillon.dillonlib.mixin.client.fix.screen.DebugOptionsScreenMixin
- getParent() - Method in interface net.dillon.dillonlib.util.DebugOptionsScreenImpl
- getRefMapperConfig() - Method in class net.dillon.dillonlib.mixin.ConditionalMixinPlugin
- getScreen() - Static method in class net.dillon.dillonlib.task.ClientTasks
- getSearchBox() - Method in interface net.dillon.dillonlib.mixin.accessor.DebugOptionsScreenAccessor
- getTooltip(boolean) - Method in class net.dillon.dillonlib.screen.ConditionalTooltip
-
Returns the tooltip based on the supplied condition.
- getWidget() - Method in class net.dillon.dillonlib.screen.WidgetData
- getX() - Method in class net.dillon.dillonlib.screen.WidgetData
- getY() - Method in class net.dillon.dillonlib.screen.WidgetData
- github(String) - Static method in class net.dillon.dillonlib.util.Links
- githubIssues(String) - Static method in class net.dillon.dillonlib.util.Links
- graphicsHeight - Variable in class net.dillon.dillonlib.screen.Positions
- graphicsHeight(AbstractWidget) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
- graphicsHeightBottom() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the graphics height at the bottom center, and returns the new value.
- graphicsHeightCenter() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the graphics height at the center, and returns the new value.
- graphicsHeightDown() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the current graphics height moved down by
ScreenBuilder.defaultGraphicsOffset(), and returns the new value. - graphicsHeightDown(int) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the current graphics height moved down, and returns the new value.
- graphicsHeightTop() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the graphics height at the top center, and returns the new value.
- graphicsHeightUp() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the current graphics height moved up by
ScreenBuilder.defaultOffset(), and returns the new value. - graphicsHeightUp(int) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the current graphics height moved up, and returns the new value.
- graphicsWidth - Variable in class net.dillon.dillonlib.screen.Positions
-
The current graphics width and graphics height of the screen builder, which is updated and then reset every frame to keep correct positions.
- graphicsWidth(AbstractWidget) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
- graphicsWidthCenter() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the graphics width at the center, and returns the new value.
- graphicsWidthLeft() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the current graphics width moved left by
ScreenBuilder.defaultGraphicsOffset(), and returns the new value. - graphicsWidthLeft(int) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the current graphics width moved left, and returns the new value.
- graphicsWidthRight() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the current graphics width moved right by
ScreenBuilder.defaultGraphicsOffset(), and returns the new value. - graphicsWidthRight(int) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the current graphics width moved right, and returns the new value.
- graphicsWidthSideLeft() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the graphics width at the bottom left, and returns the new value.
- graphicsWidthSideRight() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the graphics width at the bottom right, and returns the new value.
H
- hasEffect(ItemStack, String) - Static method in class net.dillon.dillonlib.task.CommonTasks
- hasEnchantment(Predicate, ResourceKey, ItemStack) - Static method in class net.dillon.dillonlib.task.CommonTasks
- hashCode() - Method in record class net.dillon.dillonlib.factory.data.BoatData
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.dillon.dillonlib.factory.item.SimpleItemGroupFactory
-
Returns a hash code value for this object.
- hasPermissionLevel(CommandSourceStack, PermissionLevel) - Static method in class net.dillon.dillonlib.util.SimplePermissions
- hasUpdate(CompletableFuture) - Static method in class net.dillon.dillonlib.util.UpdateChecker
- height(ScreenBuilder.ScreenPos, ScreenBuilder.Type) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the height at a specific screen position, and returns the new value.
- height(AbstractWidget) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
- heightBottom() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the height at the bottom center, and returns the new value.
- heightCenter() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the height at the center, and returns the new value.
- heightDown() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the current height moved down by
ScreenBuilder.defaultOffset(), and returns the new value. - heightDown(int) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the current height moved down, and returns the new value.
- heightTop() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the height at the top center, and returns the new value.
- heightUp() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the current height moved up by
ScreenBuilder.defaultOffset(), and returns the new value. - heightUp(int) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the current height moved up, and returns the new value.
I
- i_() - Static method in class net.dillon.dillonlib.factory.ClientFactories
-
Initializes this class.
- i_() - Static method in class net.dillon.dillonlib.factory.Factories
-
Initializes this class.
- i_() - Static method in class net.dillon.dillonlib.platform.PlatformLoader
-
Initializes this class.
- icon() - Method in record class net.dillon.dillonlib.factory.item.SimpleItemGroupFactory
-
Returns the value of the
iconrecord component. - id() - Method in record class net.dillon.dillonlib.factory.data.BoatData
-
Returns the value of the
idrecord component. - id() - Method in record class net.dillon.dillonlib.factory.item.SimpleItemGroupFactory
-
Returns the value of the
idrecord component. - id() - Method in class net.dillon.dillonlib.platform.info.ModReference
- IgnitableFactory - Class in net.dillon.dillonlib.factory.item
-
A default
Item, with built-in mixin fixes for ignitables like tnt, sulfur cubes, etc. - IgnitableFactory(Item.Properties) - Constructor for class net.dillon.dillonlib.factory.item.IgnitableFactory
- IgnitableFactory.FlintAndSteel - Class in net.dillon.dillonlib.factory.item
-
A flint and steel version of an
IgnitableFactory(not an instance of it), but is treated as an ignitable. - IncreasedBrightnessSliderCallback - Enum Class in net.dillon.dillonlib.event
- IncreasedBrightnessSliderCallbackBase - Class in net.dillon.dillonlib.client
-
A base callback for implementing full bright into the game.
- IncreasedBrightnessSliderCallbackBase() - Constructor for class net.dillon.dillonlib.client.IncreasedBrightnessSliderCallbackBase
- INFO - Enum constant in enum class net.dillon.dillonlib.mixinplugin.MessageType
- init() - Method in class net.dillon.dillonlib.mixin.client.KeyBindsScreenMixin
-
Scrolls down to the pending category, to make accessing modded controls user-friendly.
- init() - Method in class net.dillon.dillonlib.screen.BasicDillonLibScreen
- init() - Method in class net.dillon.dillonlib.screen.DillonLibMenuScreen
- init(CallbackInfo) - Method in class net.dillon.dillonlib.mixin.client.NeoForgeOptionInstanceMixin
- initialHeight - Variable in class net.dillon.dillonlib.screen.Positions
- initialize() - Static method in class net.dillon.dillonlib.core.DillonLibMain
-
Initializes DillonLib on
all environment sides. - initialWidth - Variable in class net.dillon.dillonlib.screen.Positions
-
The first width and height that are initialized when creating a screen builder.
- instance - Variable in class net.dillon.dillonlib.util.BaseOptions
- INSTANCE - Enum constant in enum class net.dillon.dillonlib.event.IncreasedBrightnessSliderCallback
- INSTANCE - Static variable in class net.dillon.dillonlib.core.DillonLibOptions
- invokeRegister(Identifier, DebugScreenEntry) - Static method in interface net.dillon.dillonlib.mixin.accessor.DebugScreenEntriesInvoker
- isCharged(ItemStack) - Static method in class net.dillon.dillonlib.factory.item.CrossbowFactory
- isDevelopmentEnvironment() - Method in class net.dillon.dillonlib.platform.common.CommonModPlatform
- isDevelopmentEnvironment() - Method in class net.dillon.dillonlib.platform.common.NeoForgeCommonPlatformImpl
- isEmptyOrNullTooltip(Component) - Method in class net.dillon.dillonlib.screen.ConditionalTooltip
- isEnvironmentClient() - Method in class net.dillon.dillonlib.platform.common.CommonModPlatform
- isEnvironmentClient() - Method in class net.dillon.dillonlib.platform.common.NeoForgeCommonPlatformImpl
- isEnvironmentServer() - Method in class net.dillon.dillonlib.platform.common.CommonModPlatform
- isEnvironmentServer() - Method in class net.dillon.dillonlib.platform.common.NeoForgeCommonPlatformImpl
- isLibLoaded(ModConfigLib) - Static method in class net.dillon.dillonlib.core.DillonLibModConfigLibs
- isModLoaded(ModReference) - Static method in class net.dillon.dillonlib.core.DillonLibModReferences
- isModLoaded(ModReference) - Method in class net.dillon.dillonlib.platform.mixinsafe.MixinModPlatform
- isModLoaded(ModReference) - Method in class net.dillon.dillonlib.platform.mixinsafe.MixinNeoForgePlatformImpl
- isOnPause() - Method in class net.dillon.dillonlib.platform.info.PlatformMenuButton
- isOnServer() - Static method in class net.dillon.dillonlib.task.ClientTasks
- isOnTitle() - Method in class net.dillon.dillonlib.platform.info.PlatformMenuButton
- ITEM_GROUPS - Static variable in class net.dillon.dillonlib.platform.common.NeoForgeCommonPlatformImpl
- ItemFactoryPredicate - Interface in net.dillon.dillonlib.factory.item
-
Represents a
item factory, which is tested in areas of the game for certain predicates. - ItemsInvoker - Interface in net.dillon.dillonlib.mixin.accessor
-
Item and block invoker methods for registering blocks and items.
K
- KeybindScrollHelper - Class in net.dillon.dillonlib.util
-
Utility class for scrolling to a certain keybinds list.
- KeybindScrollHelper() - Constructor for class net.dillon.dillonlib.util.KeybindScrollHelper
- KeyBindsScreenAccessor - Interface in net.dillon.dillonlib.mixin.accessor
-
Invoker for accessing the keybinds list in
KeybindsScreen. - KeyBindsScreenMixin - Class in net.dillon.dillonlib.mixin.client
- KeyBindsScreenMixin(Screen, Options, Component) - Constructor for class net.dillon.dillonlib.mixin.client.KeyBindsScreenMixin
L
- LETS_GO - Static variable in class net.dillon.dillonlib.util.Texts
- Links - Class in net.dillon.dillonlib.util
-
Common links that are used in Dillon's mods.
- Links() - Constructor for class net.dillon.dillonlib.util.Links
- load() - Method in class net.dillon.dillonlib.util.BaseOptions
-
Loads
thisconfig. - load(Class, String) - Static method in class net.dillon.dillonlib.platform.PlatformLoader
-
This code is used to load a service for the current environment.
- Loadable - Interface in net.dillon.dillonlib.platform
-
Represents a loadable platform.
- logger() - Method in class net.dillon.dillonlib.core.DillonLibMixinPluginUtil
- logger() - Method in class net.dillon.dillonlib.mixinplugin.MixinPluginUtil
- LOGGER - Static variable in class net.dillon.dillonlib.core.DillonLibMain
M
- M_asTick(int) - Static method in class net.dillon.dillonlib.util.Arithmetics
-
Converts
minutesto ticks. - MatchToolFix - Class in net.dillon.dillonlib.mixin.shear
- MatchToolFix() - Constructor for class net.dillon.dillonlib.mixin.shear.MatchToolFix
- max - Static variable in class net.dillon.dillonlib.client.IncreasedBrightnessSliderCallbackBase
- menuButtons() - Method in class net.dillon.dillonlib.platform.client.ClientModPlatform
- message(PredicateEntry, String, String) - Method in class net.dillon.dillonlib.mixinplugin.MixinPluginUtil
-
The message that is sent to the console.
- messageType() - Method in class net.dillon.dillonlib.mixinplugin.PredicateEntry
- MessageType - Enum Class in net.dillon.dillonlib.mixinplugin
-
Specifies the type of message that should be sent when a mixin is not applied.
- min - Static variable in class net.dillon.dillonlib.client.IncreasedBrightnessSliderCallbackBase
- MinecraftMixin - Class in net.dillon.dillonlib.mixin.client
- MinecraftMixin() - Constructor for class net.dillon.dillonlib.mixin.client.MinecraftMixin
- mixinDirectory() - Method in class net.dillon.dillonlib.core.DillonLibMixinPluginUtil
- mixinDirectory() - Method in class net.dillon.dillonlib.mixinplugin.MixinPluginUtil
- MixinModPlatform - Class in net.dillon.dillonlib.platform.mixinsafe
-
A separate service loader for mixin-safe classes and plugins, to prevent unknown and unexpected crashes when reading other Minecraft files during game initialization and checking mixins.
- MixinModPlatform() - Constructor for class net.dillon.dillonlib.platform.mixinsafe.MixinModPlatform
- MixinNeoForgePlatformImpl - Class in net.dillon.dillonlib.platform.mixinsafe
- MixinNeoForgePlatformImpl() - Constructor for class net.dillon.dillonlib.platform.mixinsafe.MixinNeoForgePlatformImpl
- mixinPlatformPredicate(Predicate) - Static method in class net.dillon.dillonlib.platform.Platforms
- MixinPluginUtil - Class in net.dillon.dillonlib.mixinplugin
-
Simple utility class for
IMixinConfigPlugin. - MixinPluginUtil() - Constructor for class net.dillon.dillonlib.mixinplugin.MixinPluginUtil
- mixins() - Method in class net.dillon.dillonlib.mixinplugin.PredicateEntry
- MOD_ID - Static variable in class net.dillon.dillonlib.core.DillonLibMain
- ModConfigLib - Class in net.dillon.dillonlib.platform.info
-
Similar to a
ModReference, this holds a configuration library required for your mod, with the libName as a literal string to display if the mod isn't loaded. - moderator(CommandSourceStack) - Static method in class net.dillon.dillonlib.util.SimplePermissions
- ModernWidgetOptions - Class in net.dillon.dillonlib.client
-
Creates modern-like list widgets, with different texts and options.
- ModernWidgetOptions() - Constructor for class net.dillon.dillonlib.client.ModernWidgetOptions
- modId() - Method in class net.dillon.dillonlib.platform.client.ClientModPlatform
- modId() - Method in class net.dillon.dillonlib.platform.client.ClientNeoForgePlatformImpl
- modId() - Method in interface net.dillon.dillonlib.platform.Loadable
- modId() - Method in class net.dillon.dillonlib.platform.mixinsafe.MixinModPlatform
- modId() - Method in class net.dillon.dillonlib.platform.mixinsafe.MixinNeoForgePlatformImpl
- modId() - Method in class net.dillon.dillonlib.platform.ModPlatform
- modId() - Method in class net.dillon.dillonlib.platform.NeoForgePlatformImpl
- ModPlatform - Class in net.dillon.dillonlib.platform
-
A platform helper class.
- ModPlatform() - Constructor for class net.dillon.dillonlib.platform.ModPlatform
- ModReference - Class in net.dillon.dillonlib.platform.info
-
Used to create
mod id references. - modVersion() - Method in class net.dillon.dillonlib.platform.ModPlatform
- modVersion() - Method in class net.dillon.dillonlib.platform.NeoForgePlatformImpl
- multiLineTextCenterAndHeightDown(Component) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Adds a centered multi-line text widget and then moves the height down.
- multiLineTextCenterAndHeightDown(Component, int) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Adds a centered multi-line text widget with a custom max width and then moves the height down.
- multiLineTextCenterAndHeightDown(Component, int, int) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Adds a centered multi-line text widget with a custom max width and height offset.
- multiple(String...) - Static method in class net.dillon.dillonlib.mixinplugin.PredicateEntry
- MushroomCowFix - Class in net.dillon.dillonlib.mixin.shear
- MushroomCowFix() - Constructor for class net.dillon.dillonlib.mixin.shear.MushroomCowFix
N
- name() - Method in class net.dillon.dillonlib.platform.info.ModConfigLib
- neoforge() - Method in enum class net.dillon.dillonlib.platform.info.Platform
- NEOFORGE - Enum constant in enum class net.dillon.dillonlib.platform.info.Platform
- NEOFORGE - Static variable in class net.dillon.dillonlib.factory.item.BowFactory
- NeoForgeClientEvents - Class in net.dillon.dillonlib.event
-
Client-side NeoForge eventsfor DillonLib. - NeoForgeClientEvents() - Constructor for class net.dillon.dillonlib.event.NeoForgeClientEvents
- NeoForgeCommonEvents - Class in net.dillon.dillonlib.event
- NeoForgeCommonEvents() - Constructor for class net.dillon.dillonlib.event.NeoForgeCommonEvents
- NeoForgeCommonPlatformImpl - Class in net.dillon.dillonlib.platform.common
- NeoForgeCommonPlatformImpl() - Constructor for class net.dillon.dillonlib.platform.common.NeoForgeCommonPlatformImpl
- NeoForgeOptionInstanceMixin - Class in net.dillon.dillonlib.mixin.client
- NeoForgeOptionInstanceMixin() - Constructor for class net.dillon.dillonlib.mixin.client.NeoForgeOptionInstanceMixin
- NeoForgePlatformImpl - Class in net.dillon.dillonlib.platform
- NeoForgePlatformImpl() - Constructor for class net.dillon.dillonlib.platform.NeoForgePlatformImpl
- NeoForgePlatforms - Class in net.dillon.dillonlib.platform
-
Contains all
NeoForge-specificplatforms for your convenience. - NeoForgePlatforms() - Constructor for class net.dillon.dillonlib.platform.NeoForgePlatforms
- NeoForgeServerEvents - Class in net.dillon.dillonlib.event
-
Server-side NeoForge eventsfor DillonLib. - NeoForgeServerEvents() - Constructor for class net.dillon.dillonlib.event.NeoForgeServerEvents
- NeoForgeSoundEvents - Class in net.dillon.dillonlib.registry
- NeoForgeSoundEvents() - Constructor for class net.dillon.dillonlib.registry.NeoForgeSoundEvents
- net.dillon.dillonlib - package net.dillon.dillonlib
- net.dillon.dillonlib.annotation - package net.dillon.dillonlib.annotation
- net.dillon.dillonlib.client - package net.dillon.dillonlib.client
- net.dillon.dillonlib.core - package net.dillon.dillonlib.core
- net.dillon.dillonlib.event - package net.dillon.dillonlib.event
- net.dillon.dillonlib.factory - package net.dillon.dillonlib.factory
- net.dillon.dillonlib.factory.data - package net.dillon.dillonlib.factory.data
- net.dillon.dillonlib.factory.item - package net.dillon.dillonlib.factory.item
- net.dillon.dillonlib.mixin - package net.dillon.dillonlib.mixin
- net.dillon.dillonlib.mixin.accessor - package net.dillon.dillonlib.mixin.accessor
- net.dillon.dillonlib.mixin.client - package net.dillon.dillonlib.mixin.client
- net.dillon.dillonlib.mixin.client.fix.bow - package net.dillon.dillonlib.mixin.client.fix.bow
- net.dillon.dillonlib.mixin.client.fix.screen - package net.dillon.dillonlib.mixin.client.fix.screen
- net.dillon.dillonlib.mixin.entity.fix - package net.dillon.dillonlib.mixin.entity.fix
- net.dillon.dillonlib.mixin.ignitable - package net.dillon.dillonlib.mixin.ignitable
- net.dillon.dillonlib.mixin.shear - package net.dillon.dillonlib.mixin.shear
- net.dillon.dillonlib.mixinplugin - package net.dillon.dillonlib.mixinplugin
- net.dillon.dillonlib.platform - package net.dillon.dillonlib.platform
- net.dillon.dillonlib.platform.client - package net.dillon.dillonlib.platform.client
- net.dillon.dillonlib.platform.common - package net.dillon.dillonlib.platform.common
- net.dillon.dillonlib.platform.info - package net.dillon.dillonlib.platform.info
- net.dillon.dillonlib.platform.mixinsafe - package net.dillon.dillonlib.platform.mixinsafe
- net.dillon.dillonlib.registry - package net.dillon.dillonlib.registry
- net.dillon.dillonlib.screen - package net.dillon.dillonlib.screen
- net.dillon.dillonlib.task - package net.dillon.dillonlib.task
- net.dillon.dillonlib.util - package net.dillon.dillonlib.util
- NEXT - Static variable in class net.dillon.dillonlib.util.Texts
- NO - Static variable in class net.dillon.dillonlib.util.Texts
- NON_KUMA_KEY_MAPPING_FACTORIES - Static variable in class net.dillon.dillonlib.factory.ClientFactories
- notPlayer(CommandSourceStack) - Static method in class net.dillon.dillonlib.util.SimplePermissions
O
- of(boolean, boolean, UpdatableSpriteButton, Consumer) - Static method in class net.dillon.dillonlib.platform.info.PlatformMenuButton
-
Creates a new
PlatformMenuButton. - of(String) - Static method in class net.dillon.dillonlib.platform.info.ModReference
-
Creates a new
ModReference. - of(String[], boolean, String, MessageType) - Static method in class net.dillon.dillonlib.mixinplugin.PredicateEntry
-
Creates a new
PredicateEntry. - of(String, Identifier, Button.OnPress, Component, int, int, boolean) - Static method in class net.dillon.dillonlib.platform.info.UpdatableSpriteButton
-
Creates a
UpdatableSpriteButtonwith a custom sprite width and height. - of(AbstractWidget, BooleanSupplier, Supplier, IntSupplier, IntSupplier) - Static method in class net.dillon.dillonlib.screen.WidgetData
-
Creates new
Widget Data. - of(Screen) - Static method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Creates a new
ScreenBuilder. - of(Component, ModReference) - Static method in class net.dillon.dillonlib.platform.info.ModConfigLib
-
Creates a new
ModConfigLib. - of(Component, Component) - Static method in class net.dillon.dillonlib.screen.ConditionalTooltip
-
Uses the widget's active state as the condition.
- ofActive(Component) - Static method in class net.dillon.dillonlib.screen.ConditionalTooltip
-
Uses a constant active tooltip.
- ofBottomCentered(Screen) - Static method in class net.dillon.dillonlib.screen.ScreenBuilder
- ofBottomLeft(Screen) - Static method in class net.dillon.dillonlib.screen.ScreenBuilder
- ofBottomRight(Screen) - Static method in class net.dillon.dillonlib.screen.ScreenBuilder
- ofCentered(Screen) - Static method in class net.dillon.dillonlib.screen.ScreenBuilder
- ofCondition(BooleanSupplier, Component, Component) - Static method in class net.dillon.dillonlib.screen.ConditionalTooltip
-
Uses a custom condition instead of the widget's active state.
- ofDebug(String[], boolean, String) - Static method in class net.dillon.dillonlib.mixinplugin.PredicateEntry
-
Creates a new
PredicateEntry, with adebugmessage type. - ofDefault(String, Identifier, Button.OnPress, Component, boolean) - Static method in class net.dillon.dillonlib.platform.info.UpdatableSpriteButton
-
Creates a default
UpdatableSpriteButton. - ofEmpty(boolean, boolean, UpdatableSpriteButton) - Static method in class net.dillon.dillonlib.platform.info.PlatformMenuButton
-
Creates a new
PlatformMenuButton, with anempty consumer. - ofError(String[], boolean, String) - Static method in class net.dillon.dillonlib.mixinplugin.PredicateEntry
-
Creates a new
PredicateEntry, with aerrormessage type. - OFF - Static variable in class net.dillon.dillonlib.util.Texts
- ofInfo(String[], boolean, String) - Static method in class net.dillon.dillonlib.mixinplugin.PredicateEntry
-
Creates a new
PredicateEntry, with ainfomessage type. - ofTopCentered(Screen) - Static method in class net.dillon.dillonlib.screen.ScreenBuilder
- ofTopLeft(Screen) - Static method in class net.dillon.dillonlib.screen.ScreenBuilder
- ofTopRight(Screen) - Static method in class net.dillon.dillonlib.screen.ScreenBuilder
- ofWarn(String[], boolean, String) - Static method in class net.dillon.dillonlib.mixinplugin.PredicateEntry
-
Creates a new
PredicateEntry, with awarnmessage type. - OK - Static variable in class net.dillon.dillonlib.util.Texts
- OKAY - Static variable in class net.dillon.dillonlib.util.Texts
- ON - Static variable in class net.dillon.dillonlib.util.Texts
- ON_OFF_TEXT - Static variable in class net.dillon.dillonlib.client.ModernWidgetOptions
- onClose() - Method in class net.dillon.dillonlib.mixin.client.fix.screen.DebugOptionsScreenMixin
- onLoad(String) - Method in class net.dillon.dillonlib.mixin.ConditionalMixinPlugin
- onSet(UUID, T) - Method in class net.dillon.dillonlib.util.PlayerStorage
-
Performs an action when data is set.
- onValueUpdate(Double) - Static method in class net.dillon.dillonlib.core.DillonLibClient
-
Updates full bright.
- openConfigDirectory() - Method in class net.dillon.dillonlib.screen.DillonLibMenuScreen
-
Opens the default configuration directory.
- OpenConfigScreen - Class in net.dillon.dillonlib.screen
-
Opens the configuration file for DillonLib.
- OpenConfigScreen(Screen) - Constructor for class net.dillon.dillonlib.screen.OpenConfigScreen
- openDebugEntriesScreen(Screen, String) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Opens the
DebugOptionsScreenwith set text for the search bar. - openKeybinds() - Method in class net.dillon.dillonlib.screen.DillonLibMenuScreen
-
A method to open your keybinds screen.
- openLink(Screen, String, boolean) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Opens a link.
- openScreen(Screen) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Opens a screen on the client.
- other() - Method in enum class net.dillon.dillonlib.platform.info.Platform
- OTHER - Enum constant in enum class net.dillon.dillonlib.platform.info.Platform
- OTHER - Enum constant in enum class net.dillon.dillonlib.platform.info.Release
- owner(CommandSourceStack) - Static method in class net.dillon.dillonlib.util.SimplePermissions
P
- PAUSE_SCREEN_BUTTON_CAP - Static variable in class net.dillon.dillonlib.platform.info.PlatformMenuButton
- pauseOnly(boolean, UpdatableSpriteButton, Consumer) - Static method in class net.dillon.dillonlib.platform.info.PlatformMenuButton
-
Creates a new
PlatformMenuButton, only possibly rendering on thepause screen. - pauseOnlyEmpty(boolean, UpdatableSpriteButton) - Static method in class net.dillon.dillonlib.platform.info.PlatformMenuButton
-
Creates a new
PlatformMenuButton, only possibly rendering on thepause screen, with anempty consumer. - PauseScreenMixin - Class in net.dillon.dillonlib.mixin.client
- PauseScreenMixin(Component) - Constructor for class net.dillon.dillonlib.mixin.client.PauseScreenMixin
- percentChance(float) - Static method in class net.dillon.dillonlib.util.Arithmetics
- platform() - Method in class net.dillon.dillonlib.platform.ModPlatform
- platform() - Method in class net.dillon.dillonlib.platform.NeoForgePlatformImpl
- Platform - Enum Class in net.dillon.dillonlib.platform.info
-
All valid platforms that are commonly use in Minecraft modding that you can use with your mod.
- PlatformGetter - Class in net.dillon.dillonlib.platform
-
The main platform getter for DillonLib.
- PlatformGetter() - Constructor for class net.dillon.dillonlib.platform.PlatformGetter
- PlatformLoader - Class in net.dillon.dillonlib.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.
- PlatformLoader() - Constructor for class net.dillon.dillonlib.platform.PlatformLoader
- PlatformMenuButton - Class in net.dillon.dillonlib.platform.info
-
Stores menu button data.
- Platforms - Class in net.dillon.dillonlib.platform
-
Contains all built-in DillonLib platforms to access for your convenience.
- Platforms() - Constructor for class net.dillon.dillonlib.platform.Platforms
- PlayerStorage<T> - Class in net.dillon.dillonlib.util
-
Stores server-side data for a player's
UUID, mainly used for syncing client-options with the server for player preferences. - PlayerStorage(T) - Constructor for class net.dillon.dillonlib.util.PlayerStorage
- playLocalSound(SoundEvent) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Plays a sound to the client.
- playLocalSound(SoundEvent, float, float) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Plays a sound to the client, with a custom volume and pitch.
- playLocalSoundToLocalPlayer(SoundEvent) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Plays a sound to the
LocalPlayer. - playLocalSoundToLocalPlayer(SoundEvent, float, float) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Plays a sound to the
LocalPlayer, with a custom volume and pitch. - playSoundFromLiving(LivingEntity, SoundEvent, SoundSource) - Static method in class net.dillon.dillonlib.task.CommonTasks
-
Plays a sound to a
LivingEntity. - playSoundFromLiving(LivingEntity, SoundEvent, SoundSource, float, float) - Static method in class net.dillon.dillonlib.task.CommonTasks
-
Plays a sound to a
LivingEntity, with a custom volume and pitch. - pop() - Method in class net.dillon.dillonlib.screen.ScreenBuilder.ScreenValue
- Positions - Class in net.dillon.dillonlib.screen
-
Captures screen positions.
- Positions() - Constructor for class net.dillon.dillonlib.screen.Positions
- postApply(String, ClassNode, String, IMixinInfo) - Method in class net.dillon.dillonlib.mixin.ConditionalMixinPlugin
- preApply(String, ClassNode, String, IMixinInfo) - Method in class net.dillon.dillonlib.mixin.ConditionalMixinPlugin
- Predicated - Annotation Interface in net.dillon.dillonlib.mixinplugin
-
Indicates that a mixin is
signed, which means that the mixin has the possibility of being disabled due to aPredicateEntry. - PredicateEntry - Class in net.dillon.dillonlib.mixinplugin
-
A list of mapped
mixin class nameswithbooleanson whether the mixin should be enabled upon load time. - PROCEED - Static variable in class net.dillon.dillonlib.util.Texts
Q
- QUALITY_OF_QUESO - Static variable in class net.dillon.dillonlib.core.DillonLibModReferences
R
- rangedPercentChance(float, float) - Static method in class net.dillon.dillonlib.util.Arithmetics
- rangedPercentChance(int, int) - Static method in class net.dillon.dillonlib.util.Arithmetics
- reason() - Method in class net.dillon.dillonlib.mixinplugin.PredicateEntry
- reference() - Method in class net.dillon.dillonlib.platform.info.ModConfigLib
- refreshWidgets() - Method in interface net.dillon.dillonlib.mixin.accessor.ScreenInvoker
- register(IEventBus) - Static method in class net.dillon.dillonlib.registry.NeoForgeSoundEvents
- registerAllClientCommands(CommandDispatcher, CommandBuildContext) - Static method in class net.dillon.dillonlib.core.DillonLibEvents
-
Registers all
clientcommands. - registerAllCommonCommands(CommandDispatcher, CommandBuildContext) - Static method in class net.dillon.dillonlib.core.DillonLibEvents
-
Registers all
commoncommands. - registerAllEvents() - Static method in class net.dillon.dillonlib.core.DillonLibEvents
-
Registers all
commonevents. - registerAllServerCommands(CommandDispatcher, CommandBuildContext) - Static method in class net.dillon.dillonlib.core.DillonLibEvents
-
Registers all
servercommands. - registerBoatDispenserBehavior(List) - Static method in class net.dillon.dillonlib.factory.Factories
-
Safely registers
BoatDispenseItemBehaviorfor a list of boats and boat items. - registerBoatFactory(Identifier, Supplier, boolean) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
boat entity factoryinto the game. - registerBoatFactory(Identifier, EntityType.EntityFactory, boolean) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a custom-factory boat entity into the game.
- registerBoatLayerDefinitions(EntityRenderersEvent.RegisterLayerDefinitions) - Static method in class net.dillon.dillonlib.event.NeoForgeClientEvents
- registerBoatRenderers(EntityRenderersEvent.RegisterRenderers) - Static method in class net.dillon.dillonlib.event.NeoForgeClientEvents
- registerBoundSoundEvents() - Static method in class net.dillon.dillonlib.core.DillonLibSounds
-
Registers the Fortnite battle pass sound at the correct time, so NeoForged doesn't crash.
- registerClientCommands(CommandDispatcher, CommandBuildContext) - Method in class net.dillon.dillonlib.platform.client.ClientModPlatform
-
Registers client-side only commands.
- registerCommands(RegisterCommandsEvent) - Static method in class net.dillon.dillonlib.event.NeoForgeCommonEvents
- registerCommonCommands(CommandDispatcher, CommandBuildContext) - Method in class net.dillon.dillonlib.platform.ModPlatform
-
Registers commands that should be on all environments.
- registerDispenserBehavior - Variable in class net.dillon.dillonlib.factory.item.IgnitableFactory.FlintAndSteel
- registerDispenserBehavior - Variable in class net.dillon.dillonlib.factory.item.ShearsFactory
- registerEntityType(ResourceKey, EntityType.Builder) - Static method in class net.dillon.dillonlib.factory.Factories
-
Helper method for registering entity types.
- registerEvents() - Method in class net.dillon.dillonlib.platform.ModPlatform
-
Registers events, that should be on all environments.
- registerFlintAndSteelDispenserBehavior(List) - Static method in class net.dillon.dillonlib.factory.Factories
-
Safely registers
FlintAndSteelDispenseItemBehaviorfor a list ofIgnitableFactory.FlintAndSteels. - registerItemGroup(SimpleItemGroupFactory) - Method in class net.dillon.dillonlib.platform.common.CommonModPlatform
-
Registers an item group when an item group factory is created.
- registerItemGroup(SimpleItemGroupFactory) - Method in class net.dillon.dillonlib.platform.common.NeoForgeCommonPlatformImpl
- registerKeybindings(RegisterKeyMappingsEvent) - Static method in class net.dillon.dillonlib.event.NeoForgeClientEvents
- registerKeyMapping(String, InputConstants.Type, KeyMapping.Category, int) - Method in class net.dillon.dillonlib.platform.client.ClientModPlatform
-
Registers a
KeyMappinginto the game. - registerKeyMapping(String, InputConstants.Type, KeyMapping.Category, int) - Method in class net.dillon.dillonlib.platform.client.ClientNeoForgePlatformImpl
- registerModBlock(BlockItemId, Block) - Static method in interface net.dillon.dillonlib.mixin.accessor.ItemsInvoker
- registerModBlock(BlockItemId, Block, BiFunction) - Static method in interface net.dillon.dillonlib.mixin.accessor.ItemsInvoker
- registerModBlock(BlockItemId, Block, BiFunction, Item.Properties) - Static method in interface net.dillon.dillonlib.mixin.accessor.ItemsInvoker
- registerModBlock(BlockItemId, Block, UnaryOperator) - Static method in interface net.dillon.dillonlib.mixin.accessor.ItemsInvoker
- registerModBlock(BlockItemId, Block, Item.Properties) - Static method in interface net.dillon.dillonlib.mixin.accessor.ItemsInvoker
- registerModBlock(BlockItemId, Block, Block...) - Static method in interface net.dillon.dillonlib.mixin.accessor.ItemsInvoker
- registerModBoatFactory(Supplier) - Static method in interface net.dillon.dillonlib.mixin.accessor.EntityTypesInvoker
- registerModChestBoatFactory(Supplier) - Static method in interface net.dillon.dillonlib.mixin.accessor.EntityTypesInvoker
- registerModItem(BlockItemId, Function) - Static method in interface net.dillon.dillonlib.mixin.accessor.ItemsInvoker
- registerModItem(BlockItemId, Function, Item.Properties) - Static method in interface net.dillon.dillonlib.mixin.accessor.ItemsInvoker
- registerModItem(ResourceKey) - Static method in interface net.dillon.dillonlib.mixin.accessor.ItemsInvoker
- registerModItem(ResourceKey, Function) - Static method in interface net.dillon.dillonlib.mixin.accessor.ItemsInvoker
- registerModItem(ResourceKey, Function, Item.Properties) - Static method in interface net.dillon.dillonlib.mixin.accessor.ItemsInvoker
- registerModItem(ResourceKey, Item.Properties) - Static method in interface net.dillon.dillonlib.mixin.accessor.ItemsInvoker
- registerModSpawnEgg(ResourceKey, EntityType) - Static method in interface net.dillon.dillonlib.mixin.accessor.ItemsInvoker
- registerServerCommands(CommandDispatcher, CommandBuildContext) - Method in class net.dillon.dillonlib.platform.ModPlatform
-
Registers server-side only commands.
- registerShearDispenserBehavior(List) - Static method in class net.dillon.dillonlib.factory.Factories
-
Safely registers
ShearsDispenseItemBehaviorfor a list ofShearsFactorys. - registerSimpleItemGroupFactory(Identifier, ItemLike, Supplier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Creates a simple item group with a custom supplier for your items.
- registerSimpleItemGroupFactory(Identifier, ItemLike, List) - Static method in class net.dillon.dillonlib.factory.Factories
-
Creates a simple item group with basic items.
- registerSoundEvent(Identifier) - Static method in class net.dillon.dillonlib.factory.Factories
-
Registers a
sound event. - release() - Method in class net.dillon.dillonlib.platform.ModPlatform
- release() - Method in class net.dillon.dillonlib.platform.NeoForgePlatformImpl
- Release - Enum Class in net.dillon.dillonlib.platform.info
-
Labels your mod release type.
- remove(UUID) - Method in class net.dillon.dillonlib.util.PlayerStorage
-
Removes the value for the player.
- removeModWidget(GuiEventListener) - Method in interface net.dillon.dillonlib.mixin.accessor.ScreenInvoker
- renderModInfo(GuiGraphicsExtractor) - Method in class net.dillon.dillonlib.screen.DillonLibMenuScreen
-
Renders basic mod information on the screen.
- renderUpdateIconOnButton(GuiGraphicsExtractor, UpdatableSpriteButton) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Renders the update icon on a button.
- request(KeyMapping.Category) - Static method in class net.dillon.dillonlib.util.KeybindScrollHelper
-
Requests and queues a keybind category string.
- resetBounds() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Resets the width and height to the initial values.
- resetRenderBounds() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Resets the render bounds to the initial values.
- roundToHundredths(double) - Static method in class net.dillon.dillonlib.util.Arithmetics
-
Rounds a value to the nearest hundredths place.
- roundToTenths(double) - Static method in class net.dillon.dillonlib.util.Arithmetics
-
Rounds the value to the nearest tenths place.
S
- S_asTick(int) - Static method in class net.dillon.dillonlib.util.Arithmetics
-
Converts
secondsto ticks. - safeCheck() - Method in class net.dillon.dillonlib.util.BaseOptions
-
Runs a safe check through all options to ensure no issues.
- save() - Method in class net.dillon.dillonlib.util.BaseOptions
-
Saves
thisconfig. - schedule(int, Runnable) - Static method in class net.dillon.dillonlib.task.CommonTasks
-
Schedules a task (executes after
delayTicks). - ScreenBuilder - Class in net.dillon.dillonlib.screen
-
Makes building screens easier.
- ScreenBuilder.ScreenValue - Class in net.dillon.dillonlib.screen
-
A value calculated by a
ScreenBuilder. - screenHeight - Variable in class net.dillon.dillonlib.screen.Positions
- ScreenInvoker - Interface in net.dillon.dillonlib.mixin.accessor
-
Invoker for screen methods.
- screenWidth - Variable in class net.dillon.dillonlib.screen.Positions
-
The current width and height of the screen builder.
- sendMessage(PredicateEntry, String, Object...) - Method in class net.dillon.dillonlib.mixinplugin.MixinPluginUtil
-
Sends a console message to the user, based on the
MessageType. - sendOverlayMessage(Player, Component) - Static method in class net.dillon.dillonlib.task.CommonTasks
-
Sends an overlay message to a
Player. - sendSystemMessage(Player, Component) - Static method in class net.dillon.dillonlib.task.CommonTasks
-
Sends a system message to a
Player. - sendUpdateMessage(Player, Component, String, int) - Static method in class net.dillon.dillonlib.task.CommonTasks
-
Sends a message to the player indicating their mod requires an update.
- ServerDillonLibNeoForge - Class in net.dillon.dillonlib
- ServerDillonLibNeoForge(ModContainer, IEventBus) - Constructor for class net.dillon.dillonlib.ServerDillonLibNeoForge
- set(UUID, T) - Method in class net.dillon.dillonlib.util.PlayerStorage
-
Sets the value for the player.
- setCustomDirectory(File) - Method in class net.dillon.dillonlib.util.BaseOptions
-
Creates a new custom directory for the server file.
- setFileName(String) - Method in class net.dillon.dillonlib.util.BaseOptions
-
Sets and creates a new file.
- setInstance(T) - Method in class net.dillon.dillonlib.util.BaseOptions
-
Sets current instance to a new option instance.
- setNullScreen() - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Sets the currnet screen to null.
- setParent(Screen) - Method in class net.dillon.dillonlib.mixin.client.fix.screen.DebugOptionsScreenMixin
- setParent(Screen) - Method in interface net.dillon.dillonlib.util.DebugOptionsScreenImpl
- setWidgetPositions(WidgetData) - Method in interface net.dillon.dillonlib.screen.DillonLibScreen
-
Sets widget positions.
- ShearsFactory - Class in net.dillon.dillonlib.factory.item
-
A default
ShearsItem, with built-in mixin fixes for shearing entities, blocks, breaking certain blocks, and predicates. - ShearsFactory(Item.Properties) - Constructor for class net.dillon.dillonlib.factory.item.ShearsFactory
- ShearsFactory(Item.Properties, boolean) - Constructor for class net.dillon.dillonlib.factory.item.ShearsFactory
- ShieldFactory - Class in net.dillon.dillonlib.factory.item
-
A default
ShieldItem, which contains correct data for shields. - ShieldFactory(Item.Properties, float) - Constructor for class net.dillon.dillonlib.factory.item.ShieldFactory
- shouldApplyFactories() - Method in class net.dillon.dillonlib.platform.mixinsafe.MixinModPlatform
-
Specifies if factories should be applied.
- shouldApplyFactories() - Static method in class net.dillon.dillonlib.platform.Platforms
- shouldApplyFullBright() - Method in class net.dillon.dillonlib.platform.mixinsafe.MixinModPlatform
- shouldApplyFullBright() - Static method in class net.dillon.dillonlib.platform.Platforms
- shouldApplyMixin(String, String) - Method in class net.dillon.dillonlib.mixin.ConditionalMixinPlugin
- shouldBeActive() - Method in class net.dillon.dillonlib.screen.WidgetData
- shouldNotApply(String, String) - Method in class net.dillon.dillonlib.mixinplugin.MixinPluginUtil
- shouldRenderUpdateSprite() - Method in class net.dillon.dillonlib.platform.info.UpdatableSpriteButton
- SHOWN_WARNING_TOAST - Static variable in class net.dillon.dillonlib.core.DillonLibClient
- SIMPLE_KEYBINDS - Static variable in class net.dillon.dillonlib.core.DillonLibModReferences
- SimpleItemGroupFactory - Record Class in net.dillon.dillonlib.factory.item
-
Holds item group data that is registered when creating an item group factory.
- SimpleItemGroupFactory(Identifier, ItemLike, Supplier) - Constructor for record class net.dillon.dillonlib.factory.item.SimpleItemGroupFactory
-
Creates an instance of a
SimpleItemGroupFactoryrecord class. - SimplePermissions - Class in net.dillon.dillonlib.util
-
A utility class for getting simple permission levels that can be used in custom commands.
- SimplePermissions() - Constructor for class net.dillon.dillonlib.util.SimplePermissions
- single(String) - Static method in class net.dillon.dillonlib.mixinplugin.PredicateEntry
- sInitialize() - Static method in class net.dillon.dillonlib.core.DillonLibServer
-
Initializes the
server-sideof DillonLib. - SODIUM - Static variable in class net.dillon.dillonlib.core.DillonLibModReferences
- sortButtons(List) - Static method in class net.dillon.dillonlib.platform.info.PlatformMenuButton
-
Sorts platform menu buttons in a correct order.
- SPEEDRUNNER_MOD - Static variable in class net.dillon.dillonlib.core.DillonLibModReferences
- STABLE - Enum constant in enum class net.dillon.dillonlib.platform.info.Release
- stop(Runnable) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Stops and closes the game with a consumer.
- SulfurCubeFix - Class in net.dillon.dillonlib.mixin.entity.fix
- SulfurCubeFix() - Constructor for class net.dillon.dillonlib.mixin.entity.fix.SulfurCubeFix
- SURVIVAL_FLY - Static variable in class net.dillon.dillonlib.core.DillonLibModReferences
T
- test(ItemStack) - Method in interface net.dillon.dillonlib.factory.item.ItemFactoryPredicate
- textCenterAndGraphicsHeightDown(GuiGraphicsExtractor, Component) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Draws text and then moves the height down.
- textCenterAndGraphicsHeightDown(GuiGraphicsExtractor, Component, int) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Draws text and then moves the height down by a specific amount.
- textCenterAndGraphicsHeightDownWrapped(GuiGraphicsExtractor, Component) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Draws wrapped text centered and moves the height down after each line.
- textCenterAndGraphicsHeightDownWrapped(GuiGraphicsExtractor, Component, int) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Draws wrapped text centered and moves the height down after each line, with a custom max width.
- textCenterAndGraphicsHeightDownWrapped(GuiGraphicsExtractor, Component, int, int) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Draws wrapped text centered and moves the height down by a specific amount after each line, with a custom max width and amount for each line.
- textCenterGraphicsHeight(GuiGraphicsExtractor, Component) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Draws text in a centered fashion.
- textCenterGraphicsHeight(GuiGraphicsExtractor, Component, int) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Draws text in a centered fashion at a specific height.
- Texts - Class in net.dillon.dillonlib.util
-
Common texts that can be used throughout your mod.
- Texts() - Constructor for class net.dillon.dillonlib.util.Texts
- textTitleGraphicsHeight(GuiGraphicsExtractor) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Draws title text on a screen.
- textTitleGraphicsHeight(GuiGraphicsExtractor, Component) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Draws custom title text on a screen.
- THIS - Static variable in class net.dillon.dillonlib.factory.item.ShieldFactory
- THIS_OR_STEEL - Static variable in class net.dillon.dillonlib.factory.item.IgnitableFactory
- tickScheduledTasks() - Method in class net.dillon.dillonlib.platform.common.CommonModPlatform
-
Ticks all simple scheduled tasks.
- tickScheduledTasks() - Method in class net.dillon.dillonlib.platform.common.NeoForgeCommonPlatformImpl
- tickTasks(MinecraftServer) - Static method in class net.dillon.dillonlib.task.CommonTasks
-
Tick the task delay, and then execute.
- TITLE_SCREEN_BUTTON_CAP - Static variable in class net.dillon.dillonlib.platform.info.PlatformMenuButton
- titleOnly(boolean, UpdatableSpriteButton, Consumer) - Static method in class net.dillon.dillonlib.platform.info.PlatformMenuButton
-
Creates a new
PlatformMenuButton, only possibly rendering on thetitle screen. - titleOnlyEmpty(boolean, UpdatableSpriteButton) - Static method in class net.dillon.dillonlib.platform.info.PlatformMenuButton
-
Creates a new
PlatformMenuButton, only possibly rendering on thetitle screen, with anempty consumer. - TitleScreenMixin - Class in net.dillon.dillonlib.mixin.client
- TitleScreenMixin(Component) - Constructor for class net.dillon.dillonlib.mixin.client.TitleScreenMixin
- TntBlockFix - Class in net.dillon.dillonlib.mixin.ignitable
- TntBlockFix() - Constructor for class net.dillon.dillonlib.mixin.ignitable.TntBlockFix
- toComponentString(Double) - Static method in class net.dillon.dillonlib.core.DillonLibClient
- toSliderValue(Double) - Static method in class net.dillon.dillonlib.client.IncreasedBrightnessSliderCallbackBase
- toSliderValue(Double) - Method in enum class net.dillon.dillonlib.event.IncreasedBrightnessSliderCallback
- toString() - Method in record class net.dillon.dillonlib.factory.data.BoatData
-
Returns a string representation of this record class.
- toString() - Method in record class net.dillon.dillonlib.factory.item.SimpleItemGroupFactory
-
Returns a string representation of this record class.
- triple(String, String, String) - Static method in class net.dillon.dillonlib.mixinplugin.PredicateEntry
- tryOpenConfigScreen(Supplier, Component, ModConfigLib) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Tries to open a
configurationscreen, if the config library mod is installed, and warns the user if it's not. - tryOpenYaclScreen(Supplier, Component) - Static method in class net.dillon.dillonlib.task.ClientTasks
-
Tries to open a
YetAnotherConfigLibscreen, and warns the user if it's not.
U
- UNMODIFIED - Static variable in class net.dillon.dillonlib.screen.WidgetData
- UpdatableSpriteButton - Class in net.dillon.dillonlib.platform.info
-
Extends a normal
SpriteIconButton, but with the update sprite automatically rendering if necessary. - update(Consumer) - Method in class net.dillon.dillonlib.util.BaseOptions
-
Updates a config option and saves it.
- UPDATE_AVAILABLE - Static variable in class net.dillon.dillonlib.util.CommonSprites
- UpdateChecker - Class in net.dillon.dillonlib.util
-
A utility to see if your mod needs an update.
- UpdateChecker() - Constructor for class net.dillon.dillonlib.util.UpdateChecker
V
- validateValue(Double) - Static method in class net.dillon.dillonlib.client.IncreasedBrightnessSliderCallbackBase
- validateValue(Double) - Method in enum class net.dillon.dillonlib.event.IncreasedBrightnessSliderCallback
- value() - Element in annotation interface net.dillon.dillonlib.annotation.Dill
- valueOf(String) - Static method in enum class net.dillon.dillonlib.annotation.DillType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.dillon.dillonlib.event.IncreasedBrightnessSliderCallback
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.dillon.dillonlib.mixinplugin.MessageType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.dillon.dillonlib.platform.info.Platform
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.dillon.dillonlib.platform.info.Release
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.dillon.dillonlib.annotation.DillType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.dillon.dillonlib.event.IncreasedBrightnessSliderCallback
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.dillon.dillonlib.mixinplugin.MessageType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.dillon.dillonlib.platform.info.Platform
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.dillon.dillonlib.platform.info.Release
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WARN - Enum constant in enum class net.dillon.dillonlib.mixinplugin.MessageType
- widgetData() - Method in class net.dillon.dillonlib.screen.BasicDillonLibScreen
- widgetData() - Method in class net.dillon.dillonlib.screen.DillonLibMenuScreen
- widgetData() - Method in interface net.dillon.dillonlib.screen.DillonLibScreen
-
All widget data for a screen.
- WidgetData - Class in net.dillon.dillonlib.screen
-
Holds data for a widget.
- widgets() - Method in class net.dillon.dillonlib.screen.DillonLibMenuScreen
- widgets() - Method in interface net.dillon.dillonlib.screen.DillonLibScreen
-
Override this method to add your widgets to the screen.
- widgets() - Method in class net.dillon.dillonlib.screen.OpenConfigScreen
- width(ScreenBuilder.ScreenPos, ScreenBuilder.Type) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
- width(AbstractWidget) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
- widthBottomSideLeft() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the width at the bottom left, and returns the new value.
- widthBottomSideRight() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the width at the bottom right, and returns the new value.
- widthCenter() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the width at the center, and returns the new value.
- widthLeft() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the current width moved left by
ScreenBuilder.defaultOffset(), and returns the new value. - widthLeft(int) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the current width moved left, and returns the new value.
- widthRight() - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the current width moved right by
ScreenBuilder.defaultOffset(), and returns the new value. - widthRight(int) - Method in class net.dillon.dillonlib.screen.ScreenBuilder
-
Calculates the current width moved right, and returns the new value.
Y
- YACL - Static variable in class net.dillon.dillonlib.core.DillonLibModConfigLibs
- YACL - Static variable in class net.dillon.dillonlib.core.DillonLibModReferences
- YES - Static variable in class net.dillon.dillonlib.util.Texts
- YES_NO_TEXT - Static variable in class net.dillon.dillonlib.client.ModernWidgetOptions
All Classes and Interfaces|All Packages|Constant Field Values