Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add() - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Adds this biome to the
BiomeLayer
and returns to the layer builder. - add(PlacementModifier...) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- add(StructureProcessor...) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase.ProcessorListBuilder
- add(Content) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Adds the given content to this entry.
- add(FeatureProviderBase.PlacementModifiers) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- add(Polynomial<Double>) - Method in class org.moddingx.libx.util.math.DoublePolynomial
- add(Polynomial<Integer>) - Method in class org.moddingx.libx.util.math.IntPolynomial
- add(Polynomial<T>) - Method in class org.moddingx.libx.util.math.Polynomial
-
Adds two polynomials together.
- addAdditionalProvider(Function<DatagenContext, DataProvider>) - Method in class org.moddingx.libx.datagen.DatagenContext
-
Adds an additional provider for the
datagen stage
that runs on the samePackTarget
as this provider. - addAll(Collection<PlacementModifier>) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- addAll(Collection<StructureProcessor>) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase.ProcessorListBuilder
- addAnchor(String) - Method in interface org.moddingx.libx.datagen.provider.patchouli.page.PageBuilder
-
Adds a new floating anchor.
- addDataProvider(Function<DatagenContext, DataProvider>) - Method in class org.moddingx.libx.datagen.DatagenSystem
-
Adds a provider to run in the
datagen stage
. - addDataProvider(PackTarget, Function<DatagenContext, DataProvider>) - Method in class org.moddingx.libx.datagen.DatagenSystem
-
Adds a provider to run in the
datagen stage
. - addDebugInfo(List<String>, BlockPos, Climate.Sampler) - Method in class org.moddingx.libx.sandbox.generator.LayeredBiomeSource
- addExtensionProvider(Function<DatagenContext, RegistryProvider>) - Method in class org.moddingx.libx.datagen.DatagenSystem
-
Adds a provider to run in the
extension setup stage
. - addExtensionProvider(PackTarget, Function<DatagenContext, RegistryProvider>) - Method in class org.moddingx.libx.datagen.DatagenSystem
-
Adds a provider to run in the
extension setup stage
. - addFake(ResourceLocation, BufferedImage) - Method in class org.moddingx.libx.datagen.provider.texture.TextureBuilder
-
Assigns the given id to a fake image.
- addFake(ResourceLocation, BufferedImage, int) - Method in class org.moddingx.libx.datagen.provider.texture.TextureBuilder
-
Assigns the given id to a fake image and scale.
- addFakeImage(ResourceLocation, ResourceLocation, UnaryOperator<BufferedImage>) - Method in class org.moddingx.libx.datagen.provider.texture.TextureBuilder
-
Assigns the given id to a fake image that is obtained by transforming another image.
- addFakeTexture(ResourceLocation, ResourceLocation, UnaryOperator<BufferedImage>) - Method in class org.moddingx.libx.datagen.provider.texture.TextureBuilder
-
Assigns the given id to a fake image that is obtained by transforming another image.
- addFeatures(HolderSet<Biome>, GenerationStep.Decoration) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeModifierProviderBase
-
Returns a builder for a
BiomeModifier
that adds features to a biome. - addFeatures(TagKey<Biome>, GenerationStep.Decoration) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeModifierProviderBase
-
Returns a builder for a
BiomeModifier
that adds features to a biome. - addImage(String, int) - Method in class org.moddingx.libx.datagen.provider.texture.TextureBuilder
-
Adds a required image which has the given size by default as width and height.
- addImage(String, int, int) - Method in class org.moddingx.libx.datagen.provider.texture.TextureBuilder
-
Adds a required image which has the given width and height by default.
- addImage(ResourceLocation, int) - Method in class org.moddingx.libx.datagen.provider.texture.TextureBuilder
-
Adds a required image which has the given size by default as width and height.
- addImage(ResourceLocation, int, int) - Method in class org.moddingx.libx.datagen.provider.texture.TextureBuilder
-
Adds a required image which has the given width and height by default.
- addItems(CreativeTabX.TabContext) - Method in class org.moddingx.libx.creativetab.CreativeTabX
-
Adds the items to the tab.
- addition(String, ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.loot.GlobalLootProviderBase
-
Creates a loot modifier builder for a modifier that adds the given loot table as loot.
- addModItems(CreativeTabX.TabContext) - Method in class org.moddingx.libx.creativetab.CreativeTabX
-
Adds all items from the current mod into the tab.
- addModItems(CreativeTabX.TabContext, Comparator<Item>) - Method in class org.moddingx.libx.creativetab.CreativeTabX
-
Adds all items from the current mod into the tab using a custom order.
- addModItems(CreativeTabX.TabContext, Comparator<Item>, Predicate<Item>) - Method in class org.moddingx.libx.creativetab.CreativeTabX
-
Adds all items from the current mod, that match a predicate into the tab using a custom order.
- addModItems(CreativeTabX.TabContext, Predicate<Item>) - Method in class org.moddingx.libx.creativetab.CreativeTabX
-
Adds all items from the current mod, that match a predicate into the tab.
- addModItemStacks(CreativeTabX.TabContext, Comparator<Item>, Function<Item, Stream<ItemStack>>) - Method in class org.moddingx.libx.creativetab.CreativeTabX
-
Generates a stream of
item stacks
for each item from the current mod and adds the stacks to the tab using a custom order. - addModItemStacks(CreativeTabX.TabContext, Function<Item, Stream<ItemStack>>) - Method in class org.moddingx.libx.creativetab.CreativeTabX
-
Generates a stream of
item stacks
for each item from the current mod and adds the stacks to the tab. - addPage(JsonObject) - Method in interface org.moddingx.libx.datagen.provider.patchouli.page.PageBuilder
-
Adds a new page from the given json data.
- addRecipeKey(JsonObject) - Method in class org.moddingx.libx.datagen.provider.patchouli.content.RecipePage
-
Adds the recipe to the generated json.
- addRegistrationHandler(Runnable) - Method in class org.moddingx.libx.mod.ModXRegistration
-
Adds a registration handler that runs during the registry phase.
- addRegistryProvider(Function<DatagenContext, RegistryProvider>) - Method in class org.moddingx.libx.datagen.DatagenSystem
-
Adds a provider to run in the
registry setup stage
. - addRegistryProvider(PackTarget, Function<DatagenContext, RegistryProvider>) - Method in class org.moddingx.libx.datagen.DatagenSystem
-
Adds a provider to run in the
registry setup stage
. - addRenderableOnly(T) - Method in class org.moddingx.libx.screen.Panel
-
Adds a component that can be rendered.
- addRenderableWidget(T) - Method in class org.moddingx.libx.screen.Panel
-
Adds a widget that can be rendered.
- addRenderBlock(BlockEntityType<T>, boolean) - Static method in class org.moddingx.libx.render.ItemStackRenderer
-
Registers a
BlockEntityType
to be rendered with the ItemStackRenderer. - addRule(ProcessorRule...) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase.ProcessorListBuilder
- addRules(Collection<ProcessorRule>) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase.ProcessorListBuilder
- addSlotBox(IItemHandler, int, int, int, int, int, int, int) - Method in class org.moddingx.libx.menu.MenuBase
-
Adds a box of slots to the container
- addSlotBox(IItemHandler, int, int, int, int, int, int, int, Function4<IItemHandler, Integer, Integer, Integer, Slot>) - Method in class org.moddingx.libx.menu.MenuBase
-
Adds a box of slots to the container
- addSlotRange(IItemHandler, int, int, int, int, int) - Method in class org.moddingx.libx.menu.MenuBase
-
Adds a row of slots to the container
- addSlotRange(IItemHandler, int, int, int, int, int, Function4<IItemHandler, Integer, Integer, Integer, Slot>) - Method in class org.moddingx.libx.menu.MenuBase
-
Adds a row of slots to the container
- addSpawns(HolderSet<Biome>) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeModifierProviderBase
-
Returns a builder for a
BiomeModifier
that adds spawns to a biome. - addSpawns(TagKey<Biome>) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeModifierProviderBase
-
Returns a builder for a
BiomeModifier
that adds spawns to a biome. - addSpawnTarget(Climate.ParameterPoint) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder
- addTags(HolderLookup.Provider) - Method in class org.moddingx.libx.datagen.provider.tags.TagProviderBase
- addTextPages(PageBuilder, List<String>, boolean) - Static method in record class org.moddingx.libx.datagen.provider.patchouli.content.TextContent
- addTexture(String, int) - Method in class org.moddingx.libx.datagen.provider.texture.TextureBuilder
-
Adds a required texture which has the given size by default as width and height.
- addTexture(String, int, int) - Method in class org.moddingx.libx.datagen.provider.texture.TextureBuilder
-
Adds a required texture which has the given width and height by default.
- addTexture(ResourceLocation, int) - Method in class org.moddingx.libx.datagen.provider.texture.TextureBuilder
-
Adds a required texture which has the given size by default as width and height.
- addTexture(ResourceLocation, int, int) - Method in class org.moddingx.libx.datagen.provider.texture.TextureBuilder
-
Adds a required texture which has the given width and height by default.
- addTextures(TextureBuilder) - Method in interface org.moddingx.libx.datagen.provider.texture.TextureFactory
-
Adds textures required to build this texture to the given builder.
- addWidget(T) - Method in class org.moddingx.libx.screen.Panel
-
Adds a widget to listen to events.
- advancement(String) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Adds an
advancement
to the provider identified by an id. - advancement(String) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Sets an advancement needed to unlock the entry.
- advancement(String, String) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Sets an advancement needed to unlock the entry.
- advancement(Advancement) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Adds a built
advancement
to the provider. - advancement(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Adds an advancement to the provider identified by its
ResourceLocation
. - advancement(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Sets an advancement needed to unlock the entry.
- AdvancementProviderBase - Class in org.moddingx.libx.datagen.provider
-
Base provider for custom
advancements
. - AdvancementProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.AdvancementProviderBase
- AdvancementProviderBase.AdvancementFactory - Class in org.moddingx.libx.datagen.provider
-
An advancement factory can be used to customise an advancement in a builder style pattern.
- AdvancementProviderBase.TaskFactory - Interface in org.moddingx.libx.datagen.provider
-
A task factory can define multiple tasks.
- afterBiomes() - Method in record class org.moddingx.libx.sandbox.surface.SurfaceRuleSet
-
Returns the value of the
afterBiomes
record component. - afterBiomes(SurfaceRules.RuleSource...) - Method in class org.moddingx.libx.datagen.provider.sandbox.SurfaceProviderBase.RuleSetBuilder
- age(float) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase.ProcessorListBuilder
- alignComponents(Font, int) - Method in interface org.moddingx.libx.screen.text.ComponentLayout
-
Aligns some components for the screen.
- AlignedComponent - Record Class in org.moddingx.libx.screen.text.entry
-
A
Component
that has been aligned for display on aTextScreen
. - AlignedComponent(Component, int, int) - Constructor for record class org.moddingx.libx.screen.text.entry.AlignedComponent
- AlignedComponent(Component, int, int, boolean) - Constructor for record class org.moddingx.libx.screen.text.entry.AlignedComponent
- AlignedComponent(Component, int, int, AlignedComponent.TextWrapping) - Constructor for record class org.moddingx.libx.screen.text.entry.AlignedComponent
- AlignedComponent(Component, int, int, AlignedComponent.TextWrapping, int, boolean) - Constructor for record class org.moddingx.libx.screen.text.entry.AlignedComponent
-
Creates an instance of a
AlignedComponent
record class. - AlignedComponent.TextWrapping - Record Class in org.moddingx.libx.screen.text.entry
-
Specifies text-wrapping properties.
- AlignedWidget - Record Class in org.moddingx.libx.screen.text.entry
-
An
AbstractWidget
that has been aligned for display on aTextScreen
. - AlignedWidget(AbstractWidget, int, int) - Constructor for record class org.moddingx.libx.screen.text.entry.AlignedWidget
-
Creates an instance of a
AlignedWidget
record class. - all(List<LootPoolEntryContainer.Builder<?>>) - Static method in class org.moddingx.libx.datagen.loot.LootBuilders
-
Gets a loot builder for a loot entry that selects all items fro mall its children at once.
- allow() - Method in record class org.moddingx.libx.util.data.ResourceList.RuleEntry
-
Returns the value of the
allow
record component. - ALLOW_LIST - Static variable in class org.moddingx.libx.util.data.ResourceList
-
A resource list that accepts every item.
- alternative(List<LootPoolEntryContainer.Builder<?>>) - Static method in class org.moddingx.libx.datagen.loot.LootBuilders
-
Gets a loot builder for alternative loot.
- ambientLight(float) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase.DimensionTypeBuilder
- ANCIENT_CITY_CITY_CENTER - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- ANCIENT_CITY_CITY_CENTER_WALLS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- ANCIENT_CITY_CITY_ENTRANCE - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- ANCIENT_CITY_SCULK - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- ANCIENT_CITY_STRUCTURES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- ANCIENT_CITY_WALLS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- ANCIENT_CITY_WALLS_NO_CORNERS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- and(HolderSet<T>...) - Method in class org.moddingx.libx.datagen.provider.RegistryProviderBase
-
Gets a holder set that matches the intersection of the given sets.
- and(HolderSet<T>, TagKey<T>) - Method in class org.moddingx.libx.datagen.provider.RegistryProviderBase
-
Gets a holder set that matches the intersection of the given sets.
- and(TagKey<T>, HolderSet<T>) - Method in class org.moddingx.libx.datagen.provider.RegistryProviderBase
-
Gets a holder set that matches the intersection of the given sets.
- and(TagKey<T>, TagKey<T>) - Method in class org.moddingx.libx.datagen.provider.RegistryProviderBase
-
Gets a holder set that matches the intersection of the given sets.
- and(LootItemCondition.Builder...) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Creates a condition that is met when all of the given conditions are met.
- and(Predicate3<A, B, C>) - Method in interface org.moddingx.libx.fi.Predicate3
- and(Predicate4<A, B, C, D>) - Method in interface org.moddingx.libx.fi.Predicate4
- and(Predicate5<A, B, C, D, E>) - Method in interface org.moddingx.libx.fi.Predicate5
- and(Predicate6<A, B, C, D, E, F>) - Method in interface org.moddingx.libx.fi.Predicate6
- and(Predicate7<A, B, C, D, E, F, G>) - Method in interface org.moddingx.libx.fi.Predicate7
- and(Predicate8<A, B, C, D, E, F, G, H>) - Method in interface org.moddingx.libx.fi.Predicate8
- andThen(Function<? super R, ? extends V>) - Method in interface org.moddingx.libx.fi.Function3
- andThen(Function<? super R, ? extends V>) - Method in interface org.moddingx.libx.fi.Function4
- andThen(Function<? super R, ? extends V>) - Method in interface org.moddingx.libx.fi.Function5
- andThen(Function<? super R, ? extends V>) - Method in interface org.moddingx.libx.fi.Function6
- andThen(Function<? super R, ? extends V>) - Method in interface org.moddingx.libx.fi.Function7
- andThen(Function<? super R, ? extends V>) - Method in interface org.moddingx.libx.fi.Function8
- andThen(LootModifier<T>) - Method in interface org.moddingx.libx.datagen.provider.loot.entry.LootModifier
- andThen(Consumer3<A, B, C>) - Method in interface org.moddingx.libx.fi.Consumer3
- andThen(Consumer4<A, B, C, D>) - Method in interface org.moddingx.libx.fi.Consumer4
- andThen(Consumer5<A, B, C, D, E>) - Method in interface org.moddingx.libx.fi.Consumer5
- andThen(Consumer6<A, B, C, D, E, F>) - Method in interface org.moddingx.libx.fi.Consumer6
- andThen(Consumer7<A, B, C, D, E, F, G>) - Method in interface org.moddingx.libx.fi.Consumer7
- andThen(Consumer8<A, B, C, D, E, F, G, H>) - Method in interface org.moddingx.libx.fi.Consumer8
- annotation() - Method in interface org.moddingx.libx.config.validator.ConfigValidator
-
Gets the class of the annotation type used by this validator.
- any(ResourceKey<? extends Registry<T>>) - Method in class org.moddingx.libx.datagen.provider.RegistryProviderBase
-
Gets a holder set matching any value from the given registry.
- AnyTemplateProviderBase - Class in org.moddingx.libx.datagen.provider.sandbox
-
Base class for
TemplateProviderBase
andTemplateExtensionProviderBase
. - AnyTemplateProviderBase(DatagenContext, DatagenStage) - Constructor for class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase
- AnyTemplateProviderBase.TemplateBuilder<T extends AnyTemplateProviderBase.TemplateBuilder<T>> - Class in org.moddingx.libx.datagen.provider.sandbox
- apply() - Method in interface org.moddingx.libx.datagen.provider.AdvancementProviderBase.TaskFactory
- apply(double) - Method in class org.moddingx.libx.util.math.DoublePolynomial
-
Computes the value of the polynomial at the given input.
- apply(int) - Method in class org.moddingx.libx.util.math.IntPolynomial
-
Computes the value of the polynomial at the given input.
- apply(A, B, C) - Method in interface org.moddingx.libx.fi.Consumer3
- apply(A, B, C) - Method in interface org.moddingx.libx.fi.Function3
- apply(A, B, C, D) - Method in interface org.moddingx.libx.fi.Consumer4
- apply(A, B, C, D) - Method in interface org.moddingx.libx.fi.Function4
- apply(A, B, C, D, E) - Method in interface org.moddingx.libx.fi.Consumer5
- apply(A, B, C, D, E) - Method in interface org.moddingx.libx.fi.Function5
- apply(A, B, C, D, E, F) - Method in interface org.moddingx.libx.fi.Consumer6
- apply(A, B, C, D, E, F) - Method in interface org.moddingx.libx.fi.Function6
- apply(A, B, C, D, E, F, G) - Method in interface org.moddingx.libx.fi.Consumer7
- apply(A, B, C, D, E, F, G) - Method in interface org.moddingx.libx.fi.Function7
- apply(A, B, C, D, E, F, G, H) - Method in interface org.moddingx.libx.fi.Consumer8
- apply(A, B, C, D, E, F, G, H) - Method in interface org.moddingx.libx.fi.Function8
- apply(Double) - Method in class org.moddingx.libx.util.math.DoublePolynomial
-
Computes the value of the polynomial at the given input.
- apply(Integer) - Method in class org.moddingx.libx.util.math.IntPolynomial
-
Computes the value of the polynomial at the given input.
- apply(ResourceLocation, T) - Method in interface org.moddingx.libx.datapack.DataLoader.ResourceFactory
- apply(Block, LootPoolSingletonContainer.Builder<?>) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase.MatchStateBuilder
- apply(T) - Method in class org.moddingx.libx.util.lazy.CachedFunction
- apply(T, LootPoolSingletonContainer.Builder<?>) - Method in interface org.moddingx.libx.datagen.provider.loot.entry.GenericLootModifier
- apply(T, LootPoolSingletonContainer.Builder<?>) - Method in interface org.moddingx.libx.datagen.provider.loot.entry.LootModifier
- applyAsDouble(double) - Method in class org.moddingx.libx.util.math.DoublePolynomial
-
Computes the value of the polynomial at the given input.
- applyAsInt(int) - Method in class org.moddingx.libx.util.math.IntPolynomial
-
Computes the value of the polynomial at the given input.
- argb(int) - Static method in class org.moddingx.libx.render.RenderHelper
-
Sets the color to the given ARGB color in format 0xAARRGGBB
- asDefault(LazyOptional<T>) - Method in class org.moddingx.libx.util.lazy.LazyValue
-
Gets a lazy value that will have the value of the lazy optional if present.
- asItem() - Method in interface org.moddingx.libx.base.decoration.HangingSignAccess
-
Gets the sign item.
- asItem() - Method in interface org.moddingx.libx.base.decoration.SignAccess
-
Gets the sign item.
- asItem() - Method in class org.moddingx.libx.base.FluidBase
-
Same as
FluidBase.getBucket()
- attenuationDistance(int) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundSettingsBuilder
-
Sets the attenuation distance for the sound settings.
B
- background(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Sets the background of the advancement tab.
- barrierNoise(Holder<DensityFunction>) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- barrierNoise(DensityFunction) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- BASE - Static variable in interface org.moddingx.libx.base.decoration.DecorationType
-
The
DecoratedBlock
itself. - BaseItemStackHandler - Class in org.moddingx.libx.inventory
-
An
ItemStackHandler
that can be configured with common things required for many inventories. - BaseItemStackHandler.Builder - Class in org.moddingx.libx.inventory
-
Builder for a
BaseItemStackHandler
- baseLayer() - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.BiomeLayerBuilder
-
Gets this layer a zero density everywhere.
- BaseSlot - Class in org.moddingx.libx.menu.slot
-
A slot that is meant to be used together with
BaseItemStackHandler
. - BaseSlot(IItemHandler, IItemHandler, int, int, int) - Constructor for class org.moddingx.libx.menu.slot.BaseSlot
-
Creates a new BaseSlot with the given base and unrestricted inventory.
- BaseSlot(BaseItemStackHandler, int, int, int) - Constructor for class org.moddingx.libx.menu.slot.BaseSlot
-
Creates a new BaseSlot with the given
BaseItemStackHandler
- BASTION_BLOCKS_GOLD - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_BRIDGE_BRIDGE_PIECES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_BRIDGE_CONNECTORS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_BRIDGE_LEGS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_BRIDGE_RAMPART_PLATES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_BRIDGE_RAMPARTS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_BRIDGE_STARTING_PIECES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_BRIDGE_WALLS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_HOGLIN_STABLE_CONNECTORS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_HOGLIN_STABLE_LARGE_STABLES_INNER - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_HOGLIN_STABLE_LARGE_STABLES_OUTER - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_HOGLIN_STABLE_MIRRORED_STARTING_PIECES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_HOGLIN_STABLE_POSTS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_HOGLIN_STABLE_RAMPART_PLATES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_HOGLIN_STABLE_RAMPARTS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_HOGLIN_STABLE_SMALL_STABLES_INNER - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_HOGLIN_STABLE_SMALL_STABLES_OUTER - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_HOGLIN_STABLE_STAIRS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_HOGLIN_STABLE_STARTING_PIECES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_HOGLIN_STABLE_WALL_BASES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_HOGLIN_STABLE_WALLS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_MOBS_HOGLIN - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_MOBS_PIGLIN - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_MOBS_PIGLIN_MELEE - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_STARTS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_BASES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_BASES_CENTERS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_BRAINS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_CONNECTORS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_CORNERS_BOTTOM - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_CORNERS_EDGES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_CORNERS_MIDDLE - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_CORNERS_TOP - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_ENTRANCES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_EXTENSIONS_HOUSES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_EXTENSIONS_LARGE_POOL - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_EXTENSIONS_SMALL_POOL - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_RAMPARTS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_ROOFS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_STAIRS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_WALLS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_WALLS_BOTTOM - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_WALLS_MID - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_WALLS_OUTER - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_TREASURE_WALLS_TOP - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_UNITS_CENTER_PIECES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_UNITS_EDGE_WALL_UNITS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_UNITS_EDGES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_UNITS_FILLERS_STAGE_0 - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_UNITS_LARGE_RAMPARTS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_UNITS_PATHWAYS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_UNITS_RAMPART_PLATES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_UNITS_RAMPARTS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_UNITS_STAGES_ROT_STAGE_1 - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_UNITS_STAGES_STAGE_0 - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_UNITS_STAGES_STAGE_1 - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_UNITS_STAGES_STAGE_2 - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_UNITS_STAGES_STAGE_3 - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_UNITS_WALL_UNITS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- BASTION_UNITS_WALLS_WALL_BASES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- beforeBiomes() - Method in record class org.moddingx.libx.sandbox.surface.SurfaceRuleSet
-
Returns the value of the
beforeBiomes
record component. - beforeBiomes(SurfaceRules.RuleSource...) - Method in class org.moddingx.libx.datagen.provider.sandbox.SurfaceProviderBase.RuleSetBuilder
- biome(float, float) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeProviderBase
-
Creates a new builder for a biome.
- biome(Holder<Biome>) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.BiomeLayerBuilder
-
Adds a
Biome
to thisBiomeLayer
and returns a builder for this biomes climate settings. - biome(Holder<Biome>, SurfaceRules.RuleSource...) - Method in class org.moddingx.libx.datagen.provider.sandbox.SurfaceProviderBase
-
Creates a
BiomeSurface
for the givenBiome
. - biome(ResourceKey<Biome>) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.BiomeLayerBuilder
-
Adds a
Biome
to thisBiomeLayer
and returns a builder for this biomes climate settings. - biome(ResourceKey<Biome>, SurfaceRules.RuleSource...) - Method in class org.moddingx.libx.datagen.provider.sandbox.SurfaceProviderBase
-
Creates a
BiomeSurface
for the givenBiome
. - BIOME_LAYER - Static variable in class org.moddingx.libx.sandbox.SandBox
-
The
BiomeLayer
registry. - BIOME_SURFACE - Static variable in class org.moddingx.libx.sandbox.SandBox
-
The
BiomeSurface
registry. - biomeFilter() - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- BiomeLayer - Record Class in org.moddingx.libx.sandbox.generator
-
A biome layer is a set of biomes and climate parameters that can generate in a noise range.
- BiomeLayer(Climate.ParameterPoint, DensityFunction, Climate.ParameterList<Holder<Biome>>) - Constructor for record class org.moddingx.libx.sandbox.generator.BiomeLayer
-
Creates an instance of a
BiomeLayer
record class. - BiomeLayer(DensityFunction, Climate.ParameterList<Holder<Biome>>) - Constructor for record class org.moddingx.libx.sandbox.generator.BiomeLayer
- BiomeLayerProviderBase - Class in org.moddingx.libx.datagen.provider.sandbox
-
SandBox provider for
biome layers
. - BiomeLayerProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase
- BiomeLayerProviderBase.BiomeLayerBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- BiomeLayerProviderBase.ClimateBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- BiomeModifierProviderBase - Class in org.moddingx.libx.datagen.provider.sandbox
-
SandBox provider for
biome modifiers
. - BiomeModifierProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.sandbox.BiomeModifierProviderBase
- BiomeModifierProviderBase.AddMobSpawnsBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- BiomeModifierProviderBase.FeaturesBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- BiomeModifierProviderBase.RemoveMobSpawnsBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- BiomeProviderBase - Class in org.moddingx.libx.datagen.provider.sandbox
-
SandBox provider for
biomes
. - BiomeProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.sandbox.BiomeProviderBase
- BiomeProviderBase.BiomeBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- biomes() - Method in record class org.moddingx.libx.sandbox.generator.BiomeLayer
-
Returns the value of the
biomes
record component. - biomes(HolderSet<Biome>) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProviderBase.StructureSettingsBuilder
-
Sets the biomes, this structure can generate in.
- biomes(TagKey<Biome>) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProviderBase.StructureSettingsBuilder
-
Sets the biomes, this structure can generate in.
- BiomeSurface - Record Class in org.moddingx.libx.sandbox.surface
-
Defines surface rules specific to a biome.
- BiomeSurface(SurfaceRules.RuleSource) - Constructor for record class org.moddingx.libx.sandbox.surface.BiomeSurface
-
Creates an instance of a
BiomeSurface
record class. - blasting(RecipeCategory, TagKey<Item>, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace and a blast furnace.
- blasting(RecipeCategory, ItemLike, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace and a blast furnace.
- blasting(ResourceLocation, RecipeCategory, TagKey<Item>, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace and a blast furnace.
- blasting(ResourceLocation, RecipeCategory, ItemLike, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace and a blast furnace.
- blasting(ResourceLocation, TagKey<Item>, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace and a blast furnace.
- blasting(ResourceLocation, ItemLike, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace and a blast furnace.
- blasting(TagKey<Item>, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace and a blast furnace.
- blasting(ItemLike, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace and a blast furnace.
- blit(int, int, int, int, int, TextureAtlasSprite) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- blit(int, int, int, int, int, TextureAtlasSprite, float, float, float, float) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- blit(ResourceLocation, int, int, float, float, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- blit(ResourceLocation, int, int, int, float, float, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- blit(ResourceLocation, int, int, int, int, float, float, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- blit(ResourceLocation, int, int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- blitInscribed(ResourceLocation, int, int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- blitInscribed(ResourceLocation, int, int, int, int, int, int, boolean, boolean) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- blitNineSliced(ResourceLocation, int, int, int, int, int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- blitNineSliced(ResourceLocation, int, int, int, int, int, int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- blitNineSliced(ResourceLocation, int, int, int, int, int, int, int, int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- blitNineSlicedSized(ResourceLocation, int, int, int, int, int, int, int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- blitNineSlicedSized(ResourceLocation, int, int, int, int, int, int, int, int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- blitNineSlicedSized(ResourceLocation, int, int, int, int, int, int, int, int, int, int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- blitRepeating(ResourceLocation, int, int, int, int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- blitRepeating(ResourceLocation, int, int, int, int, int, int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- blitWithBorder(ResourceLocation, int, int, int, int, int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- blitWithBorder(ResourceLocation, int, int, int, int, int, int, int, int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- block(TagKey<Block>) - Method in class org.moddingx.libx.datagen.provider.tags.CommonTagsProviderBase
-
Gets a
tag appender
for aBlock
- BlockBase - Class in org.moddingx.libx.base
-
Base class for
blocks
for mods usingModXRegistration
. - BlockBase(ModX, BlockBehaviour.Properties) - Constructor for class org.moddingx.libx.base.BlockBase
-
Creates a new instance of BlockBase.
- BlockBase(ModX, BlockBehaviour.Properties, Item.Properties) - Constructor for class org.moddingx.libx.base.BlockBase
-
Creates a new instance of BlockBase.
- BlockBE<T extends net.minecraft.world.level.block.entity.BlockEntity> - Class in org.moddingx.libx.base.tile
-
Base class for blocks with
block entities
for mods usingModXRegistration
. - BlockBE(ModX, Class<T>, BlockBehaviour.Properties) - Constructor for class org.moddingx.libx.base.tile.BlockBE
- BlockBE(ModX, Class<T>, BlockBehaviour.Properties, Item.Properties) - Constructor for class org.moddingx.libx.base.tile.BlockBE
- blockEntity - Variable in class org.moddingx.libx.menu.BlockEntityMenu
- BlockEntityBase - Class in org.moddingx.libx.base.tile
-
A base class for
block entities
. - BlockEntityBase(BlockEntityType<?>, BlockPos, BlockState) - Constructor for class org.moddingx.libx.base.tile.BlockEntityBase
- BlockEntityBase(BlockEntityType<?>, BlockPos, BlockState, Capability<?>...) - Constructor for class org.moddingx.libx.base.tile.BlockEntityBase
-
This constructor accepts some capabilities that this block entity will have.
- BlockEntityMenu<T extends net.minecraft.world.level.block.entity.BlockEntity> - Class in org.moddingx.libx.menu
-
A
BlockMenu
for blocks with block entities. - BlockEntityMenu(MenuType<? extends BlockEntityMenu<?>>, int, Level, BlockPos, Inventory, Player, int, int) - Constructor for class org.moddingx.libx.menu.BlockEntityMenu
- BlockLootProviderBase - Class in org.moddingx.libx.datagen.provider.loot
- BlockLootProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
- BlockLootProviderBase.MatchStateBuilder - Class in org.moddingx.libx.datagen.provider.loot
-
This serves as a builder for a loot modifier and a builder for a block state predicate in one.
- BlockLootProviderBase.MatchToolBuilder - Class in org.moddingx.libx.datagen.provider.loot
-
This serves as a builder for a loot condition and a builder for a match tool predicate in one.
- BlockLootProviderBase.SilkModifier - Class in org.moddingx.libx.datagen.provider.loot
-
A class used in the drops method to reduce ambiguity and make the code more readable.
- BlockMenu - Class in org.moddingx.libx.menu
-
A
DefaultMenu
for menus related to a block in the world. - BlockMenu(MenuType<? extends BlockMenu>, int, Level, BlockPos, Inventory, Player, int, int) - Constructor for class org.moddingx.libx.menu.BlockMenu
- blockProperties(Consumer<BlockBehaviour.Properties>) - Method in class org.moddingx.libx.base.FluidBase.Builder
- blockProperties(BlockBehaviour.Properties) - Method in class org.moddingx.libx.base.FluidBase.Builder
- blockSetType() - Method in class org.moddingx.libx.base.decoration.DecorationMaterial.MaterialProperties
- BlockStateProviderBase - Class in org.moddingx.libx.datagen.provider.model
-
A base class for block state and model providers.
- BlockStateProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
- BlockStateProviderBase.RenderTypes - Class in org.moddingx.libx.datagen.provider.model
-
Provides keys for builtin
render types
to use. - bookName() - Method in record class org.moddingx.libx.datagen.provider.patchouli.BookProperties
-
Returns the value of the
bookName
record component. - BookProperties - Record Class in org.moddingx.libx.datagen.provider.patchouli
-
Basic properties for a patchouli book.
- BookProperties(String) - Constructor for record class org.moddingx.libx.datagen.provider.patchouli.BookProperties
- BookProperties(String, boolean) - Constructor for record class org.moddingx.libx.datagen.provider.patchouli.BookProperties
- BookProperties(String, String) - Constructor for record class org.moddingx.libx.datagen.provider.patchouli.BookProperties
- BookProperties(String, String, boolean) - Constructor for record class org.moddingx.libx.datagen.provider.patchouli.BookProperties
-
Creates an instance of a
BookProperties
record class. - BOTTOM - Enum constant in enum class org.moddingx.libx.screen.text.entry.FlowBox.VerticalAlignment
-
Elements in a row share a common bottom line.
- boxed(Class<?>) - Static method in class org.moddingx.libx.util.ClassUtil
-
Returns the given class unless it's a primitive class in which case the boxed class for that primitive is returned.
- broadcast(Level, Component) - Static method in class org.moddingx.libx.util.game.ServerMessages
-
Sends a
text component
to everyplayer
on the server. - broadcastTo(Level, Predicate<? super ServerPlayer>, Component) - Static method in class org.moddingx.libx.util.game.ServerMessages
-
Sends a
text component
to allplayer
matching a predicate. - bufferSource() - Method in class org.moddingx.libx.render.FilterGuiGraphics
- build() - Method in class org.moddingx.libx.base.FluidBase.Builder
- build() - Method in class org.moddingx.libx.datagen.DatagenSystem.PackTargetBuilder
-
Builds the resulting
PackTarget
. - build() - Method in class org.moddingx.libx.datagen.provider.DamageTypeProviderBase.DamageTypeBuilder
-
Builds the
DamageType
. - build() - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase.MatchToolBuilder
- build() - Method in class org.moddingx.libx.datagen.provider.loot.GlobalLootProviderBase.LootModifierBuilder
-
Builds the loot modifier and adds it to the provider.
- build() - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.BiomeLayerBuilder
-
Builds the
BiomeLayer
. - build() - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeModifierProviderBase.AddMobSpawnsBuilder
-
Builds the
BiomeModifier
. - build() - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeModifierProviderBase.FeaturesBuilder
-
Builds the
BiomeModifier
. - build() - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeModifierProviderBase.RemoveMobSpawnsBuilder
-
Builds the
BiomeModifier
. - build() - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeProviderBase.BiomeBuilder
-
Builds the
Biome
. - build() - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase.FlatGeneratorBuilder
-
Builds the
dimension
. - build() - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase.NoiseGeneratorBuilder
-
Builds the
dimension
. - build() - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase.DimensionTypeBuilder
-
Builds the
DimensionType
. - build() - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- build() - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.ModifierBuilder
- build() - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.PlacementBuilder
-
Builds the
PlacedFeature
. - build() - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder
-
Builds the
NoiseGeneratorSettings
. - build() - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase.ProcessorListBuilder
-
Builds the
StructureProcessorList
. - build() - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase.ProcessorRuleBuilder
- build() - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProviderBase.StructureSettingsBuilder
-
Builds the
Structure
. - build() - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.RandomPlacementBuilder
-
Builds the
StructureSet
. - build() - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.RingPlacementBuilder
-
Builds the
StructureSet
. - build() - Method in class org.moddingx.libx.datagen.provider.sandbox.SurfaceProviderBase.RuleSetBuilder
-
Builds the
SurfaceRuleSet
. - build() - Method in class org.moddingx.libx.datagen.provider.sandbox.TemplateExtensionProviderBase.ExtensionBuilder
-
Builds the
PoolExtension
. - build() - Method in class org.moddingx.libx.datagen.provider.sandbox.TemplateProviderBase.PoolBuilder
-
Builds the
StructureTemplatePool
. - build() - Method in class org.moddingx.libx.datagen.provider.texture.TextureBuilder
-
Creates the resulting
Textures
object. - build() - Method in class org.moddingx.libx.inventory.BaseItemStackHandler.Builder
-
Build the item handler.
- build() - Method in class org.moddingx.libx.registration.RegistrationBuilder
- build(Registry<Biome>, Registry<BiomeSurface>, Set<Holder<Biome>>, NoiseGeneratorSettings) - Method in record class org.moddingx.libx.sandbox.surface.SurfaceRuleSet
-
Builds the concrete surface rules for this rule set.
- build(T) - Method in interface org.moddingx.libx.datagen.provider.loot.entry.GenericLootModifier
- build(T) - Method in interface org.moddingx.libx.datagen.provider.loot.entry.LootFactory
- build(T) - Method in interface org.moddingx.libx.datagen.provider.loot.entry.LootModifier
- build(T) - Method in interface org.moddingx.libx.datagen.provider.loot.entry.SimpleLootFactory
- buildConditions() - Method in class org.moddingx.libx.datagen.provider.loot.GlobalLootProviderBase.AnyLootConditionsBuilder
- builder(int) - Static method in class org.moddingx.libx.inventory.BaseItemStackHandler
-
Creates a new
BaseItemStackHandler.Builder
for an item handler with the given size. - builder(ModX) - Static method in class org.moddingx.libx.base.FluidBase
- buildGui(Screen, ConfigScreenContent.ScreenManager, String, Consumer<AbstractWidget>) - Method in interface org.moddingx.libx.config.gui.ConfigScreenContent
-
Builds the screen content.
- buildLoginPackets(boolean) - Method in interface org.moddingx.libx.network.LoginPacketSerializer
-
Builds a list of login packets that are sent on login.
- buildRecipes(Consumer<FinishedRecipe>) - Method in class org.moddingx.libx.datagen.provider.recipe.RecipeProviderBase
- buildTab(CreativeModeTab.Builder) - Method in class org.moddingx.libx.creativetab.CreativeTabX
-
Sets some basic creative tab information.
- BUTTON_PARENT - Static variable in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
- BUTTON_PARENT - Static variable in class org.moddingx.libx.datagen.provider.model.ItemModelProviderBase
- buttonBlock(Block, ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
-
Creates a block state and models for a button.
C
- CachedFunction<T,
R> - Class in org.moddingx.libx.util.lazy -
Wraps a pure function.
- CachedFunction(Function<T, R>) - Constructor for class org.moddingx.libx.util.lazy.CachedFunction
- CachedValue<T> - Class in org.moddingx.libx.util.lazy
-
A lazy value that is resolved when it is first used.
- CachedValue(Supplier<? extends T>) - Constructor for class org.moddingx.libx.util.lazy.CachedValue
-
Creates a new cached value.
- callerClass(int) - Static method in class org.moddingx.libx.util.ClassUtil
-
Gets the caller class for method call, the given amount of stack frames up.
- campfire(RecipeCategory, TagKey<Item>, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace, a smoker anda campfire.
- campfire(RecipeCategory, ItemLike, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace, a smoker anda campfire.
- campfire(ResourceLocation, RecipeCategory, TagKey<Item>, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace, a smoker anda campfire.
- campfire(ResourceLocation, RecipeCategory, ItemLike, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace, a smoker anda campfire.
- campfire(ResourceLocation, TagKey<Item>, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace, a smoker anda campfire.
- campfire(ResourceLocation, ItemLike, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace, a smoker anda campfire.
- campfire(TagKey<Item>, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace, a smoker anda campfire.
- campfire(ItemLike, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace, a smoker anda campfire.
- canInputChar(char) - Method in interface org.moddingx.libx.config.gui.InputProperties
-
Gets whether the user can enter the given char into the input field.
- canPlaceItem(int, ItemStack) - Method in class org.moddingx.libx.inventory.VanillaWrapper
- canTakeRegularText() - Method in class org.moddingx.libx.datagen.provider.patchouli.content.CaptionContent
-
Gets whether regular (non-caption) text can merge to this
CaptionContent
. - caption - Variable in class org.moddingx.libx.datagen.provider.patchouli.content.CaptionContent
- caption() - Method in record class org.moddingx.libx.datagen.provider.patchouli.content.TextContent
-
Returns the value of the
caption
record component. - caption(String) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Adds some caption text content to the entry.
- CaptionContent - Class in org.moddingx.libx.datagen.provider.patchouli.content
-
Base class for pages with some special content that can be followed by some text.
- CaptionContent(String) - Constructor for class org.moddingx.libx.datagen.provider.patchouli.content.CaptionContent
- carver(WorldCarver<C>, C) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase
-
Makes a new
configured carver
. - cast(DynamicOps<N>) - Method in interface org.moddingx.libx.codec.TypedEncoder
-
Casts this
TypedEncoder
given someDynamicOps
. - category - Variable in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
- category(String) - Method in class org.moddingx.libx.datagen.provider.patchouli.PatchouliProviderBase
-
Adds a new category to this book.
- CategoryBuilder - Class in org.moddingx.libx.datagen.provider.patchouli
-
Builder for a patchouli book category.
- CategoryBuilder(ModX, ResourceLocation) - Constructor for class org.moddingx.libx.datagen.provider.patchouli.CategoryBuilder
- CENTER - Enum constant in enum class org.moddingx.libx.screen.text.entry.FlowBox.HorizontalAlignment
-
Elements in a row are aligned in the center, empty space is evently distributed left and right.
- CENTER - Enum constant in enum class org.moddingx.libx.screen.text.entry.FlowBox.VerticalAlignment
-
Elements in a row share a common center line.
- centerDistance(int) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProviderBase.JigsawBuilder
-
Sets the maximum distance from the center.
- centerPositionInStartPool(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProviderBase.JigsawBuilder
-
Sets the name of the central block in the start pool.
- chain(SimpleLootFactory<T>, List<LootModifier<T>>) - Static method in interface org.moddingx.libx.datagen.provider.loot.entry.LootModifier
-
Get a new loot modifier that chains all the given together.
- changed - Variable in class org.moddingx.libx.inventory.VanillaWrapper
- changeDim(ResourceKey<Level>, ResourceKey<Level>) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets a
criterion
that requires a player to perform a specific dimension change. - channel - Variable in class org.moddingx.libx.network.NetworkX
- charTyped(char, int) - Method in class org.moddingx.libx.screen.Panel
- check(Predicate<X>, Function<X, R>) - Static method in interface org.moddingx.libx.config.correct.ConfigCorrection
- checkAssets(ResourceLocation) - Method in interface org.moddingx.libx.datagen.provider.patchouli.page.PageBuilder
-
Checks that a given asset exists, Throws an exception if not.
- ChestLootProviderBase - Class in org.moddingx.libx.datagen.provider.loot
- ChestLootProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.loot.ChestLootProviderBase
- children() - Method in class org.moddingx.libx.screen.Panel
- clamp(DensityFunction, double, double) - Static method in class org.moddingx.libx.sandbox.SandBox.Density
-
Clamps the given density function between the given values.
- ClassUtil - Class in org.moddingx.libx.util
-
Utilities for instances of the
Class
class. - ClassUtil() - Constructor for class org.moddingx.libx.util.ClassUtil
- clear() - Method in interface org.moddingx.libx.inventory.IAdvancedItemHandlerModifiable
-
Clears all slots from the item handler.
- clear() - Method in class org.moddingx.libx.util.lazy.LazyImmutableMap
- clear(BufferedImage, Textures, int, int, int, int) - Static method in class org.moddingx.libx.datagen.provider.texture.TextureHelper
-
Clears an area on an image.
- clear(Predicate<ItemStack>) - Method in interface org.moddingx.libx.inventory.IAdvancedItemHandlerModifiable
-
Clears all stacks from the item handler that match a predicate.
- clearContent() - Method in class org.moddingx.libx.inventory.VanillaWrapper
- client() - Element in annotation interface org.moddingx.libx.annotation.config.RegisterConfig
-
Whether the config is a client config.
- client() - Method in record class org.moddingx.libx.network.NetworkX.Protocol
-
Returns the value of the
client
record component. - clientExtensions(Supplier<Supplier<IClientFluidTypeExtensions>>) - Method in class org.moddingx.libx.base.FluidBase.Builder
- clientSetup(FMLClientSetupEvent) - Method in class org.moddingx.libx.LibX
- clientSetup(FMLClientSetupEvent) - Method in class org.moddingx.libx.mod.ModX
-
Automatically registered to the event bus.
- ClientTickHandler - Class in org.moddingx.libx.render
-
On the client, this counts the ticks in game.
- ClientTickHandler() - Constructor for class org.moddingx.libx.render.ClientTickHandler
- close() - Method in interface org.moddingx.libx.config.gui.ConfigScreenContent.ScreenManager
-
Closes the current screen.
- codec() - Method in class org.moddingx.libx.sandbox.generator.ExtendedNoiseChunkGenerator
- codec() - Method in class org.moddingx.libx.sandbox.generator.LayeredBiomeSource
- CODEC - Static variable in record class org.moddingx.libx.sandbox.generator.BiomeLayer
- CODEC - Static variable in class org.moddingx.libx.sandbox.generator.ExtendedNoiseChunkGenerator
- CODEC - Static variable in class org.moddingx.libx.sandbox.generator.LayeredBiomeSource
- CODEC - Static variable in class org.moddingx.libx.sandbox.placement.HeightPlacementFilter
- CODEC - Static variable in class org.moddingx.libx.sandbox.placement.InvertPlacementFilter
- CODEC - Static variable in class org.moddingx.libx.sandbox.structure.PoolExtension
- CODEC - Static variable in record class org.moddingx.libx.sandbox.surface.BiomeSurface
- CODEC - Static variable in record class org.moddingx.libx.sandbox.surface.SurfaceRuleSet
- CODEC - Static variable in class org.moddingx.libx.util.math.DoublePolynomial
- CODEC - Static variable in class org.moddingx.libx.util.math.IntPolynomial
- CodecHelper - Class in org.moddingx.libx.codec
-
Some utilities to deal with
codecs
. - CodecHelper() - Constructor for class org.moddingx.libx.codec.CodecHelper
- CodecOps<E> - Class in org.moddingx.libx.codec
-
Provides some utility methods to encode and decode thing using a codec for a specific
DynamicOps
. - CodecOps(Class<E>, DynamicOps<E>) - Constructor for class org.moddingx.libx.codec.CodecOps
-
Creates new
CodecOps
. - Codecs - Class in org.moddingx.libx.annotation.api
-
Class to retrieve generated
codecs
. - Codecs() - Constructor for class org.moddingx.libx.annotation.api.Codecs
- coefficients() - Method in class org.moddingx.libx.util.math.DoublePolynomial
- coefficients() - Method in class org.moddingx.libx.util.math.IntPolynomial
- coefficients() - Method in class org.moddingx.libx.util.math.Polynomial
-
Gets the coefficients of this polynomial.
- collect(List<ResourceEntry>, DataLoader.ResourceFactory<Resource, T>) - Static method in class org.moddingx.libx.datapack.DataLoader
-
Collects data from the given
resources
by a given factory. - collectJson(List<ResourceEntry>, Codec<T>) - Static method in class org.moddingx.libx.datapack.DataLoader
-
Collects data from the given
resources
by a givenCodec
. - collectJson(List<ResourceEntry>, DataLoader.ResourceFactory<JsonElement, T>) - Static method in class org.moddingx.libx.datapack.DataLoader
-
Collects data from the given
resources
by a given factory. - collectPossibleBiomes() - Method in class org.moddingx.libx.sandbox.generator.LayeredBiomeSource
- collectText(List<ResourceEntry>, DataLoader.ResourceFactory<String, T>) - Static method in class org.moddingx.libx.datapack.DataLoader
-
Collects data from the given
resources
by a given factory. - color() - Method in record class org.moddingx.libx.screen.text.entry.AlignedComponent
-
Returns the value of the
color
record component. - ColorPicker - Class in org.moddingx.libx.screen
-
A widget that lets a user select a
colour
. - ColorPicker(int, int) - Constructor for class org.moddingx.libx.screen.ColorPicker
- ColorPicker(int, int, ColorPicker) - Constructor for class org.moddingx.libx.screen.ColorPicker
- combine(List<LootFactory<T>>) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Combines the given loot factories into one.
- combine(LootFactory<T>...) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Combines the given loot factories into one.
- CommandUtil - Class in org.moddingx.libx.command
-
Utilities for commands.
- CommandUtil() - Constructor for class org.moddingx.libx.command.CommandUtil
- comment() - Method in interface org.moddingx.libx.config.mapper.GenericValueMapper
-
Returns a list of comment lines that will be added to the values specified in
@Config
. - comment() - Method in interface org.moddingx.libx.config.mapper.ValueMapper
-
Returns a list of comment lines that will be added to the values specified in
@Config
. - comment(A) - Method in interface org.moddingx.libx.config.validator.ConfigValidator
-
Returns a list of comment lines that will be added to the values specified in
@Config
. - CommonNetwork - Class in org.moddingx.libx
-
A wrapper for the network implementation of LibX.
- CommonTagsProviderBase - Class in org.moddingx.libx.datagen.provider.tags
-
A provider for
block
,item
andfluid
tags. - CommonTagsProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.tags.CommonTagsProviderBase
-
Creates a new CommonTagsProviderBase
- ComponentLayout - Interface in org.moddingx.libx.screen.text
-
A layout that aligns components on a
TextScreen
. - ComponentUtil - Class in org.moddingx.libx.util.game
-
Utilities for
text components
. - ComponentUtil() - Constructor for class org.moddingx.libx.util.game.ComponentUtil
- compress(RecipeCategory, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.crafting.CompressionExtension
- compress(RecipeCategory, ItemLike, ItemLike, boolean) - Method in interface org.moddingx.libx.datagen.provider.recipe.crafting.CompressionExtension
- compress(ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.crafting.CompressionExtension
- compress(ItemLike, ItemLike, boolean) - Method in interface org.moddingx.libx.datagen.provider.recipe.crafting.CompressionExtension
- CompressionExtension - Interface in org.moddingx.libx.datagen.provider.recipe.crafting
-
A
RecipeExtension
with default methods for compressing things. - condition(LootItemCondition) - Method in class org.moddingx.libx.datagen.provider.loot.GlobalLootProviderBase.AnyLootConditionsBuilder
-
Adds a new condition to the list.
- condition(RegistryCondition) - Method in class org.moddingx.libx.registration.RegistrationBuilder
-
Adds a new
RegistryCondition
that must match each object that is passed to the system in order to be registered. - conditions() - Method in class org.moddingx.libx.datagen.provider.loot.GlobalLootProviderBase
-
A standalone builder for loot conditions.
- conditions() - Method in class org.moddingx.libx.datagen.provider.recipe.RecipeProviderBase
-
Gets a list of conditions for all recipes added by this provider.
- conditions() - Method in record class org.moddingx.libx.registration.RegistrationBuilder.Result
-
Returns the value of the
conditions
record component. - Config - Annotation Interface in org.moddingx.libx.config
-
This annotation is added to a field that serves as a config value.
- ConfigCorrection<T> - Interface in org.moddingx.libx.config.correct
-
An instance of this interface is passed when a config is corrected.
- ConfigEditor<T> - Interface in org.moddingx.libx.config.gui
-
A config editor provides the logic on how to display a config value in a GUI.
- ConfigLoadedEvent - Class in org.moddingx.libx.event
-
Fired whenever a
LibX config
is loaded. - ConfigLoadedEvent(ResourceLocation, Class<?>, ConfigLoadedEvent.LoadReason, boolean, Path, Path) - Constructor for class org.moddingx.libx.event.ConfigLoadedEvent
- ConfigLoadedEvent.LoadReason - Enum Class in org.moddingx.libx.event
-
A reason for a config to load
- ConfigManager - Class in org.moddingx.libx.config
-
Provides a config system for configuration files that is meant to be more easy and powerful than the system by forge based on
NightConfig
. - ConfigManager() - Constructor for class org.moddingx.libx.config.ConfigManager
- configs() - Static method in class org.moddingx.libx.config.ConfigManager
-
Gets all registered config ids.
- ConfigScreenContent<T> - Interface in org.moddingx.libx.config.gui
-
Interface that defines content for custom config editor screens.
- ConfigScreenContent.ScreenManager - Interface in org.moddingx.libx.config.gui
-
Provides access to some screen operations.
- ConfigValidator<T,
A extends Annotation> - Interface in org.moddingx.libx.config.validator -
A config validator is used to read a custom validation annotation from a config field and validate the value so it for example matches an int range.
- consumer() - Method in interface org.moddingx.libx.datagen.provider.recipe.RecipeExtension
-
Gets the
Consumer
forfinished recipes
to add recipes to. - consumer() - Method in class org.moddingx.libx.datagen.provider.recipe.RecipeProviderBase
- Consumer3<A,
B, C> - Interface in org.moddingx.libx.fi -
A consumer that takes 3 parameters.
- Consumer4<A,
B, C, D> - Interface in org.moddingx.libx.fi -
A consumer that takes 4 parameters.
- Consumer5<A,
B, C, D, E> - Interface in org.moddingx.libx.fi -
A consumer that takes 5 parameters.
- Consumer6<A,
B, C, D, E, F> - Interface in org.moddingx.libx.fi -
A consumer that takes 6 parameters.
- Consumer7<A,
B, C, D, E, F, G> - Interface in org.moddingx.libx.fi -
A consumer that takes 7 parameters.
- Consumer8<A,
B, C, D, E, F, G, H> - Interface in org.moddingx.libx.fi -
A consumer that takes 8 parameters.
- containsKey(Object) - Method in class org.moddingx.libx.util.lazy.LazyImmutableMap
- containsValue(Object) - Method in class org.moddingx.libx.util.lazy.LazyImmutableMap
-
Deprecated.
- Content - Interface in org.moddingx.libx.datagen.provider.patchouli.page
-
Defines some content for a
patchouli book entry
. - contentsChanged(Runnable) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler.Builder
-
Adds an action that runs whenever the contents of the inventory change.
- contentsChanged(Consumer<Integer>) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler.Builder
-
Adds an action that runs whenever the contents of the inventory change.
- contentWidth() - Method in interface org.moddingx.libx.config.gui.ConfigScreenContent.ScreenManager
-
The maximum width, the content can occupy.
- context - Variable in class org.moddingx.libx.datagen.provider.RegistryProviderBase
- context() - Method in record class org.moddingx.libx.creativetab.CreativeTabX.TabContext
-
Returns the value of the
context
record component. - context() - Method in record class org.moddingx.libx.network.LoginPacketSerializer.LoginPacket
-
Returns the value of the
context
record component. - continentalness(float) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets the
continentalness
range for thisBiome
to a single value. - continentalness(float, float) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets the
continentalness
range for thisBiome
to the given range. - continentalness(Climate.Parameter) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets the
continentalness
range for thisBiome
to the given range. - continents(Holder<DensityFunction>) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- continents(DensityFunction) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- cooking(RecipeCategory, TagKey<Item>, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace and a smoker.
- cooking(RecipeCategory, ItemLike, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace and a smoker.
- cooking(ResourceLocation, RecipeCategory, TagKey<Item>, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace and a smoker.
- cooking(ResourceLocation, RecipeCategory, ItemLike, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace and a smoker.
- cooking(ResourceLocation, TagKey<Item>, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace and a smoker.
- cooking(ResourceLocation, ItemLike, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace and a smoker.
- cooking(TagKey<Item>, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace and a smoker.
- cooking(ItemLike, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe that can be performed in a regular furnace and a smoker.
- coordinateScale(double) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase.DimensionTypeBuilder
- copy() - Method in class org.moddingx.libx.util.lazy.CachedValue
-
Returns a new cached value.
- copy(T) - Method in class org.moddingx.libx.network.EnumDataSerializer
- copyBlock(TagKey<Block>, TagKey<Item>) - Method in class org.moddingx.libx.datagen.provider.tags.CommonTagsProviderBase
-
Copies all entries from a block tag to an item tag.
- copyFluid(TagKey<Fluid>, TagKey<Block>) - Method in class org.moddingx.libx.datagen.provider.tags.CommonTagsProviderBase
-
Copies all entries from a fluid tag to a block tag.
- copyImage(BufferedImage, Textures, String, int, int, int, int, int, int) - Static method in class org.moddingx.libx.datagen.provider.texture.TextureHelper
-
Copies an image to another image.
- copyImage(BufferedImage, Textures, ResourceLocation, int, int, int, int, int, int) - Static method in class org.moddingx.libx.datagen.provider.texture.TextureHelper
-
Copies an image to another image.
- copyNBT(String...) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
-
Creates a loot modifier that copies NBT-Data from a block entity into the dropped item.
- copyProperties(Property<?>...) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
-
Creates a loot modifier that copies properties from a block state into the dropped item.
- copyTexture(BufferedImage, Textures, String, int, int, int, int, int, int) - Static method in class org.moddingx.libx.datagen.provider.texture.TextureHelper
-
Copies a texture to an image.
- copyTexture(BufferedImage, Textures, ResourceLocation, int, int, int, int, int, int) - Static method in class org.moddingx.libx.datagen.provider.texture.TextureHelper
-
Copies a texture to an image.
- correct(JsonElement, ConfigCorrection<T>) - Method in interface org.moddingx.libx.config.mapper.ValueMapper
-
Corrects a config value.
- correct(JsonElement, ValueMapper<C, JsonElement>, ConfigCorrection<T>) - Method in interface org.moddingx.libx.config.mapper.GenericValueMapper
- correct(JsonElement, ValueMapper<U, ?>, Function<T, U>) - Method in interface org.moddingx.libx.config.correct.ConfigCorrection
-
Tries to get a value from a piece of json given a matching value mapper and a function to extract a default value for the value that this method should retrieve when given a default value for this config value.
- count() - Method in record class org.moddingx.libx.crafting.IngredientStack
-
Returns the value of the
count
record component. - count(int) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
A loot modifier that sets the count of a stack.
- count(int) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- count(int, int) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
A loot modifier that uniformly sets the count of a stack between two values.
- count(int, int) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- count(IntProvider) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- countBinomial(float, int) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
A loot modifier that sets the count of a stack based on a binomial formula.
- countExtra(int, float, int) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- crafting(String) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Adds a crafting recipe to the entry.
- crafting(String, String) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Adds a crafting recipe to the entry.
- crafting(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Adds a crafting recipe to the entry.
- CraftingExtension - Interface in org.moddingx.libx.datagen.provider.recipe.crafting
-
A
RecipeExtension
for shaped and shapeless recipes. - create(Supplier<IItemHandlerModifiable>) - Static method in class org.moddingx.libx.capability.ItemCapabilities
-
Creates a new
LazyOptional
for anIItemHandlerModifiable
. - create(Supplier<IItemHandlerModifiable>, Predicate<Integer>, BiPredicate<Integer, ItemStack>) - Static method in class org.moddingx.libx.capability.ItemCapabilities
-
Creates a new
LazyOptional
for anIItemHandlerModifiable
. - create(IItemHandlerModifiable) - Static method in class org.moddingx.libx.capability.ItemCapabilities
-
Creates a new
LazyOptional
for anIItemHandlerModifiable
. - create(IItemHandlerModifiable, Predicate<Integer>, BiPredicate<Integer, ItemStack>) - Static method in class org.moddingx.libx.capability.ItemCapabilities
-
Creates a new
LazyOptional
for anIItemHandlerModifiable
. - create(MapperFactory.Context) - Method in interface org.moddingx.libx.config.mapper.MapperFactory
-
Creates a new
ValueMapper
from the givenMapperFactory.Context
. - create(ModX, Consumer<DatagenSystem>) - Static method in class org.moddingx.libx.datagen.DatagenSystem
-
Registers a datagen system for the given mod and executes the provided configuration action when running datagen.
- createCapability() - Method in class org.moddingx.libx.inventory.BaseItemStackHandler
-
Creates a new
LazyOptional
for this inventory. - createCapability(Predicate<Integer>, BiPredicate<Integer, ItemStack>) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler
-
Creates a new
LazyOptional
for this inventory. - createEditor(ValueMapper<C, JsonElement>, ValidatorInfo<?>) - Method in interface org.moddingx.libx.config.mapper.GenericValueMapper
- createEditor(ValidatorInfo<?>) - Method in interface org.moddingx.libx.config.mapper.ValueMapper
-
Creates a
ConfigEditor
for this value mapper to display this config in the config menu. - createMenuType(Function5<Integer, Level, Integer, Inventory, Player, T>) - Static method in class org.moddingx.libx.menu.EntityMenu
-
Creates a container type for an
EntityMenu
. - createMenuType(Function5<Integer, Level, BlockPos, Inventory, Player, T>) - Static method in class org.moddingx.libx.menu.BlockMenu
-
Creates a menu type for a
BlockMenu
. - createMenuType(Function6<MenuType<T>, Integer, Level, Integer, Inventory, Player, T>) - Static method in class org.moddingx.libx.menu.EntityMenu
-
Creates a menu type for an
EntityMenu
. - createMenuType(Function6<MenuType<T>, Integer, Level, BlockPos, Inventory, Player, T>) - Static method in class org.moddingx.libx.menu.BlockMenu
-
Creates a menu type for a
BlockMenu
. - createProperties() - Static method in class org.moddingx.libx.render.ItemStackRenderer
-
Creates some
IClientItemExtensions
for with use theItemStackRenderer
. - createUnrestrictedCapability() - Method in class org.moddingx.libx.inventory.BaseItemStackHandler
-
Creates a new
LazyOptional
for this inventory but without slot validation. - createWidget(Screen, T, WidgetProperties<T>) - Method in interface org.moddingx.libx.config.gui.ConfigEditor
-
Creates a widget for a given initial value.
- CreativeTabItemProvider - Interface in org.moddingx.libx.creativetab
-
Can be implemented on items to provide custom logic on how
CreativeTabX
should fill them by default. - CreativeTabX - Class in org.moddingx.libx.creativetab
-
Class to register and populate a creative tab.
- CreativeTabX(ModX) - Constructor for class org.moddingx.libx.creativetab.CreativeTabX
- CreativeTabX(ModX, String) - Constructor for class org.moddingx.libx.creativetab.CreativeTabX
- CreativeTabX.TabContext - Record Class in org.moddingx.libx.creativetab
- criteria(Ingredient) - Method in interface org.moddingx.libx.datagen.provider.recipe.RecipeExtension
-
Gets a list of criteria that should be ORed, meaning that the recipe should unlock when one of them is completed instead of all of them.
- criterion(ItemPredicate...) - Method in interface org.moddingx.libx.datagen.provider.recipe.RecipeExtension
-
Builds an
advancement criterion
that requires all of the givenitems
. - criterion(ItemPredicate...) - Method in class org.moddingx.libx.datagen.provider.recipe.RecipeProviderBase
- criterion(TagKey<Item>) - Method in interface org.moddingx.libx.datagen.provider.recipe.RecipeExtension
-
Builds an
advancement criterion
for the giventag
. - criterion(TagKey<Item>) - Method in class org.moddingx.libx.datagen.provider.recipe.RecipeProviderBase
- criterion(ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.RecipeExtension
-
Builds an
advancement criterion
for the givenitem
. - criterion(ItemLike) - Method in class org.moddingx.libx.datagen.provider.recipe.RecipeProviderBase
- custom(T, Function<T, ConfigScreenContent<T>>) - Static method in interface org.moddingx.libx.config.gui.ConfigEditor
-
Creates a config editor with a button that will then open a sub-screen based on the given
content
. - customCommand(Style, String) - Method in class org.moddingx.libx.util.game.TextProcessor
-
Handles a custom command.
- customLootTable(T) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
The given item will not be processed by this provider.
- customLootTable(T, Function<T, LootTable.Builder>) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
The given item will get the given loot table function.
- customLootTable(T, LootTable.Builder) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
The given item will get the given loot table.
- CUTOUT - Static variable in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase.RenderTypes
- CUTOUT_MIPPED - Static variable in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase.RenderTypes
- CUTOUT_MIPPED_ALL - Static variable in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase.RenderTypes
D
- damageType(String, float) - Method in class org.moddingx.libx.datagen.provider.DamageTypeProviderBase
- DamageTypeBuilder(String, float) - Constructor for class org.moddingx.libx.datagen.provider.DamageTypeProviderBase.DamageTypeBuilder
- DamageTypeProviderBase - Class in org.moddingx.libx.datagen.provider
-
Registry provider for
damage type
. - DamageTypeProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.DamageTypeProviderBase
- DamageTypeProviderBase.DamageTypeBuilder - Class in org.moddingx.libx.datagen.provider
- DATA_PACKS - Static variable in class org.moddingx.libx.datapack.DynamicPacks
- DATAGEN - Enum constant in enum class org.moddingx.libx.datagen.DatagenStage
-
On transition to this phase, the elements from the registries are generated.
- DatagenContext - Class in org.moddingx.libx.datagen
-
Context for creation of data and registry providers.
- DatagenContext(DatagenStage, DatagenSystem, PackTarget) - Constructor for class org.moddingx.libx.datagen.DatagenContext
- DatagenStage - Enum Class in org.moddingx.libx.datagen
-
A stage in the LibX datagen system.
- DatagenSystem - Class in org.moddingx.libx.datagen
- DatagenSystem.PackTargetBuilder - Class in org.moddingx.libx.datagen
- DataLoader - Class in org.moddingx.libx.datapack
-
Utilities to load data from a
ResourceManager
- DataLoader() - Constructor for class org.moddingx.libx.datapack.DataLoader
- DataLoader.ResourceFactory<T,
R> - Interface in org.moddingx.libx.datapack -
A factory to map a resource to something else.
- DatapackHelper - Class in org.moddingx.libx.datapack
-
Adds some utilities for creating custom dynamic datapacks.
- DatapackHelper() - Constructor for class org.moddingx.libx.datapack.DatapackHelper
- deathMessageType(DeathMessageType) - Method in class org.moddingx.libx.datagen.provider.DamageTypeProviderBase.DamageTypeBuilder
- debug(Direction.Axis, double) - Static method in class org.moddingx.libx.sandbox.SandBox.Density
-
Creates a new density function that constantly increases along one coordinate axis.
- decode(FriendlyByteBuf) - Method in interface org.moddingx.libx.network.PacketSerializer
-
Decodes a message from a
FriendlyByteBuf
. - decode(R) - Method in interface org.moddingx.libx.codec.TypedEncoder
-
Decodes a value.
- DecoratedBlock - Class in org.moddingx.libx.base.decoration
-
A block that registers some decoration blocks with it based on a
DecorationContext
. - DecoratedBlock(ModX, DecorationContext, BlockBehaviour.Properties) - Constructor for class org.moddingx.libx.base.decoration.DecoratedBlock
- DecoratedBlock(ModX, DecorationContext, BlockBehaviour.Properties, Item.Properties) - Constructor for class org.moddingx.libx.base.decoration.DecoratedBlock
- DecorationContext - Class in org.moddingx.libx.base.decoration
-
A context that defines, what
elements
should be registered with aDecoratedBlock
. - DecorationContext(String, DecorationMaterial, DecorationType<?>...) - Constructor for class org.moddingx.libx.base.decoration.DecorationContext
-
Creates a new decoration context.
- DecorationContext.RegistrationInfo - Record Class in org.moddingx.libx.base.decoration
- DecorationElement(ResourceKey<? extends Registry<R>>, T) - Constructor for record class org.moddingx.libx.base.decoration.DecorationType.DecorationElement
-
Creates an instance of a
DecorationElement
record class. - DecorationMaterial - Interface in org.moddingx.libx.base.decoration
-
Provides some context about the block being decorated.
- DecorationMaterial.MaterialProperties - Class in org.moddingx.libx.base.decoration
- DecorationType<T> - Interface in org.moddingx.libx.base.decoration
-
Something that is registered together with a
DecoratedBlock
. - DecorationType.DecorationElement<R,
T extends R> - Record Class in org.moddingx.libx.base.decoration - defaultBehavior(String) - Method in class org.moddingx.libx.datagen.provider.loot.ChestLootProviderBase
- defaultBehavior(EntityType<?>) - Method in class org.moddingx.libx.datagen.provider.loot.EntityLootProviderBase
- defaultBehavior(Block) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
- defaultBehavior(T) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Creates a default loot table for the given item.
- defaultBiomeSurface() - Method in record class org.moddingx.libx.sandbox.surface.SurfaceRuleSet
-
Returns the value of the
defaultBiomeSurface
record component. - defaultBiomeSurface(SurfaceRules.RuleSource...) - Method in class org.moddingx.libx.datagen.provider.sandbox.SurfaceProviderBase.RuleSetBuilder
- defaultBlock(ResourceLocation, BlockItem) - Method in class org.moddingx.libx.datagen.provider.model.ItemModelProviderBase
- defaultBlock(Block) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder
- defaultBlock(BlockState) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder
- defaultBlockTags(Block) - Method in class org.moddingx.libx.datagen.provider.tags.CommonTagsProviderBase
-
Adds default
item tags
to aBlock
- DefaultExtension - Interface in org.moddingx.libx.datagen.provider.recipe
-
Recipe extension to add some default recipes.
- defaultFluid(Block) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder
- defaultFluid(BlockState) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder
- defaultFluidTags(Fluid) - Method in class org.moddingx.libx.datagen.provider.tags.CommonTagsProviderBase
-
Adds default
item tags
to aFluid
- defaultItem(ResourceLocation, Item) - Method in class org.moddingx.libx.datagen.provider.model.ItemModelProviderBase
- defaultItemTags(Item) - Method in class org.moddingx.libx.datagen.provider.tags.CommonTagsProviderBase
-
Adds default
item tags
to anItem
- DefaultMenu - Class in org.moddingx.libx.menu
-
A base class for menus that handles basic menu logic such as shift-clicks, and laying out slots.
- DefaultMenu(MenuType<?>, int, Level, Inventory, Player, int, int) - Constructor for class org.moddingx.libx.menu.DefaultMenu
- defaultModel(ResourceLocation, Block) - Method in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
-
Creates a model for the given block.
- defaultSlotLimit(int) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler.Builder
-
Sets the default maximum stack size for the item handler.
- defaultSound(ResourceLocation, SoundEvent) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase
-
Default behaviour for sound events.
- defaultState(ResourceLocation, Block, Supplier<ModelFile>) - Method in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
-
Creates a block state for the given block using the given model.
- defaultTags(T) - Method in class org.moddingx.libx.datagen.provider.tags.TagProviderBase
-
Called for every element from your mod.
- defaultValue() - Method in interface org.moddingx.libx.config.gui.ConfigEditor
-
Gets the default value for places where elements with this editor are created that have no value set.
- defaultValue() - Method in interface org.moddingx.libx.config.gui.InputProperties
-
gets the default value for newly created inputs that have no other default value available.
- density() - Method in record class org.moddingx.libx.sandbox.generator.BiomeLayer
-
Returns the value of the
density
record component. - density(Holder<DensityFunction>) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.BiomeLayerBuilder
-
Sets the density function that determines, where this layer generates.
- density(DensityFunction) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.BiomeLayerBuilder
-
Sets the density function that determines, where this layer generates.
- density(DensityFunction) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase
-
Wraps a new
DensityFunction
for registration. - DENY_LIST - Static variable in class org.moddingx.libx.util.data.ResourceList
-
A resource list that denies every item.
- depth(float) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets the
depth
range for thisBiome
to a single value. - depth(float, float) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets the
depth
range for thisBiome
to the given range. - depth(Holder<DensityFunction>) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- depth(Climate.Parameter) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets the
depth
range for thisBiome
to the given range. - depth(DensityFunction) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- derivative() - Method in class org.moddingx.libx.util.math.DoublePolynomial
- derivative() - Method in class org.moddingx.libx.util.math.IntPolynomial
- derivative() - Method in class org.moddingx.libx.util.math.Polynomial
-
Computes the derivative of this polynomial.
- description(String) - Method in class org.moddingx.libx.datagen.provider.patchouli.CategoryBuilder
-
Sets the category description.
- deserializeFromNetwork(FriendlyByteBuf) - Method in class org.moddingx.libx.command.EnumArgument2.Info
- dimension() - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase
- dimension(Holder<DimensionType>) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase
-
Returns a new builder for a dimension.
- dimension(Holder<DimensionType>, ChunkGenerator) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase
-
Makes a new
dimension
This method returns anintrusive holder
that must be properly added the registry. - dimension(ResourceKey<DimensionType>) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase
-
Returns a new builder for a dimension.
- dimension(ResourceKey<DimensionType>, ChunkGenerator) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase
-
Makes a new
dimension
This method returns anintrusive holder
that must be properly added the registry. - DimensionProviderBase - Class in org.moddingx.libx.datagen.provider.sandbox
-
SandBox provider for
dimensions
. - DimensionProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase
- DimensionProviderBase.BiomeSourceBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- DimensionProviderBase.ChunkGeneratorBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- DimensionProviderBase.FlatGeneratorBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- DimensionProviderBase.NoiseGeneratorBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- DimensionTypeProviderBase - Class in org.moddingx.libx.datagen.provider.sandbox
-
SandBox provider for
dimension types
. - DimensionTypeProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase
- DimensionTypeProviderBase.DimensionTypeBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- DIRECT_CODEC - Static variable in record class org.moddingx.libx.sandbox.generator.BiomeLayer
- DIRECT_CODEC - Static variable in class org.moddingx.libx.sandbox.structure.PoolExtension
- DIRECT_CODEC - Static variable in record class org.moddingx.libx.sandbox.surface.BiomeSurface
- DIRECT_CODEC - Static variable in record class org.moddingx.libx.sandbox.surface.SurfaceRuleSet
- DirectionalBlockRenderer<T extends net.minecraft.world.level.block.entity.BlockEntity> - Class in org.moddingx.libx.render.block
-
A
BlockEntityRenderer
that before calling the actual render code rotates thePoseStack
depending on the facing. - DirectionalBlockRenderer() - Constructor for class org.moddingx.libx.render.block.DirectionalBlockRenderer
- DirectionShape - Class in org.moddingx.libx.block
-
Holds 6 different
VoxelShapes
, one for each facing. - DirectionShape(VoxelShape) - Constructor for class org.moddingx.libx.block.DirectionShape
-
Creates a new RotationShape with the given base shape.
- disableAquifers() - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder
- disableMobGeneration() - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder
- disableOreVeins() - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder
- disableRaids() - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase.DimensionTypeBuilder
- disableRegistryTracking() - Method in class org.moddingx.libx.registration.RegistrationBuilder
-
Disables automatic registry tracking.
- disableScissor() - Method in class org.moddingx.libx.render.FilterGuiGraphics
- display(ItemStack) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Sets the display info for this advancement.
- display(ItemStack, FrameType) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Sets the display info for this advancement.
- display(ItemStack, FrameType, boolean, boolean, boolean) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Sets the display info for this advancement.
- display(ItemStack, Component, Component) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Sets the display info for this advancement.
- display(ItemStack, Component, Component, FrameType) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Sets the display info for this advancement.
- display(ItemStack, Component, Component, FrameType, boolean, boolean, boolean) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Sets the display info for this advancement.
- display(ItemLike) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Sets the display info for this advancement.
- display(ItemLike, FrameType) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Sets the display info for this advancement.
- display(ItemLike, FrameType, boolean, boolean, boolean) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Sets the display info for this advancement.
- display(ItemLike, Component, Component) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Sets the display info for this advancement.
- display(ItemLike, Component, Component, FrameType) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Sets the display info for this advancement.
- display(ItemLike, Component, Component, FrameType, boolean, boolean, boolean) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Sets the display info for this advancement.
- doesNotThrow(Callable<T>) - Static method in class org.moddingx.libx.codec.CodecHelper
-
Wraps a value into a
DataResult
. - DOOR - Static variable in interface org.moddingx.libx.base.decoration.DecorationType
- doRender(T, float, PoseStack, MultiBufferSource, int, int) - Method in class org.moddingx.libx.render.block.TransformingBlockRenderer
-
Renders the
block entity
. - doubleCompress(ItemLike, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.crafting.CompressionExtension
- doubleCompress(ItemLike, ItemLike, ItemLike, boolean) - Method in interface org.moddingx.libx.datagen.provider.recipe.crafting.CompressionExtension
- DoublePolynomial - Class in org.moddingx.libx.util.math
-
A polynomial with double coefficients.
- DoublePolynomial(double...) - Constructor for class org.moddingx.libx.util.math.DoublePolynomial
-
Creates a new polynomial with the given coefficients.
- DoubleRange - Annotation Interface in org.moddingx.libx.config.validate
-
Config validator annotation that checks whether a double is in a range of allowed values.
- down - Variable in class org.moddingx.libx.block.DirectionShape
- drawBackground(GuiGraphics, int, int, int, int, float) - Method in class org.moddingx.libx.screen.text.TextScreen
- drawCenteredString(Font, String, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- drawCenteredString(Font, Component, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- drawCenteredString(Font, FormattedCharSequence, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- drawManaged(Runnable) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- drawString(Font, String, float, float, int, boolean) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- drawString(Font, String, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- drawString(Font, String, int, int, int, boolean) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- drawString(Font, Component, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- drawString(Font, Component, int, int, int, boolean) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- drawString(Font, FormattedCharSequence, float, float, int, boolean) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- drawString(Font, FormattedCharSequence, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- drawString(Font, FormattedCharSequence, int, int, int, boolean) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- drawWordWrap(Font, FormattedText, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- DRIPPING_BUCKET - Static variable in class org.moddingx.libx.datagen.provider.model.ItemModelProviderBase
- drops(Block, boolean, List<LootFactory<Block>>) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
- drops(Block, boolean, ItemStack...) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
- drops(Block, boolean, LootFactory<Block>...) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
- drops(Block, List<LootFactory<Block>>) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
- drops(Block, ItemStack...) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
- drops(Block, BlockLootProviderBase.SilkModifier, List<LootFactory<Block>>) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
- drops(Block, BlockLootProviderBase.SilkModifier, ItemStack...) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
- drops(Block, BlockLootProviderBase.SilkModifier, LootFactory<Block>...) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
- drops(T, List<LootFactory<T>>) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Method to add a custom loot table for an item.
- drops(T, ItemStack...) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Method to add a custom loot table for an item.
- drops(T, LootFactory<T>...) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Method to add a custom loot table for an item.
- dummy(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Creates a dummy
advancement
with a given id to be used as a parent if your advancement should have another advancement from another mod as parent. - dummy(ResourceLocation, boolean) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Creates a dummy
advancement
with a given id to be used as a parent if your advancement should have another advancement from another mod as parent. - dynamic(String, PackType, PackTarget...) - Method in class org.moddingx.libx.datagen.DatagenSystem
-
Creates a pack target for a LibX dynamic pack.
- Dynamic - Annotation Interface in org.moddingx.libx.annotation.codec
-
The dynamic codec field type will create a map codec from a static method The method is defined through the fields defined in the annotation.
- DynamicPacks - Class in org.moddingx.libx.datapack
-
This allows you to have multiple resource and datapacks in your mod file.
- dynamicRange() - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.BiomeLayerBuilder
-
Sets the noise range used for this
BiomeLayer
to be automatically computed to cover the minimum noise range that includes all contained biomes.
E
- east - Variable in class org.moddingx.libx.block.RotationShape
- eat(ItemPredicate) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets a
criterion
that requires a player to consume (eat/drink) an item. - eat(TagKey<Item>) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets a
criterion
that requires a player to consume (eat/drink) an item. - eat(ItemLike) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets a
criterion
that requires a player to consume (eat/drink) an item. - EditorOps - Interface in org.moddingx.libx.config.gui
-
This interface can be implemented by widgets, so other
config editors
can control them. - EffectIngredient - Class in org.moddingx.libx.crafting.ingredient
-
An ingredient that checks for
potion effects
to be present on a potion. - EffectIngredient(Item, List<MobEffectInstance>) - Constructor for class org.moddingx.libx.crafting.ingredient.EffectIngredient
- EffectIngredient(Item, List<MobEffectInstance>, boolean, boolean, boolean) - Constructor for class org.moddingx.libx.crafting.ingredient.EffectIngredient
- EffectIngredient(ItemStack) - Constructor for class org.moddingx.libx.crafting.ingredient.EffectIngredient
- EffectIngredient(ItemStack, boolean, boolean, boolean) - Constructor for class org.moddingx.libx.crafting.ingredient.EffectIngredient
- EffectIngredient.Serializer - Class in org.moddingx.libx.crafting.ingredient
- effects - Variable in class org.moddingx.libx.crafting.ingredient.EffectIngredient
-
A list of effects that an ItemStack needs.
- effects() - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeProviderBase
-
Creates a new builder for
BiomeSpecialEffects
. - effects(String) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase.DimensionTypeBuilder
- effects(String, String) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase.DimensionTypeBuilder
- effects(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase.DimensionTypeBuilder
- effects(DamageEffects) - Method in class org.moddingx.libx.datagen.provider.DamageTypeProviderBase.DamageTypeBuilder
- effects(BiomeSpecialEffects.Builder) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeProviderBase.BiomeBuilder
-
Sets the special effects for this biome.
- element() - Method in record class org.moddingx.libx.base.decoration.DecorationType.DecorationElement
-
Returns the value of the
element
record component. - element() - Method in interface org.moddingx.libx.config.mapper.GenericValueMapper
-
Gets the class of the JSON element type this mapper uses.
- element() - Method in interface org.moddingx.libx.config.mapper.ValueMapper
-
Gets the class of the JSON element type this mapper uses.
- element() - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
- element() - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase.MatchStateBuilder
- element() - Method in interface org.moddingx.libx.datagen.provider.loot.entry.GenericLootModifier
- element() - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Gets the element factory.
- element(int, StructurePoolElement) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a pool element to this pool.
- element(StructurePoolElement) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a pool element to this pool.
- element(ModX, DecorationContext, DecoratedBlock) - Method in interface org.moddingx.libx.base.decoration.DecorationType
-
Gets the element to register.
- elementMap() - Method in record class org.moddingx.libx.base.decoration.DecorationContext.RegistrationInfo
-
Returns the value of the
elementMap
record component. - elements() - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
- elements() - Method in class org.moddingx.libx.sandbox.structure.PoolExtension
-
Gets the list of
elements
and weights to extend thetemplate pool
. - elements() - Method in record class org.moddingx.libx.screen.text.entry.FlowBox
-
Returns the value of the
elements
record component. - empty() - Static method in interface org.moddingx.libx.config.validator.ValidatorInfo
- empty() - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add an empty template to this pool.
- empty(int) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add an empty template to this pool.
- EMPTY - Static variable in record class org.moddingx.libx.crafting.IngredientStack
- EMPTY - Static variable in interface org.moddingx.libx.datagen.provider.patchouli.page.Content
-
An empty content that does nothing.
- EMPTY - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- emptySurface() - Static method in class org.moddingx.libx.sandbox.SandBox
-
Gets a surface rule that leaves every block unchanged.
- enabled(boolean) - Method in interface org.moddingx.libx.config.gui.EditorOps
-
Marks a widget as enabled or disabled.
- enabled(boolean) - Method in class org.moddingx.libx.screen.ColorPicker
- enabled(boolean) - Method in class org.moddingx.libx.screen.Panel
- enablePack(String, String) - Method in class org.moddingx.libx.datapack.DynamicPacks
-
Enables a dynamic pack.
- enableScissor(int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- enchantment(Enchantment) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase.MatchToolBuilder
-
Adds a required enchantment to this builder.
- enchantment(Enchantment, int) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase.MatchToolBuilder
-
Adds a required enchantment to this builder.
- enchantmentExact(Enchantment, int) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase.MatchToolBuilder
-
Adds a required enchantment to this builder.
- encode(T) - Method in interface org.moddingx.libx.codec.TypedEncoder
-
Encodes a value.
- encode(T, FriendlyByteBuf) - Method in interface org.moddingx.libx.network.PacketSerializer
-
Encodes the message to a
FriendlyByteBuf
. - endOverlayBatch() - Static method in class org.moddingx.libx.render.RenderHelperBlock
-
Invokes
MultiBufferSource.BufferSource.endBatch(RenderType)
on the crumbling buffer with theRenderType
used for custom overlays and crumbling. - enqueue(Runnable) - Method in class org.moddingx.libx.registration.SetupContext
-
Enqueues a given
Runnable
into the synchronous work queue. - ensureFrequency() - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.BasePlacementBuilder
- enter(ResourceKey<Level>) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets a
criterion
that requires a player to enter a dimension. - entity - Variable in class org.moddingx.libx.menu.EntityMenu
- entity(EntityPredicate) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets the given
EntityPredicate
as anContextAwarePredicate
. - entity(EntityType<?>) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets an
ContextAwarePredicate
that matches for a specific entity type. - entity(EntityType<?>) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Adds some content to the entry that display the given entity.
- entity(EntityType<?>) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeModifierProviderBase.RemoveMobSpawnsBuilder
- EntityLootProviderBase - Class in org.moddingx.libx.datagen.provider.loot
- EntityLootProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.loot.EntityLootProviderBase
- EntityMenu<T extends net.minecraft.world.entity.Entity> - Class in org.moddingx.libx.menu
-
A
DefaultMenu
for entities. - EntityMenu(MenuType<?>, int, Level, int, Inventory, Player, int, int) - Constructor for class org.moddingx.libx.menu.EntityMenu
- entries - Variable in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.BasePlacementBuilder
- entry(int, Holder<Structure>) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.StructureEntryBuilder
-
Adds a structure to this structure set.
- entry(String) - Method in class org.moddingx.libx.datagen.provider.patchouli.PatchouliProviderBase
-
Adds a new entry to this book.
- entry(String, String) - Method in class org.moddingx.libx.datagen.provider.patchouli.PatchouliProviderBase
-
Adds a new entry to this book.
- entry(Holder<Structure>) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.StructureEntryBuilder
-
Adds a structure to this structure set.
- EntryBuilder - Class in org.moddingx.libx.datagen.provider.patchouli
-
Builder for a patchouli book entry.
- EntryBuilder(ModX, String, ResourceLocation) - Constructor for class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
- entrySet() - Method in class org.moddingx.libx.util.lazy.LazyImmutableMap
- enumArgument(Class<R>) - Static method in class org.moddingx.libx.command.EnumArgument2
-
Creates a new enum argument for the given enum class.
- EnumArgument2<T extends Enum<T>> - Class in org.moddingx.libx.command
-
As the
EnumArgument
is sometimes a bit buggy because when the entered value is lowercase but the actual enum value is uppercase and it also does not sync properly, here's a variant that solves these issues. - EnumArgument2.Info - Class in org.moddingx.libx.command
- EnumArgument2.Info.Template - Class in org.moddingx.libx.command
- enumCodec(Class<T>) - Static method in class org.moddingx.libx.codec.MoreCodecs
-
Gets a codec that encodes an
enum
as a string. - EnumDataSerializer<T extends Enum<T>> - Class in org.moddingx.libx.network
-
Data serializers
for enums. - EnumDataSerializer(Class<T>) - Constructor for class org.moddingx.libx.network.EnumDataSerializer
- EnumObjects<E extends Enum<E>,
T> - Class in org.moddingx.libx.registration.util -
A
Registerable
that registers multiple objects, one for each value of an enum. - EnumObjects(ResourceKey<? extends Registry<T>>, Class<E>, Function<E, T>) - Constructor for class org.moddingx.libx.registration.util.EnumObjects
-
Creates a new instance of EnumObjects.
- equals(Object) - Method in record class org.moddingx.libx.base.decoration.DecorationContext.RegistrationInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.moddingx.libx.base.decoration.DecorationType.DecorationElement
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.moddingx.libx.config.gui.WidgetProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.moddingx.libx.crafting.IngredientStack
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.moddingx.libx.creativetab.CreativeTabX.TabContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.moddingx.libx.datagen.provider.patchouli.BookProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.moddingx.libx.datagen.provider.patchouli.content.TextContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.moddingx.libx.network.LoginPacketSerializer.LoginPacket
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.moddingx.libx.network.NetworkX.Protocol
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.moddingx.libx.registration.RegistrationBuilder.Result
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.moddingx.libx.sandbox.generator.BiomeLayer
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.moddingx.libx.sandbox.surface.BiomeSurface
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.moddingx.libx.sandbox.surface.SurfaceRuleSet
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.moddingx.libx.screen.text.entry.AlignedComponent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.moddingx.libx.screen.text.entry.AlignedComponent.TextWrapping
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.moddingx.libx.screen.text.entry.AlignedWidget
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.moddingx.libx.screen.text.entry.FlowBox
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.moddingx.libx.util.data.ResourceList.RuleEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.moddingx.libx.util.math.DoublePolynomial
- equals(Object) - Method in class org.moddingx.libx.util.math.IntPolynomial
- equals(Object) - Method in record class org.moddingx.libx.util.Ref
-
Indicates whether some other object is "equal to" this one.
- erosion(float) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets the
erosion
range for thisBiome
to a single value. - erosion(float, float) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets the
erosion
range for thisBiome
to the given range. - erosion(Holder<DensityFunction>) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- erosion(Climate.Parameter) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets the
erosion
range for thisBiome
to the given range. - erosion(DensityFunction) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- error(String) - Static method in class org.moddingx.libx.codec.MoreCodecs
-
Gets a codec that always errors with the given message.
- error(String, String) - Static method in class org.moddingx.libx.codec.MoreCodecs
-
Gets a codec that always errors with the given messages.
- event(SoundEvent) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundDefinitionBuilder
-
Adds another sound event as a sound for this definition.
- event(SoundEvent, Consumer<SoundDefinition.Sound>) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundDefinitionBuilder
-
Adds another sound event as a sound for this definition.
- expansionHack() - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProviderBase.JigsawBuilder
-
Enables jigsaw expansion hack.
- Experimental - Annotation Interface in org.moddingx.libx.annotation.meta
-
Elements annotated with
Experimental
are subject to change. - extend(Codec<M>, MapCodec<E>) - Static method in class org.moddingx.libx.codec.MoreCodecs
-
Extends the give
Codec
with some new fields defined by the givenMapCodec
. - extend(Codec<M>, MapCodec<E>, Function<A, Pair<M, E>>, BiFunction<M, E, A>) - Static method in class org.moddingx.libx.codec.MoreCodecs
-
Extends the give
Codec
with some new fields defined by the givenMapCodec
. - ExtendedNoiseChunkGenerator - Class in org.moddingx.libx.sandbox.generator
-
A version of
NoiseBasedChunkGenerator
that allows overriding the surface rules, takingBiomeSurface
into account. - ExtendedNoiseChunkGenerator(BiomeSource, Holder<NoiseGeneratorSettings>, Optional<Holder<SurfaceRuleSet>>) - Constructor for class org.moddingx.libx.sandbox.generator.ExtendedNoiseChunkGenerator
- extension(Holder<StructureTemplatePool>) - Method in class org.moddingx.libx.datagen.provider.sandbox.TemplateExtensionProviderBase
-
Creates a builder for a
PoolExtension
on the given pool. - extension(ResourceKey<StructureTemplatePool>) - Method in class org.moddingx.libx.datagen.provider.sandbox.TemplateExtensionProviderBase
-
Creates a builder for a
PoolExtension
on the given pool. - EXTENSION_SETUP - Enum constant in enum class org.moddingx.libx.datagen.DatagenStage
-
In this stage all non-extension registries have been frozen.
- extensionRegistries() - Static method in class org.moddingx.libx.datagen.DatagenSystem
-
Gets a set of all extension.registries.
- extractItem(int, boolean) - Method in interface org.moddingx.libx.inventory.IAdvancedItemHandler
-
Works like
IItemHandler.extractItem(int, int, boolean)
but without a specific slot. - extractItem(int, int, boolean) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler
- extractItem(Predicate<ItemStack>, int, boolean) - Method in interface org.moddingx.libx.inventory.IAdvancedItemHandler
-
Works like
IItemHandler.extractItem(int, int, boolean)
but with a predicate instead of a slot. - extraEffects - Variable in class org.moddingx.libx.crafting.ingredient.EffectIngredient
-
Whether potions with more effects than the ones specified in this ingredient are matched.
F
- factory() - Element in annotation interface org.moddingx.libx.annotation.codec.Dynamic
-
Method name of the factory method.
- feature(int, Holder<PlacedFeature>) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a feature template to this pool.
- feature(Holder<PlacedFeature>) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a feature template to this pool.
- feature(Holder<PlacedFeature>) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeModifierProviderBase.FeaturesBuilder
- feature(Feature<C>, C) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase
-
Makes a new
configured feature
. - feature(Feature<NoneFeatureConfiguration>) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase
-
Makes a new
configured feature
without configuration. - FeatureProviderBase - Class in org.moddingx.libx.datagen.provider.sandbox
-
SandBox provider for
configured
andplaced features
. - FeatureProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase
- FeatureProviderBase.AnyPlacementBuilder<T> - Class in org.moddingx.libx.datagen.provider.sandbox
- FeatureProviderBase.ModifierBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- FeatureProviderBase.PlacementBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- FeatureProviderBase.PlacementModifiers - Class in org.moddingx.libx.datagen.provider.sandbox
- features() - Method in record class org.moddingx.libx.creativetab.CreativeTabX.TabContext
-
Returns the value of the
features
record component. - FENCE - Static variable in interface org.moddingx.libx.base.decoration.DecorationType
- FENCE_GATE - Static variable in interface org.moddingx.libx.base.decoration.DecorationType
- FENCE_PARENT - Static variable in class org.moddingx.libx.datagen.provider.model.ItemModelProviderBase
- field() - Element in annotation interface org.moddingx.libx.annotation.codec.Param
-
Field name of the codec field.
- fileHelper - Variable in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
- fileHelper - Variable in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
- fileHelper - Variable in class org.moddingx.libx.datagen.provider.patchouli.PatchouliProviderBase
- fileHelper() - Method in class org.moddingx.libx.datagen.DatagenContext
-
Gets the
ExistingFileHelper
. - fileHelper() - Method in class org.moddingx.libx.datagen.DatagenSystem
- fill(int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- fill(int, int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- fill(RenderType, int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- fill(RenderType, int, int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- FILL - Enum constant in enum class org.moddingx.libx.screen.text.entry.FlowBox.HorizontalAlignment
-
Space is evenly distributed between elements in a row.
- fillGradient(int, int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- fillGradient(int, int, int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- fillGradient(RenderType, int, int, int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- FilterGuiGraphics - Class in org.moddingx.libx.render
-
A
GuiGraphics
that overrides all methods and passes them through to the given parent. - FilterGuiGraphics(GuiGraphics) - Constructor for class org.moddingx.libx.render.FilterGuiGraphics
- finalDensity(Holder<DensityFunction>) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- finalDensity(DensityFunction) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- find(PackType, ResourceLocation) - Method in class org.moddingx.libx.datagen.PackTarget
-
Finds an existing resource in this pack target.
- findDataProvider(Class<T>) - Method in class org.moddingx.libx.datagen.DatagenContext
-
Queries a
DataProvider
by class. - findRegistryFor(Holder.Reference<T>) - Method in interface org.moddingx.libx.datagen.RegistrySet
-
Gets the target registry for holders created from registries returned by
RegistrySet.writableRegistry(ResourceKey)
. - findRegistryProvider(Class<T>) - Method in class org.moddingx.libx.datagen.DatagenContext
-
Queries a
RegistryProvider
by class. - fire() - Method in class org.moddingx.libx.datagen.provider.loot.EntityLootProviderBase
-
Gets a loot condition that checks, whether the killed entity was on fire.
- first(List<LootFactory<T>>) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Combines the given loot factories into one.
- first(LootFactory<T>...) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Combines the given loot factories into one.
- firstInventorySlot - Variable in class org.moddingx.libx.menu.DefaultMenu
- firstOutputSlot - Variable in class org.moddingx.libx.menu.DefaultMenu
- fixed(Dynamic<?>) - Static method in class org.moddingx.libx.codec.MoreCodecs
-
Creates a fixed codec that always encodes the
unit value
to the given serialized value. - fixed(Number) - Static method in class org.moddingx.libx.codec.MoreCodecs
-
Creates a fixed codec that always encodes the
unit value
to the given serialized value. - fixed(String) - Static method in class org.moddingx.libx.codec.MoreCodecs
-
Creates a fixed codec that always encodes the
unit value
to the given serialized value. - fixedBiome(Holder<Biome>) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase.BiomeSourceBuilder
-
Use a
FixedBiomeSource
for this dimension. - fixedBiome(ResourceKey<Biome>) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase.BiomeSourceBuilder
-
Use a
FixedBiomeSource
for this dimension. - fixedTime(long) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase.DimensionTypeBuilder
- flatGenerator() - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase.ChunkGeneratorBuilder
-
Use a flat chunk generator for this dimension.
- flip() - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Causes a page flip.
- flip(BufferedImage, Direction.Axis) - Static method in class org.moddingx.libx.datagen.provider.texture.ImageTransforms
-
Flips the give image by the given axis.
- flip(String) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Causes a page flip.
- flipToEven() - Method in interface org.moddingx.libx.datagen.provider.patchouli.page.PageBuilder
-
Inserts an empty page, if necessary, so the next added page will have an even page number.
- FloatRange - Annotation Interface in org.moddingx.libx.config.validate
-
Config validator annotation that checks whether a float is in a range of allowed values.
- FlowBox - Record Class in org.moddingx.libx.screen.text.entry
-
A flow box can align elements horizontally inside a
TextScreen
that align items vertically by default. - FlowBox(List<TextScreenEntry.Direct>, int, int) - Constructor for record class org.moddingx.libx.screen.text.entry.FlowBox
- FlowBox(List<TextScreenEntry.Direct>, int, int, int) - Constructor for record class org.moddingx.libx.screen.text.entry.FlowBox
- FlowBox(FlowBox.HorizontalAlignment, List<TextScreenEntry.Direct>, int, int) - Constructor for record class org.moddingx.libx.screen.text.entry.FlowBox
- FlowBox(FlowBox.HorizontalAlignment, List<TextScreenEntry.Direct>, int, int, int) - Constructor for record class org.moddingx.libx.screen.text.entry.FlowBox
- FlowBox(FlowBox.HorizontalAlignment, FlowBox.VerticalAlignment, List<TextScreenEntry.Direct>, int, int) - Constructor for record class org.moddingx.libx.screen.text.entry.FlowBox
- FlowBox(FlowBox.HorizontalAlignment, FlowBox.VerticalAlignment, List<TextScreenEntry.Direct>, int, int, int) - Constructor for record class org.moddingx.libx.screen.text.entry.FlowBox
-
Creates an instance of a
FlowBox
record class. - FlowBox.HorizontalAlignment - Enum Class in org.moddingx.libx.screen.text.entry
-
Specifies the horizontal alignment of elements inside a
FlowBox
. - FlowBox.VerticalAlignment - Enum Class in org.moddingx.libx.screen.text.entry
-
Specifies the horizontal alignment of elements inside a
FlowBox
. - flowingFactory(Function<ForgeFlowingFluid.Properties, ForgeFlowingFluid.Flowing>) - Method in class org.moddingx.libx.base.FluidBase.Builder
- fluid(TagKey<Fluid>) - Method in class org.moddingx.libx.datagen.provider.tags.CommonTagsProviderBase
-
Gets a
tag appender
for aFluid
- FluidBase - Class in org.moddingx.libx.base
- FluidBase.Builder - Class in org.moddingx.libx.base
- fluidLevelFloodednessNoise(Holder<DensityFunction>) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- fluidLevelFloodednessNoise(DensityFunction) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- fluidLevelSpreadNoise(Holder<DensityFunction>) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- fluidLevelSpreadNoise(DensityFunction) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- flush() - Method in class org.moddingx.libx.render.FilterGuiGraphics
- folder - Variable in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
- forceResync(ServerPlayer) - Static method in class org.moddingx.libx.config.ConfigManager
-
Forces a resync of all configs to one player.
- forceResync(ServerPlayer, Class<?>) - Static method in class org.moddingx.libx.config.ConfigManager
-
Forces a resync of one config to one player.
- foreignEntry(String, String) - Method in class org.moddingx.libx.datagen.provider.patchouli.PatchouliProviderBase
-
Adds a new foreign entry to this book.
- forFactory(Function<Structure.StructureSettings, Structure>) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProviderBase
-
Returns a new structure builder based on a function that creates a structure from its
Structure.StructureSettings
. - forLootTable(String, String) - Method in class org.moddingx.libx.datagen.provider.loot.GlobalLootProviderBase.AnyLootConditionsBuilder
-
Adds a condition for the queried loot table.
- forLootTable(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.loot.GlobalLootProviderBase.AnyLootConditionsBuilder
-
Adds a condition for the queried loot table.
- ForMod - Annotation Interface in org.moddingx.libx.annotation
-
Normally ModInit will infer the mod id and mod class from your
@Mod
annotation. - forName(String) - Static method in class org.moddingx.libx.util.ClassUtil
- fortuneBinomial(float) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
-
A loot modifier to apply fortune based on a binomial formula.
- fortuneBinomial(float, int) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
-
A loot modifier to apply fortune based on a binomial formula.
- fortuneOres() - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
-
A loot modifier to apply fortune based on the formula used for ores.
- fortuneUniform() - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
-
A loot modifier to apply fortune based on a uniform formula.
- fortuneUniform(int) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
-
A loot modifier to apply fortune based on a uniform formula.
- frequency - Variable in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.BasePlacementBuilder
- frequency(float) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.BasePlacementBuilder
-
Sets the frequency for the placement of this structure.
- frequency(float, StructurePlacement.FrequencyReductionMethod) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.BasePlacementBuilder
-
Sets the frequency for the placement of this structure.
- frequencyReduction - Variable in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.BasePlacementBuilder
- from(Climate.ParameterPoint) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets all climate parameters for this biome based on the given
parameter point
. - from(LootPoolEntryContainer.Builder<?>) - Static method in interface org.moddingx.libx.datagen.provider.loot.entry.LootFactory
-
Gets a loot factory that will always return the given loot entry.
- from(LootPoolEntryContainer.Builder<?>) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Turns a loot entry into a loot factory.
- from(LootPoolSingletonContainer.Builder<?>) - Static method in interface org.moddingx.libx.datagen.provider.loot.entry.SimpleLootFactory
-
Gets a simple loot factory that will always return the given loot entry.
- from(LootPoolSingletonContainer.Builder<?>) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Turns a singleton loot entry into a simple loot factory.
- from(LootItemConditionalFunction.Builder<?>) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Turns a loot function into a loot modifier.
- fromJson(JsonObject) - Static method in record class org.moddingx.libx.crafting.IngredientStack
-
Deserializes and IngredientStack from json.
- fromJson(E) - Method in interface org.moddingx.libx.config.mapper.ValueMapper
-
Reads an object from JSON.
- fromJson(E, ValueMapper<C, JsonElement>) - Method in interface org.moddingx.libx.config.mapper.GenericValueMapper
- fromNetwork(FriendlyByteBuf) - Method in interface org.moddingx.libx.config.mapper.ValueMapper
-
Reads a value from a
FriendlyByteBuf
. - fromNetwork(FriendlyByteBuf) - Static method in record class org.moddingx.libx.crafting.IngredientStack
-
Reads an IngredientStack from a
FriendlyByteBuf
. - fromNetwork(FriendlyByteBuf, ValueMapper<C, JsonElement>) - Method in interface org.moddingx.libx.config.mapper.GenericValueMapper
- frozen() - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeProviderBase.BiomeBuilder
-
Marks this biome as frozen.
- FULL_RANGE - Static variable in record class org.moddingx.libx.sandbox.generator.BiomeLayer
- fullRange() - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.BiomeLayerBuilder
-
Sets the noise range used for this
BiomeLayer
to the full noise range. - fullRange() - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets all
parameters
to cover the full noise range. - Function3<A,
B, C, R> - Interface in org.moddingx.libx.fi -
A function that takes 3 parameters and returns a value.
- Function4<A,
B, C, D, R> - Interface in org.moddingx.libx.fi -
A function that takes 4 parameters and returns a value.
- Function5<A,
B, C, D, E, R> - Interface in org.moddingx.libx.fi -
A function that takes 5 parameters and returns a value.
- Function6<A,
B, C, D, E, F, R> - Interface in org.moddingx.libx.fi -
A function that takes 6 parameters and returns a value.
- Function7<A,
B, C, D, E, F, G, R> - Interface in org.moddingx.libx.fi -
A function that takes 7 parameters and returns a value.
- Function8<A,
B, C, D, E, F, G, H, R> - Interface in org.moddingx.libx.fi -
A function that takes 8 parameters and returns a value.
G
- GameEventBlock - Interface in org.moddingx.libx.base.tile
-
A
BlockEntity
used withBlockBE
can implement this. - gameEventDelivery() - Method in interface org.moddingx.libx.base.tile.GameEventBlock
-
Gets the delivery mode for this game event listener.
- gameEventRange() - Method in interface org.moddingx.libx.base.tile.GameEventBlock
-
Gets the range in which game events should be detected.
- generate(BufferedImage, Textures) - Method in interface org.moddingx.libx.datagen.provider.texture.TextureFactory
-
Fills the given image.
- generateBaseTable(Block, LootPoolEntryContainer.Builder<?>) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
- generateBaseTable(T, LootPoolEntryContainer.Builder<?>) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Generate the base loot table.
- GENERATED - Static variable in class org.moddingx.libx.datagen.provider.model.ItemModelProviderBase
- generatePackMeta(IModFile, String, PackType) - Static method in class org.moddingx.libx.datapack.DatapackHelper
-
Creates a supplier that can be repeatedly called to create new
InputStream
s for a dynamically generatedpack.mcmeta
based on the given mod file. - generation() - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeProviderBase
-
Creates a new builder for
BiomeGenerationSettings
. - generation(BiomeGenerationSettings.PlainBuilder) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeProviderBase.BiomeBuilder
-
Sets the feature generation for this biome.
- generator() - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase
-
Returns a new builder for noise generator settings.
- generator(Function<BiomeSource, ChunkGenerator>) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase.ChunkGeneratorBuilder
-
Use a given chunk generator.
- generatorSettings() - Method in class org.moddingx.libx.sandbox.generator.ExtendedNoiseChunkGenerator
- GENERIC - Enum constant in enum class org.moddingx.libx.render.target.RenderJobFailedException.Reason
-
Generic reason.
- GENERIC - Static variable in class org.moddingx.libx.base.decoration.DecorationContext
-
Generic context.
- GENERIC - Static variable in interface org.moddingx.libx.base.decoration.DecorationMaterial
-
A material without any special properties.
- GenericLootModifier<T> - Interface in org.moddingx.libx.datagen.provider.loot.entry
-
Interface to modify a singleton loot entry to a new loot entry.
- GenericMenu - Class in org.moddingx.libx.menu
-
A common
menu
with a variable amount of slots. - genericModifier(BiFunction<T, LootPoolSingletonContainer.Builder<?>, LootPoolEntryContainer.Builder<?>>) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
- GenericValueMapper<T,
E extends JsonElement, C> - Interface in org.moddingx.libx.config.mapper -
A value mapper for a generic type.
- get() - Static method in class org.moddingx.libx.render.ItemStackRenderer
-
Gets the instance of the ItemStackRenderer.
- get() - Method in class org.moddingx.libx.util.lazy.CachedValue
-
Gets the value.
- get() - Method in class org.moddingx.libx.util.lazy.LazyValue
-
Gets the value.
- get(E) - Method in class org.moddingx.libx.registration.util.EnumObjects
-
Gets a value for an enum value.
- get(Class<? extends ModX>, Class<T>) - Static method in class org.moddingx.libx.annotation.api.Codecs
-
Gets a codec created by the use of the
PrimaryConstructor
annotation. - get(Object) - Method in class org.moddingx.libx.util.lazy.LazyImmutableMap
- get(DecorationType<T>) - Method in class org.moddingx.libx.base.decoration.DecoratedBlock
-
Gets an element registered together with this block.
- getArgumentOrDefault(CommandContext<?>, String, Class<T>, T) - Static method in class org.moddingx.libx.command.CommandUtil
-
Gets an argument for a command and if it's not present a default value.
- getBlock() - Method in class org.moddingx.libx.base.FluidBase
-
Gets the fluid block for this fluid.
- getBlockEntity() - Method in class org.moddingx.libx.menu.BlockEntityMenu
- getBlockEntity(Level, BlockPos) - Method in class org.moddingx.libx.base.tile.BlockBE
- getBlockEntityType() - Method in class org.moddingx.libx.base.tile.BlockBE
- getBucket() - Method in class org.moddingx.libx.base.FluidBase
-
Gets the bucket item for this fluid.
- getBurnTime(ItemStack, RecipeType<?>) - Method in class org.moddingx.libx.base.BlockBase
- getCancellationResult() - Method in class org.moddingx.libx.event.InteractBlockEmptyHandEvent
- getCapability(Capability<T>, Direction) - Method in class org.moddingx.libx.base.tile.BlockEntityBase
- getCapability(Capability<T>, Direction) - Method in class org.moddingx.libx.capability.SimpleProvider
- getCeilingBlock() - Method in interface org.moddingx.libx.base.decoration.HangingSignAccess
-
Gets the ceiling sign block.
- getChildAt(double, double) - Method in class org.moddingx.libx.screen.Panel
- getColor() - Method in class org.moddingx.libx.screen.ColorPicker
-
Gets the current value of the colour picker.
- getColorFromFormattingCharacter(char, boolean) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- getConfigClass() - Method in class org.moddingx.libx.event.ConfigLoadedEvent
-
Gets the class of the config that was loaded.
- getConfigId() - Method in class org.moddingx.libx.event.ConfigLoadedEvent
-
Gets the id of the config that was loaded.
- getConfigPath() - Method in class org.moddingx.libx.event.ConfigLoadedEvent
-
Gets the path where the config is stored by default.
- getConsoleString(Component) - Static method in class org.moddingx.libx.util.game.ComponentUtil
-
Gets a
text component
as a string formatted with ANSI escape codes to be printed on the console. - getContainerSize() - Method in class org.moddingx.libx.inventory.VanillaWrapper
- getContext() - Method in class org.moddingx.libx.base.decoration.DecoratedBlock
-
Gets the
DecorationContext
used for this block. - getCurrentFocusPath() - Method in class org.moddingx.libx.screen.Panel
- getCurrentPath() - Method in class org.moddingx.libx.event.ConfigLoadedEvent
-
Gets the path where the config is loaded from for this event.
- getEnergyStored() - Method in interface org.moddingx.libx.capability.LongEnergyStorage
-
Gets the long energy stored best represented as an
int
. - getEntity() - Method in class org.moddingx.libx.menu.EntityMenu
- getExamples() - Method in class org.moddingx.libx.command.EnumArgument2
- getFlowing() - Method in class org.moddingx.libx.base.FluidBase
-
Gets the flowing fluid.
- getFluid() - Method in class org.moddingx.libx.base.FluidBase
-
Gets the fluid.
- getFocused() - Method in class org.moddingx.libx.screen.Panel
- getGenericElementPosition() - Method in interface org.moddingx.libx.config.mapper.GenericValueMapper
-
The position which generic type argument should be used to retrieve a value mapper.
- getGenericType() - Method in interface org.moddingx.libx.config.mapper.MapperFactory.Context
-
The generic type of the config key.
- getHand() - Method in class org.moddingx.libx.event.InteractBlockEmptyHandEvent
- getHit() - Method in class org.moddingx.libx.event.InteractBlockEmptyHandEvent
- getInstance() - Static method in class org.moddingx.libx.LibX
-
Gets the LibX instance.
- getInventory(ItemStack) - Static method in class org.moddingx.libx.base.ItemInventory
-
Gets the inventory of an
ItemStack
or null if the ItemStack doesn't have the item handler capability or the item handler is not an instance ofIItemHandlerModifiable
. - getInventoryOption(ItemStack) - Static method in class org.moddingx.libx.base.ItemInventory
-
Gets an
Optional
containing the inventory of anItemStack
or an empty optional if the ItemStack doesn't have the item handler capability or the item handler is not an instance ofIItemHandlerModifiable
. - getItem(int) - Method in class org.moddingx.libx.inventory.VanillaWrapper
- getItems() - Method in class org.moddingx.libx.crafting.ingredient.EffectIngredient
- getLevel() - Method in class org.moddingx.libx.event.InteractBlockEmptyHandEvent
- getLevel() - Method in class org.moddingx.libx.menu.DefaultMenu
- getListener(ServerLevel, X) - Method in class org.moddingx.libx.base.tile.BlockBE
- getLoginIndex(T) - Method in interface org.moddingx.libx.network.LoginPacketSerializer
-
Gets the login packet index from the packet.
- getLongEnergyStored() - Method in interface org.moddingx.libx.capability.LongEnergyStorage
-
Gets the energy stored as a long.
- getLongMaxEnergyStored() - Method in interface org.moddingx.libx.capability.LongEnergyStorage
-
Gets the maximum energy stored as a long.
- getMaterialProperties() - Method in class org.moddingx.libx.base.decoration.DecoratedBlock
- getMaxEnergyStored() - Method in interface org.moddingx.libx.capability.LongEnergyStorage
-
Gets the long maximum energy stored best represented as an
int
. - getMaxValue(long) - Static method in class org.moddingx.libx.util.game.LongAmountToIntUtil
-
Gets a maximum value stored as a long as an int value.
- getName() - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.DamageTypeProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.loot.GlobalLootProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.model.ItemModelProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.patchouli.PatchouliProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.recipe.RecipeProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeModifierProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.sandbox.SurfaceProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.sandbox.TemplateExtensionProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.sandbox.TemplateProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.tags.CommonTagsProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.tags.TagProviderBase
- getName() - Method in class org.moddingx.libx.datagen.provider.texture.TextureProviderBase
- getName() - Method in interface org.moddingx.libx.datagen.RegistryProvider
- getNetwork() - Static method in class org.moddingx.libx.LibX
-
Gets the network implementation of LibX.
- getNoiseBiome(int, int, int, Climate.Sampler) - Method in class org.moddingx.libx.sandbox.generator.LayeredBiomeSource
- getPlayer() - Method in class org.moddingx.libx.event.InteractBlockEmptyHandEvent
- getPos() - Method in class org.moddingx.libx.menu.BlockMenu
- getProperties() - Method in class org.moddingx.libx.base.FluidBase
-
Gets the properties for this fluid.
- getProtocol() - Method in class org.moddingx.libx.network.NetworkX
-
Gets the
protocol
for this network. - getReason() - Method in class org.moddingx.libx.event.ConfigLoadedEvent
-
Gets the reason why the config was loaded
- getResource(CompoundTag, String) - Static method in class org.moddingx.libx.util.data.NbtX
-
Gets a
ResourceLocation
from aCompoundTag
stored with a given key or null if there's no such resource location. - getResource(CompoundTag, String, ResourceLocation) - Static method in class org.moddingx.libx.util.data.NbtX
-
Gets a
ResourceLocation
from aCompoundTag
stored with a given key or the default value if there's no such resource location. - getResourceKey(CompoundTag, String, ResourceKey<Registry<T>>) - Static method in class org.moddingx.libx.util.data.NbtX
-
Gets a
ResourceKey
. - getResourceKey(CompoundTag, String, ResourceKey<Registry<T>>, ResourceKey<T>) - Static method in class org.moddingx.libx.util.data.NbtX
-
Gets a
ResourceKey
. - getRules() - Method in class org.moddingx.libx.util.data.ResourceList
-
Gets a list of
rule entries
for this ResourceList. - getSerializer() - Method in class org.moddingx.libx.crafting.ingredient.EffectIngredient
- getShape(Direction) - Method in class org.moddingx.libx.block.DirectionShape
- getShape(Direction) - Method in class org.moddingx.libx.block.RotationShape
-
Gets the VoxelShape for the given direction.
- getSize() - Method in interface org.moddingx.libx.datagen.provider.texture.TextureFactory
-
Gets the unscaled size of the texture.
- getSlotLimit(int) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler
- getSource() - Method in class org.moddingx.libx.base.FluidBase
-
Gets the source fluid.
- getStackingIds() - Method in class org.moddingx.libx.crafting.ingredient.EffectIngredient
- getStandingBlock() - Method in interface org.moddingx.libx.base.decoration.SignAccess
-
Gets the standing sign block.
- getTicker(Level, BlockState, BlockEntityType<X>) - Method in class org.moddingx.libx.base.tile.BlockBE
- getType() - Method in class org.moddingx.libx.base.FluidBase
-
Gets the fluid type.
- getUnrestricted() - Method in class org.moddingx.libx.inventory.BaseItemStackHandler
-
Gets an item handler that wraps around this item handler but has no checks on which items are valid for a slot.
- getValue(long, long) - Static method in class org.moddingx.libx.util.game.LongAmountToIntUtil
-
Gets a value stored as a long as an int value.
- getVertexSorting() - Method in interface org.moddingx.libx.render.target.RenderJob
-
Gets the vertex sorting to use.
- getWallBlock() - Method in interface org.moddingx.libx.base.decoration.HangingSignAccess
-
Gets the wall sign block.
- getWallBlock() - Method in interface org.moddingx.libx.base.decoration.SignAccess
-
Gets the wall sign block.
- GlobalLootProviderBase - Class in org.moddingx.libx.datagen.provider.loot
-
Data provider for global loot modifiers.
- GlobalLootProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.loot.GlobalLootProviderBase
- GlobalLootProviderBase.AnyLootConditionsBuilder<T extends GlobalLootProviderBase.AnyLootConditionsBuilder<T>> - Class in org.moddingx.libx.datagen.provider.loot
-
A builder class for loot conditions.
- GlobalLootProviderBase.LootConditionsBuilder - Class in org.moddingx.libx.datagen.provider.loot
- GlobalLootProviderBase.LootModifierBuilder - Class in org.moddingx.libx.datagen.provider.loot
-
A builder for a loot modifier that accepts some conditions.
- group(List<LootPoolEntryContainer.Builder<?>>) - Static method in class org.moddingx.libx.datagen.loot.LootBuilders
-
Gets a loot builder for group loot.
- Group - Annotation Interface in org.moddingx.libx.config
-
This annotation can be added to a static class inside a config class to add a comment to a subgroup.
- GSON - Static variable in class org.moddingx.libx.datapack.DatapackHelper
- guiHeight() - Method in class org.moddingx.libx.render.FilterGuiGraphics
- guiWidth() - Method in class org.moddingx.libx.render.FilterGuiGraphics
H
- handheld(Item) - Method in class org.moddingx.libx.datagen.provider.model.ItemModelProviderBase
-
This item will get a handheld model.
- HANDHELD - Static variable in class org.moddingx.libx.datagen.provider.model.ItemModelProviderBase
- handle(T, Supplier<NetworkEvent.Context>) - Method in interface org.moddingx.libx.network.PacketHandler
-
Handles the given message.
- handler - Variable in class org.moddingx.libx.inventory.VanillaWrapper
- HANGING_SIGN - Static variable in interface org.moddingx.libx.base.decoration.DecorationType
- hangingSign(ResourceLocation, ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.texture.TextureProviderBase
-
Generates a hanging sign texture with the given id and the given texture as stripped log.
- hangingSign(WoodType, ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.texture.TextureProviderBase
-
Generates a hanging sign texture for the given
WoodType
with the given texture as stripped log. - hangingSign(WoodType, Block) - Method in class org.moddingx.libx.datagen.provider.texture.TextureProviderBase
-
Generates a hanging sign texture for the given
WoodType
with the given block as stripped log. - HangingSignAccess - Interface in org.moddingx.libx.base.decoration
-
Interface to access different registered parts of a hanging sign.
- has(DecorationType<?>) - Method in class org.moddingx.libx.base.decoration.DecoratedBlock
-
Gets whether this block has a given type of decoration.
- has(DecorationType<?>) - Method in class org.moddingx.libx.base.decoration.DecorationContext
-
Gets whether this context has a given
DecorationType
. - hashCode() - Method in record class org.moddingx.libx.base.decoration.DecorationContext.RegistrationInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.moddingx.libx.base.decoration.DecorationType.DecorationElement
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.moddingx.libx.config.gui.WidgetProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.moddingx.libx.crafting.IngredientStack
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.moddingx.libx.creativetab.CreativeTabX.TabContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.moddingx.libx.datagen.provider.patchouli.BookProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.moddingx.libx.datagen.provider.patchouli.content.TextContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.moddingx.libx.network.LoginPacketSerializer.LoginPacket
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.moddingx.libx.network.NetworkX.Protocol
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.moddingx.libx.registration.RegistrationBuilder.Result
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.moddingx.libx.sandbox.generator.BiomeLayer
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.moddingx.libx.sandbox.surface.BiomeSurface
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.moddingx.libx.sandbox.surface.SurfaceRuleSet
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.moddingx.libx.screen.text.entry.AlignedComponent
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.moddingx.libx.screen.text.entry.AlignedComponent.TextWrapping
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.moddingx.libx.screen.text.entry.AlignedWidget
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.moddingx.libx.screen.text.entry.FlowBox
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.moddingx.libx.util.data.ResourceList.RuleEntry
-
Returns a hash code value for this object.
- hashCode() - Method in class org.moddingx.libx.util.math.DoublePolynomial
- hashCode() - Method in class org.moddingx.libx.util.math.IntPolynomial
- hashCode() - Method in record class org.moddingx.libx.util.Ref
-
Returns a hash code value for this object.
- hasMod(ServerPlayer, String) - Static method in class org.moddingx.libx.network.RemoteModList
-
Gets whether a player has installed a certain mod.
- hasProperty(Property<?>, String) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase.MatchStateBuilder
- hasProperty(Property<Boolean>, boolean) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase.MatchStateBuilder
- hasProperty(Property<Integer>, int) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase.MatchStateBuilder
- hasProperty(Property<T>, T) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase.MatchStateBuilder
- hasSpaceFor(List<ItemStack>) - Method in interface org.moddingx.libx.inventory.IAdvancedItemHandler
-
Gets whether the item handler has space for all the items given.
- hasSpaceFor(List<ItemStack>, int, int) - Method in interface org.moddingx.libx.inventory.IAdvancedItemHandler
-
Gets whether the item handler has space for all the items given.
- height - Variable in class org.moddingx.libx.menu.GenericMenu
- height() - Method in record class org.moddingx.libx.config.gui.WidgetProperties
-
Returns the value of the
height
record component. - height() - Method in interface org.moddingx.libx.render.target.RenderJob
-
The image height in pixels.
- height(int, int) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase.DimensionTypeBuilder
- height(int, int, int) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase.DimensionTypeBuilder
- height(Heightmap.Types) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProviderBase.JigsawBuilder
-
Sets the height for the structure to generate based on a
Heightmap
. - height(Heightmap.Types, int) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProviderBase.JigsawBuilder
-
Sets the height for the structure to generate based on a
Heightmap
and an offset. - height(Heightmap.Types, HeightProvider) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProviderBase.JigsawBuilder
-
Sets the height for the structure to generate based on a
Heightmap
and an offset. - height(HeightProvider) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProviderBase.JigsawBuilder
-
Sets the absolute height for the structure to generate.
- height(VerticalAnchor, VerticalAnchor) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- HEIGHT - Static variable in class org.moddingx.libx.screen.ColorPicker
-
The height of a colour picker widget
- heightmap(Heightmap.Types) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- HeightPlacementFilter - Class in org.moddingx.libx.sandbox.placement
-
A
PlacementFilter
for filtering by the absolute placement position. - HeightPlacementFilter(VerticalAnchor, VerticalAnchor) - Constructor for class org.moddingx.libx.sandbox.placement.HeightPlacementFilter
-
Creates a new
HeightPlacementFilter
. - heightTriangle(VerticalAnchor, VerticalAnchor) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- higherAmplifier - Variable in class org.moddingx.libx.crafting.ingredient.EffectIngredient
-
Whether potions with a higher amplifier as specified in this ingredient are matched.
- higherDuration - Variable in class org.moddingx.libx.crafting.ingredient.EffectIngredient
-
Whether potions with a higher duration as specified in this ingredient are matched.
- hLine(int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- hLine(RenderType, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- holder(ResourceKey<? extends Registry<T>>, T) - Method in class org.moddingx.libx.datagen.provider.RegistryProviderBase
-
Gets a holder from a value.
- holder(ResourceKey<T>) - Method in class org.moddingx.libx.datagen.provider.RegistryProviderBase
-
Gets a holder from a registry key.
- horizontalAlignment() - Method in record class org.moddingx.libx.screen.text.entry.FlowBox
-
Returns the value of the
horizontalAlignment
record component. - humidity(float) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets the
humidity
range for thisBiome
to a single value. - humidity(float, float) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets the
humidity
range for thisBiome
to the given range. - humidity(Climate.Parameter) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets the
humidity
range for thisBiome
to the given range.
I
- IAdvancedItemHandler - Interface in org.moddingx.libx.inventory
-
Rich interface that provides some default methods to an
IItemHandler
. - IAdvancedItemHandlerModifiable - Interface in org.moddingx.libx.inventory
-
Rich interface that provides some default methods to an
IItemHandlerModifiable
. - icon(ItemStack) - Method in class org.moddingx.libx.datagen.provider.patchouli.CategoryBuilder
-
Sets the category icon.
- icon(ItemStack) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Sets the entry icon.
- icon(ItemLike) - Method in class org.moddingx.libx.datagen.provider.patchouli.CategoryBuilder
-
Sets the category icon.
- icon(ItemLike) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Sets the entry icon.
- id - Variable in class org.moddingx.libx.creativetab.CreativeTabX
- id - Variable in class org.moddingx.libx.datagen.provider.patchouli.CategoryBuilder
- id - Variable in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
- id() - Method in class org.moddingx.libx.datapack.ResourceEntry
-
Gets the id of this resource entry
- id() - Method in class org.moddingx.libx.registration.RegistrationContext
-
Gets the id of the object being registered.
- Id - Annotation Interface in org.moddingx.libx.datagen.provider
-
Can be applied to fields in subclasses of
RegistryProviderBase
to register an element by a different id. - identity() - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
- identity(SimpleLootFactory<T>) - Static method in interface org.moddingx.libx.datagen.provider.loot.entry.GenericLootModifier
-
Gets a loot modifier that does nothing.
- identity(SimpleLootFactory<T>) - Static method in interface org.moddingx.libx.datagen.provider.loot.entry.LootModifier
-
Gets a loot modifier that does nothing.
- IDENTITY - Static variable in class org.moddingx.libx.util.math.DoublePolynomial
-
The identity polynomial.
- IDENTITY - Static variable in class org.moddingx.libx.util.math.IntPolynomial
-
The identity polynomial.
- idResolver - Variable in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
- ignore(List<Block>) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase.ProcessorListBuilder
- ignore(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase
-
This sound will not be processed by the default generator
- ignore(SoundEvent) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase
-
This sound will not be processed by the default generator
- image(String) - Method in class org.moddingx.libx.datagen.provider.texture.Textures
-
Gets a preloaded source image.
- image(String, String...) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Adds some images to the entry.
- image(String, ResourceLocation...) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Adds some images to the entry.
- image(String, TextureFactory) - Method in class org.moddingx.libx.datagen.provider.texture.TextureProviderBase
-
Adds an image that should be generated.
- image(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.texture.Textures
-
Gets a preloaded source image.
- image(ResourceLocation, TextureFactory) - Method in class org.moddingx.libx.datagen.provider.texture.TextureProviderBase
-
Adds an image that should be generated.
- ImageHelper - Class in org.moddingx.libx.render.target
-
Helper to render scenes into images in the context of minecraft.
- ImageHelper() - Constructor for class org.moddingx.libx.render.target.ImageHelper
- imageScale(String) - Method in class org.moddingx.libx.datagen.provider.texture.Textures
-
Gets the scale for a source image.
- imageScale(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.texture.Textures
-
Gets the scale for a source image.
- ImageTransforms - Class in org.moddingx.libx.datagen.provider.texture
-
Helper methods to transform
images
. - ImageTransforms() - Constructor for class org.moddingx.libx.datagen.provider.texture.ImageTransforms
- inAir() - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- infiniteBurn(TagKey<Block>) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase.DimensionTypeBuilder
- influence(DensityFunction, DensityFunction, DensityFunction) - Static method in class org.moddingx.libx.sandbox.SandBox.Density
-
Creates a new influence density function with automatically filled out values for
min_influence
andmax_influence
. - influence(DensityFunction, DensityFunction, DensityFunction, double, double) - Static method in class org.moddingx.libx.sandbox.SandBox.Density
-
Creates a new density function using the formula
base + (min_influence + influence/(max_influence - min_influence))*modifier
- INGAME_CHANGES - Enum constant in enum class org.moddingx.libx.event.ConfigLoadedEvent.LoadReason
-
Changes made to the config from the ingame config GUI.
- ingredient() - Method in record class org.moddingx.libx.crafting.IngredientStack
-
Returns the value of the
ingredient
record component. - IngredientStack - Record Class in org.moddingx.libx.crafting
-
An
Ingredient
with an amount. - IngredientStack(Ingredient, int) - Constructor for record class org.moddingx.libx.crafting.IngredientStack
-
Creates an instance of a
IngredientStack
record class. - init() - Method in class org.moddingx.libx.screen.text.TextScreen
- init(long) - Method in class org.moddingx.libx.sandbox.generator.LayeredBiomeSource
- init(Consumer<T>) - Method in interface org.moddingx.libx.config.gui.ConfigScreenContent
-
Initialises the screen.
- init(RegistryAccess) - Method in class org.moddingx.libx.sandbox.generator.ExtendedNoiseChunkGenerator
- init(ResourceLocation) - Method in interface org.moddingx.libx.base.decoration.DecorationMaterial
-
Initialises some material properties.
- initCapabilities(ItemStack, CompoundTag) - Method in class org.moddingx.libx.base.ItemInventory
- INITIAL - Enum constant in enum class org.moddingx.libx.event.ConfigLoadedEvent.LoadReason
-
First load of the config.
- initialDensityWithoutJaggedness(Holder<DensityFunction>) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- initialDensityWithoutJaggedness(DensityFunction) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- initializeItemClient(Consumer<IClientItemExtensions>) - Method in class org.moddingx.libx.base.BlockBase
-
Called from the item for this block from
Item.initializeClient(Consumer)
. - initRegistration(RegistrationBuilder) - Method in class org.moddingx.libx.mod.ModXRegistration
-
Initialises the registration system.
- initTracking(RegistrationContext, Registerable.TrackingCollector) - Method in class org.moddingx.libx.base.BlockBase
- initTracking(RegistrationContext, Registerable.TrackingCollector) - Method in class org.moddingx.libx.base.FluidBase
- initTracking(RegistrationContext, Registerable.TrackingCollector) - Method in class org.moddingx.libx.base.MenuBlock
- initTracking(RegistrationContext, Registerable.TrackingCollector) - Method in class org.moddingx.libx.base.tile.BlockBE
- initTracking(RegistrationContext, Registerable.TrackingCollector) - Method in class org.moddingx.libx.base.tile.MenuBlockBE
- initTracking(RegistrationContext, Registerable.TrackingCollector) - Method in interface org.moddingx.libx.registration.Registerable
-
Adds fields with additional registry values to the
RegistryTracker
. - initTracking(RegistrationContext, Registerable.TrackingCollector) - Method in class org.moddingx.libx.registration.util.EnumObjects
- innerBlit(ResourceLocation, int, int, int, int, int, float, float, float, float) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- input() - Static method in interface org.moddingx.libx.config.gui.ConfigEditor
-
Creates a new text input editor.
- input(InputProperties<T>) - Static method in interface org.moddingx.libx.config.gui.ConfigEditor
-
Creates a new text input editor.
- input(InputProperties<T>, ValidatorInfo<?>) - Static method in interface org.moddingx.libx.config.gui.ConfigEditor
-
Creates a new text input editor.
- input(ValidatorInfo<?>) - Static method in interface org.moddingx.libx.config.gui.ConfigEditor
-
Creates a new text input editor.
- inputChanged() - Method in record class org.moddingx.libx.config.gui.WidgetProperties
-
Returns the value of the
inputChanged
record component. - InputProperties<T> - Interface in org.moddingx.libx.config.gui
-
Defines which input is valid and how to convert input for text input editors.
- insertionOnly(int...) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler.Builder
-
Marks the given slots as insertion only.
- insertionOnly(Range<Integer>) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler.Builder
-
Marks the given slots as insertion only.
- insertionOnly(Set<Integer>) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler.Builder
-
Marks the given slots as insertion only.
- insertItem(int, ItemStack, boolean) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler
- insertItem(ItemStack, boolean) - Method in interface org.moddingx.libx.inventory.IAdvancedItemHandler
-
Works like
IItemHandler.insertItem(int, ItemStack, boolean)
but without a specific slot. - insertText(String, boolean) - Method in class org.moddingx.libx.screen.text.TextScreen
- INSTANCE - Static variable in class org.moddingx.libx.command.EnumArgument2.Info
- INSTANCE - Static variable in class org.moddingx.libx.crafting.ingredient.EffectIngredient.Serializer
- INSTANCE - Static variable in class org.moddingx.libx.util.game.TextProcessor
-
A text processor without any custom command.
- instantiate(CommandBuildContext) - Method in class org.moddingx.libx.command.EnumArgument2.Info.Template
- integrate() - Method in class org.moddingx.libx.util.math.DoublePolynomial
-
Integrates this polynomial with constant part 0.
- integrate(double) - Method in class org.moddingx.libx.util.math.DoublePolynomial
-
Integrates this polynomial with the given constant part.
- InteractBlockEmptyHandEvent - Class in org.moddingx.libx.event
-
Fired on right click with an empty hand but after the block action was processed.
- InteractBlockEmptyHandEvent(ServerPlayer, Level, InteractionHand, BlockHitResult) - Constructor for class org.moddingx.libx.event.InteractBlockEmptyHandEvent
- IntPolynomial - Class in org.moddingx.libx.util.math
-
A polynomial with integer coefficients.
- IntPolynomial(int...) - Constructor for class org.moddingx.libx.util.math.IntPolynomial
-
Creates a new polynomial with the given coefficients.
- IntRange - Annotation Interface in org.moddingx.libx.config.validate
-
Config validator annotation that checks whether an integer is in a range of allowed values.
- invalidate() - Method in class org.moddingx.libx.util.lazy.CachedValue
-
Invalidates the cached value.
- inverted() - Method in class org.moddingx.libx.datagen.provider.loot.GlobalLootProviderBase.AnyLootConditionsBuilder
-
Inverts the last added condition.
- InvertPlacementFilter - Class in org.moddingx.libx.sandbox.placement
-
A
PlacementFilter
for inverting otherfilters
. - InvertPlacementFilter(PlacementFilter) - Constructor for class org.moddingx.libx.sandbox.placement.InvertPlacementFilter
-
Creates a new
InvertPlacementFilter
. - invX - Variable in class org.moddingx.libx.menu.GenericMenu
- invY - Variable in class org.moddingx.libx.menu.GenericMenu
- isAllowList() - Method in class org.moddingx.libx.util.data.ResourceList
-
Gets whether this ResourceList is an allow list or a deny list.
- isCancelable() - Method in class org.moddingx.libx.event.InteractBlockEmptyHandEvent
- isClientConfig() - Method in class org.moddingx.libx.event.ConfigLoadedEvent
-
Gets whether the config is a client config.
- isDragging() - Method in class org.moddingx.libx.screen.Panel
- isEmpty() - Method in class org.moddingx.libx.crafting.ingredient.EffectIngredient
- isEmpty() - Method in record class org.moddingx.libx.crafting.IngredientStack
-
Returns whether the count is 0 or
Ingredient.isEmpty()
returns true. - isEmpty() - Method in class org.moddingx.libx.inventory.VanillaWrapper
- isEmpty() - Method in class org.moddingx.libx.util.lazy.LazyImmutableMap
- isEnabled(String, String) - Method in class org.moddingx.libx.datapack.DynamicPacks
-
Gets tests whether a dynamic pack is enabled.
- isFirst() - Method in interface org.moddingx.libx.datagen.provider.patchouli.page.PageBuilder
-
Gets whether the next added page will be the first page of an entry.
- isItemValid(int, ItemStack) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler
- isItemValidInput(RecipeManager, RecipeType<?>, ItemStack) - Static method in class org.moddingx.libx.crafting.RecipeHelper
-
Gets whether an
ItemStack
is a valid input for at least one recipe of a given recipe type. - isMetal() - Method in interface org.moddingx.libx.base.decoration.DecorationMaterial
-
Gets whether the block is a metal block.
- isPauseScreen() - Method in class org.moddingx.libx.screen.text.TextScreen
- isSimple() - Method in class org.moddingx.libx.crafting.ingredient.EffectIngredient
- isStone() - Method in interface org.moddingx.libx.base.decoration.DecorationMaterial
-
Gets whether the block is a stone block.
- isValid(Object) - Method in interface org.moddingx.libx.config.validator.ValidatorInfo
-
Gets whether this object matches the validators type and is not corrected by the validator.
- isValid(String) - Method in interface org.moddingx.libx.config.gui.InputProperties
-
Gets whether a given user input is valid or not.
- isWood() - Method in interface org.moddingx.libx.base.decoration.DecorationMaterial
-
Gets whether the block is a wood block.
- item(TagKey<Item>) - Method in class org.moddingx.libx.datagen.provider.tags.CommonTagsProviderBase
-
Gets a
tag appender
for anItem
- item(ItemStack) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Adds some spotlight content that displays an item.
- item(ItemStack, boolean) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Adds some spotlight content that displays an item.
- item(ItemLike) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Adds some spotlight content that displays an item.
- item(ItemLike, boolean) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Adds some spotlight content that displays an item.
- ItemBase - Class in org.moddingx.libx.base
-
Base class for
items
for mods usingModXRegistration
. - ItemBase(ModX, Item.Properties) - Constructor for class org.moddingx.libx.base.ItemBase
- ItemCapabilities - Class in org.moddingx.libx.capability
- ItemCapabilities() - Constructor for class org.moddingx.libx.capability.ItemCapabilities
- ItemInventory<T extends net.minecraftforge.items.IItemHandlerModifiable & net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>> - Class in org.moddingx.libx.base
-
Base class for
items
which have an inventory. - ItemInventory(ModX, Item.Properties, Function<Runnable, T>) - Constructor for class org.moddingx.libx.base.ItemInventory
-
Creates a new item with inventory.
- ItemModelProviderBase - Class in org.moddingx.libx.datagen.provider.model
-
A base class for item model provider.
- ItemModelProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.model.ItemModelProviderBase
- itemProperties(Consumer<Item.Properties>) - Method in class org.moddingx.libx.base.FluidBase.Builder
- itemProperties(Item.Properties) - Method in class org.moddingx.libx.base.FluidBase.Builder
- items(ItemPredicate...) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets a
criterion
that requires all of the given items to be in the inventory at the same time. - items(TagKey<Item>...) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets a
criterion
that requires all of the given items to be in the inventory at the same time. - items(ItemLike...) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets a
criterion
that requires all of the given items to be in the inventory at the same time. - ItemStackRenderer - Class in org.moddingx.libx.render
-
This class is meant to apply a
BlockEntityRenderer
to items. - ItemStackRenderer(BlockEntityRenderDispatcher, EntityModelSet) - Constructor for class org.moddingx.libx.render.ItemStackRenderer
- itemTasks(ItemPredicate...) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets a
AdvancementProviderBase.TaskFactory
that adds a task for every item given to this method. - itemTasks(TagKey<Item>...) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets a
AdvancementProviderBase.TaskFactory
that adds a task for every item given to this method. - itemTasks(ItemLike...) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets a
AdvancementProviderBase.TaskFactory
that adds a task for every item given to this method.
J
- jigsaw() - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase.ProcessorListBuilder
- jigsaw(Holder<StructureTemplatePool>) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProviderBase
-
Returns a new structure builder for jigsaw structures.
- join(List<ResourceEntry>, DataLoader.ResourceFactory<Resource, T>) - Static method in class org.moddingx.libx.datapack.DataLoader
-
Joins data from the given
resources
by a given factory into a stream. - join(PackTarget, PackTarget) - Method in class org.moddingx.libx.datagen.DatagenSystem
-
Joins two pack targets, using one for client resource output and the other one for server data output.
- joinJson(List<ResourceEntry>, DataLoader.ResourceFactory<JsonElement, T>) - Static method in class org.moddingx.libx.datapack.DataLoader
-
Joins data from the given
resources
by a given factory into a stream. - joinText(List<ResourceEntry>, DataLoader.ResourceFactory<String, T>) - Static method in class org.moddingx.libx.datapack.DataLoader
-
Joins data from the given
resources
by a given factory into a stream. - JSON - Static variable in class org.moddingx.libx.codec.CodecHelper
-
CodecOps
forjson
.
K
- keep(TagKey<Block>) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase.ProcessorListBuilder
- key() - Method in class org.moddingx.libx.registration.RegistrationContext
-
Gets the
ResourceKey
of the object being registered. - keyPressed(int, int, int) - Method in class org.moddingx.libx.screen.Panel
- keyReleased(int, int, int) - Method in class org.moddingx.libx.screen.Panel
- keySet() - Method in class org.moddingx.libx.util.lazy.LazyImmutableMap
L
- lavaNoise(Holder<DensityFunction>) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- lavaNoise(DensityFunction) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- layer() - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase
- layer(Block, int) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase.FlatGeneratorBuilder
-
Add a flat layer to this generator.
- layeredBiome(HolderSet<BiomeLayer>) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase.BiomeSourceBuilder
-
Use a
LayeredBiomeSource
for this dimension. - layeredBiome(TagKey<BiomeLayer>) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase.BiomeSourceBuilder
-
Use a
LayeredBiomeSource
for this dimension. - LayeredBiomeSource - Class in org.moddingx.libx.sandbox.generator
- LayeredBiomeSource(HolderSet<BiomeLayer>) - Constructor for class org.moddingx.libx.sandbox.generator.LayeredBiomeSource
-
Creates a new
LayeredBiomeSource
. - layoutPlayerInventorySlots(int, int) - Method in class org.moddingx.libx.menu.MenuBase
-
Places the player inventory slots into the container.
- lazy(Supplier<Codec<T>>) - Static method in class org.moddingx.libx.codec.MoreCodecs
-
Lazily wraps the given
Codec
. - LazyImmutableMap<K,
V> - Class in org.moddingx.libx.util.lazy -
An immutable map with lazy populated values.
- LazyImmutableMap(ImmutableMap<K, LazyValue<V>>) - Constructor for class org.moddingx.libx.util.lazy.LazyImmutableMap
- LazyValue<T> - Class in org.moddingx.libx.util.lazy
-
A lazy value that is resolved when it is first used.
- LazyValue(Supplier<? extends T>) - Constructor for class org.moddingx.libx.util.lazy.LazyValue
-
Creates a new lazy value.
- leave(ResourceKey<Level>) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets a
criterion
that requires a player to leave a dimension. - LEAVES_PARENT - Static variable in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
- left() - Method in record class org.moddingx.libx.screen.text.entry.AlignedComponent
-
Returns the value of the
left
record component. - left() - Method in record class org.moddingx.libx.screen.text.entry.AlignedWidget
-
Returns the value of the
left
record component. - left() - Method in record class org.moddingx.libx.screen.text.entry.FlowBox
-
Returns the value of the
left
record component. - left() - Method in interface org.moddingx.libx.screen.text.entry.TextScreenEntry
- LEFT - Enum constant in enum class org.moddingx.libx.screen.text.entry.FlowBox.HorizontalAlignment
-
Elements in a row are aligned flush left, empty space on the right.
- legacy(int, String) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a legacy pool element to this pool.
- legacy(int, String, String) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
- legacy(int, String, String, Holder<StructureProcessorList>) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a legacy pool element to this pool.
- legacy(int, String, Holder<StructureProcessorList>) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a legacy pool element to this pool.
- legacy(int, ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a legacy pool element to this pool.
- legacy(int, ResourceLocation, Holder<StructureProcessorList>) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a legacy pool element to this pool.
- legacy(String) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a legacy pool element to this pool.
- legacy(String, String) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a legacy pool element to this pool.
- legacy(String, String, Holder<StructureProcessorList>) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a legacy pool element to this pool.
- legacy(String, Holder<StructureProcessorList>) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a legacy pool element to this pool.
- legacy(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a legacy pool element to this pool.
- legacy(ResourceLocation, Holder<StructureProcessorList>) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a legacy pool element to this pool.
- lerp(DensityFunction, DensityFunction, DensityFunction) - Static method in class org.moddingx.libx.sandbox.SandBox.Density
-
Creates a new density function that lerps between
a
andb
with mean0
and deviation1
. - lerp(DensityFunction, DensityFunction, DensityFunction, double, double) - Static method in class org.moddingx.libx.sandbox.SandBox.Density
-
Creates a new density function that lerps between
a
andb
depending on the value ofniveau
. - level - Variable in class org.moddingx.libx.menu.DefaultMenu
- LibX - Class in org.moddingx.libx
-
LibX instance class.
- LibX() - Constructor for class org.moddingx.libx.LibX
- lineSkip() - Method in class org.moddingx.libx.datagen.provider.patchouli.content.CaptionContent
-
Gets the amount of lines, that should be skipped for the special content.
- list(int, List<StructurePoolElement>) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a list pool element that places all its children to this pool.
- list(int, StructurePoolElement...) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a list pool element that places all its children to this pool.
- list(List<StructurePoolElement>) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a list pool element that places all its children to this pool.
- list(StructurePoolElement...) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a legacy pool element to this pool.
- listSuggestions(CommandContext<S>, SuggestionsBuilder) - Method in class org.moddingx.libx.command.EnumArgument2
- loadCameraPosition(Camera, PoseStack, double, double, double) - Static method in class org.moddingx.libx.render.RenderHelperLevel
-
This is meant to be called in
RenderLevelStageEvent
. - loadCameraPosition(Camera, PoseStack, BlockPos) - Static method in class org.moddingx.libx.render.RenderHelperLevel
-
This is meant to be called in
RenderLevelStageEvent
. - loadCameraPosition(Camera, PoseStack, Vec3) - Static method in class org.moddingx.libx.render.RenderHelperLevel
-
This is meant to be called in
RenderLevelStageEvent
. - loadJson(ResourceManager, String, Codec<T>) - Static method in class org.moddingx.libx.datapack.DataLoader
-
Loads json data from a base path.
- loadJson(ResourceManager, String, DataLoader.ResourceFactory<JsonElement, T>) - Static method in class org.moddingx.libx.datapack.DataLoader
-
Loads json data from a base path.
- loc(ItemLike) - Method in class org.moddingx.libx.datagen.provider.recipe.RecipeProviderBase
-
Gets a
ResourceLocation
with the namespace being the modid of the mod given in constructor and the path being the registry path of the given item. - loc(ItemLike, String) - Method in class org.moddingx.libx.datagen.provider.recipe.RecipeProviderBase
-
Gets a
ResourceLocation
with the namespace being the modid of the mod given in constructor and the path being the registry path of the given item followed by an underscore and the given suffix. - LOCAL_SHADOW - Enum constant in enum class org.moddingx.libx.event.ConfigLoadedEvent.LoadReason
-
This is the load reason when the values are loaded from the singleplayer world specific config folder.
- locate(ResourceManager, String, String) - Static method in class org.moddingx.libx.datapack.DataLoader
-
Locates resources in different namespaces.
- locate(ResourceManager, String, String, boolean) - Static method in class org.moddingx.libx.datapack.DataLoader
-
Locates resources in a specific folder.
- locateOffset - Variable in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.BasePlacementBuilder
- locateOffset(int, int, int) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.BasePlacementBuilder
- locateOffset(Vec3i) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.BasePlacementBuilder
- locationTest(PosRuleTest) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase.ProcessorRuleBuilder
- LOG - Static variable in interface org.moddingx.libx.base.decoration.DecorationType
- logger - Static variable in class org.moddingx.libx.LibX
- LoginPacket(String, T) - Constructor for record class org.moddingx.libx.network.LoginPacketSerializer.LoginPacket
-
Creates an instance of a
LoginPacket
record class. - LoginPacketSerializer<T extends IntSupplier> - Interface in org.moddingx.libx.network
-
An interface that extends the logic in
PacketSerializer
to support login packets. - LoginPacketSerializer.LoginPacket<T extends IntSupplier> - Record Class in org.moddingx.libx.network
-
A login packet.
- LongAmountToIntUtil - Class in org.moddingx.libx.util.game
-
Utility methods to convert amounts (must be > 0) that are stored as
long
toint
. - LongAmountToIntUtil() - Constructor for class org.moddingx.libx.util.game.LongAmountToIntUtil
- LongEnergyStorage - Interface in org.moddingx.libx.capability
-
An
IEnergyStorage
that allows storing the energy value as long. - LongRange - Annotation Interface in org.moddingx.libx.config.validate
-
Config validator annotation that checks whether a long is in a range of allowed values.
- LootBuilders - Class in org.moddingx.libx.datagen.loot
-
Contains builders vor various loot table entry containers.
- LootBuilders() - Constructor for class org.moddingx.libx.datagen.loot.LootBuilders
- LootFactory<T> - Interface in org.moddingx.libx.datagen.provider.loot.entry
-
Interface to get a loot entry from an item.
- looting(int) - Method in class org.moddingx.libx.datagen.provider.loot.EntityLootProviderBase
-
Gets a loot modifier for the looting enchantment.
- looting(int, int) - Method in class org.moddingx.libx.datagen.provider.loot.EntityLootProviderBase
-
Gets a loot modifier for the looting enchantment.
- LootModifier<T> - Interface in org.moddingx.libx.datagen.provider.loot.entry
-
Interface to modify a singleton loot entry to a new singleton loot entry.
- LootProviderBase<T> - Class in org.moddingx.libx.datagen.provider.loot
- LootProviderBase(DatagenContext, String, LootContextParamSet, Function<T, ResourceLocation>) - Constructor for class org.moddingx.libx.datagen.provider.loot.LootProviderBase
- LootProviderBase(DatagenContext, String, LootContextParamSet, Supplier<Stream<Map.Entry<ResourceLocation, T>>>, Function<T, ResourceLocation>) - Constructor for class org.moddingx.libx.datagen.provider.loot.LootProviderBase
- LootProviderBase(DatagenContext, String, LootContextParamSet, ResourceKey<? extends Registry<T>>) - Constructor for class org.moddingx.libx.datagen.provider.loot.LootProviderBase
M
- MAIN_THREAD - Enum constant in enum class org.moddingx.libx.network.PacketHandler.Target
-
The main thread, where the game logic happens.
- mainOutput() - Method in class org.moddingx.libx.datagen.DatagenSystem
-
The main output path.
- mainTarget() - Method in class org.moddingx.libx.datagen.DatagenSystem
-
The main pack target.
- makeArmor(ItemLike, ItemLike, ItemLike, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.crafting.ToolExtension
-
Creates armor recipes for a material.
- makeCreativeTabStacks() - Method in class org.moddingx.libx.base.BlockBase
- makeCreativeTabStacks() - Method in class org.moddingx.libx.base.ItemBase
- makeCreativeTabStacks() - Method in interface org.moddingx.libx.creativetab.CreativeTabItemProvider
-
Returns a
Stream
ofitem stacks
to add to a creative tab. - makePackTarget(String, PackTarget...) - Method in class org.moddingx.libx.datagen.DatagenSystem
-
Creates a new builder for a
PackTarget
. - makeTools(ItemLike, ItemLike, ItemLike, ItemLike, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.crafting.ToolExtension
-
Creates tool recipes for a material.
- manualModel(Item) - Method in class org.moddingx.libx.datagen.provider.model.ItemModelProviderBase
-
This item will not be processed by the generator.
- manualModel(Block) - Method in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
-
The provider will add a block state for a custom manual model
- manualModel(Block, ModelFile) - Method in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
-
The provider will add a block state with the given model
- manualState(Block) - Method in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
-
The provider will not process this block.
- map(Function<T, U>) - Method in class org.moddingx.libx.util.lazy.LazyValue
-
Gets a new lazy value that will hold the value of this lazy value applied to the mapper function.
- mapDispatch(MapCodec<K>, Function<K, DataResult<Codec<? extends V>>>, Function<A, Pair<K, V>>, BiFunction<K, V, DataResult<A>>) - Static method in class org.moddingx.libx.codec.MoreCodecs
-
Creates a map dispatched codec.
- MapperFactory<T> - Interface in org.moddingx.libx.config.mapper
-
A factory that creates a
ValueMapper
by the generic type of a config key. - MapperFactory.Context - Interface in org.moddingx.libx.config.mapper
- matches(Recipe<?>, List<ItemStack>, boolean) - Static method in class org.moddingx.libx.crafting.RecipeHelper
-
Checks whether all the ingredients of a recipe are present in a list of
ItemStack
s. - matchState() - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
-
Gets a loot modifier builder for a match state condition.
- matchTool(TagKey<Item>) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
-
Gets a loot condition builder for a match tool condition.
- matchTool(ItemLike) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
-
Gets a loot condition builder for a match tool condition.
- material() - Method in class org.moddingx.libx.base.decoration.DecorationContext
-
Gets the base material of the
DecorationContext
. - MaterialProperties(BlockSetType, WoodType) - Constructor for class org.moddingx.libx.base.decoration.DecorationMaterial.MaterialProperties
- max() - Element in annotation interface org.moddingx.libx.config.validate.DoubleRange
-
The upper bound (inclusive)
- max() - Element in annotation interface org.moddingx.libx.config.validate.FloatRange
-
The upper bound (inclusive)
- max() - Element in annotation interface org.moddingx.libx.config.validate.IntRange
-
The upper bound (inclusive)
- max() - Element in annotation interface org.moddingx.libx.config.validate.LongRange
-
The upper bound (inclusive)
- max() - Element in annotation interface org.moddingx.libx.config.validate.ShortRange
-
The upper bound (inclusive)
- mayPlace(ItemStack) - Method in class org.moddingx.libx.menu.slot.BaseSlot
- mayPlace(ItemStack) - Method in class org.moddingx.libx.menu.slot.OutputSlot
- menu - Variable in class org.moddingx.libx.base.MenuBlock
- menu - Variable in class org.moddingx.libx.base.tile.MenuBlockBE
- MenuBase - Class in org.moddingx.libx.menu
-
A base class for
menus
. - MenuBase(MenuType<?>, int, Inventory) - Constructor for class org.moddingx.libx.menu.MenuBase
- MenuBlock<C extends BlockMenu> - Class in org.moddingx.libx.base
-
This class registers a menu with the Block.
- MenuBlock(ModX, MenuType<C>, BlockBehaviour.Properties) - Constructor for class org.moddingx.libx.base.MenuBlock
- MenuBlock(ModX, MenuType<C>, BlockBehaviour.Properties, Item.Properties) - Constructor for class org.moddingx.libx.base.MenuBlock
- MenuBlockBE<T extends net.minecraft.world.level.block.entity.BlockEntity,
C extends BlockEntityMenu<T>> - Class in org.moddingx.libx.base.tile -
This class registers a menu to its
block entity type
and handles the gui opening when the block is right clicked. - MenuBlockBE(ModX, Class<T>, MenuType<C>, BlockBehaviour.Properties) - Constructor for class org.moddingx.libx.base.tile.MenuBlockBE
- MenuBlockBE(ModX, Class<T>, MenuType<C>, BlockBehaviour.Properties, Item.Properties) - Constructor for class org.moddingx.libx.base.tile.MenuBlockBE
- message() - Method in interface org.moddingx.libx.config.gui.ConfigScreenContent
-
Gets the message for the button that opens the screen.
- message() - Method in record class org.moddingx.libx.network.LoginPacketSerializer.LoginPacket
-
Returns the value of the
message
record component. - messageClass() - Method in interface org.moddingx.libx.network.PacketSerializer
-
The class of the message serialised by this serializer.
- meta() - Method in interface org.moddingx.libx.datagen.PackTarget.Resource
- METAL - Static variable in interface org.moddingx.libx.base.decoration.DecorationMaterial
-
A material for metal blocks that adds a
BlockSetType
. - min() - Element in annotation interface org.moddingx.libx.config.validate.DoubleRange
-
The lower bound (inclusive)
- min() - Element in annotation interface org.moddingx.libx.config.validate.FloatRange
-
The lower bound (inclusive)
- min() - Element in annotation interface org.moddingx.libx.config.validate.IntRange
-
The lower bound (inclusive)
- min() - Element in annotation interface org.moddingx.libx.config.validate.LongRange
-
The lower bound (inclusive)
- min() - Element in annotation interface org.moddingx.libx.config.validate.ShortRange
-
The lower bound (inclusive)
- minecraft() - Element in annotation interface org.moddingx.libx.annotation.meta.RemoveIn
-
The minecraft version in which the feature should be removed.
- minWidth() - Method in record class org.moddingx.libx.screen.text.entry.AlignedComponent.TextWrapping
-
Returns the value of the
minWidth
record component. - Misc - Class in org.moddingx.libx.util
-
Some miscellaneous stuff that does not fit anywhere else.
- Misc() - Constructor for class org.moddingx.libx.util.Misc
- MISSINGNO - Static variable in class org.moddingx.libx.util.Misc
-
This resource location should be used as a placeholder / invalid value It's value is
minecraft:missigno
. - mobSpawns(MobSpawnSettings.Builder) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeProviderBase.BiomeBuilder
-
Sets the mob spawns for this biome.
- mod - Variable in class org.moddingx.libx.base.BlockBase
- mod - Variable in class org.moddingx.libx.base.FluidBase
- mod - Variable in class org.moddingx.libx.base.ItemBase
- mod - Variable in class org.moddingx.libx.creativetab.CreativeTabX
- mod - Variable in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
- mod - Variable in class org.moddingx.libx.datagen.provider.loot.GlobalLootProviderBase
- mod - Variable in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
- mod - Variable in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
- mod - Variable in class org.moddingx.libx.datagen.provider.model.ItemModelProviderBase
- mod - Variable in class org.moddingx.libx.datagen.provider.patchouli.CategoryBuilder
- mod - Variable in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
- mod - Variable in class org.moddingx.libx.datagen.provider.patchouli.PatchouliProviderBase
- mod - Variable in class org.moddingx.libx.datagen.provider.recipe.RecipeProviderBase
- mod - Variable in class org.moddingx.libx.datagen.provider.RegistryProviderBase
- mod - Variable in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase
- mod - Variable in class org.moddingx.libx.datagen.provider.tags.CommonTagsProviderBase
- mod - Variable in class org.moddingx.libx.datagen.provider.tags.TagProviderBase
- mod() - Element in annotation interface org.moddingx.libx.annotation.meta.RemoveIn
-
The mod version in which the feature should be removed.
- mod() - Method in class org.moddingx.libx.datagen.DatagenContext
-
Gets the mod, the provider is generating data for.
- mod() - Method in class org.moddingx.libx.datagen.DatagenSystem
- mod() - Method in class org.moddingx.libx.registration.RegistrationContext
-
Gets the mod to which object belongs.
- Model - Annotation Interface in org.moddingx.libx.annotation.model
-
Can be attached to public static non-final baked model fields.
- modElements - Variable in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
- models() - Method in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
- models(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
-
Gets a
BlockModelProvider
which assigns the givenRenderTypeGroup
to each created builder. - modid - Variable in class org.moddingx.libx.mod.ModX
-
Contains the Mod id of this mod.
- modifier - Variable in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase.SilkModifier
- modifier(String, Function<LootItemCondition[], ? extends LootModifier>) - Method in class org.moddingx.libx.datagen.provider.loot.GlobalLootProviderBase
-
Creates a new loot modifier builder with a name and factory.
- modifier(BiFunction<T, LootPoolSingletonContainer.Builder<?>, LootPoolSingletonContainer.Builder<?>>) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
- modifier(BiomeModifier) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeModifierProviderBase
- modifiers - Variable in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- modifiers() - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase
-
Returns a new builder for placement modifiers.
- ModX - Class in org.moddingx.libx.mod
-
A base class for a mod that uses LibX.
- ModX() - Constructor for class org.moddingx.libx.mod.ModX
-
Subclasses should provide a public no-arg constructor that calls this with the values needed.
- ModXRegistration - Class in org.moddingx.libx.mod
-
You need to extend this instead of
ModX
if you want to use the LibX registration system. - ModXRegistration() - Constructor for class org.moddingx.libx.mod.ModXRegistration
-
Subclasses should provide a public no-arg constructor that calls this with the values needed.
- monsterSpawnRule(int, int) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase.DimensionTypeBuilder
- monsterSpawnRule(IntProvider, int) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase.DimensionTypeBuilder
- MoreCodecs - Class in org.moddingx.libx.codec
-
Provides additional
codecs
. - MoreCodecs() - Constructor for class org.moddingx.libx.codec.MoreCodecs
- mouseClicked(double, double, int) - Method in class org.moddingx.libx.screen.ColorPicker
- mouseClicked(double, double, int) - Method in class org.moddingx.libx.screen.Panel
- mouseClicked(double, double, int) - Method in class org.moddingx.libx.screen.text.TextScreen
- mouseDragged(double, double, int, double, double) - Method in class org.moddingx.libx.screen.ColorPicker
- mouseDragged(double, double, int, double, double) - Method in class org.moddingx.libx.screen.Panel
- mouseReleased(double, double, int) - Method in class org.moddingx.libx.screen.Panel
- mouseScrolled(double, double, double) - Method in class org.moddingx.libx.screen.Panel
- moveItemStackTo(ItemStack, int, int, boolean) - Method in class org.moddingx.libx.menu.MenuBase
- multiblock(String, String) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Adds some content to the entry that display a multiblock.
- multiNoiseBiome(Climate.ParameterList<Holder<Biome>>) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase.BiomeSourceBuilder
-
Use a
MultiNoiseBiomeSource
for this dimension. - multiply(Polynomial<Double>) - Method in class org.moddingx.libx.util.math.DoublePolynomial
- multiply(Polynomial<Integer>) - Method in class org.moddingx.libx.util.math.IntPolynomial
- multiply(Polynomial<T>) - Method in class org.moddingx.libx.util.math.Polynomial
-
Multiplies two polynomials.
N
- name() - Method in interface org.moddingx.libx.base.decoration.DecorationType
-
Gets the name for this decoration type.
- name() - Method in class org.moddingx.libx.datagen.PackTarget
-
The name of the pack target.
- name(String) - Method in class org.moddingx.libx.datagen.provider.patchouli.CategoryBuilder
-
Sets the category name.
- name(String) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Sets the entry name.
- namespace() - Element in annotation interface org.moddingx.libx.annotation.model.Model
-
The namespace of the model.
- namespace() - Element in annotation interface org.moddingx.libx.datagen.provider.Id
-
The namespace used to register the element.
- namespace() - Method in record class org.moddingx.libx.datagen.provider.patchouli.BookProperties
-
Returns the value of the
namespace
record component. - nbt(CompoundTag) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase.MatchToolBuilder
-
Adds required NBT data to this builder.
- NBT - Static variable in class org.moddingx.libx.codec.CodecHelper
-
CodecOps
fornbt
. - NbtX - Class in org.moddingx.libx.util.data
-
Utilities to deal with NBT.
- NbtX() - Constructor for class org.moddingx.libx.util.data.NbtX
- needsLootTable(BlockState) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
-
Returns whether this block state needs a loot table.
- needsResponse() - Method in interface org.moddingx.libx.network.LoginPacketSerializer
-
Gets whether this login packet needs a response.
- negate() - Method in interface org.moddingx.libx.fi.Predicate3
- negate() - Method in interface org.moddingx.libx.fi.Predicate4
- negate() - Method in interface org.moddingx.libx.fi.Predicate5
- negate() - Method in interface org.moddingx.libx.fi.Predicate6
- negate() - Method in interface org.moddingx.libx.fi.Predicate7
- negate() - Method in interface org.moddingx.libx.fi.Predicate8
- negate() - Method in class org.moddingx.libx.util.math.DoublePolynomial
- negate() - Method in class org.moddingx.libx.util.math.IntPolynomial
- negate() - Method in class org.moddingx.libx.util.math.Polynomial
-
Negates this polynomial.
- nestedDatapack(ResourceLocation, PackTarget...) - Method in class org.moddingx.libx.datagen.DatagenSystem
-
Creates a pack target for a vanilla-style nested datapack inside the first given parent.
- nestingDepth(int) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProviderBase.JigsawBuilder
-
Sets the maximum nesting depth.
- NETWORK_THREAD - Enum constant in enum class org.moddingx.libx.network.PacketHandler.Target
-
An async network thread.
- NetworkX - Class in org.moddingx.libx.network
-
A class implementing network logic.
- NetworkX(ModX) - Constructor for class org.moddingx.libx.network.NetworkX
- NetworkX.Protocol - Record Class in org.moddingx.libx.network
-
A protocol defines when a connection is accepted or rejected.
- NetworkX.ProtocolSide - Enum Class in org.moddingx.libx.network
-
Defines when a connection should be accepted.
- newBlockEntity(BlockPos, BlockState) - Method in class org.moddingx.libx.base.tile.BlockBE
- nextFocusPath(FocusNavigationEvent) - Method in class org.moddingx.libx.screen.Panel
- noise(int, double...) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase
-
Creates new
noise parameters
. - noise(int, int, int, int) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder
- noise(NoiseSettings) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder
- noiseCount(int, double, double) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- noiseGenerator(Holder<NoiseGeneratorSettings>) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase.ChunkGeneratorBuilder
-
Use a noise based chunk generator for this dimension.
- NoiseProviderBase - Class in org.moddingx.libx.datagen.provider.sandbox
-
SandBox provider for noise related data.
- NoiseProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase
- NoiseProviderBase.GeneratorSettingsBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- noiseThresholdCount(double, int, int) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- nonNatural() - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase.DimensionTypeBuilder
- nonNull(T, String) - Static method in class org.moddingx.libx.codec.CodecHelper
-
Wraps a value into a
DataResult
. - nonNull(T, Supplier<String>) - Static method in class org.moddingx.libx.codec.CodecHelper
-
Wraps a value into a
DataResult
. - north - Variable in class org.moddingx.libx.block.RotationShape
- noSilk() - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
-
Gets a new silk modifier that means: No special silk touch behaviour.
- not(ResourceKey<? extends Registry<T>>, HolderSet<T>) - Method in class org.moddingx.libx.datagen.provider.RegistryProviderBase
-
Gets a holder set matching any value not in the given holder set.
- not(TagKey<T>) - Method in class org.moddingx.libx.datagen.provider.RegistryProviderBase
-
Gets a holder set matching any value not in the given tag.
- not(LootItemCondition.Builder) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Inverts a loot condition
- notifyGameEvent(ServerLevel, GameEvent, GameEvent.Context, Vec3) - Method in interface org.moddingx.libx.base.tile.GameEventBlock
-
Notifies the block entity of game event.
O
- of(Class<R>, Function<? super T, ? extends R>, Function<? super R, ? extends T>) - Static method in interface org.moddingx.libx.codec.TypedEncoder
-
Creates a new
TypedEncoder
given two functions to encode and decode an object. - of(String) - Static method in record class org.moddingx.libx.network.NetworkX.Protocol
-
Creates a new protocol with the given version, that is required on both sides.
- of(SimpleLootFactory<T>, BiFunction<T, LootPoolSingletonContainer.Builder<?>, LootPoolEntryContainer.Builder<?>>) - Static method in interface org.moddingx.libx.datagen.provider.loot.entry.GenericLootModifier
-
Creates a new generic lot modifier.
- of(SimpleLootFactory<T>, BiFunction<T, LootPoolSingletonContainer.Builder<?>, LootPoolSingletonContainer.Builder<?>>) - Static method in interface org.moddingx.libx.datagen.provider.loot.entry.LootModifier
-
Creates a new generic lot modifier.
- offset(long) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets the climate offset used for this biome.
- onContentsChanged(int) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler
- ONE - Static variable in class org.moddingx.libx.util.math.DoublePolynomial
-
The polynomial that is always one.
- ONE - Static variable in class org.moddingx.libx.util.math.IntPolynomial
-
The polynomial that is always one.
- onLoad() - Method in class org.moddingx.libx.base.tile.BlockEntityBase
-
If the block entity is loaded on the logical client, this will update the block entity using
BlockEntity.getUpdateTag()
andIForgeBlockEntity.handleUpdateTag(CompoundTag)
. - onLoad() - Method in class org.moddingx.libx.inventory.BaseItemStackHandler
- onRemove(BlockState, Level, BlockPos, BlockState, boolean) - Method in class org.moddingx.libx.base.tile.BlockBE
- open() - Method in interface org.moddingx.libx.datagen.PackTarget.Resource
- open(ServerPlayer, IItemHandlerModifiable, Component, ResourceLocation) - Static method in class org.moddingx.libx.menu.GenericMenu
-
Opens a menu for a
player
. - open(ConfigScreenContent<T>, Consumer<T>) - Method in interface org.moddingx.libx.config.gui.ConfigScreenContent.ScreenManager
-
Opens a new sub-screen
- openMenu(ServerPlayer, MenuType<? extends BlockEntityMenu<?>>, Component, Entity) - Static method in class org.moddingx.libx.menu.EntityMenu
-
Opens an
EntityMenu
for a player. - openMenu(ServerPlayer, MenuType<? extends BlockMenu>, Component, BlockPos) - Static method in class org.moddingx.libx.menu.BlockMenu
-
Opens a
BlockMenu
for a player. - option(Codec<T>) - Static method in class org.moddingx.libx.codec.MoreCodecs
-
Gets a codec that encodes an
Optional
with a given child codec. - option(ConfigEditor<T>) - Static method in interface org.moddingx.libx.config.gui.ConfigEditor
-
Creates a new editor that represents an option of another editor by adding a checkbox to select whether a value is set or not.
- OPTIONAL - Enum constant in enum class org.moddingx.libx.network.NetworkX.ProtocolSide
-
The connection is accepted if the remote side is running on forge.
- optionalFieldOf(Codec<T>, String) - Static method in class org.moddingx.libx.codec.MoreCodecs
-
Behaves the same as
Codec.optionalFieldOf(String)
but instead of silently using the default value if decoding the element produces an error, propagates the error through. - optionalFieldOf(Codec<T>, String, T) - Static method in class org.moddingx.libx.codec.MoreCodecs
-
Behaves the same as
Codec.optionalFieldOf(String, Object)
but instead of silently using the default value if decoding the element produces an error, propagates the error through. - or(Supplier<DataResult<T>>...) - Static method in class org.moddingx.libx.codec.CodecHelper
-
Takes a number of
DataResult
s and returns the first result that is a success. - or(HolderSet<T>...) - Method in class org.moddingx.libx.datagen.provider.RegistryProviderBase
-
Gets a holder set that matches the union of the given sets.
- or(HolderSet<T>, TagKey<T>) - Method in class org.moddingx.libx.datagen.provider.RegistryProviderBase
-
Gets a holder set that matches the union of the given sets.
- or(TagKey<T>, HolderSet<T>) - Method in class org.moddingx.libx.datagen.provider.RegistryProviderBase
-
Gets a holder set that matches the union of the given sets.
- or(TagKey<T>, TagKey<T>) - Method in class org.moddingx.libx.datagen.provider.RegistryProviderBase
-
Gets a holder set that matches the union of the given sets.
- or(LootItemCondition.Builder...) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Creates a condition that is met when at least one of the given conditions is met.
- or(GlobalLootProviderBase.LootConditionsBuilder) - Method in class org.moddingx.libx.datagen.provider.loot.GlobalLootProviderBase.AnyLootConditionsBuilder
-
Adds a loot condition that matches if any of the given conditions matches.
- or(Predicate3<A, B, C>) - Method in interface org.moddingx.libx.fi.Predicate3
- or(Predicate4<A, B, C, D>) - Method in interface org.moddingx.libx.fi.Predicate4
- or(Predicate5<A, B, C, D, E>) - Method in interface org.moddingx.libx.fi.Predicate5
- or(Predicate6<A, B, C, D, E, F>) - Method in interface org.moddingx.libx.fi.Predicate6
- or(Predicate7<A, B, C, D, E, F, G>) - Method in interface org.moddingx.libx.fi.Predicate7
- or(Predicate8<A, B, C, D, E, F, G, H>) - Method in interface org.moddingx.libx.fi.Predicate8
- org.moddingx.libx - package org.moddingx.libx
- org.moddingx.libx.annotation - package org.moddingx.libx.annotation
- org.moddingx.libx.annotation.api - package org.moddingx.libx.annotation.api
- org.moddingx.libx.annotation.codec - package org.moddingx.libx.annotation.codec
- org.moddingx.libx.annotation.config - package org.moddingx.libx.annotation.config
- org.moddingx.libx.annotation.meta - package org.moddingx.libx.annotation.meta
- org.moddingx.libx.annotation.model - package org.moddingx.libx.annotation.model
-
Annotations to deal with models.
- org.moddingx.libx.annotation.registration - package org.moddingx.libx.annotation.registration
- org.moddingx.libx.base - package org.moddingx.libx.base
- org.moddingx.libx.base.decoration - package org.moddingx.libx.base.decoration
- org.moddingx.libx.base.tile - package org.moddingx.libx.base.tile
- org.moddingx.libx.block - package org.moddingx.libx.block
- org.moddingx.libx.capability - package org.moddingx.libx.capability
- org.moddingx.libx.codec - package org.moddingx.libx.codec
- org.moddingx.libx.command - package org.moddingx.libx.command
- org.moddingx.libx.config - package org.moddingx.libx.config
-
Provides a system for config files in JSON format.
- org.moddingx.libx.config.correct - package org.moddingx.libx.config.correct
- org.moddingx.libx.config.gui - package org.moddingx.libx.config.gui
- org.moddingx.libx.config.mapper - package org.moddingx.libx.config.mapper
- org.moddingx.libx.config.validate - package org.moddingx.libx.config.validate
- org.moddingx.libx.config.validator - package org.moddingx.libx.config.validator
- org.moddingx.libx.crafting - package org.moddingx.libx.crafting
- org.moddingx.libx.crafting.ingredient - package org.moddingx.libx.crafting.ingredient
-
Contains some commonly used types of
ingredients
. - org.moddingx.libx.creativetab - package org.moddingx.libx.creativetab
- org.moddingx.libx.datagen - package org.moddingx.libx.datagen
-
Contains utilities for datagen.
- org.moddingx.libx.datagen.loot - package org.moddingx.libx.datagen.loot
- org.moddingx.libx.datagen.provider - package org.moddingx.libx.datagen.provider
-
Contains base classes for various
data providers
. - org.moddingx.libx.datagen.provider.loot - package org.moddingx.libx.datagen.provider.loot
- org.moddingx.libx.datagen.provider.loot.entry - package org.moddingx.libx.datagen.provider.loot.entry
- org.moddingx.libx.datagen.provider.model - package org.moddingx.libx.datagen.provider.model
- org.moddingx.libx.datagen.provider.patchouli - package org.moddingx.libx.datagen.provider.patchouli
- org.moddingx.libx.datagen.provider.patchouli.content - package org.moddingx.libx.datagen.provider.patchouli.content
- org.moddingx.libx.datagen.provider.patchouli.page - package org.moddingx.libx.datagen.provider.patchouli.page
- org.moddingx.libx.datagen.provider.recipe - package org.moddingx.libx.datagen.provider.recipe
- org.moddingx.libx.datagen.provider.recipe.crafting - package org.moddingx.libx.datagen.provider.recipe.crafting
- org.moddingx.libx.datagen.provider.sandbox - package org.moddingx.libx.datagen.provider.sandbox
- org.moddingx.libx.datagen.provider.tags - package org.moddingx.libx.datagen.provider.tags
- org.moddingx.libx.datagen.provider.texture - package org.moddingx.libx.datagen.provider.texture
- org.moddingx.libx.datapack - package org.moddingx.libx.datapack
- org.moddingx.libx.event - package org.moddingx.libx.event
-
Contains events that are fored on the
forge event bus
- org.moddingx.libx.fi - package org.moddingx.libx.fi
-
Contains generic
functional interfaces
. - org.moddingx.libx.inventory - package org.moddingx.libx.inventory
-
Contains classes to deal with
item handlers
and vanillacontainers
. - org.moddingx.libx.menu - package org.moddingx.libx.menu
-
Contains several base classes for
menus
. - org.moddingx.libx.menu.slot - package org.moddingx.libx.menu.slot
- org.moddingx.libx.mod - package org.moddingx.libx.mod
- org.moddingx.libx.network - package org.moddingx.libx.network
- org.moddingx.libx.registration - package org.moddingx.libx.registration
- org.moddingx.libx.registration.tracking - package org.moddingx.libx.registration.tracking
- org.moddingx.libx.registration.util - package org.moddingx.libx.registration.util
- org.moddingx.libx.render - package org.moddingx.libx.render
- org.moddingx.libx.render.block - package org.moddingx.libx.render.block
- org.moddingx.libx.render.target - package org.moddingx.libx.render.target
- org.moddingx.libx.sandbox - package org.moddingx.libx.sandbox
-
SandBox is the LibX worldgen library.
- org.moddingx.libx.sandbox.generator - package org.moddingx.libx.sandbox.generator
- org.moddingx.libx.sandbox.placement - package org.moddingx.libx.sandbox.placement
- org.moddingx.libx.sandbox.structure - package org.moddingx.libx.sandbox.structure
- org.moddingx.libx.sandbox.surface - package org.moddingx.libx.sandbox.surface
- org.moddingx.libx.screen - package org.moddingx.libx.screen
- org.moddingx.libx.screen.text - package org.moddingx.libx.screen.text
- org.moddingx.libx.screen.text.entry - package org.moddingx.libx.screen.text.entry
- org.moddingx.libx.util - package org.moddingx.libx.util
- org.moddingx.libx.util.data - package org.moddingx.libx.util.data
- org.moddingx.libx.util.game - package org.moddingx.libx.util.game
- org.moddingx.libx.util.lazy - package org.moddingx.libx.util.lazy
- org.moddingx.libx.util.math - package org.moddingx.libx.util.math
- org.moddingx.libx.vanilla - package org.moddingx.libx.vanilla
- orPartial(Supplier<DataResult<T>>...) - Static method in class org.moddingx.libx.codec.CodecHelper
-
Takes a number of
DataResult
s and returns the first result that is either a success or a partial success. - output() - Method in record class org.moddingx.libx.creativetab.CreativeTabX.TabContext
-
Returns the value of the
output
record component. - output() - Method in class org.moddingx.libx.datagen.DatagenContext
-
Gets the
PackOutput
for output. - output(int...) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler.Builder
-
Marks the given slots as outputs.
- output(Range<Integer>) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler.Builder
-
Marks the given slots as outputs.
- output(Set<Integer>) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler.Builder
-
Marks the given slots as outputs.
- outputMap() - Method in class org.moddingx.libx.datagen.PackTarget
- OutputSlot - Class in org.moddingx.libx.menu.slot
-
A
slot
that no items can be inserted in. - OutputSlot(IItemHandler, int, int, int) - Constructor for class org.moddingx.libx.menu.slot.OutputSlot
P
- PacketHandler<T> - Interface in org.moddingx.libx.network
-
An interface implementing the logic on how to handle a type of packet.
- PacketHandler.Target - Enum Class in org.moddingx.libx.network
-
A thread target for a
PacketHandler
. - PacketSerializer<T> - Interface in org.moddingx.libx.network
-
An interface implementing the logic on how to serialise and deserialize a message.
- packOutput - Variable in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
- packOutput() - Method in class org.moddingx.libx.datagen.PackTarget
-
Wraps the pack target as a vanilla
PackOutput
. - packTarget - Variable in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
- packTarget - Variable in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
- packTarget - Variable in class org.moddingx.libx.datagen.provider.patchouli.PatchouliProviderBase
- PackTarget - Class in org.moddingx.libx.datagen
-
A pack target contains output paths for the different
pack types
. - PackTarget.Resource - Interface in org.moddingx.libx.datagen
- PageBuilder - Interface in org.moddingx.libx.datagen.provider.patchouli.page
-
An interface that defines methods, instances of
Content
can use to build book pages. - PageJson - Class in org.moddingx.libx.datagen.provider.patchouli.page
-
Some utilities for creating pages in a patchouli book.
- PageJson() - Constructor for class org.moddingx.libx.datagen.provider.patchouli.page.PageJson
- pages(PageBuilder) - Method in class org.moddingx.libx.datagen.provider.patchouli.content.CaptionContent
- pages(PageBuilder) - Method in record class org.moddingx.libx.datagen.provider.patchouli.content.TextContent
- pages(PageBuilder) - Method in interface org.moddingx.libx.datagen.provider.patchouli.page.Content
-
Generates some pages for this content.
- pageType - Variable in class org.moddingx.libx.datagen.provider.patchouli.content.RecipePage
- Panel - Class in org.moddingx.libx.screen
-
An
AbstractWidget
that is composed of multiple other widgets. - Panel(int, int, int, int) - Constructor for class org.moddingx.libx.screen.Panel
- Param - Annotation Interface in org.moddingx.libx.annotation.codec
-
The parameter codec field type will try to store and load a parameter based on a different codec.
- params - Variable in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
- parent - Variable in class org.moddingx.libx.render.FilterGuiGraphics
- parent(String) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Sets the parent of this advancement.
- parent(Advancement) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Sets the parent of this advancement.
- parent(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Sets the parent of this advancement.
- parse(JsonObject) - Method in class org.moddingx.libx.crafting.ingredient.EffectIngredient.Serializer
- parse(StringReader) - Method in class org.moddingx.libx.command.EnumArgument2
- parse(String) - Method in class org.moddingx.libx.util.data.ResourceList.RuleBuilder
-
Parses a simple rule.
- parse(FriendlyByteBuf) - Method in class org.moddingx.libx.crafting.ingredient.EffectIngredient.Serializer
- partial(A) - Method in interface org.moddingx.libx.fi.Consumer3
- partial(A) - Method in interface org.moddingx.libx.fi.Consumer4
- partial(A) - Method in interface org.moddingx.libx.fi.Consumer5
- partial(A) - Method in interface org.moddingx.libx.fi.Consumer6
- partial(A) - Method in interface org.moddingx.libx.fi.Consumer7
- partial(A) - Method in interface org.moddingx.libx.fi.Consumer8
- partial(A) - Method in interface org.moddingx.libx.fi.Function3
- partial(A) - Method in interface org.moddingx.libx.fi.Function4
- partial(A) - Method in interface org.moddingx.libx.fi.Function5
- partial(A) - Method in interface org.moddingx.libx.fi.Function6
- partial(A) - Method in interface org.moddingx.libx.fi.Function7
- partial(A) - Method in interface org.moddingx.libx.fi.Function8
- partial(A, B) - Method in interface org.moddingx.libx.fi.Consumer3
- partial(A, B) - Method in interface org.moddingx.libx.fi.Consumer4
- partial(A, B) - Method in interface org.moddingx.libx.fi.Consumer5
- partial(A, B) - Method in interface org.moddingx.libx.fi.Consumer6
- partial(A, B) - Method in interface org.moddingx.libx.fi.Consumer7
- partial(A, B) - Method in interface org.moddingx.libx.fi.Consumer8
- partial(A, B) - Method in interface org.moddingx.libx.fi.Function3
- partial(A, B) - Method in interface org.moddingx.libx.fi.Function4
- partial(A, B) - Method in interface org.moddingx.libx.fi.Function5
- partial(A, B) - Method in interface org.moddingx.libx.fi.Function6
- partial(A, B) - Method in interface org.moddingx.libx.fi.Function7
- partial(A, B) - Method in interface org.moddingx.libx.fi.Function8
- partial(A, B, C) - Method in interface org.moddingx.libx.fi.Consumer3
- partial(A, B, C) - Method in interface org.moddingx.libx.fi.Consumer4
- partial(A, B, C) - Method in interface org.moddingx.libx.fi.Consumer5
- partial(A, B, C) - Method in interface org.moddingx.libx.fi.Consumer6
- partial(A, B, C) - Method in interface org.moddingx.libx.fi.Consumer7
- partial(A, B, C) - Method in interface org.moddingx.libx.fi.Consumer8
- partial(A, B, C) - Method in interface org.moddingx.libx.fi.Function3
- partial(A, B, C) - Method in interface org.moddingx.libx.fi.Function4
- partial(A, B, C) - Method in interface org.moddingx.libx.fi.Function5
- partial(A, B, C) - Method in interface org.moddingx.libx.fi.Function6
- partial(A, B, C) - Method in interface org.moddingx.libx.fi.Function7
- partial(A, B, C) - Method in interface org.moddingx.libx.fi.Function8
- partial(A, B, C, D) - Method in interface org.moddingx.libx.fi.Consumer4
- partial(A, B, C, D) - Method in interface org.moddingx.libx.fi.Consumer5
- partial(A, B, C, D) - Method in interface org.moddingx.libx.fi.Consumer6
- partial(A, B, C, D) - Method in interface org.moddingx.libx.fi.Consumer7
- partial(A, B, C, D) - Method in interface org.moddingx.libx.fi.Consumer8
- partial(A, B, C, D) - Method in interface org.moddingx.libx.fi.Function4
- partial(A, B, C, D) - Method in interface org.moddingx.libx.fi.Function5
- partial(A, B, C, D) - Method in interface org.moddingx.libx.fi.Function6
- partial(A, B, C, D) - Method in interface org.moddingx.libx.fi.Function7
- partial(A, B, C, D) - Method in interface org.moddingx.libx.fi.Function8
- partial(A, B, C, D, E) - Method in interface org.moddingx.libx.fi.Consumer5
- partial(A, B, C, D, E) - Method in interface org.moddingx.libx.fi.Consumer6
- partial(A, B, C, D, E) - Method in interface org.moddingx.libx.fi.Consumer7
- partial(A, B, C, D, E) - Method in interface org.moddingx.libx.fi.Consumer8
- partial(A, B, C, D, E) - Method in interface org.moddingx.libx.fi.Function5
- partial(A, B, C, D, E) - Method in interface org.moddingx.libx.fi.Function6
- partial(A, B, C, D, E) - Method in interface org.moddingx.libx.fi.Function7
- partial(A, B, C, D, E) - Method in interface org.moddingx.libx.fi.Function8
- partial(A, B, C, D, E, F) - Method in interface org.moddingx.libx.fi.Consumer6
- partial(A, B, C, D, E, F) - Method in interface org.moddingx.libx.fi.Consumer7
- partial(A, B, C, D, E, F) - Method in interface org.moddingx.libx.fi.Consumer8
- partial(A, B, C, D, E, F) - Method in interface org.moddingx.libx.fi.Function6
- partial(A, B, C, D, E, F) - Method in interface org.moddingx.libx.fi.Function7
- partial(A, B, C, D, E, F) - Method in interface org.moddingx.libx.fi.Function8
- partial(A, B, C, D, E, F, G) - Method in interface org.moddingx.libx.fi.Consumer7
- partial(A, B, C, D, E, F, G) - Method in interface org.moddingx.libx.fi.Consumer8
- partial(A, B, C, D, E, F, G) - Method in interface org.moddingx.libx.fi.Function7
- partial(A, B, C, D, E, F, G) - Method in interface org.moddingx.libx.fi.Function8
- partial(A, B, C, D, E, F, G, H) - Method in interface org.moddingx.libx.fi.Consumer8
- partial(A, B, C, D, E, F, G, H) - Method in interface org.moddingx.libx.fi.Function8
- PatchouliProviderBase - Class in org.moddingx.libx.datagen.provider.patchouli
-
A provider for patchouli categories and entries.
- PatchouliProviderBase(DatagenContext, BookProperties) - Constructor for class org.moddingx.libx.datagen.provider.patchouli.PatchouliProviderBase
- path(PackType) - Method in class org.moddingx.libx.datagen.PackTarget
-
Gets the output path for this pack target.
- piglinSafe() - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase.DimensionTypeBuilder
- PILLAGER_OUTPOST_BASE_PLATES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- PILLAGER_OUTPOST_FEATURE_PLATES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- PILLAGER_OUTPOST_FEATURES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- PILLAGER_OUTPOST_TOWERS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- pitch(float) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundSettingsBuilder
-
Sets the pitch for the sound settings.
- place(StructurePlacement) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.StructureEntryBuilder
-
Builds the
StructureSet
. - placement(Holder<ConfiguredFeature<?, ?>>) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase
-
Returns a new builder for a
PlacedFeature
. - PlacementModifiers(List<PlacementModifier>) - Constructor for class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.PlacementModifiers
- placeRandom(int, int) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.StructureEntryBuilder
-
Selects a random placement strategy for this structure set.
- placeRings(int, int, int) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.StructureEntryBuilder
-
Selects a ruing based placement strategy for this structure set.
- PLAIN - Static variable in interface org.moddingx.libx.config.gui.InputProperties
-
Input properties for a plain string.
- PlainRegisterable - Annotation Interface in org.moddingx.libx.annotation.registration
-
This annotation can be added to a class to instruct ModInit to always register instances of that class without a registry and don't check the element type.
- PLANKS - Static variable in class org.moddingx.libx.base.decoration.DecorationContext
-
Decoration context for wooden planks.
- player - Variable in class org.moddingx.libx.menu.DefaultMenu
- playerInventory - Variable in class org.moddingx.libx.menu.MenuBase
- Polynomial<T extends Number> - Class in org.moddingx.libx.util.math
-
Represents a polynomial with coefficients of type
T
. - Polynomial() - Constructor for class org.moddingx.libx.util.math.Polynomial
- pool() - Method in class org.moddingx.libx.sandbox.structure.PoolExtension
-
Gets the pool id to extend.
- PoolExtension - Class in org.moddingx.libx.sandbox.structure
-
Specifies an extension to a
template pool
. - PoolExtension(ResourceKey<StructureTemplatePool>, boolean, List<Pair<StructurePoolElement, Integer>>) - Constructor for class org.moddingx.libx.sandbox.structure.PoolExtension
- PoolExtension(ResourceKey<StructureTemplatePool>, List<Pair<StructurePoolElement, Integer>>) - Constructor for class org.moddingx.libx.sandbox.structure.PoolExtension
- pos - Variable in class org.moddingx.libx.menu.BlockMenu
- pose() - Method in class org.moddingx.libx.render.FilterGuiGraphics
- postProcess(Consumer<JsonObject>) - Method in class org.moddingx.libx.datagen.provider.patchouli.CategoryBuilder
-
Adds a
Consumer
that can modify the final json data after it is built. - postProcess(Consumer<JsonObject>) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Adds a
Consumer
that can modify the final json data after it is built. - potionItem - Variable in class org.moddingx.libx.crafting.ingredient.EffectIngredient
-
The item required for the potion.
- Predicate3<A,
B, C> - Interface in org.moddingx.libx.fi -
A predicate that takes 3 parameters.
- Predicate4<A,
B, C, D> - Interface in org.moddingx.libx.fi -
A predicate that takes 4 parameters.
- Predicate5<A,
B, C, D, E> - Interface in org.moddingx.libx.fi -
A predicate that takes 5 parameters.
- Predicate6<A,
B, C, D, E, F> - Interface in org.moddingx.libx.fi -
A predicate that takes 6 parameters.
- Predicate7<A,
B, C, D, E, F, G> - Interface in org.moddingx.libx.fi -
A predicate that takes 7 parameters.
- Predicate8<A,
B, C, D, E, F, G, H> - Interface in org.moddingx.libx.fi -
A predicate that takes 8 parameters.
- preferredBiomes(HolderSet<Biome>) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.RingPlacementBuilder
-
Sets the preferred biomes for the placement of this structure.
- preferredBiomes(TagKey<Biome>) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.RingPlacementBuilder
-
Sets the preferred biomes for the placement of this structure.
- prefix() - Element in annotation interface org.moddingx.libx.annotation.registration.RegisterClass
-
All elements from this class are prefixed with a special prefix.
- preload() - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundSettingsBuilder
-
Marks the sound settings as preloaded.
- preload(boolean) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundSettingsBuilder
-
Sets the preload state of the sound settings.
- PRESSED_BUTTON_PARENT - Static variable in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
- PRESSED_PRESSURE_PLATE_PARENT - Static variable in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
- PRESSURE_PLATE_PARENT - Static variable in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
- pressurePlateBlock(Block, ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
-
Creates a block state and models for a pressure plate.
- PrimaryConstructor - Annotation Interface in org.moddingx.libx.annotation.codec
-
This is used to create very simple Codecs for classes.
- priority() - Element in annotation interface org.moddingx.libx.annotation.registration.RegisterClass
-
Higher priorities are registered first.
- process(String) - Method in class org.moddingx.libx.util.game.TextProcessor
-
Processes a string.
- process(Component) - Method in class org.moddingx.libx.util.game.TextProcessor
-
Processes a text component.
- processLine(String) - Method in class org.moddingx.libx.util.game.TextProcessor
-
Processes a single-line string.
- processLine(Component) - Method in class org.moddingx.libx.util.game.TextProcessor
-
Processes a single-line text component.
- processor() - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase
-
Returns a new builder for a processor list.
- projection(StructureTemplatePool.Projection) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Changes the projection used for new templates to the given value.
- projectPoint(Vector3f) - Method in interface org.moddingx.libx.render.target.RenderJob.Projector
-
Projects a three-dimensional vector onto its 2d coordinates after applying transformation and projection matrix.
- properties(Consumer<FluidType.Properties>) - Method in class org.moddingx.libx.base.FluidBase.Builder
- properties(FluidType.Properties) - Method in class org.moddingx.libx.base.FluidBase.Builder
- Protocol(String, NetworkX.ProtocolSide, NetworkX.ProtocolSide) - Constructor for record class org.moddingx.libx.network.NetworkX.Protocol
-
Creates an instance of a
Protocol
record class. - provider() - Method in interface org.moddingx.libx.datagen.provider.recipe.RecipeExtension
-
Gets the
RecipeProviderBase
for this extension. - provider() - Method in class org.moddingx.libx.datagen.provider.recipe.RecipeProviderBase
- put(K, V) - Method in class org.moddingx.libx.util.lazy.LazyImmutableMap
- putAll(Map) - Method in class org.moddingx.libx.util.lazy.LazyImmutableMap
- putResource(CompoundTag, String, ResourceLocation) - Static method in class org.moddingx.libx.util.data.NbtX
-
Stores a
ResourceLocation
in aCompoundTag
with a given key. - putResourceKey(CompoundTag, String, ResourceKey<?>) - Static method in class org.moddingx.libx.util.data.NbtX
-
Stores the location of a
ResourceKey
.
Q
- quickMoveStack(Player, int) - Method in class org.moddingx.libx.menu.DefaultMenu
- quickMoveStack(Player, int) - Method in class org.moddingx.libx.menu.GenericMenu
R
- random(float) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
A condition that is random with a chance.
- random(List<LootFactory<T>>) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Combines the given loot factories into one.
- random(RandomSource) - Method in class org.moddingx.libx.registration.util.EnumObjects
-
Gets a random object from the objects in this EnumObjects.
- random(LootFactory<T>...) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Combines the given loot factories into one.
- randomFortune(float) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
-
A condition that is random with a chance and optionally different chances for different fortune levels.
- randomFortune(float, float...) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
-
A condition that is random with a chance and optionally different chances for different fortune levels.
- range() - Method in record class org.moddingx.libx.sandbox.generator.BiomeLayer
-
Returns the value of the
range
record component. - range(Climate.ParameterPoint) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.BiomeLayerBuilder
-
Sets the noise range used for this
BiomeLayer
to the given range. - rarity(int) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- read() - Method in interface org.moddingx.libx.datagen.PackTarget.Resource
- read(Codec<T>, E) - Method in class org.moddingx.libx.codec.CodecOps
-
Reads a value using a codec.
- read(Codec<T>, E, HolderLookup.Provider) - Method in class org.moddingx.libx.codec.CodecOps
-
Reads a value using a codec.
- read(FriendlyByteBuf) - Method in class org.moddingx.libx.network.EnumDataSerializer
- reason - Variable in exception org.moddingx.libx.render.target.RenderJobFailedException
-
The reason for the failure.
- rebuild() - Method in interface org.moddingx.libx.config.gui.ConfigScreenContent.ScreenManager
-
Rebuilds the current screen content.
- RecipeExtension - Interface in org.moddingx.libx.datagen.provider.recipe
-
A recipe extension is an interface that provides logic for a
RecipeProviderBase
. - RecipeHelper - Class in org.moddingx.libx.crafting
- RecipeHelper() - Constructor for class org.moddingx.libx.crafting.RecipeHelper
- RecipePage - Class in org.moddingx.libx.datagen.provider.patchouli.content
-
Content for pages with a single recipe followed by some text.
- RecipePage(String, List<ResourceLocation>, String) - Constructor for class org.moddingx.libx.datagen.provider.patchouli.content.RecipePage
- RecipePage(String, ResourceLocation...) - Constructor for class org.moddingx.libx.datagen.provider.patchouli.content.RecipePage
- RecipeProviderBase - Class in org.moddingx.libx.datagen.provider.recipe
-
Provider for all kinds of recipes.
- RecipeProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.recipe.RecipeProviderBase
- recipes - Variable in class org.moddingx.libx.datagen.provider.patchouli.content.RecipePage
- Ref<T> - Record Class in org.moddingx.libx.util
- Ref(T) - Constructor for record class org.moddingx.libx.util.Ref
-
Creates an instance of a
Ref
record class. - reference(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Makes a reference to another loot table.
- reference(T) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Makes a reference to another loot table in this mod.
- Reg - Annotation Interface in org.moddingx.libx.annotation.registration
-
Container annotation.
- Reg.Exclude - Annotation Interface in org.moddingx.libx.annotation.registration
-
Marks a field as excluded from registration.
- Reg.Name - Annotation Interface in org.moddingx.libx.annotation.registration
-
Explicitly sets a name for a field that is registered.
- regex() - Method in record class org.moddingx.libx.util.data.ResourceList.RuleEntry
-
Returns the value of the
regex
record component. - regex(boolean, String) - Method in class org.moddingx.libx.util.data.ResourceList.RuleBuilder
-
Adds a rule that checks that a resource location matches a regex.
- regex(String) - Method in class org.moddingx.libx.util.data.ResourceList.RuleBuilder
-
Adds a rule that checks that a resource location matches a regex.
- register(ResourceKey<? extends Registry<T>>, String, T) - Method in class org.moddingx.libx.mod.ModXRegistration
-
Registers an object to a given registry using a given name as the path part of the objects id.
- register(ResourceKey<? extends Registry<T>>, T) - Method in interface org.moddingx.libx.registration.Registerable.EntryCollector
-
Registers a new object together with the current one.
- register(ModX, DecoratedBlock) - Method in class org.moddingx.libx.base.decoration.DecorationContext
- Registerable - Interface in org.moddingx.libx.registration
-
Everything that is registered to
ModXRegistration
that implements this can specify dependencies and things to be done during setup phase. - Registerable.EntryCollector - Interface in org.moddingx.libx.registration
-
Interface to collect additional objects that are registered together with a
Registerable
. - Registerable.TrackingCollector - Interface in org.moddingx.libx.registration
-
Some helpful methods to track elements with names depending on this elements registry name.
- registerAdditional(ModX, DecorationContext, DecoratedBlock, T, RegistrationContext, Registerable.EntryCollector) - Method in interface org.moddingx.libx.base.decoration.DecorationType
- registerAdditional(RegistrationContext, Registerable.EntryCollector) - Method in class org.moddingx.libx.base.BlockBase
- registerAdditional(RegistrationContext, Registerable.EntryCollector) - Method in class org.moddingx.libx.base.decoration.DecoratedBlock
- registerAdditional(RegistrationContext, Registerable.EntryCollector) - Method in class org.moddingx.libx.base.FluidBase
- registerAdditional(RegistrationContext, Registerable.EntryCollector) - Method in class org.moddingx.libx.base.MenuBlock
- registerAdditional(RegistrationContext, Registerable.EntryCollector) - Method in class org.moddingx.libx.base.tile.BlockBE
- registerAdditional(RegistrationContext, Registerable.EntryCollector) - Method in class org.moddingx.libx.base.tile.MenuBlockBE
- registerAdditional(RegistrationContext, Registerable.EntryCollector) - Method in interface org.moddingx.libx.registration.Registerable
-
Registers additional objects.
- registerAdditional(RegistrationContext, Registerable.EntryCollector) - Method in class org.moddingx.libx.registration.util.EnumObjects
- RegisterClass - Annotation Interface in org.moddingx.libx.annotation.registration
-
Can be applied to a class to register all
public static final
fields to aModXRegistration
. - registerClient(SetupContext) - Method in interface org.moddingx.libx.registration.Registerable
-
Do stuff needed in the client setup phase.
- registerCommon(SetupContext) - Method in class org.moddingx.libx.base.decoration.DecoratedBlock
- registerCommon(SetupContext) - Method in interface org.moddingx.libx.registration.Registerable
-
Do stuff needed in the common setup phase.
- registerConfig(String, Class<?>, boolean) - Static method in class org.moddingx.libx.config.ConfigManager
-
Registers a config.
- registerConfig(ResourceLocation, Class<?>, boolean) - Static method in class org.moddingx.libx.config.ConfigManager
-
Registers a config.
- RegisterConfig - Annotation Interface in org.moddingx.libx.annotation.config
-
Automatically registers a class as a LibX config.
- registerConfigValidator(String, ConfigValidator<?, ?>) - Static method in class org.moddingx.libx.config.ConfigManager
-
Registers a new
ConfigValidator
that can be used to validate config values. - registerExtensionRegistry(ResourceKey<? extends Registry<?>>) - Static method in class org.moddingx.libx.datagen.DatagenSystem
-
Marks a registry as an extension registry.
- registerGame(NetworkDirection, PacketSerializer<T>, Supplier<Supplier<PacketHandler<T>>>) - Method in class org.moddingx.libx.network.NetworkX
- registerLogin(NetworkDirection, LoginPacketSerializer<T>, Supplier<Supplier<PacketHandler<T>>>) - Method in class org.moddingx.libx.network.NetworkX
- registerMap() - Method in record class org.moddingx.libx.base.decoration.DecorationContext.RegistrationInfo
-
Returns the value of the
registerMap
record component. - RegisterMapper - Annotation Interface in org.moddingx.libx.annotation.config
-
Automatically registers a value mapper or mapper factory for the LibX config system.
- registerModels() - Method in class org.moddingx.libx.datagen.provider.model.ItemModelProviderBase
- registerNamed(ResourceKey<? extends Registry<T>>, String, T) - Method in interface org.moddingx.libx.registration.Registerable.EntryCollector
-
Registers a new object together with the current one.
- registerPackets() - Method in class org.moddingx.libx.network.NetworkX
-
You can register your own packets here.
- registerSlotValidator(ResourceLocation, BiPredicate<Integer, ItemStack>) - Static method in class org.moddingx.libx.menu.GenericMenu
-
Registers a slot validator.
- registerStatesAndModels() - Method in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
- registerTo(Registerable.EntryCollector) - Method in record class org.moddingx.libx.base.decoration.DecorationType.DecorationElement
- registerValueMapper(String, GenericValueMapper<?, ?, ?>) - Static method in class org.moddingx.libx.config.ConfigManager
-
Registers a new
GenericValueMapper
that can be used to serialise config values. - registerValueMapper(String, ValueMapper<?, ?>) - Static method in class org.moddingx.libx.config.ConfigManager
-
Registers a new
ValueMapper
that can be used to serialise config values. - registerValueMapperFactory(String, MapperFactory<?>) - Static method in class org.moddingx.libx.config.ConfigManager
-
Registers a new
MapperFactory
that can be used to create value mappers based on the generic type of the config key. - RegistrationBuilder - Class in org.moddingx.libx.registration
-
A registration builder is used to configure the LibX registration system and adjust the behaviour of it.
- RegistrationBuilder() - Constructor for class org.moddingx.libx.registration.RegistrationBuilder
- RegistrationBuilder.Result - Record Class in org.moddingx.libx.registration
- RegistrationContext - Class in org.moddingx.libx.registration
-
Provides some data that is present during registration like the id and registry key of the object being registered.
- RegistrationContext(ModXRegistration, ResourceLocation, ResourceKey<?>) - Constructor for class org.moddingx.libx.registration.RegistrationContext
- RegistrationInfo(Map<DecorationType<?>, DecorationType.DecorationElement<?, ?>>, Map<String, Registerable>) - Constructor for record class org.moddingx.libx.base.decoration.DecorationContext.RegistrationInfo
-
Creates an instance of a
RegistrationInfo
record class. - registries - Variable in class org.moddingx.libx.datagen.provider.RegistryProviderBase
- registries() - Method in class org.moddingx.libx.datagen.DatagenContext
-
Gets the
RegistrySet
used for this provider. - registries() - Method in class org.moddingx.libx.datagen.PackTarget
-
Provides access to the pack targets registries.
- registry() - Element in annotation interface org.moddingx.libx.annotation.registration.RegisterClass
- registry() - Method in record class org.moddingx.libx.base.decoration.DecorationType.DecorationElement
-
Returns the value of the
registry
record component. - registry() - Method in class org.moddingx.libx.registration.RegistrationContext
-
Gets the registry key of the registry the object is registered in.
- registry(ResourceKey<? extends Registry<T>>) - Method in interface org.moddingx.libx.datagen.RegistrySet
-
Gets a registry from the registry set.
- REGISTRY_SETUP - Enum constant in enum class org.moddingx.libx.datagen.DatagenStage
-
In this stage all non-extension registries are writable and can be populated.
- registryAccess() - Method in interface org.moddingx.libx.datagen.RegistrySet
-
Gets a
RegistryAccess
for this registry set. - registryClass() - Element in annotation interface org.moddingx.libx.annotation.registration.RegisterClass
- RegistryCondition - Interface in org.moddingx.libx.registration
-
A registry condition is used by the LibX registration system to prevent things passed to the register methods from being registered.
- registryPath(ResourceKey<?>) - Static method in class org.moddingx.libx.datapack.DatapackHelper
-
Gets the path for a registry element inside a datapack.
- RegistryProvider - Interface in org.moddingx.libx.datagen
- RegistryProviderBase - Class in org.moddingx.libx.datagen.provider
-
Base provider for all SandBox data providers.
- RegistryProviderBase(DatagenContext, DatagenStage) - Constructor for class org.moddingx.libx.datagen.provider.RegistryProviderBase
- RegistrySet - Interface in org.moddingx.libx.datagen
-
Provides access to datagen registries.
- RegistryTracker - Class in org.moddingx.libx.registration.tracking
-
Provides a way to track the values of fields with a registry object.
- RegistryTracker() - Constructor for class org.moddingx.libx.registration.tracking.RegistryTracker
- RegistryTransformer - Interface in org.moddingx.libx.registration
-
A registry transformer is used by the LibX registration system to register additional things dynamically based on other objects, that have been passed to the system.
- REJECTED - Enum constant in enum class org.moddingx.libx.network.NetworkX.ProtocolSide
-
The connection is always rejected.
- RELOAD - Enum constant in enum class org.moddingx.libx.event.ConfigLoadedEvent.LoadReason
-
An explicit reload of a config.
- reloadClient() - Static method in class org.moddingx.libx.config.ConfigManager
-
Forces reload of all client configs.
- reloadCommon() - Static method in class org.moddingx.libx.config.ConfigManager
-
Forces reload of all common configs.
- reloadConfig(Class<?>) - Static method in class org.moddingx.libx.config.ConfigManager
-
Forces reload of one config.
- RemoteModList - Class in org.moddingx.libx.network
-
Allows to query information about mods, players have installed on the server side.
- RemoteModList() - Constructor for class org.moddingx.libx.network.RemoteModList
- removal(String, Item...) - Method in class org.moddingx.libx.datagen.provider.loot.GlobalLootProviderBase
-
Creates a loot modifier builder for a modifier that removes the given items from the loot.
- RemovalExtension - Interface in org.moddingx.libx.datagen.provider.recipe
- remove(Object) - Method in class org.moddingx.libx.util.lazy.LazyImmutableMap
- remove(ResourceLocation) - Method in interface org.moddingx.libx.datagen.provider.recipe.RemovalExtension
- removeFeatures(HolderSet<Biome>, GenerationStep.Decoration...) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeModifierProviderBase
-
Returns a builder for a
BiomeModifier
that removes features from a biome. - removeFeatures(TagKey<Biome>, GenerationStep.Decoration...) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeModifierProviderBase
-
Returns a builder for a
BiomeModifier
that removes features from a biome. - RemoveIn - Annotation Interface in org.moddingx.libx.annotation.meta
-
Marks the version in which a feature will be removed.
- removeItem(int, int) - Method in class org.moddingx.libx.inventory.VanillaWrapper
- removeItemNoUpdate(int) - Method in class org.moddingx.libx.inventory.VanillaWrapper
- removeSpawns(HolderSet<Biome>) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeModifierProviderBase
-
Returns a builder for a
BiomeModifier
that removes spawns from a biome. - removeSpawns(TagKey<Biome>) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeModifierProviderBase
-
Returns a builder for a
BiomeModifier
that removes spawns from a biome. - render(PoseStack, MultiBufferSource) - Method in interface org.moddingx.libx.render.target.RenderJob
-
Renders the actual scene.
- render(GuiGraphics, int, int, float) - Method in class org.moddingx.libx.screen.ColorPicker
- render(GuiGraphics, int, int, float) - Method in class org.moddingx.libx.screen.text.TextScreen
- render(RenderJob) - Static method in class org.moddingx.libx.render.target.ImageHelper
-
Renders the given
job
into an image. - render(T, float, PoseStack, MultiBufferSource, int, int) - Method in class org.moddingx.libx.render.block.TransformingBlockRenderer
- renderBlockBreak(BlockState, PoseStack, int, int, int) - Static method in class org.moddingx.libx.render.RenderHelperBlock
-
Renders the break effect for a
BlockState
. - renderBlockBreak(BlockState, PoseStack, int, int, int, long) - Static method in class org.moddingx.libx.render.RenderHelperBlock
-
Renders the break effect for a
BlockState
. - renderBlockOverlaySprite(BlockState, PoseStack, int, int, TextureAtlasSprite) - Static method in class org.moddingx.libx.render.RenderHelperBlock
-
Renders a block overlay on top of a
BlockState
with the same method as the crumbling is rendered. - renderBlockOverlaySprite(BlockState, PoseStack, int, int, TextureAtlasSprite, long) - Static method in class org.moddingx.libx.render.RenderHelperBlock
-
Renders a block overlay on top of a
BlockState
with the same method as the crumbling is rendered. - renderBlockOverlaySprite(BlockState, PoseStack, int, int, TextureAtlasSprite, long, Predicate<Direction>) - Static method in class org.moddingx.libx.render.RenderHelperBlock
-
Renders a block overlay on top of a
BlockState
with the same method as the crumbling is rendered. - renderBlockOverlaySprite(BlockState, PoseStack, int, int, TextureAtlasSprite, Predicate<Direction>) - Static method in class org.moddingx.libx.render.RenderHelperBlock
-
Renders a block overlay on top of a
BlockState
with the same method as the crumbling is rendered. - renderByItem(ItemStack, ItemDisplayContext, PoseStack, MultiBufferSource, int, int) - Method in class org.moddingx.libx.render.ItemStackRenderer
- renderComponentHoverEffect(Font, Style, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- renderComponentTooltip(Font, List<? extends FormattedText>, int, int, ItemStack) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- renderComponentTooltip(Font, List<Component>, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- renderFakeItem(ItemStack, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- renderFluid(GuiGraphics, int, int, int, int, int) - Static method in class org.moddingx.libx.render.RenderHelperFluid
- renderFluid(GuiGraphics, FluidStack, int, int, int, int) - Static method in class org.moddingx.libx.render.RenderHelperFluid
- renderGuiBackground(GuiGraphics, int, int, int, int) - Static method in class org.moddingx.libx.render.RenderHelper
-
Same as
renderGuiBackground
but with pre-set texture. - renderGuiBackground(GuiGraphics, int, int, int, int, ResourceLocation) - Static method in class org.moddingx.libx.render.RenderHelper
-
Same as
renderGuiBackground
with the default GUI texture. - renderGuiBackground(GuiGraphics, int, int, int, int, ResourceLocation, int, int, int, int, int, int) - Static method in class org.moddingx.libx.render.RenderHelper
-
Renders a gui background of any size.
- RenderHelper - Class in org.moddingx.libx.render
-
Some utilities for rendering in general.
- RenderHelper() - Constructor for class org.moddingx.libx.render.RenderHelper
- RenderHelperBlock - Class in org.moddingx.libx.render
-
Helper to deal with
Block
rendering - RenderHelperBlock() - Constructor for class org.moddingx.libx.render.RenderHelperBlock
- RenderHelperFluid - Class in org.moddingx.libx.render
-
Helper class to render fluids into a GUI.
- RenderHelperFluid() - Constructor for class org.moddingx.libx.render.RenderHelperFluid
- RenderHelperLevel - Class in org.moddingx.libx.render
-
Utilities for rendering in the level.
- RenderHelperLevel() - Constructor for class org.moddingx.libx.render.RenderHelperLevel
- renderIconColored(PoseStack, VertexConsumer, float, float, TextureAtlasSprite, float, float, float, int, int, int) - Static method in class org.moddingx.libx.render.RenderHelper
-
Renders a texture colored with a given color.
- renderItem(LivingEntity, ItemStack, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- renderItem(ItemStack, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- renderItem(ItemStack, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- renderItem(ItemStack, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- renderItemDecorations(Font, ItemStack, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- renderItemDecorations(Font, ItemStack, int, int, String) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- RenderJob - Interface in org.moddingx.libx.render.target
-
A render job defines the logic on how to render a scene into an image.
- RenderJob.Projector - Interface in org.moddingx.libx.render.target
- RenderJobFailedException - Exception in org.moddingx.libx.render.target
-
Thrown when a
RenderJob
fails to render correctly. - RenderJobFailedException(String) - Constructor for exception org.moddingx.libx.render.target.RenderJobFailedException
- RenderJobFailedException(String, Throwable) - Constructor for exception org.moddingx.libx.render.target.RenderJobFailedException
- RenderJobFailedException(RenderJobFailedException.Reason) - Constructor for exception org.moddingx.libx.render.target.RenderJobFailedException
- RenderJobFailedException(RenderJobFailedException.Reason, String) - Constructor for exception org.moddingx.libx.render.target.RenderJobFailedException
- RenderJobFailedException(RenderJobFailedException.Reason, String, Throwable) - Constructor for exception org.moddingx.libx.render.target.RenderJobFailedException
- RenderJobFailedException.Reason - Enum Class in org.moddingx.libx.render.target
-
A reason for the
RenderJob
to fail. - renderOutline(int, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- renderOverlay(PoseStack, MultiBufferSource, RenderJob.Projector) - Method in interface org.moddingx.libx.render.target.RenderJob
-
Renders an overlay over the scene.
- renderTooltip(Font, List<? extends FormattedCharSequence>, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- renderTooltip(Font, List<Component>, Optional<TooltipComponent>, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- renderTooltip(Font, List<Component>, Optional<TooltipComponent>, ItemStack, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- renderTooltip(Font, List<FormattedCharSequence>, ClientTooltipPositioner, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- renderTooltip(Font, Component, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- renderTooltip(Font, ItemStack, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- renderWidget(GuiGraphics, int, int, float) - Method in class org.moddingx.libx.screen.Panel
- repeatBlit(GuiGraphics, int, int, int, int, int, int, TextureAtlasSprite) - Static method in class org.moddingx.libx.render.RenderHelper
-
Repeatedly blits a texture
- repeatBlit(GuiGraphics, int, int, int, int, TextureAtlasSprite) - Static method in class org.moddingx.libx.render.RenderHelper
- repeatBlit(GuiGraphics, ResourceLocation, int, int, int, int, int, int, float, float, float, float) - Static method in class org.moddingx.libx.render.RenderHelper
-
Same as
RenderHelper.repeatBlit(GuiGraphics, int, int, int, int, int, int, TextureAtlasSprite)
but with the u and v values set directly and not with a TextureAtlasSprite. - replace() - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundDefinitionBuilder
-
Sets the sound definition as a replacement sound.
- replace(boolean) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundDefinitionBuilder
-
Sets the replace state of the sound definition.
- requestBE(Level, BlockPos) - Method in class org.moddingx.libx.CommonNetwork
-
Requests the block entity at the given position from the server.
- required() - Method in class org.moddingx.libx.datagen.provider.sandbox.TemplateExtensionProviderBase.ExtensionBuilder
-
Marks this
PoolExtension
as required, causing an exception when the target pool is not present in the registry. - required() - Method in class org.moddingx.libx.sandbox.structure.PoolExtension
-
Gets whether the extension is required.
- REQUIRED - Enum constant in enum class org.moddingx.libx.network.NetworkX.ProtocolSide
-
The connection is only accepted if the protocol is present on the local and remote side
- requiresMod() - Element in annotation interface org.moddingx.libx.annotation.config.RegisterConfig
-
The mod id of the mod which needs to be loaded to generate this config file.
- requiresMod() - Element in annotation interface org.moddingx.libx.annotation.config.RegisterMapper
-
The mod id of the mod which needs to be loaded to register this mapper.
- resetColor() - Static method in class org.moddingx.libx.render.RenderHelper
-
Resets the color to white.
- resolveOutput(PackType, String...) - Method in class org.moddingx.libx.datagen.DatagenSystem.PackTargetBuilder
-
Changes the output path for the given
PackType
byresolving
the given sub-path to the current output path. - resource() - Method in class org.moddingx.libx.datapack.ResourceEntry
-
Opens a resource for this entry.
- resource(String) - Method in class org.moddingx.libx.mod.ModX
-
Creates a new
ResourceLocation
where the namespace is this mods id and the path is the given string. - RESOURCE_PACKS - Static variable in class org.moddingx.libx.datapack.DynamicPacks
- ResourceEntry - Class in org.moddingx.libx.datapack
-
Represents a resource entry defined by its
ResourceLocation
used as id and aResource
used to access the resource entry. - ResourceEntry(ResourceLocation, Resource) - Constructor for class org.moddingx.libx.datapack.ResourceEntry
-
Creates a new resource entry.
- ResourceList - Class in org.moddingx.libx.util.data
-
A
Predicate
forresource locations
implemented as a list of rules that will be applied one after another. - ResourceList(boolean, Consumer<ResourceList.RuleBuilder>) - Constructor for class org.moddingx.libx.util.data.ResourceList
-
Creates a new resource list.
- ResourceList(JsonObject) - Constructor for class org.moddingx.libx.util.data.ResourceList
-
Reads a resource list from JSON.
- ResourceList(FriendlyByteBuf) - Constructor for class org.moddingx.libx.util.data.ResourceList
-
Reads a resource list from a
FriendlyByteBuf
. - ResourceList.RuleBuilder - Class in org.moddingx.libx.util.data
-
A builder for rules.
- ResourceList.RuleEntry - Record Class in org.moddingx.libx.util.data
-
And entry that represents a rule in this
ResourceList
. - resources(PackType, Path) - Method in class org.moddingx.libx.datagen.DatagenSystem.PackTargetBuilder
-
Adds a path for resource lookup through
PackTarget.find(PackType, ResourceLocation)
. - respawnDevices(boolean, boolean) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase.DimensionTypeBuilder
- RESTORE - Enum constant in enum class org.moddingx.libx.event.ConfigLoadedEvent.LoadReason
-
This is the load reason when the values are restored to their state before they were shadowed by values from the server.
- Result(boolean, List<RegistryCondition>, List<RegistryTransformer>) - Constructor for record class org.moddingx.libx.registration.RegistrationBuilder.Result
-
Creates an instance of a
Result
record class. - resultClass() - Method in interface org.moddingx.libx.codec.TypedEncoder
-
Gets the class of elements this
TypedEncoder
can encode to. - reward(AdvancementRewards) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Sets the reward for this advancement.
- rgb(int) - Static method in class org.moddingx.libx.render.RenderHelper
-
Sets the color to the given RGB color in format 0xRRGGBB
- ridges(Holder<DensityFunction>) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- ridges(DensityFunction) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- right() - Method in record class org.moddingx.libx.screen.text.entry.FlowBox
-
Returns the value of the
right
record component. - RIGHT - Enum constant in enum class org.moddingx.libx.screen.text.entry.FlowBox.HorizontalAlignment
-
Elements in a row are aligned flush right, empty space on the left.
- RingPlacementBuilder(List<StructureSet.StructureSelectionEntry>, int, int, int) - Constructor for class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.RingPlacementBuilder
- root() - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets an
AdvancementProviderBase.AdvancementFactory
to customise the rootadvancement
for this provider. - root(String) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets an
AdvancementProviderBase.AdvancementFactory
to customise the rootadvancement
for this provider. - root(String, String) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets an
AdvancementProviderBase.AdvancementFactory
to customise the rootadvancement
for this provider. - rotate(BufferedImage, Rotation) - Static method in class org.moddingx.libx.datagen.provider.texture.ImageTransforms
-
Rotates the give image by the given rotation.
- RotatedBlockRenderer<T extends net.minecraft.world.level.block.entity.BlockEntity> - Class in org.moddingx.libx.render.block
-
A
BlockEntityRenderer
that before calling the actual render code rotates thePoseStack
depending on the horizontal facing. - RotatedBlockRenderer() - Constructor for class org.moddingx.libx.render.block.RotatedBlockRenderer
- RotationShape - Class in org.moddingx.libx.block
-
Holds 4 different
VoxelShapes
, one for each horizontal facing. - RotationShape(VoxelShape) - Constructor for class org.moddingx.libx.block.RotationShape
-
Creates a new RotationShape with the given base shape.
- router() - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder
- router(NoiseRouter) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder
- rule() - Method in record class org.moddingx.libx.sandbox.surface.BiomeSurface
-
Returns the value of the
rule
record component. - rule(Block) - Static method in class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase
-
Returns a new builder for a processor rule.
- rule(Block, RuleBlockEntityModifier) - Static method in class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase
-
Returns a new builder for a processor rule.
- rule(BlockState) - Static method in class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase
-
Returns a new builder for a processor rule.
- rule(BlockState, RuleBlockEntityModifier) - Static method in class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase
-
Returns a new builder for a processor rule.
- RuleEntry(String, boolean, Boolean) - Constructor for record class org.moddingx.libx.util.data.ResourceList.RuleEntry
-
Creates an instance of a
RuleEntry
record class. - ruleSet() - Method in class org.moddingx.libx.datagen.provider.sandbox.SurfaceProviderBase
-
Returns a new builder for a
SurfaceRuleSet
. - ruleSet(boolean) - Method in class org.moddingx.libx.datagen.provider.sandbox.SurfaceProviderBase
-
Returns a new builder for a
SurfaceRuleSet
. - run() - Method in class org.moddingx.libx.datagen.provider.RegistryProviderBase
- run() - Method in interface org.moddingx.libx.datagen.RegistryProvider
- run(CachedOutput) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
- run(CachedOutput) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
- run(CachedOutput) - Method in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
- run(CachedOutput) - Method in class org.moddingx.libx.datagen.provider.patchouli.PatchouliProviderBase
- run(CachedOutput) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase
- run(CachedOutput) - Method in class org.moddingx.libx.datagen.provider.tags.CommonTagsProviderBase
- run(CachedOutput) - Method in class org.moddingx.libx.datagen.provider.texture.TextureProviderBase
- run(IForgeRegistry<T>, Consumer<T>) - Method in interface org.moddingx.libx.registration.Registerable.TrackingCollector
-
Adds a registry tracking action with the same registry name as the current object.
- run(IForgeRegistry<T>, Consumer<T>, Object, ResourceLocation) - Static method in class org.moddingx.libx.registration.tracking.RegistryTracker
-
Add an action that is invoked whenever the object with the given id changes in the registry.
- runNamed(IForgeRegistry<T>, String, Consumer<T>) - Method in interface org.moddingx.libx.registration.Registerable.TrackingCollector
-
Adds a registry tracking action with the same registry name as the current object with a given suffix.
S
- SAFE_ITEM_STACK - Static variable in class org.moddingx.libx.codec.MoreCodecs
-
A
Codec
foritem stacks
that will encode the stack as NBT when using NBT dynamic ops, as recipe JSON when using JSON dynamic ops and as a string containing the NBT tag if using some other dynamic ops. - salt - Variable in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.BasePlacementBuilder
- salt(int) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.BasePlacementBuilder
-
Sets the salt used for this structures placement.
- SandBox - Class in org.moddingx.libx.sandbox
-
SandBox is the LibX worldgen library.
- SandBox() - Constructor for class org.moddingx.libx.sandbox.SandBox
- SandBox.Density - Class in org.moddingx.libx.sandbox
-
Provides some more useful
DensityFunctions
density functions. - scale() - Method in class org.moddingx.libx.datagen.provider.texture.Textures
-
Gets the target texture scale.
- scaling(DamageScaling) - Method in class org.moddingx.libx.datagen.provider.DamageTypeProviderBase.DamageTypeBuilder
- seaLevel(int) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder
- searchable() - Method in interface org.moddingx.libx.config.gui.ConfigScreenContent
-
Whether this screen is searchable
- self() - Method in class org.moddingx.libx.datagen.provider.loot.GlobalLootProviderBase.AnyLootConditionsBuilder
- self() - Method in class org.moddingx.libx.datagen.provider.loot.GlobalLootProviderBase.LootConditionsBuilder
- self() - Method in class org.moddingx.libx.datagen.provider.loot.GlobalLootProviderBase.LootModifierBuilder
- self() - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
- self() - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.BasePlacementBuilder
- self() - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.RandomPlacementBuilder
- self() - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.RingPlacementBuilder
- self() - Method in class org.moddingx.libx.datagen.provider.sandbox.TemplateExtensionProviderBase.ExtensionBuilder
- self() - Method in class org.moddingx.libx.datagen.provider.sandbox.TemplateProviderBase.PoolBuilder
- sendsTelmetryEvent() - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
- sequence(List<LootPoolEntryContainer.Builder<?>>) - Static method in class org.moddingx.libx.datagen.loot.LootBuilders
-
Gets a loot builder for sequence loot.
- serializeItemStack(ItemStack, boolean) - Static method in class org.moddingx.libx.crafting.RecipeHelper
-
Serialises the given
ItemStack
to json, so it can be read back byCraftingHelper.getItemStack(JsonObject, boolean)
. - serializeToJson(EnumArgument2.Info.Template, JsonObject) - Method in class org.moddingx.libx.command.EnumArgument2.Info
- serializeToNetwork(EnumArgument2.Info.Template, FriendlyByteBuf) - Method in class org.moddingx.libx.command.EnumArgument2.Info
- server() - Method in record class org.moddingx.libx.network.NetworkX.Protocol
-
Returns the value of the
server
record component. - ServerMessages - Class in org.moddingx.libx.util.game
-
Utilities to send messages to a set of
players
on theserver
. - ServerMessages() - Constructor for class org.moddingx.libx.util.game.ServerMessages
- set(Holder<T>...) - Method in class org.moddingx.libx.datagen.provider.RegistryProviderBase
-
Gets a direct holder set from the given elements.
- set(TagKey<T>) - Method in class org.moddingx.libx.datagen.provider.RegistryProviderBase
-
Gets a holder set matching a tag.
- setCancellationResult(InteractionResult) - Method in class org.moddingx.libx.event.InteractBlockEmptyHandEvent
- setChanged() - Method in class org.moddingx.libx.inventory.VanillaWrapper
- setColor(float, float, float, float) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- setColor(TextColor) - Method in class org.moddingx.libx.screen.ColorPicker
-
Sets the current value of the colour picker.
- setDispatchable() - Method in class org.moddingx.libx.base.tile.BlockEntityBase
-
When called on the logical server, this will update the block entity to all clients that are tracking it using
BlockEntity.getUpdateTag()
andIForgeBlockEntity.handleUpdateTag(CompoundTag)
at the end of the current tick. - setDragging(boolean) - Method in class org.moddingx.libx.screen.Panel
- setFocused(boolean) - Method in class org.moddingx.libx.screen.Panel
- setFocused(GuiEventListener) - Method in class org.moddingx.libx.screen.Panel
- setItem(int, ItemStack) - Method in class org.moddingx.libx.inventory.VanillaWrapper
- setLoginIndex(T, int) - Method in interface org.moddingx.libx.network.LoginPacketSerializer
-
Sets the login packet index to the packet.
- setOutput(PackType, Path) - Method in class org.moddingx.libx.datagen.DatagenSystem.PackTargetBuilder
-
Sets the output path for the given
PackType
. - setRenderType(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
-
Makes
BlockStateProviderBase.models()
behave as if itBlockStateProviderBase.models(ResourceLocation)
was called with the given argument. - setResourceRoot(String) - Method in class org.moddingx.libx.datagen.DatagenSystem
-
Sets the resource root relative to the
game dir
. - setResponder(Consumer<TextColor>) - Method in class org.moddingx.libx.screen.ColorPicker
-
Sets a responder that is notified whenever the colour changes.
- settings() - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase
-
Creates some empty sound settings
- setup() - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
- setup() - Method in class org.moddingx.libx.datagen.provider.loot.GlobalLootProviderBase
- setup() - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
- setup() - Method in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase
- setup() - Method in class org.moddingx.libx.datagen.provider.model.ItemModelProviderBase
- setup() - Method in class org.moddingx.libx.datagen.provider.patchouli.PatchouliProviderBase
-
Creates the categories and entries for the patchouli book.
- setup() - Method in class org.moddingx.libx.datagen.provider.recipe.RecipeProviderBase
- setup() - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase
- setup() - Method in class org.moddingx.libx.datagen.provider.tags.CommonTagsProviderBase
- setup() - Method in class org.moddingx.libx.datagen.provider.tags.TagProviderBase
-
A method to add your custom tags.
- setup() - Method in class org.moddingx.libx.datagen.provider.texture.TextureProviderBase
- setup(FMLCommonSetupEvent) - Method in class org.moddingx.libx.LibX
- setup(FMLCommonSetupEvent) - Method in class org.moddingx.libx.mod.ModX
-
Automatically registered to the event bus.
- setup(ModX, DefaultExtension) - Static method in interface org.moddingx.libx.datagen.provider.recipe.DefaultExtension
- SetupContext - Class in org.moddingx.libx.registration
-
An extension of
RegistrationContext
that is used during setup phase. - SetupContext(ModXRegistration, ResourceLocation, ResourceKey<?>, Consumer<Runnable>) - Constructor for class org.moddingx.libx.registration.SetupContext
- SetupContext(RegistrationContext, Consumer<Runnable>) - Constructor for class org.moddingx.libx.registration.SetupContext
- setupModelViewMatrix() - Method in interface org.moddingx.libx.render.target.RenderJob
-
The modelView matrix to use.
- setupProjectionMatrix() - Method in interface org.moddingx.libx.render.target.RenderJob
-
The projection matrix to use.
- setupTransformation(PoseStack) - Method in interface org.moddingx.libx.render.target.RenderJob
-
Sets up initial transformation on the
PoseStack
. - shadow() - Method in record class org.moddingx.libx.screen.text.entry.AlignedComponent
-
Returns the value of the
shadow
record component. - SHADOW - Enum constant in enum class org.moddingx.libx.event.ConfigLoadedEvent.LoadReason
-
This is the load reason when the values are synced with the values from the server.
- shaped(Object...) - Method in interface org.moddingx.libx.datagen.provider.recipe.crafting.CraftingExtension
-
Adds a new shaped recipe based on the input objects.
- shapeless(Object...) - Method in interface org.moddingx.libx.datagen.provider.recipe.crafting.CraftingExtension
-
Adds a new shapeless recipe based on the input objects.
- ShortRange - Annotation Interface in org.moddingx.libx.config.validate
-
Config validator annotation that checks whether a short is in a range of allowed values.
- shouldDropInventory(Level, BlockPos, BlockState) - Method in class org.moddingx.libx.base.tile.BlockBE
-
Override this to prevent the inventory of the block entity to be dropped when the block is broken.
- shouldPlace(PlacementContext, RandomSource, BlockPos) - Method in class org.moddingx.libx.sandbox.placement.HeightPlacementFilter
- shouldPlace(PlacementContext, RandomSource, BlockPos) - Method in class org.moddingx.libx.sandbox.placement.InvertPlacementFilter
- shouldRegister(RegistrationContext, Object) - Method in interface org.moddingx.libx.registration.RegistryCondition
-
Tests whether a given object should be registered.
- sign(ResourceLocation, ResourceLocation, ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.texture.TextureProviderBase
-
Generates a sign texture with the given id and the given two textures as log and planks.
- sign(WoodType, ResourceLocation, ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.texture.TextureProviderBase
-
Generates a sign texture for the given
WoodType
with the given two textures as log and planks. - sign(WoodType, Block, Block) - Method in class org.moddingx.libx.datagen.provider.texture.TextureProviderBase
-
Generates a sign texture for the given
WoodType
with the given two blocks as log and planks. - SIGN - Static variable in interface org.moddingx.libx.base.decoration.DecorationType
- SignAccess - Interface in org.moddingx.libx.base.decoration
-
Interface to access different registered parts of a standing sign.
- silk(GenericLootModifier<Block>) - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
-
Turns a generic loot modifier into a silk modifier.
- silkCondition() - Method in class org.moddingx.libx.datagen.provider.loot.BlockLootProviderBase
-
Gets a loot condition for silk touch tools.
- simple(boolean, ResourceLocation) - Method in class org.moddingx.libx.util.data.ResourceList.RuleBuilder
-
Adds a simple rule that only matches the given
ResourceLocation
. - simple(Component...) - Static method in interface org.moddingx.libx.screen.text.ComponentLayout
-
Creates a simple
ComponentLayout
that aligns the given components below each other. - simple(Component, List<Component>) - Static method in interface org.moddingx.libx.screen.text.ComponentLayout
-
Creates a simple
ComponentLayout
that aligns the given components below each other. - simple(ResourceLocation) - Method in class org.moddingx.libx.util.data.ResourceList.RuleBuilder
-
Adds a simple rule that only matches the given
ResourceLocation
. - SimpleLootFactory<T> - Interface in org.moddingx.libx.datagen.provider.loot.entry
-
Interface to get a singleton loot entry from an item.
- SimpleProvider<A> - Class in org.moddingx.libx.capability
-
A simple
capability provider
for a single capability that is lazily initialised. - SimpleProvider(Capability<A>, Supplier<A>) - Constructor for class org.moddingx.libx.capability.SimpleProvider
-
Creates a new
SimpleProvider
that provides the value from the given supplier for the given capability. - SimpleProvider(Capability<A>, LazyValue<A>) - Constructor for class org.moddingx.libx.capability.SimpleProvider
-
Creates a new
SimpleProvider
that provides the given value for the given capability. - SimpleProvider(ICapabilityProvider, Capability<A>, Supplier<A>) - Constructor for class org.moddingx.libx.capability.SimpleProvider
-
Creates a new
SimpleProvider
that provides the value from the given supplier for the given capability. - SimpleProvider(ICapabilityProvider, Capability<A>, LazyValue<A>) - Constructor for class org.moddingx.libx.capability.SimpleProvider
-
Creates a new
SimpleProvider
that provides the given value for the given capability. - single(int, String) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a single pool element to this pool.
- single(int, String, String) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a single pool element to this pool.
- single(int, String, String, Holder<StructureProcessorList>) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a single pool element to this pool.
- single(int, String, Holder<StructureProcessorList>) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a single pool element to this pool.
- single(int, ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a single pool element to this pool.
- single(int, ResourceLocation, Holder<StructureProcessorList>) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a single pool element to this pool.
- single(String) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a single pool element to this pool.
- single(String, String) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a single pool element to this pool.
- single(String, String, Holder<StructureProcessorList>) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a single pool element to this pool.
- single(String, Holder<StructureProcessorList>) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a single pool element to this pool.
- single(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a single pool element to this pool.
- single(ResourceLocation, Holder<StructureProcessorList>) - Method in class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
-
Add a single pool element to this pool.
- size() - Method in class org.moddingx.libx.util.lazy.LazyImmutableMap
- sky(boolean, boolean) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase.DimensionTypeBuilder
- SLAB - Static variable in interface org.moddingx.libx.base.decoration.DecorationType
- slider(Function<T, Double>, Function<Double, T>) - Static method in interface org.moddingx.libx.config.gui.ConfigEditor
-
Creates a new editor for a slider.
- slotLimit(int, int...) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler.Builder
-
Sets a maximum stack size for some slots.
- slotLimit(int, Range<Integer>) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler.Builder
-
Sets a maximum stack size for some slots.
- slotLimit(int, Set<Integer>) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler.Builder
-
Sets a maximum stack size for some slots.
- slotList - Variable in class org.moddingx.libx.menu.GenericMenu
- smallCompress(RecipeCategory, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.crafting.CompressionExtension
- smallCompress(RecipeCategory, ItemLike, ItemLike, boolean) - Method in interface org.moddingx.libx.datagen.provider.recipe.crafting.CompressionExtension
- smallCompress(ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.crafting.CompressionExtension
- smallCompress(ItemLike, ItemLike, boolean) - Method in interface org.moddingx.libx.datagen.provider.recipe.crafting.CompressionExtension
- smash(DensityFunction, Direction.Axis) - Static method in class org.moddingx.libx.sandbox.SandBox.Density
-
Creates a new density function that uses the given density function to calculate density values, but always uses a block position of
0
on the givenaxis
to calculate the density. - smashX(DensityFunction) - Static method in class org.moddingx.libx.sandbox.SandBox.Density
-
Creates a new density function that uses the given density function to calculate density values, but always uses x block position
0
to calculate the density. - smashY(DensityFunction) - Static method in class org.moddingx.libx.sandbox.SandBox.Density
-
Creates a new density function that uses the given density function to calculate density values, but always uses y block position
0
to calculate the density. - smashZ(DensityFunction) - Static method in class org.moddingx.libx.sandbox.SandBox.Density
-
Creates a new density function that uses the given density function to calculate density values, but always uses z block position
0
to calculate the density. - smelting(String) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Adds a smelting recipe to the entry.
- smelting(String, String) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Adds a smelting recipe to the entry.
- smelting(RecipeCategory, TagKey<Item>, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe.
- smelting(RecipeCategory, ItemLike, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe.
- smelting(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Adds a smelting recipe to the entry.
- smelting(ResourceLocation, RecipeCategory, TagKey<Item>, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe.
- smelting(ResourceLocation, RecipeCategory, ItemLike, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe.
- smelting(ResourceLocation, TagKey<Item>, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe.
- smelting(ResourceLocation, ItemLike, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe.
- smelting(TagKey<Item>, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe.
- smelting(ItemLike, ItemLike, float, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmeltingExtension
-
Adds a smelting recipe.
- SmeltingExtension - Interface in org.moddingx.libx.datagen.provider.recipe
-
A
RecipeExtension
for smelting, blast furnace, smoker and campfire recipes. - smeltOnFire() - Method in class org.moddingx.libx.datagen.provider.loot.EntityLootProviderBase
-
Gets a loot modifier that smelts the item, if the killed entity was on fire.
- smithing(RecipeCategory, TagKey<Item>, TagKey<Item>, TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, TagKey<Item>, TagKey<Item>, Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, TagKey<Item>, TagKey<Item>, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, TagKey<Item>, Ingredient, TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, TagKey<Item>, Ingredient, Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, TagKey<Item>, Ingredient, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, TagKey<Item>, ItemLike, TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, TagKey<Item>, ItemLike, Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, TagKey<Item>, ItemLike, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, Ingredient, TagKey<Item>, TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, Ingredient, TagKey<Item>, Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, Ingredient, TagKey<Item>, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, Ingredient, Ingredient, TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, Ingredient, Ingredient, Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, Ingredient, Ingredient, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, Ingredient, ItemLike, TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, Ingredient, ItemLike, Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, Ingredient, ItemLike, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, ItemLike, TagKey<Item>, TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, ItemLike, TagKey<Item>, Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, ItemLike, TagKey<Item>, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, ItemLike, Ingredient, TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, ItemLike, Ingredient, Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, ItemLike, Ingredient, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, ItemLike, ItemLike, TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, ItemLike, ItemLike, Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(RecipeCategory, ItemLike, ItemLike, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(TagKey<Item>, TagKey<Item>, TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(TagKey<Item>, TagKey<Item>, Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(TagKey<Item>, TagKey<Item>, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(TagKey<Item>, Ingredient, TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(TagKey<Item>, Ingredient, Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(TagKey<Item>, Ingredient, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(TagKey<Item>, ItemLike, TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(TagKey<Item>, ItemLike, Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(TagKey<Item>, ItemLike, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(Ingredient, TagKey<Item>, TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(Ingredient, TagKey<Item>, Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(Ingredient, TagKey<Item>, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(Ingredient, Ingredient, TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(Ingredient, Ingredient, Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(Ingredient, Ingredient, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(Ingredient, ItemLike, TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(Ingredient, ItemLike, Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(Ingredient, ItemLike, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(ItemLike, TagKey<Item>, TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(ItemLike, TagKey<Item>, Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(ItemLike, TagKey<Item>, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(ItemLike, Ingredient, TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(ItemLike, Ingredient, Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(ItemLike, Ingredient, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(ItemLike, ItemLike, TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(ItemLike, ItemLike, Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- smithing(ItemLike, ItemLike, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.SmithingExtension
-
Adds a smithing recipe with the given inputs and output.
- SmithingExtension - Interface in org.moddingx.libx.datagen.provider.recipe
-
A
RecipeExtension
for recipes in the smithing table.. - SOLID - Static variable in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase.RenderTypes
- sort(int) - Method in class org.moddingx.libx.datagen.provider.patchouli.CategoryBuilder
-
Sets a sort num directly.
- sound(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase
-
Creates a new sound definition for the given sound event.
- sound(ResourceLocation, SoundDefinitionProviderBase.SoundSettingsBuilder) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase
-
Creates a new sound definition for the given sound event and default sound settings.
- sound(SoundEvent) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase
-
Creates a new sound definition for the given sound event.
- sound(SoundEvent, SoundDefinitionProviderBase.SoundSettingsBuilder) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase
-
Creates a new sound definition for the given sound event and default sound settings.
- SoundDefinitionProviderBase - Class in org.moddingx.libx.datagen.provider
-
A base class for sound definition providers.
- SoundDefinitionProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase
- SoundDefinitionProviderBase.SoundDefinitionBuilder - Class in org.moddingx.libx.datagen.provider
-
A builder for a sound definition.
- SoundDefinitionProviderBase.SoundSettingsBuilder - Class in org.moddingx.libx.datagen.provider
- sourceFactory(Function<ForgeFlowingFluid.Properties, ForgeFlowingFluid.Source>) - Method in class org.moddingx.libx.base.FluidBase.Builder
- south - Variable in class org.moddingx.libx.block.RotationShape
- spawn(EntityType<?>, int, int, int) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeModifierProviderBase.AddMobSpawnsBuilder
- spawn(MobCategory, StructureSpawnOverride) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProviderBase.StructureSettingsBuilder
-
Sets structure spawn overrides.
- spawn(MobSpawnSettings.SpawnerData) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeModifierProviderBase.AddMobSpawnsBuilder
- SPAWN_EGG_PARENT - Static variable in class org.moddingx.libx.datagen.provider.model.ItemModelProviderBase
- spawns() - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeProviderBase
-
Creates a new builder for
MobSpawnSettings
. - SPECIAL_BLOCK_PARENT - Static variable in class org.moddingx.libx.datagen.provider.model.ItemModelProviderBase
- specialPage(PageBuilder, String) - Method in class org.moddingx.libx.datagen.provider.patchouli.content.CaptionContent
-
Builds the special page for this
CaptionContent
. - specialPage(PageBuilder, String) - Method in class org.moddingx.libx.datagen.provider.patchouli.content.RecipePage
- splitText(String) - Static method in class org.moddingx.libx.datagen.provider.patchouli.page.PageJson
-
Splits the given text onto multiple full text pages.
- splitText(String, boolean) - Static method in class org.moddingx.libx.datagen.provider.patchouli.page.PageJson
-
Splits the given text onto multiple full text pages.
- splitText(String, int) - Static method in class org.moddingx.libx.datagen.provider.patchouli.page.PageJson
-
Splits the given text onto multiple text pages.
- splitText(String, int, int) - Static method in class org.moddingx.libx.datagen.provider.patchouli.page.PageJson
-
Splits the given text onto multiple text pages.
- spread() - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- spreadType(RandomSpreadType) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase.RandomPlacementBuilder
-
Sets the spread type for the random placement.
- stable(ResourceKey<NoiseGeneratorSettings>) - Method in class org.moddingx.libx.sandbox.generator.ExtendedNoiseChunkGenerator
- stack(TagKey<Item>, Enchantment...) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets an
ItemPredicate
for an item and optionally some enchantments. - stack(Enchantment...) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets an
ItemPredicate
for some enchantments. - stack(Enchantment, int) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets an
ItemPredicate
for an enchantment with a minimum level. - stack(ItemStack) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Tries to create the best possible representation of stack in a loot entry.
- stack(ItemStack) - Static method in class org.moddingx.libx.datagen.provider.patchouli.page.PageJson
-
Gets a
JsonElement
that represents the givenItemStack
in the format, patchouli requires it. - stack(ItemLike) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
A loot factory for a specific item.
- stack(ItemLike, Enchantment...) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase
-
Gets an
ItemPredicate
for an item and optionally some enchantments. - stackUp(List<ItemStack>) - Static method in class org.moddingx.libx.crafting.RecipeHelper
-
Takes a list of
ItemStacks
and stacks them up so multiple ItemStacks that can be stacked are transformed into one. - stage() - Method in class org.moddingx.libx.datagen.DatagenContext
-
Gets the
DatagenStage
the provider runs in. - STAIRS - Static variable in interface org.moddingx.libx.base.decoration.DecorationType
- start() - Method in class org.moddingx.libx.datagen.provider.loot.GlobalLootProviderBase
- step(GenerationStep.Decoration) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProviderBase.StructureSettingsBuilder
-
Sets the generation step, this structure should spawn in.
- stillValid(Player) - Method in class org.moddingx.libx.inventory.VanillaWrapper
- stillValid(Player) - Method in class org.moddingx.libx.menu.BlockMenu
- stillValid(Player) - Method in class org.moddingx.libx.menu.EntityMenu
- stillValid(Player) - Method in class org.moddingx.libx.menu.GenericMenu
- STONE - Static variable in class org.moddingx.libx.base.decoration.DecorationContext
-
Decoration context for stone blocks.
- STONE - Static variable in interface org.moddingx.libx.base.decoration.DecorationMaterial
-
A material for stone blocks that adds a
BlockSetType
. - STONE_BUTTON - Static variable in interface org.moddingx.libx.base.decoration.DecorationType
- STONE_PRESSURE_PLATE - Static variable in interface org.moddingx.libx.base.decoration.DecorationType
- stoneCutting(RecipeCategory, TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.StoneCuttingExtension
-
Adds a stone cutting recipe with the given input and output.
- stoneCutting(RecipeCategory, TagKey<Item>, ItemLike, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.StoneCuttingExtension
-
Adds a stone cutting recipe with the given input, output and output amount.
- stoneCutting(RecipeCategory, Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.StoneCuttingExtension
-
Adds a stone cutting recipe with the given input and output.
- stoneCutting(RecipeCategory, Ingredient, ItemLike, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.StoneCuttingExtension
-
Adds a stone cutting recipe with the given input, output and output amount.
- stoneCutting(RecipeCategory, Ingredient, ItemLike, int, String) - Method in interface org.moddingx.libx.datagen.provider.recipe.StoneCuttingExtension
-
Adds a stone cutting recipe with the given input, output and output amount.
- stoneCutting(RecipeCategory, Ingredient, ItemLike, String) - Method in interface org.moddingx.libx.datagen.provider.recipe.StoneCuttingExtension
-
Adds a stone cutting recipe with the given input and output.
- stoneCutting(RecipeCategory, ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.StoneCuttingExtension
-
Adds a stone cutting recipe with the given input and output.
- stoneCutting(RecipeCategory, ItemLike, ItemLike, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.StoneCuttingExtension
-
Adds a stone cutting recipe with the given input, output and output amount.
- stoneCutting(TagKey<Item>, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.StoneCuttingExtension
-
Adds a stone cutting recipe with the given input and output.
- stoneCutting(TagKey<Item>, ItemLike, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.StoneCuttingExtension
-
Adds a stone cutting recipe with the given input, output and output amount.
- stoneCutting(Ingredient, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.StoneCuttingExtension
-
Adds a stone cutting recipe with the given input and output.
- stoneCutting(Ingredient, ItemLike, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.StoneCuttingExtension
-
Adds a stone cutting recipe with the given input, output and output amount.
- stoneCutting(Ingredient, ItemLike, int, String) - Method in interface org.moddingx.libx.datagen.provider.recipe.StoneCuttingExtension
-
Adds a stone cutting recipe with the given input, output and output amount.
- stoneCutting(Ingredient, ItemLike, String) - Method in interface org.moddingx.libx.datagen.provider.recipe.StoneCuttingExtension
-
Adds a stone cutting recipe with the given input and output.
- stoneCutting(ItemLike, ItemLike) - Method in interface org.moddingx.libx.datagen.provider.recipe.StoneCuttingExtension
-
Adds a stone cutting recipe with the given input and output.
- stoneCutting(ItemLike, ItemLike, int) - Method in interface org.moddingx.libx.datagen.provider.recipe.StoneCuttingExtension
-
Adds a stone cutting recipe with the given input, output and output amount.
- StoneCuttingExtension - Interface in org.moddingx.libx.datagen.provider.recipe
-
A
RecipeExtension
for stone cutting recipes. - stream() - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundSettingsBuilder
-
Marks the sound settings as stream sound.
- stream(boolean) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundSettingsBuilder
-
Sets the stream state of the sound settings.
- STRIPPED_LOG - Static variable in interface org.moddingx.libx.base.decoration.DecorationType
- STRIPPED_WOOD - Static variable in interface org.moddingx.libx.base.decoration.DecorationType
- structure() - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProviderBase.JigsawBuilder
-
Returns a builder for the structure settings.
- StructureProcessorProviderBase - Class in org.moddingx.libx.datagen.provider.sandbox
-
SandBox provider for
structure processors
. - StructureProcessorProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase
- StructureProcessorProviderBase.ProcessorListBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- StructureProcessorProviderBase.ProcessorRuleBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- StructureProviderBase - Class in org.moddingx.libx.datagen.provider.sandbox
-
SandBox provider for
structures
. - StructureProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.sandbox.StructureProviderBase
- StructureProviderBase.JigsawBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- StructureProviderBase.StructureSettingsBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- structures(Holder<StructureSet>...) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase.FlatGeneratorBuilder
-
Sets the structures that should generate in this dimension.
- structures(HolderSet<StructureSet>) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase.FlatGeneratorBuilder
-
Sets the structures that should generate in this dimension.
- structureSet() - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase
-
Returns a new builder for a structure set.
- StructureSetProviderBase - Class in org.moddingx.libx.datagen.provider.sandbox
-
SandBox provider for
structure sets
. - StructureSetProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.sandbox.StructureSetProviderBase
- StructureSetProviderBase.BasePlacementBuilder<T extends StructureSetProviderBase.BasePlacementBuilder<T>> - Class in org.moddingx.libx.datagen.provider.sandbox
- StructureSetProviderBase.RandomPlacementBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- StructureSetProviderBase.RingPlacementBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- StructureSetProviderBase.StructureEntryBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- subSequence(FormattedCharSequence, int) - Static method in class org.moddingx.libx.util.game.ComponentUtil
-
Gets a sub-sequence from the given
FormattedCharSequence
. - subSequence(FormattedCharSequence, int, int) - Static method in class org.moddingx.libx.util.game.ComponentUtil
-
Gets a sub-sequence from the given
FormattedCharSequence
. - subtitle(String) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundDefinitionBuilder
-
Sets the language key for the sounds subtitle.
- subtract(Polynomial<T>) - Method in class org.moddingx.libx.util.math.Polynomial
-
Subtracts two polynomials from each other.
- SuperChainRequired - Annotation Interface in org.moddingx.libx.annotation.meta
-
Marker annotation for abstract methods.
- surface(SurfaceRules.RuleSource) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder
- SURFACE_RULE_SET - Static variable in class org.moddingx.libx.sandbox.SandBox
-
The
SurfaceRuleSet
registry. - surfaceOverride(Holder<SurfaceRuleSet>) - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase.NoiseGeneratorBuilder
-
Override the
SurfaceRules
used in this generator. - SurfaceProviderBase - Class in org.moddingx.libx.datagen.provider.sandbox
-
SandBox provider for
surface rule sets
andbiome surface
. - SurfaceProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.sandbox.SurfaceProviderBase
- SurfaceProviderBase.RuleSetBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- SurfaceRuleSet - Record Class in org.moddingx.libx.sandbox.surface
-
Defines logic to override the
NoiseGeneratorSettings
for anExtendedNoiseChunkGenerator
. - SurfaceRuleSet(boolean, SurfaceRules.RuleSource, SurfaceRules.RuleSource, SurfaceRules.RuleSource) - Constructor for record class org.moddingx.libx.sandbox.surface.SurfaceRuleSet
-
Creates an instance of a
SurfaceRuleSet
record class. - system() - Method in class org.moddingx.libx.datagen.DatagenContext
-
Gets the associated
DatagenSystem
. - system() - Method in class org.moddingx.libx.datagen.PackTarget
-
The
DatagenSystem
associated with this pack target.
T
- tab() - Method in class org.moddingx.libx.creativetab.CreativeTabX
-
Gets the creative tab.
- TabContext(CreativeModeTab.ItemDisplayParameters, FeatureFlagSet, CreativeModeTab.Output) - Constructor for record class org.moddingx.libx.creativetab.CreativeTabX.TabContext
-
Creates an instance of a
TabContext
record class. - TagProviderBase<T> - Class in org.moddingx.libx.datagen.provider.tags
-
A provider for tags of a type.
- TagProviderBase(DatagenContext, ResourceKey<? extends Registry<T>>) - Constructor for class org.moddingx.libx.datagen.provider.tags.TagProviderBase
- target() - Method in class org.moddingx.libx.datagen.DatagenContext
-
Gets the
PackTarget
for output. - target() - Method in interface org.moddingx.libx.network.PacketHandler
-
The target thread, this handler should run on.
- task(CriterionTriggerInstance...) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Adds a task to the advancement.
- tasks(CriterionTriggerInstance...) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Adds multiple tasks to the advancement.
- tasks(AdvancementProviderBase.TaskFactory) - Method in class org.moddingx.libx.datagen.provider.AdvancementProviderBase.AdvancementFactory
-
Adds multiple tasks to this advancement defined by the given
AdvancementProviderBase.TaskFactory
. - temperature(float) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets the
temperature
range for thisBiome
to a single value. - temperature(float, float) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets the
temperature
range for thisBiome
to the given range. - temperature(Holder<DensityFunction>) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- temperature(Climate.Parameter) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets the
temperature
range for thisBiome
to the given range. - temperature(DensityFunction) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- template() - Method in class org.moddingx.libx.datagen.provider.sandbox.TemplateProviderBase
-
Creates a new
TemplateProviderBase.PoolBuilder
with an empty fallback. - template(Holder<StructureTemplatePool>) - Method in class org.moddingx.libx.datagen.provider.sandbox.TemplateProviderBase
-
Creates a new
TemplateProviderBase.PoolBuilder
with with the given fallback. - TEMPLATE_POOL_EXTENSION - Static variable in class org.moddingx.libx.sandbox.SandBox
-
The
PoolExtension
registry. - TemplateBuilder() - Constructor for class org.moddingx.libx.datagen.provider.sandbox.AnyTemplateProviderBase.TemplateBuilder
- TemplateExtensionProviderBase - Class in org.moddingx.libx.datagen.provider.sandbox
-
SandBox provider for
template pool extensions
. - TemplateExtensionProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.sandbox.TemplateExtensionProviderBase
- TemplateExtensionProviderBase.ExtensionBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- TemplatePools - Class in org.moddingx.libx.vanilla
- TemplateProviderBase - Class in org.moddingx.libx.datagen.provider.sandbox
-
SandBox provider for
template pools
. - TemplateProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.sandbox.TemplateProviderBase
- TemplateProviderBase.PoolBuilder - Class in org.moddingx.libx.datagen.provider.sandbox
- templateStateTest(RuleTest) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase.ProcessorRuleBuilder
- terrain(TerrainAdjustment) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProviderBase.StructureSettingsBuilder
-
Sets the terrain adjustment for this structure.
- test(A, B, C) - Method in interface org.moddingx.libx.fi.Predicate3
- test(A, B, C, D) - Method in interface org.moddingx.libx.fi.Predicate4
- test(A, B, C, D, E) - Method in interface org.moddingx.libx.fi.Predicate5
- test(A, B, C, D, E, F) - Method in interface org.moddingx.libx.fi.Predicate6
- test(A, B, C, D, E, F, G) - Method in interface org.moddingx.libx.fi.Predicate7
- test(A, B, C, D, E, F, G, H) - Method in interface org.moddingx.libx.fi.Predicate8
- test(ResourceLocation) - Method in class org.moddingx.libx.util.data.ResourceList
-
Tests whether the given
ResourceLocation
is on this resource list. - test(ItemStack) - Method in class org.moddingx.libx.crafting.ingredient.EffectIngredient
- test(ItemStack) - Method in record class org.moddingx.libx.crafting.IngredientStack
-
Returns whether the ingredient matches the stack and the count of the stack is greater or equal to the count of the IngredientStack.
- text() - Method in record class org.moddingx.libx.datagen.provider.patchouli.content.TextContent
-
Returns the value of the
text
record component. - text() - Method in record class org.moddingx.libx.screen.text.entry.AlignedComponent
-
Returns the value of the
text
record component. - text(String) - Method in class org.moddingx.libx.datagen.provider.patchouli.EntryBuilder
-
Adds some text content to this entry.
- TextContent - Record Class in org.moddingx.libx.datagen.provider.patchouli.content
-
Content that generates one or multiple text pages and automatically wraps the text.
- TextContent(String, boolean) - Constructor for record class org.moddingx.libx.datagen.provider.patchouli.content.TextContent
-
Creates an instance of a
TextContent
record class. - TextProcessor - Class in org.moddingx.libx.util.game
-
Allows text in the lang file to define style information.
- TextProcessor() - Constructor for class org.moddingx.libx.util.game.TextProcessor
- TextScreen - Class in org.moddingx.libx.screen.text
-
A screen to display mostly text and optionally some widgets defined by a
ComponentLayout
. - TextScreen(ComponentLayout) - Constructor for class org.moddingx.libx.screen.text.TextScreen
- TextScreen(ComponentLayout, int) - Constructor for class org.moddingx.libx.screen.text.TextScreen
- TextScreenEntry - Interface in org.moddingx.libx.screen.text.entry
-
An object that has been aligned for display on a
TextScreen
. - TextScreenEntry.Direct - Interface in org.moddingx.libx.screen.text.entry
-
An object that has been aligned for display on a
TextScreen
or aFlowBox
. - texture(String) - Method in class org.moddingx.libx.datagen.provider.texture.Textures
-
Gets a preloaded source texture.
- texture(String, TextureFactory) - Method in class org.moddingx.libx.datagen.provider.texture.TextureProviderBase
-
Adds a texture that should be generated.
- texture(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.texture.Textures
-
Gets a preloaded source texture.
- texture(ResourceLocation, TextureFactory) - Method in class org.moddingx.libx.datagen.provider.texture.TextureProviderBase
-
Adds a texture that should be generated.
- TEXTURE_CHEST_GUI - Static variable in class org.moddingx.libx.render.RenderHelper
- TEXTURE_TOO_LARGE - Enum constant in enum class org.moddingx.libx.render.target.RenderJobFailedException.Reason
-
The image size requested by the
RenderJob
exceeds the maximum texture size of the current OpenGL implementation. - TEXTURE_WHITE - Static variable in class org.moddingx.libx.render.RenderHelper
-
ResourceLocation of a texture with the size 512x512 that is purely white.
- TextureBuilder - Class in org.moddingx.libx.datagen.provider.texture
-
A texture builder is used to preload required textures to build another texture and compute scales for the source textures and the target texture.
- TextureBuilder(ModX, Function<ResourceLocation, BufferedImage>) - Constructor for class org.moddingx.libx.datagen.provider.texture.TextureBuilder
- TextureFactory - Interface in org.moddingx.libx.datagen.provider.texture
-
A factory to generate a texture.
- TextureHelper - Class in org.moddingx.libx.datagen.provider.texture
-
Helper functions for custom
texture factories
. - TextureHelper() - Constructor for class org.moddingx.libx.datagen.provider.texture.TextureHelper
- TextureProviderBase - Class in org.moddingx.libx.datagen.provider.texture
-
A provider to generate textures during datagen.
- TextureProviderBase(DatagenContext) - Constructor for class org.moddingx.libx.datagen.provider.texture.TextureProviderBase
- Textures - Class in org.moddingx.libx.datagen.provider.texture
-
Provides preloaded textures, a computed target texture scale and source texture scales.
- Textures(ModX, Function<ResourceLocation, BufferedImage>, int, Map<ResourceLocation, Pair<BufferedImage, Integer>>) - Constructor for class org.moddingx.libx.datagen.provider.texture.Textures
- textureScale(String) - Method in class org.moddingx.libx.datagen.provider.texture.Textures
-
Gets the scale for a source texture.
- textureScale(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.texture.Textures
-
Gets the scale for a source texture.
- TextWrapping(int) - Constructor for record class org.moddingx.libx.screen.text.entry.AlignedComponent.TextWrapping
-
Creates an instance of a
TextWrapping
record class. - tick() - Method in interface org.moddingx.libx.base.tile.TickingBlock
- tick(TickEvent.ClientTickEvent) - Static method in class org.moddingx.libx.render.ClientTickHandler
- TickingBlock - Interface in org.moddingx.libx.base.tile
-
A
BlockEntity
used withBlockBE
can implement this. - ticksInGame() - Static method in class org.moddingx.libx.render.ClientTickHandler
- title() - Method in interface org.moddingx.libx.config.gui.ConfigScreenContent
-
Gets the title of the screen.
- title() - Method in interface org.moddingx.libx.screen.text.ComponentLayout
-
Gets the screen title if available.
- toDouble() - Method in class org.moddingx.libx.util.math.IntPolynomial
-
Converts this polynomial to a
DoublePolynomial
. - toggle(List<T>) - Static method in interface org.moddingx.libx.config.gui.ConfigEditor
-
Creates a toggle editor for a set of elements.
- toggle(List<T>, Function<T, Component>) - Static method in interface org.moddingx.libx.config.gui.ConfigEditor
-
Creates a toggle editor for a set of elements.
- toJson() - Method in class org.moddingx.libx.crafting.ingredient.EffectIngredient
- toJson() - Method in record class org.moddingx.libx.crafting.IngredientStack
-
Serialises the IngredientStack to json.
- toJson() - Method in class org.moddingx.libx.util.data.ResourceList
-
Serialises this resource list to JSON.
- toJson(T) - Method in interface org.moddingx.libx.config.mapper.ValueMapper
-
Serialises a value to JSON.
- toJson(T, ValueMapper<C, JsonElement>) - Method in interface org.moddingx.libx.config.mapper.GenericValueMapper
- toNetwork(FriendlyByteBuf) - Method in record class org.moddingx.libx.crafting.IngredientStack
-
Writes this IngredientStack to a
FriendlyByteBuf
. - toNetwork(FriendlyByteBuf) - Method in class org.moddingx.libx.util.data.ResourceList
-
Writes this resource list to a
FriendlyByteBuf
. - toNetwork(T, FriendlyByteBuf) - Method in interface org.moddingx.libx.config.mapper.ValueMapper
-
Writes a value to a
FriendlyByteBuf
. - toNetwork(T, FriendlyByteBuf, ValueMapper<C, JsonElement>) - Method in interface org.moddingx.libx.config.mapper.GenericValueMapper
- ToolExtension - Interface in org.moddingx.libx.datagen.provider.recipe.crafting
-
A
RecipeExtension
that adds the ability to add common tool recipes easily. - top() - Method in record class org.moddingx.libx.screen.text.entry.AlignedComponent
-
Returns the value of the
top
record component. - top() - Method in record class org.moddingx.libx.screen.text.entry.AlignedWidget
-
Returns the value of the
top
record component. - top() - Method in record class org.moddingx.libx.screen.text.entry.FlowBox
-
Returns the value of the
top
record component. - top() - Method in interface org.moddingx.libx.screen.text.entry.TextScreenEntry
- TOP - Enum constant in enum class org.moddingx.libx.screen.text.entry.FlowBox.VerticalAlignment
-
Elements in a row share a common top line.
- toPrettyComponent(JsonElement) - Static method in class org.moddingx.libx.util.game.ComponentUtil
-
Turns a
JsonElement
to aComponent
with syntax highlighting that can be used for display. - toString() - Method in record class org.moddingx.libx.base.decoration.DecorationContext.RegistrationInfo
-
Returns a string representation of this record class.
- toString() - Method in class org.moddingx.libx.base.decoration.DecorationContext
- toString() - Method in record class org.moddingx.libx.base.decoration.DecorationType.DecorationElement
-
Returns a string representation of this record class.
- toString() - Method in record class org.moddingx.libx.config.gui.WidgetProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.moddingx.libx.crafting.IngredientStack
-
Returns a string representation of this record class.
- toString() - Method in record class org.moddingx.libx.creativetab.CreativeTabX.TabContext
-
Returns a string representation of this record class.
- toString() - Method in record class org.moddingx.libx.datagen.provider.patchouli.BookProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.moddingx.libx.datagen.provider.patchouli.content.TextContent
-
Returns a string representation of this record class.
- toString() - Method in record class org.moddingx.libx.network.LoginPacketSerializer.LoginPacket
-
Returns a string representation of this record class.
- toString() - Method in record class org.moddingx.libx.network.NetworkX.Protocol
-
Returns a string representation of this record class.
- toString() - Method in record class org.moddingx.libx.registration.RegistrationBuilder.Result
-
Returns a string representation of this record class.
- toString() - Method in record class org.moddingx.libx.sandbox.generator.BiomeLayer
-
Returns a string representation of this record class.
- toString() - Method in record class org.moddingx.libx.sandbox.surface.BiomeSurface
-
Returns a string representation of this record class.
- toString() - Method in record class org.moddingx.libx.sandbox.surface.SurfaceRuleSet
-
Returns a string representation of this record class.
- toString() - Method in record class org.moddingx.libx.screen.text.entry.AlignedComponent.TextWrapping
-
Returns a string representation of this record class.
- toString() - Method in record class org.moddingx.libx.screen.text.entry.AlignedComponent
-
Returns a string representation of this record class.
- toString() - Method in record class org.moddingx.libx.screen.text.entry.AlignedWidget
-
Returns a string representation of this record class.
- toString() - Method in record class org.moddingx.libx.screen.text.entry.FlowBox
-
Returns a string representation of this record class.
- toString() - Method in record class org.moddingx.libx.util.data.ResourceList.RuleEntry
-
Returns a string representation of this record class.
- toString() - Method in class org.moddingx.libx.util.math.Polynomial
- toString() - Method in record class org.moddingx.libx.util.Ref
-
Returns a string representation of this record class.
- toString(T) - Method in interface org.moddingx.libx.config.gui.InputProperties
-
Converts a value matching this input properties to a string.
- toVanilla() - Method in class org.moddingx.libx.inventory.BaseItemStackHandler
-
Gets a vanilla container that wraps around this item handler.
- track(IForgeRegistry<?>, Field) - Method in interface org.moddingx.libx.registration.Registerable.TrackingCollector
-
Tracks a field with a value with the same registry name as the current object, registered in the given registry that is stored in the given field.
- track(IForgeRegistry<T>, Field, Object, ResourceLocation) - Static method in class org.moddingx.libx.registration.tracking.RegistryTracker
-
Add an instance field to the list of tracked fields.
- track(IForgeRegistry<T>, Field, ResourceLocation) - Static method in class org.moddingx.libx.registration.tracking.RegistryTracker
-
Add a static field to the list of tracked fields.
- tracking() - Method in record class org.moddingx.libx.registration.RegistrationBuilder.Result
-
Returns the value of the
tracking
record component. - trackNamed(IForgeRegistry<?>, String, Field) - Method in interface org.moddingx.libx.registration.Registerable.TrackingCollector
-
Tracks a field with a value with the same registry name as the current object with a given suffix, registered in the given registry that is stored in the given field.
- TRAIL_RUINS_BUILDINGS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- TRAIL_RUINS_BUILDINGS_GROUPED - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- TRAIL_RUINS_DECOR - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- TRAIL_RUINS_ROADS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- TRAIL_RUINS_TOWER - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- TRAIL_RUINS_TOWER_ADDITIONS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- TRAIL_RUINS_TOWER_TOWER_TOP - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- transform(RegistrationContext, Object, Registerable.EntryCollector) - Method in interface org.moddingx.libx.registration.RegistryTransformer
-
Registers additional objects to the given object.
- transform(T, float, PoseStack) - Method in class org.moddingx.libx.render.block.DirectionalBlockRenderer
- transform(T, float, PoseStack) - Method in class org.moddingx.libx.render.block.RotatedBlockRenderer
- transform(T, float, PoseStack) - Method in class org.moddingx.libx.render.block.TransformingBlockRenderer
-
Applies the pre-redner transformation to the
pose stack
. - transformer(RegistryTransformer) - Method in class org.moddingx.libx.registration.RegistrationBuilder
-
Adds a new
RegistryTransformer
that can add additional objects that are registered with each object registered through the LibX registration system. - transformers() - Method in record class org.moddingx.libx.registration.RegistrationBuilder.Result
-
Returns the value of the
transformers
record component. - TransformingBlockRenderer<T extends net.minecraft.world.level.block.entity.BlockEntity> - Class in org.moddingx.libx.render.block
-
A
BlockEntityRenderer
that transforms thepose stack
in some way before the actual render code. - TransformingBlockRenderer() - Constructor for class org.moddingx.libx.render.block.TransformingBlockRenderer
- translate() - Method in record class org.moddingx.libx.datagen.provider.patchouli.BookProperties
-
Returns the value of the
translate
record component. - translate(String) - Method in interface org.moddingx.libx.datagen.provider.patchouli.page.PageBuilder
-
Gets a string that should be used in the book for the given text.
- translate(ServerPlayer, String, String, Object...) - Static method in class org.moddingx.libx.network.RemoteModList
-
Creates a
MutableComponent
from a translation key. - TRANSLUCENT - Static variable in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase.RenderTypes
- TRAPDOOR - Static variable in interface org.moddingx.libx.base.decoration.DecorationType
- TRIPWIRE - Static variable in class org.moddingx.libx.datagen.provider.model.BlockStateProviderBase.RenderTypes
- tryCorrect(JsonElement, ValueMapper<U, ?>, Function<T, Optional<U>>) - Method in interface org.moddingx.libx.config.correct.ConfigCorrection
-
Same as
ConfigCorrection.correct(JsonElement, ValueMapper, Function)
but with an extractor that returns anOptional
. - tryGet(JsonElement, ValueMapper<U, ?>) - Method in interface org.moddingx.libx.config.correct.ConfigCorrection
-
Tries to get a value from a piece of json given a matching value mapper.
- type() - Method in class org.moddingx.libx.command.EnumArgument2.Info.Template
- type() - Method in interface org.moddingx.libx.config.mapper.GenericValueMapper
-
Gets the class of the type that this mapper can serialise.
- type() - Method in interface org.moddingx.libx.config.mapper.MapperFactory
-
The base class for which this factory creates mappers.
- type() - Method in interface org.moddingx.libx.config.mapper.ValueMapper
-
Gets the class of the type that this mapper can serialise.
- type() - Method in interface org.moddingx.libx.config.validator.ConfigValidator
-
Gets the class of the type that this validator can validate.
- type() - Method in interface org.moddingx.libx.config.validator.ValidatorInfo
-
Gets the annotation class used.
- type() - Method in class org.moddingx.libx.sandbox.placement.HeightPlacementFilter
- type() - Method in class org.moddingx.libx.sandbox.placement.InvertPlacementFilter
- TYPE - Static variable in class org.moddingx.libx.menu.GenericMenu
- TYPE - Static variable in class org.moddingx.libx.sandbox.placement.HeightPlacementFilter
- TYPE - Static variable in class org.moddingx.libx.sandbox.placement.InvertPlacementFilter
- TypedEncoder<T,
R> - Interface in org.moddingx.libx.codec -
An encoder that can encode and decode elements of a specific type.
- typeMapped(Codec<T>, TypedEncoder<T, ?>...) - Static method in class org.moddingx.libx.codec.MoreCodecs
-
Gets a type mapped codec that will try to encode and decode values with the first matching
TypedEncoder
. - typeMapped(TypedEncoder<T, ?>...) - Static method in class org.moddingx.libx.codec.MoreCodecs
-
Gets a type mapped codec that will try to encode and decode values with the first matching
TypedEncoder
. - types() - Method in class org.moddingx.libx.base.decoration.DecorationContext
-
Gets all supported
DecorationType
s.
U
- ultraWarm() - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionTypeProviderBase.DimensionTypeBuilder
- unboxed(Class<?>) - Static method in class org.moddingx.libx.util.ClassUtil
-
Returns the given class unless it's a boxed primitive class in which case the primitive class for that boxed class is returned.
- UNIT - Static variable in class org.moddingx.libx.codec.MoreCodecs
-
A codec for the
Unit
constant that encodes to nothing. - unpack(EnumArgument2<?>) - Method in class org.moddingx.libx.command.EnumArgument2.Info
- unsupported(PackType) - Method in class org.moddingx.libx.datagen.DatagenSystem.PackTargetBuilder
-
Indicates, that the
PackTarget
can't output the givenPackType
. - unsupported(T) - Static method in interface org.moddingx.libx.config.gui.ConfigEditor
-
Creates a new editor that states, that a value can't be edited through the GUI.
- up - Variable in class org.moddingx.libx.block.DirectionShape
- updateBE(Level, BlockPos) - Method in class org.moddingx.libx.CommonNetwork
-
Sends the nbt tag retrieved from
BlockEntity.getUpdateTag()
from the block entity at the given position to all clients tracking the chunk. - updateWidget(Screen, AbstractWidget, WidgetProperties<T>) - Method in interface org.moddingx.libx.config.gui.ConfigEditor
-
Updates a previously created widget, for example, after a screen resize.
- updateWidgetNarration(NarrationElementOutput) - Method in class org.moddingx.libx.screen.Panel
- use(BlockState, Level, BlockPos, Player, InteractionHand, BlockHitResult) - Method in class org.moddingx.libx.base.MenuBlock
- use(BlockState, Level, BlockPos, Player, InteractionHand, BlockHitResult) - Method in class org.moddingx.libx.base.tile.MenuBlockBE
- useDefaultNoiseSurface() - Method in record class org.moddingx.libx.sandbox.surface.SurfaceRuleSet
-
Returns the value of the
useDefaultNoiseSurface
record component. - useLegacyRandomSource() - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder
- usesOverlay() - Method in interface org.moddingx.libx.render.target.RenderJob
-
Gets whether this render job uses an overlay.
V
- validate(T, A) - Method in interface org.moddingx.libx.config.validator.ConfigValidator
-
Validates a value.
- validator(Predicate<ItemStack>, int...) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler.Builder
-
Sets a slot validator for some slots.
- validator(Predicate<ItemStack>, Range<Integer>) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler.Builder
-
Sets a slot validator for some slots.
- validator(Predicate<ItemStack>, Set<Integer>) - Method in class org.moddingx.libx.inventory.BaseItemStackHandler.Builder
-
Sets a slot validator for some slots.
- ValidatorInfo<T> - Interface in org.moddingx.libx.config.validator
-
Interface to retrieve information about a validator used on a config element
- validGround(TagKey<Block>) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- validGround(Block) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- validGround(BlockState) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- value() - Element in annotation interface org.moddingx.libx.annotation.codec.Dynamic
-
Class where to find the codec factory.
- value() - Element in annotation interface org.moddingx.libx.annotation.codec.Param
-
Class where to find the codec field.
- value() - Element in annotation interface org.moddingx.libx.annotation.config.RegisterConfig
-
The name to use for the config.
- value() - Element in annotation interface org.moddingx.libx.annotation.ForMod
- value() - Element in annotation interface org.moddingx.libx.annotation.model.Model
-
The path of the model.
- value() - Element in annotation interface org.moddingx.libx.annotation.registration.Reg.Name
- value() - Element in annotation interface org.moddingx.libx.config.Config
-
The comment for this config value.
- value() - Element in annotation interface org.moddingx.libx.config.Group
-
The comment for this config group.
- value() - Method in interface org.moddingx.libx.config.validator.ValidatorInfo
-
Gets the annotation used.
- value() - Element in annotation interface org.moddingx.libx.datagen.provider.Id
-
The path used to register the element.
- value() - Method in record class org.moddingx.libx.util.data.ResourceList.RuleEntry
-
Returns the value of the
value
record component. - value() - Method in record class org.moddingx.libx.util.Ref
-
Returns the value of the
value
record component. - value(Class<A>) - Method in interface org.moddingx.libx.config.validator.ValidatorInfo
-
Gets the annotation used, if it matches the given annotation class or null if not.
- ValueMapper<T,
E extends JsonElement> - Interface in org.moddingx.libx.config.mapper -
A way to serialise values of a specific type for a config file.
- valueOf(String) - Method in interface org.moddingx.libx.config.gui.InputProperties
-
Converts some input into a value matching this input properties.
- valueOf(String) - Static method in enum class org.moddingx.libx.datagen.DatagenStage
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.moddingx.libx.event.ConfigLoadedEvent.LoadReason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.moddingx.libx.network.NetworkX.ProtocolSide
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.moddingx.libx.network.PacketHandler.Target
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.moddingx.libx.render.target.RenderJobFailedException.Reason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.moddingx.libx.screen.text.entry.FlowBox.HorizontalAlignment
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.moddingx.libx.screen.text.entry.FlowBox.VerticalAlignment
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.moddingx.libx.datagen.DatagenStage
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.moddingx.libx.event.ConfigLoadedEvent.LoadReason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.moddingx.libx.network.NetworkX.ProtocolSide
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.moddingx.libx.network.PacketHandler.Target
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.moddingx.libx.render.target.RenderJobFailedException.Reason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.moddingx.libx.screen.text.entry.FlowBox.HorizontalAlignment
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.moddingx.libx.screen.text.entry.FlowBox.VerticalAlignment
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class org.moddingx.libx.util.lazy.LazyImmutableMap
- VANILLA - Enum constant in enum class org.moddingx.libx.network.NetworkX.ProtocolSide
-
The connection is accepted if the remote side is running on forge or vanilla.
- VanillaWrapper - Class in org.moddingx.libx.inventory
-
Wraps an
IItemHandlerModifiable
to a vanillaContainer
. - VanillaWrapper(IItemHandlerModifiable, Runnable) - Constructor for class org.moddingx.libx.inventory.VanillaWrapper
-
Wraps the given
IItemHandlerModifiable
to a vanillaContainer
. - vegetation(Holder<DensityFunction>) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- vegetation(DensityFunction) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- veinGap(Holder<DensityFunction>) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- veinGap(DensityFunction) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- veinRidged(Holder<DensityFunction>) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- veinRidged(DensityFunction) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- veinToggle(Holder<DensityFunction>) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- veinToggle(DensityFunction) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase.GeneratorSettingsBuilder.RouterBuilder
- version() - Method in record class org.moddingx.libx.network.NetworkX.Protocol
-
Returns the value of the
version
record component. - verticalAlignment() - Method in record class org.moddingx.libx.screen.text.entry.FlowBox
-
Returns the value of the
verticalAlignment
record component. - VILLAGE_COMMON_ANIMALS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_COMMON_BUTCHER_ANIMALS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_COMMON_CATS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_COMMON_IRON_GOLEM - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_COMMON_SHEEP - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_COMMON_WELL_BOTTOMS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_DESERT_CAMEL - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_DESERT_DECOR - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_DESERT_HOUSES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_DESERT_STREETS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_DESERT_TERMINATORS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_DESERT_TOWN_CENTERS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_DESERT_VILLAGERS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_DESERT_ZOMBIE_DECOR - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_DESERT_ZOMBIE_HOUSES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_DESERT_ZOMBIE_STREETS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_DESERT_ZOMBIE_TERMINATORS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_DESERT_ZOMBIE_VILLAGERS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_PLAINS_DECOR - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_PLAINS_HOUSES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_PLAINS_STREETS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_PLAINS_TERMINATORS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_PLAINS_TOWN_CENTERS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_PLAINS_TREES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_PLAINS_VILLAGERS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_PLAINS_ZOMBIE_DECOR - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_PLAINS_ZOMBIE_HOUSES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_PLAINS_ZOMBIE_STREETS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_PLAINS_ZOMBIE_VILLAGERS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SAVANNA_DECOR - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SAVANNA_HOUSES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SAVANNA_STREETS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SAVANNA_TERMINATORS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SAVANNA_TOWN_CENTERS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SAVANNA_TREES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SAVANNA_VILLAGERS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SAVANNA_ZOMBIE_DECOR - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SAVANNA_ZOMBIE_HOUSES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SAVANNA_ZOMBIE_STREETS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SAVANNA_ZOMBIE_TERMINATORS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SAVANNA_ZOMBIE_VILLAGERS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SNOWY_DECOR - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SNOWY_HOUSES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SNOWY_STREETS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SNOWY_TERMINATORS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SNOWY_TOWN_CENTERS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SNOWY_TREES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SNOWY_VILLAGERS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SNOWY_ZOMBIE_DECOR - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SNOWY_ZOMBIE_HOUSES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SNOWY_ZOMBIE_STREETS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_SNOWY_ZOMBIE_VILLAGERS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_TAIGA_DECOR - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_TAIGA_HOUSES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_TAIGA_STREETS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_TAIGA_TERMINATORS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_TAIGA_TOWN_CENTERS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_TAIGA_VILLAGERS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_TAIGA_ZOMBIE_DECOR - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_TAIGA_ZOMBIE_HOUSES - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_TAIGA_ZOMBIE_STREETS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- VILLAGE_TAIGA_ZOMBIE_VILLAGERS - Static variable in class org.moddingx.libx.vanilla.TemplatePools
- vLine(int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- vLine(RenderType, int, int, int, int) - Method in class org.moddingx.libx.render.FilterGuiGraphics
- volume(float) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundSettingsBuilder
-
Sets the volume for the sound settings.
W
- WALL - Static variable in interface org.moddingx.libx.base.decoration.DecorationType
- WALL_PARENT - Static variable in class org.moddingx.libx.datagen.provider.model.ItemModelProviderBase
- waterDepth(int) - Method in class org.moddingx.libx.datagen.provider.sandbox.FeatureProviderBase.AnyPlacementBuilder
- weight(int) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundSettingsBuilder
-
Sets the weight for the sound settings.
- weirdness(float) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets the
weirdness
range for thisBiome
to a single value. - weirdness(float, float) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets the
weirdness
range for thisBiome
to the given range. - weirdness(Climate.Parameter) - Method in class org.moddingx.libx.datagen.provider.sandbox.BiomeLayerProviderBase.ClimateBuilder
-
Sets the
weirdness
range for thisBiome
to the given range. - west - Variable in class org.moddingx.libx.block.RotationShape
- whileMatch(List<LootFactory<T>>) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Combines the given loot factories into one.
- whileMatch(LootFactory<T>...) - Method in class org.moddingx.libx.datagen.provider.loot.LootProviderBase
-
Combines the given loot factories into one.
- widget() - Method in record class org.moddingx.libx.screen.text.entry.AlignedWidget
-
Returns the value of the
widget
record component. - WidgetProperties<T> - Record Class in org.moddingx.libx.config.gui
-
Properties for a widget created by a
ConfigEditor
. - WidgetProperties(int, int, int, int, Consumer<T>) - Constructor for record class org.moddingx.libx.config.gui.WidgetProperties
-
Creates an instance of a
WidgetProperties
record class. - width - Variable in class org.moddingx.libx.menu.GenericMenu
- width() - Method in record class org.moddingx.libx.config.gui.WidgetProperties
-
Returns the value of the
width
record component. - width() - Method in interface org.moddingx.libx.render.target.RenderJob
-
The image width in pixels.
- WIDTH - Static variable in class org.moddingx.libx.screen.ColorPicker
-
The width of a colour picker widget
- with(String) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundDefinitionBuilder
-
Adds a sound from this mods namespace to this sound definition.
- with(String, Consumer<SoundDefinition.Sound>) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundDefinitionBuilder
-
Adds a sound from this mods namespace to this sound definition.
- with(List<LootModifier<T>>) - Method in interface org.moddingx.libx.datagen.provider.loot.entry.SimpleLootFactory
- with(ResourceLocation) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundDefinitionBuilder
-
Adds a sound to this sound definition.
- with(ResourceLocation, Consumer<SoundDefinition.Sound>) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundDefinitionBuilder
-
Adds a sound to this sound definition.
- with(LootItemConditionalFunction.Builder<?>...) - Method in interface org.moddingx.libx.datagen.provider.loot.entry.SimpleLootFactory
- with(LootItemCondition.Builder...) - Method in interface org.moddingx.libx.datagen.provider.loot.entry.LootFactory
- with(LootItemCondition.Builder...) - Method in interface org.moddingx.libx.datagen.provider.loot.entry.SimpleLootFactory
- with(LootModifier<T>...) - Method in interface org.moddingx.libx.datagen.provider.loot.entry.SimpleLootFactory
- with(Content) - Method in class org.moddingx.libx.datagen.provider.patchouli.content.CaptionContent
- with(Content) - Method in record class org.moddingx.libx.datagen.provider.patchouli.content.TextContent
- with(Content) - Method in interface org.moddingx.libx.datagen.provider.patchouli.page.Content
-
Chains a new content with this one.
- withCaption(String) - Method in class org.moddingx.libx.datagen.provider.patchouli.content.CaptionContent
-
Creates a copy of this
CaptionContent
with a new caption set. - withCopyAction(Component, String) - Static method in class org.moddingx.libx.util.game.ComponentUtil
-
Adds a
click event
to the given component to copy the given text to clipboard. - withDecoration() - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase.FlatGeneratorBuilder
-
Configure this generator to generate decoration.
- withFinal(GenericLootModifier<T>) - Method in interface org.moddingx.libx.datagen.provider.loot.entry.SimpleLootFactory
- withLakes() - Method in class org.moddingx.libx.datagen.provider.sandbox.DimensionProviderBase.FlatGeneratorBuilder
-
Configure this generator to generate lakes.
- withRange(String, int) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundDefinitionBuilder
-
Adds
amount
sounds to the definition. - withRange(String, int, Consumer<SoundDefinition.Sound>) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundDefinitionBuilder
-
Adds
amount
sounds to the definition. - withRange(ResourceLocation, int) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundDefinitionBuilder
-
Adds
amount
sounds to the definition. - withRange(ResourceLocation, int, Consumer<SoundDefinition.Sound>) - Method in class org.moddingx.libx.datagen.provider.SoundDefinitionProviderBase.SoundDefinitionBuilder
-
Adds
amount
sounds to the definition. - WOOD - Static variable in class org.moddingx.libx.base.decoration.DecorationContext
-
Decoration context for wood.
- WOOD - Static variable in interface org.moddingx.libx.base.decoration.DecorationMaterial
-
A material for wood blocks that adds a
BlockSetType
and aWoodType
. - WOOD - Static variable in interface org.moddingx.libx.base.decoration.DecorationType
- WOOD_BUTTON - Static variable in interface org.moddingx.libx.base.decoration.DecorationType
- WOOD_PRESSURE_PLATE - Static variable in interface org.moddingx.libx.base.decoration.DecorationType
- woodType() - Method in class org.moddingx.libx.base.decoration.DecorationMaterial.MaterialProperties
- worldStateTest(RuleTest) - Method in class org.moddingx.libx.datagen.provider.sandbox.StructureProcessorProviderBase.ProcessorRuleBuilder
- wrap(GuiEventListener) - Static method in interface org.moddingx.libx.config.gui.EditorOps
-
Wraps a
GuiEventListener
into matching editor ops. - wrap(Holder<DensityFunction>) - Method in class org.moddingx.libx.datagen.provider.sandbox.NoiseProviderBase
-
Wrap the given density function holder into a density function that references the registry entry represented by the holder.
- wrap(LazyLoadedValue<T>) - Static method in class org.moddingx.libx.util.lazy.LazyValue
-
Wraps a
LazyLoadedValue
to a lazy value. - wrap(IItemHandler) - Static method in interface org.moddingx.libx.inventory.IAdvancedItemHandler
-
Creates a new IAdvancedItemHandler from an
IItemHandler
. - wrap(IItemHandlerModifiable) - Static method in interface org.moddingx.libx.inventory.IAdvancedItemHandlerModifiable
-
Creates a new IAdvancedItemHandlerModifiable from an
IItemHandlerModifiable
. - wrap(GenericValueMapper<T, ?, C>, ValueMapper<C, ?>) - Method in interface org.moddingx.libx.config.mapper.MapperFactory.Context
-
Wraps a
GenericValueMapper
into a regularValueMapper
given a mapper for the generic element type. - wrapping() - Method in record class org.moddingx.libx.screen.text.entry.AlignedComponent
-
Returns the value of the
wrapping
record component. - writableRegistry(ResourceKey<? extends Registry<T>>) - Method in interface org.moddingx.libx.datagen.RegistrySet
-
Gets a writable registry from the registry set.
- write(Codec<T>, T) - Method in class org.moddingx.libx.codec.CodecOps
-
Writes an element using a code.
- write(Codec<T>, T, Class<R>) - Method in class org.moddingx.libx.codec.CodecOps
-
Writes an element using a code.
- write(Codec<T>, T, Class<R>, HolderLookup.Provider) - Method in class org.moddingx.libx.codec.CodecOps
-
Writes an element using a code.
- write(Codec<T>, T, HolderLookup.Provider) - Method in class org.moddingx.libx.codec.CodecOps
-
Writes an element using a code.
- write(FriendlyByteBuf, EffectIngredient) - Method in class org.moddingx.libx.crafting.ingredient.EffectIngredient.Serializer
- write(FriendlyByteBuf, T) - Method in class org.moddingx.libx.network.EnumDataSerializer
X
- x() - Method in record class org.moddingx.libx.config.gui.WidgetProperties
-
Returns the value of the
x
record component.
Y
- y() - Method in record class org.moddingx.libx.config.gui.WidgetProperties
-
Returns the value of the
y
record component.
Z
- ZERO - Static variable in class org.moddingx.libx.util.math.DoublePolynomial
-
The polynomial that is always zero.
- ZERO - Static variable in class org.moddingx.libx.util.math.IntPolynomial
-
The polynomial that is always zero.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form