Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- accent(String) - Static method in class my.celium.org.util.TextUtil
- ACCENT - Static variable in class my.celium.org.client.MycelTheme
-
Wiki
--accent. - ACCENT - Static variable in class my.celium.org.util.TextUtil
-
Wiki blue (
.tok-k) - mod names, config keys. - ACCENT_DARK - Static variable in class my.celium.org.client.MycelTheme
-
Wiki
--accent-dark: header bar, active tab. - at(ModMetadata, Path) - Static method in class my.celium.org.data.MycelDataFile
-
A file at an explicit path.
- author(String) - Method in class my.celium.org.metadata.ModMetadata.Builder
- authors() - Method in class my.celium.org.metadata.ModMetadata
-
Authors, never
null(possibly empty). - authors(List) - Method in class my.celium.org.metadata.ModMetadata.Builder
B
- BAD - Static variable in class my.celium.org.client.MycelTheme
-
Missing, too expensive, errors.
- BG - Static variable in class my.celium.org.client.MycelTheme
-
Wiki
--bg. - blocks(ModMetadata) - Static method in class my.celium.org.registry.MycelRegistry
- BlockUtil - Class in my.celium.org.util
-
Small cohesive block helpers.
- body(String) - Static method in class my.celium.org.util.TextUtil
- BODY - Static variable in class my.celium.org.util.TextUtil
-
Wiki
--text- body text. - BOOLEAN - Enum constant in enum class my.celium.org.config.ValueKind
- booleanValue(String, boolean, String) - Method in class my.celium.org.config.ConfigBuilder
- BooleanValue(String, String, boolean, String) - Constructor for class my.celium.org.config.ConfigValue.BooleanValue
- BORDER - Static variable in class my.celium.org.client.MycelTheme
-
Wiki
--border. - BRIGHT - Static variable in class my.celium.org.util.TextUtil
-
White - names and titles that should stand out from body text.
- build() - Method in class my.celium.org.config.ConfigBuilder
-
Finalises the config: loads
config/<modid>.jsonand returns the live handle. - build() - Method in class my.celium.org.entity.ReplaceOptions.Builder
- build() - Method in class my.celium.org.metadata.ModMetadata.Builder
- builder() - Static method in class my.celium.org.entity.ReplaceOptions
- builder(String, String, String) - Static method in class my.celium.org.metadata.ModMetadata
- Builder() - Constructor for class my.celium.org.entity.ReplaceOptions.Builder
C
- cancel() - Method in interface my.celium.org.schedule.ScheduledTask
-
Cancels future executions.
- canSend(ServerPlayer, PacketDefinition) - Static method in class my.celium.org.network.MycelNetwork
-
Whether
player's client can receivedefinition's channel, i.e. - canSendToServer(PacketDefinition) - Static method in class my.celium.org.network.MycelNetwork
-
Whether the server this client is connected to has
definition's channel, i.e. - categories() - Method in class my.celium.org.config.MycelConfig
-
Distinct categories in first-use order (root
""first when present). - category() - Method in class my.celium.org.config.ConfigValue
-
Category, or
""for the root level. - category(String) - Method in class my.celium.org.config.ConfigBuilder
-
Scopes subsequently defined values into
name(letters, digits,_-only). - caution(Object...) - Method in class my.celium.org.util.ChatVoice
-
Warning line: tag + orange bang + message.
- caution(String) - Static method in class my.celium.org.util.TextUtil
-
Warning line: orange bang + message.
- ChatVoice - Class in my.celium.org.util
-
The shared message kit with a mod's own tag, so every MyCelium mod reads the same:
Pets › ✔ Rex came running.Get one withTextUtil.voice(String)and keep it in a constant. - check(E) - Method in class my.celium.org.config.ConfigValue.EnumValue
- check(Boolean) - Method in class my.celium.org.config.ConfigValue.BooleanValue
- check(Double) - Method in class my.celium.org.config.ConfigValue.DoubleValue
- check(Integer) - Method in class my.celium.org.config.ConfigValue.IntegerValue
- check(Long) - Method in class my.celium.org.config.ConfigValue.LongValue
- check(String) - Method in class my.celium.org.config.ConfigValue.StringValue
- check(List) - Method in class my.celium.org.config.ConfigValue.StringListValue
- check(ModMetadata) - Static method in class my.celium.org.update.UpdateChecker
-
Queues an update check for
mod. - check(T) - Method in class my.celium.org.config.ConfigValue
-
Validates (and possibly normalises) a value; throws when unacceptable for code-driven sets.
- checkedAtMillis() - Method in class my.celium.org.update.UpdateResult
- ClientHooks - Class in my.celium.org.client
-
Client-only entry points for Mycel's config UI.
- codec() - Method in class my.celium.org.network.PacketDefinition
- collect(MinecraftServer) - Static method in class my.celium.org.diag.MycelDump
-
Builds the report.
- colored(String, int) - Static method in class my.celium.org.client.MycelTheme
-
Text in an ARGB theme color (alpha is ignored).
- colored(Component, ChatFormatting) - Static method in class my.celium.org.util.TextUtil
-
Deprecated.
- coloredHex(Component, int) - Static method in class my.celium.org.util.TextUtil
-
Applies a raw RGB color (
0xRRGGBB) to a copy oftext. - CommandHelper - Class in my.celium.org.command
-
Small helpers around vanilla Brigadier.
- Compatibility - Section in Overview
- component(String, String, Object...) - Static method in class my.celium.org.translation.MycelTranslations
-
Component.translatablefor a namespaced key. - componentOrFallback(String, String, String, Object...) - Static method in class my.celium.org.translation.MycelTranslations
-
Translatable component, or a literal
fallbackwhen the key is missing. - config(ModMetadata) - Static method in class my.celium.org.Mycel
-
Starts a configuration for
metadata(10-30 lines for a typical mod). - ConfigBuilder - Class in my.celium.org.config
-
Fluent builder for a mod's configuration.
- ConfigBuilder(ModMetadata) - Constructor for class my.celium.org.config.ConfigBuilder
-
Creates a builder; prefer
Mycel.config(...). - configDir() - Method in interface my.celium.org.platform.PlatformService
-
Directory where per-mod config files live (the loader's
configfolder). - configLine(ConfigValue) - Static method in class my.celium.org.diag.MycelDiagnostics
-
Styled row for one config value: path, current, constraint, default when changed.
- ConfigStrings - Class in my.celium.org.config
-
String conversion for
ConfigValues: display, parsing and lookup by path. - ConfigValue<T> - Class in my.celium.org.config
-
A single typed configuration value.
- ConfigValue(String, String, T, String) - Constructor for class my.celium.org.config.ConfigValue
- ConfigValue.BooleanValue - Class in my.celium.org.config
-
Boolean value.
- ConfigValue.DoubleValue - Class in my.celium.org.config
-
Double value with an inclusive range.
- ConfigValue.EnumValue<E> - Class in my.celium.org.config
-
Enum value; unknown names on disk fall back to the default.
- ConfigValue.IntegerValue - Class in my.celium.org.config
-
Integer value with an inclusive range.
- ConfigValue.LongValue - Class in my.celium.org.config
-
Long value with an inclusive range.
- ConfigValue.StringListValue - Class in my.celium.org.config
-
List-of-strings value (defensive copies in and out).
- ConfigValue.StringValue - Class in my.celium.org.config
-
String value with a maximum length.
- constants() - Method in class my.celium.org.config.ConfigValue.EnumValue
-
All allowed constants, in declaration order.
- constraintHint(ConfigValue) - Static method in class my.celium.org.config.ConfigStrings
-
Short constraint hint: ranges, allowed enum names, max length, ...
- contains(Container, Item, int) - Static method in class my.celium.org.util.InventoryUtil
- cooldownSeconds() - Static method in class my.celium.org.diag.MycelDump
-
Seconds left before another upload is allowed,
0when ready. - copyEquipment(LivingEntity, LivingEntity) - Static method in class my.celium.org.util.EntityUtil
-
Copies every equipment slot (armour + hands), duplicating the stacks.
- copyName(Entity, Entity) - Static method in class my.celium.org.util.EntityUtil
-
Copies the custom name and its visibility flag.
- copyWithCount(ItemStack, int) - Static method in class my.celium.org.util.ItemUtil
- count(Container, Predicate) - Static method in class my.celium.org.util.InventoryUtil
- count(Player, Predicate) - Static method in class my.celium.org.util.InventoryUtil
- count(ItemStack) - Static method in class my.celium.org.util.ItemUtil
- countItem(Container, Item) - Static method in class my.celium.org.util.InventoryUtil
- countItem(Player, Item) - Static method in class my.celium.org.util.PlayerUtil
- createConfigScreen(Object, String) - Static method in class my.celium.org.client.ClientHooks
-
Creates the config screen for
modId, orparentwhen the mod has no Mycel config. - createConfigScreen(Screen, MycelConfig) - Static method in class my.celium.org.client.ClientHooks
-
Creates the config screen for a live config handle.
- currentVersion() - Method in class my.celium.org.update.UpdateResult
D
- damage(ServerLevel, ItemStack, ServerPlayer, int) - Static method in class my.celium.org.util.ItemUtil
-
Damages a stack on the server (armour, tools, ...).
- debug(String, Object...) - Static method in class my.celium.org.logging.MycelLog
- DEFAULT - Static variable in class my.celium.org.entity.ReplaceOptions
- DEFAULT_MAX_BYTES - Static variable in class my.celium.org.data.MycelDataFile
-
Default size cap: larger files are treated as broken.
- defaultToString(ConfigValue) - Static method in class my.celium.org.config.ConfigStrings
-
Human-readable default value.
- DeferredEntry<T> - Class in my.celium.org.registry
-
Lazy handle for one registered object.
- delete() - Method in class my.celium.org.data.MycelDataFile
-
Deletes the file if present.
- describe(ConfigValue) - Static method in class my.celium.org.config.ConfigStrings
-
One-line type summary used by
/mycel get <mod>. - description() - Method in class my.celium.org.config.ConfigValue
-
Human readable explanation shown in the config screen.
- deserialize(JsonElement) - Method in class my.celium.org.config.ConfigValue.BooleanValue
- deserialize(JsonElement) - Method in class my.celium.org.config.ConfigValue
- deserialize(JsonElement) - Method in class my.celium.org.config.ConfigValue.DoubleValue
- deserialize(JsonElement) - Method in class my.celium.org.config.ConfigValue.EnumValue
- deserialize(JsonElement) - Method in class my.celium.org.config.ConfigValue.IntegerValue
- deserialize(JsonElement) - Method in class my.celium.org.config.ConfigValue.LongValue
- deserialize(JsonElement) - Method in class my.celium.org.config.ConfigValue.StringListValue
- deserialize(JsonElement) - Method in class my.celium.org.config.ConfigValue.StringValue
- detail(String) - Static method in class my.celium.org.util.TextUtil
-
Indented continuation line (descriptions, hints) under an
TextUtil.item(Component). - DIM - Static variable in class my.celium.org.client.MycelTheme
-
Wiki
--muted. - direction() - Method in class my.celium.org.network.PacketContext
- direction() - Method in class my.celium.org.network.PacketDefinition
- displayName() - Method in enum class my.celium.org.platform.Platform
-
Lowercase name used in log lines and diagnostics.
- displayName(ItemStack) - Static method in class my.celium.org.util.ItemUtil
-
Custom name when present, otherwise the default item name.
- divider() - Static method in class my.celium.org.util.TextUtil
-
Faint divider used between sections.
- DOUBLE - Enum constant in enum class my.celium.org.config.ValueKind
- doubleValue(String, double, double, double, String) - Method in class my.celium.org.config.ConfigBuilder
- DoubleValue(String, String, double, double, double, String) - Constructor for class my.celium.org.config.ConfigValue.DoubleValue
E
- empty() - Static method in class my.celium.org.util.TextUtil
- EntityReplacedEvent - Class in my.celium.org.event
-
Fired after
EntityReplacerswapped one entity for another. - EntityReplacedEvent(String, double, double, double, Entity) - Constructor for class my.celium.org.event.EntityReplacedEvent
- EntityReplacer - Class in my.celium.org.entity
-
Reusable entity replacement: swap one entity for another while preserving the state callers ask for (see
ReplaceOptions). - entityTypes(ModMetadata) - Static method in class my.celium.org.registry.MycelRegistry
- EntityUtil - Class in my.celium.org.util
-
Small cohesive entity helpers.
- ENUM - Enum constant in enum class my.celium.org.config.ValueKind
- enumValue(String, Class, E, String) - Method in class my.celium.org.config.ConfigBuilder
- EnumValue(String, String, Class, E, String) - Constructor for class my.celium.org.config.ConfigValue.EnumValue
- equals(Object) - Method in class my.celium.org.metadata.ModMetadata
- equals(Object) - Method in record class my.celium.org.platform.LoadedMod
-
Indicates whether some other object is "equal to" this one.
- equipment(boolean) - Method in class my.celium.org.entity.ReplaceOptions.Builder
- error(String) - Static method in class my.celium.org.util.TextUtil
- error(String, Object...) - Static method in class my.celium.org.logging.MycelLog
- ERROR - Static variable in class my.celium.org.util.TextUtil
-
Wiki red (
--accent) - errors. - errorMod(String, String, Object...) - Static method in class my.celium.org.logging.MycelLog
- errorMod(String, String, Throwable) - Static method in class my.celium.org.logging.MycelLog
- exists() - Method in class my.celium.org.data.MycelDataFile
F
- FABRIC - Enum constant in enum class my.celium.org.platform.Platform
- fail(Object...) - Method in class my.celium.org.util.ChatVoice
-
Error line: tag + red cross + message.
- fail(String) - Static method in class my.celium.org.util.TextUtil
-
Error line: red cross + message.
- failure(CommandSourceStack, Component) - Static method in class my.celium.org.command.CommandHelper
-
Sends a failure message.
- faint(String) - Static method in class my.celium.org.util.TextUtil
- FAINT - Static variable in class my.celium.org.client.MycelTheme
-
Wiki comment grey: hints, separators.
- FAINT - Static variable in class my.celium.org.util.TextUtil
-
Wiki comment grey (
.tok-c) - brackets, bullets, dividers. - file() - Method in class my.celium.org.config.MycelConfig
- find(String) - Method in class my.celium.org.config.MycelConfig
-
Finds a value by path (
"key"or"category.key"). - find(MycelConfig, String) - Static method in class my.celium.org.config.ConfigStrings
-
Finds a value inside
configby path (see class javadoc). - findNearbyBlock(Level, BlockPos, int, Predicate) - Static method in class my.celium.org.util.BlockUtil
-
Finds the nearest block matching
predicatein a cube aroundcenter, checked closest-first. - findSlot(Container, Predicate) - Static method in class my.celium.org.util.InventoryUtil
-
First slot matching the filter, or
-1. - fit(Font, String, int) - Static method in class my.celium.org.client.MycelTheme
-
text, cut with an ellipsis so it fitsmaxWidthpixels. - flags(boolean) - Method in class my.celium.org.entity.ReplaceOptions.Builder
- FORGE - Enum constant in enum class my.celium.org.platform.Platform
- FORMAT_VERSION - Static variable in class my.celium.org.diag.MycelDump
-
Bumped when the JSON shape changes incompatibly; the viewer reads it.
G
- gameDir() - Method in interface my.celium.org.platform.PlatformService
-
The game (client) or server directory that holds
config,logsandmods. - gameTime(ServerLevel) - Static method in class my.celium.org.util.WorldUtil
-
Current game time in ticks.
- get() - Method in class my.celium.org.config.ConfigValue
- get() - Method in class my.celium.org.config.ConfigValue.StringListValue
- get() - Method in class my.celium.org.registry.DeferredEntry
- getBlockState(Level, BlockPos) - Static method in class my.celium.org.util.WorldUtil
- getConfig(String) - Static method in class my.celium.org.Mycel
-
The live config for a mod id, or
nullwhen the mod built none. - getConfigDir() - Static method in class my.celium.org.Mycel
-
The loader's
configdirectory. - getDefault() - Method in class my.celium.org.config.ConfigValue
- getDefault() - Method in class my.celium.org.config.ConfigValue.StringListValue
- getLoadedMods() - Static method in class my.celium.org.Mycel
-
Every mod the loader has loaded (not only Mycel mods).
- getLoaderVersion() - Static method in class my.celium.org.Mycel
-
Loader version string.
- getLookDirection(Player) - Static method in class my.celium.org.util.PlayerUtil
-
Unit look direction vector.
- getMinecraftVersion() - Static method in class my.celium.org.Mycel
-
Minecraft version string.
- getModVersion(String) - Static method in class my.celium.org.Mycel
- getModVersion(String) - Method in interface my.celium.org.platform.PlatformService
-
Version of another mod, or
nullwhen absent/unknown. - getNearbyEntities(Level, BlockPos, double, Class) - Static method in class my.celium.org.util.EntityUtil
- getNearbyEntities(Level, Entity, double, Class) - Static method in class my.celium.org.util.EntityUtil
- getNearbyPlayers(Level, BlockPos, double) - Static method in class my.celium.org.util.EntityUtil
- getPlatform() - Static method in class my.celium.org.Mycel
- getPlayers(ServerLevel) - Static method in class my.celium.org.util.WorldUtil
-
All players on a server level.
- getRegisteredMods() - Static method in class my.celium.org.Mycel
-
All registered mods in registration order.
- getState(Level, BlockPos) - Static method in class my.celium.org.util.BlockUtil
- Getting started - Section in Overview
- getVersion() - Static method in class my.celium.org.Mycel
-
Mycel's version.
- giveItem(ServerPlayer, ItemStack) - Static method in class my.celium.org.util.PlayerUtil
-
Gives
stackto the player; whatever does not fit is dropped at their feet. - gold(String) - Static method in class my.celium.org.util.TextUtil
- GOOD - Static variable in class my.celium.org.client.MycelTheme
-
Wiki green: have, cheap, done.
- gray(String) - Static method in class my.celium.org.util.TextUtil
- green(String) - Static method in class my.celium.org.util.TextUtil
H
- handle(T, PacketContext) - Method in interface my.celium.org.network.PacketHandler
- handler() - Method in class my.celium.org.network.PacketDefinition
- has(String) - Static method in class my.celium.org.translation.MycelTranslations
-
Whether the currently loaded language provides
fullKey. - hashCode() - Method in class my.celium.org.metadata.ModMetadata
- hashCode() - Method in record class my.celium.org.platform.LoadedMod
-
Returns a hash code value for this object.
- hasItem(Player, Item, int) - Static method in class my.celium.org.util.PlayerUtil
- header(String) - Method in class my.celium.org.util.ChatVoice
-
Header line opening a multi-line reply: tag + bright bold title.
- header(String) - Static method in class my.celium.org.util.TextUtil
-
Header line opening a multi-line reply: tag + bright title.
- header(String, String) - Method in class my.celium.org.util.ChatVoice
-
Header line with a muted suffix, e.g.
- header(String, String) - Static method in class my.celium.org.util.TextUtil
-
Header line with a muted suffix, e.g.
- HEADER_EDGE - Static variable in class my.celium.org.client.MycelTheme
-
Bottom edge under the header bar.
- headerLine() - Static method in class my.celium.org.diag.MycelDiagnostics
-
Styled header for
/mycel info: brand + platform + versions. - HEADING - Static variable in class my.celium.org.client.MycelTheme
-
Titles.
- health(boolean) - Method in class my.celium.org.entity.ReplaceOptions.Builder
- hex(String, int) - Static method in class my.celium.org.util.TextUtil
-
Hex-colored literal from a raw RGB int (
0xRRGGBB). - hex(String, String) - Static method in class my.celium.org.util.TextUtil
-
Hex-colored literal, e.g.
- holdOne(Player, Predicate) - Static method in class my.celium.org.util.InventoryUtil
-
Deprecated, for removal: This API element is subject to removal in a future version.despite its name this never moved anything into the hand; it only reports whether a match exists. Use
InventoryUtil.findSlot(Container, Predicate)instead. Removed in Mycel 2.0.
I
- id() - Method in class my.celium.org.metadata.ModMetadata
-
Lowercase namespaced id, e.g.
- id() - Method in class my.celium.org.network.PacketDefinition
-
Channel id, e.g.
- id() - Method in record class my.celium.org.platform.LoadedMod
-
Returns the value of the
idrecord component. - inConfigDir(ModMetadata, String) - Static method in class my.celium.org.data.MycelDataFile
-
A file in the loader's
configfolder, e.g. - info(String, Object...) - Static method in class my.celium.org.logging.MycelLog
- info(CommandSourceStack, Component) - Static method in class my.celium.org.command.CommandHelper
-
Sends an informational message.
- INFO - Static variable in class my.celium.org.util.TextUtil
-
Wiki purple (
.tok-n) - values, commands. - infoMod(String, String, Object...) - Static method in class my.celium.org.logging.MycelLog
- infoText(String) - Static method in class my.celium.org.util.TextUtil
- init() - Method in class my.celium.org.client.MycelConfigScreen
- init(Object) - Method in interface my.celium.org.registry.RegistryBridge
-
Hooks deferred registration into the loader (mod event bus on Forge/NeoForge; no-op on Fabric).
- initialize() - Static method in class my.celium.org.Mycel
-
Initialises Mycel exactly once: detects the platform, loads
config/mycel.jsonand registers Mycel itself. - insert(Container, ItemStack) - Static method in class my.celium.org.util.InventoryUtil
-
Inserts
stack, merging with existing stacks first. - INTEGER - Enum constant in enum class my.celium.org.config.ValueKind
- IntegerValue(String, String, int, int, int, String) - Constructor for class my.celium.org.config.ConfigValue.IntegerValue
- intValue(String, int, int, int, String) - Method in class my.celium.org.config.ConfigBuilder
- InventoryUtil - Class in my.celium.org.util
-
Small cohesive inventory helpers over vanilla
Container. - inWorld(MinecraftServer, ModMetadata, String) - Static method in class my.celium.org.data.MycelDataFile
-
A file that belongs to the current world, at
<world>/data/<modid>/<fileName>. - isAir(BlockState) - Static method in class my.celium.org.util.BlockUtil
- isAir(Level, BlockPos) - Static method in class my.celium.org.util.BlockUtil
- isCancelled() - Method in interface my.celium.org.schedule.ScheduledTask
-
Whether this task was cancelled.
- isChunkLoaded(Level, BlockPos) - Static method in class my.celium.org.util.WorldUtil
-
Whether the chunk containing
posis loaded (never forces a load). - isClient() - Static method in class my.celium.org.Mycel
-
Whether this is a client environment.
- isClient() - Method in interface my.celium.org.platform.PlatformService
-
trueon the physical/logical client. - isClientSide(Level) - Static method in class my.celium.org.util.WorldUtil
- isDefault() - Method in class my.celium.org.config.ConfigValue
- isDefault() - Method in class my.celium.org.config.MycelConfig
-
Returns
truewhen every value holds its default. - isEmpty(ItemStack) - Static method in class my.celium.org.util.ItemUtil
- isEnabled(String) - Static method in class my.celium.org.Mycel
-
Whether a mod's functionality is enabled.
- isInitialized() - Static method in class my.celium.org.Mycel
-
Whether
Mycel.initialize()has run. - isLava(BlockState) - Static method in class my.celium.org.util.BlockUtil
- isMob(Entity) - Static method in class my.celium.org.util.EntityUtil
- isModLoaded(String) - Static method in class my.celium.org.Mycel
- isModLoaded(String) - Method in interface my.celium.org.platform.PlatformService
-
Whether another mod is present.
- isOpaque(BlockGetter, BlockPos) - Static method in class my.celium.org.util.BlockUtil
-
Opaque full cube (redstone-blocking, vision-blocking).
- isPlayer(CommandSourceStack) - Static method in class my.celium.org.command.CommandHelper
-
Whether the source is a player (as opposed to console/command block).
- isPresent() - Method in class my.celium.org.registry.DeferredEntry
-
Whether the underlying object exists yet.
- isReplaceable(BlockState) - Static method in class my.celium.org.util.BlockUtil
- isServerThread() - Static method in class my.celium.org.schedule.MycelScheduler
-
Is the current thread the server thread? Useful for assertions in mod code.
- isWater(BlockState) - Static method in class my.celium.org.util.BlockUtil
- item(Component) - Static method in class my.celium.org.util.TextUtil
-
Indented row under a
TextUtil.header(String): faint bullet + content, no tag. - items(ModMetadata) - Static method in class my.celium.org.registry.MycelRegistry
- ItemUtil - Class in my.celium.org.util
-
Small cohesive item-stack helpers.
J
- join(String, Collection) - Static method in class my.celium.org.util.TextUtil
-
Joins components with a literal separator.
K
- key() - Method in class my.celium.org.config.ConfigValue
- key(String) - Method in class my.celium.org.registry.MycelRegistry
-
The key
modid:namein this registry. - key(String, String) - Static method in class my.celium.org.translation.MycelTranslations
-
Builds
"<modId>.<path>"translation keys. - keyValue(String, String) - Static method in class my.celium.org.util.TextUtil
-
key: value pair with accent key and bright value. - keyValue(String, Component) - Static method in class my.celium.org.util.TextUtil
-
key: value pair with a pre-built value component. - kind() - Method in class my.celium.org.config.ConfigValue.BooleanValue
- kind() - Method in class my.celium.org.config.ConfigValue.DoubleValue
- kind() - Method in class my.celium.org.config.ConfigValue.EnumValue
- kind() - Method in class my.celium.org.config.ConfigValue.IntegerValue
- kind() - Method in class my.celium.org.config.ConfigValue
- kind() - Method in class my.celium.org.config.ConfigValue.LongValue
- kind() - Method in class my.celium.org.config.ConfigValue.StringListValue
- kind() - Method in class my.celium.org.config.ConfigValue.StringValue
L
- lastResult(String) - Static method in class my.celium.org.update.UpdateChecker
-
Last result for a mod, or
nullwhen never checked. - latestVersion() - Method in class my.celium.org.update.UpdateResult
- leash(boolean) - Method in class my.celium.org.entity.ReplaceOptions.Builder
- LINK - Static variable in class my.celium.org.client.MycelTheme
-
Wiki blue: names, keys, links.
- literal(String) - Static method in class my.celium.org.util.TextUtil
- LoadedMod - Record Class in my.celium.org.platform
-
One mod as the loader sees it: id, display name and version.
- LoadedMod(String, String, String) - Constructor for record class my.celium.org.platform.LoadedMod
-
Creates an instance of a
LoadedModrecord class. - loadedMods() - Method in interface my.celium.org.platform.PlatformService
-
Every mod the loader has loaded.
- loaderVersion() - Method in interface my.celium.org.platform.PlatformService
-
Loader version string, e.g.
- LONG - Enum constant in enum class my.celium.org.config.ValueKind
- longValue(String, long, long, long, String) - Method in class my.celium.org.config.ConfigBuilder
- LongValue(String, String, long, long, long, String) - Constructor for class my.celium.org.config.ConfigValue.LongValue
M
- matches(ItemStack, ItemStack) - Static method in class my.celium.org.util.ItemUtil
-
Same item including components (enchantments, names, ...).
- matchesItem(ItemStack, Item) - Static method in class my.celium.org.util.ItemUtil
- max() - Method in class my.celium.org.config.ConfigValue.DoubleValue
- max() - Method in class my.celium.org.config.ConfigValue.IntegerValue
- max() - Method in class my.celium.org.config.ConfigValue.LongValue
- maxLength() - Method in class my.celium.org.config.ConfigValue.StringValue
- metadata() - Method in class my.celium.org.config.MycelConfig
- METADATA - Static variable in class my.celium.org.Mycel
-
Mycel's own metadata (registered automatically on
Mycel.initialize()). - migrate(int, Consumer) - Method in class my.celium.org.config.ConfigBuilder
-
Registers a migration applied to the raw file content when upgrading from
fromVersion. - min() - Method in class my.celium.org.config.ConfigValue.DoubleValue
- min() - Method in class my.celium.org.config.ConfigValue.IntegerValue
- min() - Method in class my.celium.org.config.ConfigValue.LongValue
- minecraftVersion() - Method in interface my.celium.org.platform.PlatformService
-
Minecraft version string, e.g.
- MOD_ID - Static variable in class my.celium.org.Mycel
-
Mycel's own mod id.
- modId() - Method in class my.celium.org.config.MycelConfig
- modId() - Method in class my.celium.org.update.UpdateResult
- modLine(ModMetadata) - Static method in class my.celium.org.diag.MycelDiagnostics
-
Styled row for a single registered mod, for use under a header.
- ModMetadata - Class in my.celium.org.metadata
-
Small immutable description of a mod that uses Mycel.
- ModMetadata.Builder - Class in my.celium.org.metadata
-
Fluent builder with validation.
- mouseScrolled(double, double, double, double) - Method in class my.celium.org.client.MycelConfigScreen
- msg(Object...) - Static method in class my.celium.org.util.TextUtil
-
A message from parts: strings become body text, components are appended as they are.
- muted(String) - Static method in class my.celium.org.util.TextUtil
- MUTED - Static variable in class my.celium.org.util.TextUtil
-
Wiki
--muted- secondary text. - my.celium.org - package my.celium.org
-
The entry point:
Mycel. - my.celium.org.client - package my.celium.org.client
-
Client-only helpers: the generated config screen (
ClientHooks) and the shared palette for screens and HUD (MycelTheme). - my.celium.org.command - package my.celium.org.command
-
Helpers for writing commands in the shared Mycel chat style.
- my.celium.org.config - package my.celium.org.config
-
Typed, validated JSON configs: build one with
Mycel.config(ModMetadata), read values throughConfigValue. - my.celium.org.data - package my.celium.org.data
-
Safe JSON files for a mod's own data: atomic writes, broken files kept aside instead of overwritten.
- my.celium.org.diag - package my.celium.org.diag
-
Diagnostics behind
/mycel info,/mycel modsand/mycel dump. - my.celium.org.entity - package my.celium.org.entity
-
Swap one entity for another while keeping the state you choose.
- my.celium.org.event - package my.celium.org.event
-
The few loader-independent events Mycel unifies: join, leave, server lifecycle and entity replacement.
- my.celium.org.logging - package my.celium.org.logging
-
One shared logger with per-mod prefixes.
- my.celium.org.metadata - package my.celium.org.metadata
-
Describes a mod to Mycel: id, name, version, links and update URL.
- my.celium.org.network - package my.celium.org.network
-
Loader-independent packets on vanilla
CustomPacketPayloads. - my.celium.org.platform - package my.celium.org.platform
-
Which loader is running and what it knows: versions, folders, other mods.
- my.celium.org.registry - package my.celium.org.registry
-
Deferred registration of items, blocks and entity types on every loader.
- my.celium.org.schedule - package my.celium.org.schedule
-
Run work later, repeatedly, or off the server thread.
- my.celium.org.testing - package my.celium.org.testing
-
Support for headless unit tests of mods built on Mycel.
- my.celium.org.translation - package my.celium.org.translation
-
Translation key helpers that never crash on a missing key.
- my.celium.org.update - package my.celium.org.update
-
The optional, asynchronous update checker.
- my.celium.org.util - package my.celium.org.util
-
Small helpers for players, inventories, items, blocks, entities and chat text.
- Mycel - Class in my.celium.org
-
Mycel - the shared core library for the MyCelium ecosystem.
- MycelConfig - Class in my.celium.org.config
-
Live handle for one mod's configuration, backed by
config/<modid>.json. - MycelConfigScreen - Class in my.celium.org.client
-
Reusable config screen: one tab per category, one row per value, with inline validation, reset-all and save-on-done.
- MycelConfigScreen(Screen, MycelConfig) - Constructor for class my.celium.org.client.MycelConfigScreen
- MycelDataFile - Class in my.celium.org.data
-
One JSON file a mod keeps its own data in (pets, highlights, saved lists), with the safety Mycel's config files have: writes are atomic (temp file + move), so a crash mid-save never leaves half-written JSON behind; a file that cannot be parsed is moved aside to
<name>.broken(never deleted or overwritten) and reading continues with the fallback, so the next save cannot destroy it; files over the size cap (16 MiB by default) are refused the same way. - MycelDiagnostics - Class in my.celium.org.diag
-
Lightweight diagnostics: versions, platform, registered mods, config state.
- MycelDump - Class in my.celium.org.diag
-
/mycel dump: one JSON report with versions, every loaded mod, each Mycel mod's config and the tail oflogs/latest.log. - MycelEvents - Class in my.celium.org.event
-
Tiny loader-independent event hub.
- MycelLog - Class in my.celium.org.logging
-
Single logging entry point for Mycel and dependent mods.
- MycelNetwork - Class in my.celium.org.network
-
Loader-independent networking.
- MycelRegistry<T> - Class in my.celium.org.registry
-
Minimal deferred registration covering the repetitive cases (items, blocks, entity types) without a universal registry framework.
- MycelScheduler - Class in my.celium.org.schedule
-
Safe scheduling helpers.
- MycelTesting - Class in my.celium.org.testing
-
Support for headless unit tests of mods built on Mycel: no loader, no game.
- MycelTheme - Class in my.celium.org.client
-
The MyCelium wiki dark theme for screens and HUD text: flat neutrals, one red accent, 2px borders, hard offset card shadows.
- MycelTranslations - Class in my.celium.org.translation
-
Centralised translation helpers.
N
- name() - Method in class my.celium.org.metadata.ModMetadata
-
Human readable name, e.g.
- name() - Method in record class my.celium.org.platform.LoadedMod
-
Returns the value of the
namerecord component. - name(boolean) - Method in class my.celium.org.entity.ReplaceOptions.Builder
- NEOFORGE - Enum constant in enum class my.celium.org.platform.Platform
- note(Object...) - Method in class my.celium.org.util.ChatVoice
-
Info line: tag + message.
- note(String) - Static method in class my.celium.org.util.TextUtil
-
Info line: plain message after the tag.
- NOTE - Static variable in class my.celium.org.client.MycelTheme
-
Wiki
--note-bg.
O
- OFF - Static variable in class my.celium.org.client.MycelTheme
-
Disabled text.
- ok(Object...) - Method in class my.celium.org.util.ChatVoice
-
Success line: tag + green check + message.
- ok(String) - Static method in class my.celium.org.util.TextUtil
-
Success line: green check + message.
- oldType() - Method in class my.celium.org.event.EntityReplacedEvent
-
Registry id of the removed entity type.
- onChange(Consumer) - Method in class my.celium.org.config.ConfigValue
-
Registers a change listener; fired on the thread that performed the change.
- onClose() - Method in class my.celium.org.client.MycelConfigScreen
- onEntityReplaced(Consumer) - Static method in class my.celium.org.event.MycelEvents
- onPlayerJoin(Consumer) - Static method in class my.celium.org.event.MycelEvents
- onPlayerLeave(Consumer) - Static method in class my.celium.org.event.MycelEvents
- onServerLifecycle(Consumer) - Static method in class my.celium.org.event.MycelEvents
- openConfigScreen(Screen, String) - Static method in class my.celium.org.Mycel
-
Creates the config screen for
modId(client only).
P
- PacketContext - Class in my.celium.org.network
-
Context for a received packet.
- PacketContext(PacketDirection, MinecraftServer, ServerPlayer) - Constructor for class my.celium.org.network.PacketContext
- PacketDefinition<T> - Class in my.celium.org.network
-
Definition of one packet: its channel id, codec, direction and handler.
- PacketDirection - Enum Class in my.celium.org.network
-
Which way a packet travels.
- PacketHandler<T> - Interface in my.celium.org.network
-
Handles one received packet on the game thread.
- panel(GuiGraphicsExtractor, int, int, int, int) - Static method in class my.celium.org.client.MycelTheme
-
A wiki card: hard offset shadow, 2px border, flat body.
- parseAndSet(ConfigValue, String) - Static method in class my.celium.org.config.ConfigStrings
- parseHex(String) - Static method in class my.celium.org.util.TextUtil
-
Parses
"#RRGGBB"or"RRGGBB"into0xRRGGBB. - passengers(boolean) - Method in class my.celium.org.entity.ReplaceOptions.Builder
- path() - Method in class my.celium.org.data.MycelDataFile
- pathOf(ConfigValue) - Static method in class my.celium.org.config.ConfigStrings
-
Canonical path of a value:
keyorcategory.key. - permission(CommandSourceStack, int) - Static method in class my.celium.org.command.CommandHelper
-
Requirement: operator permission level
levelor higher, using vanilla's0(all) through4(owners) ladder. - persist(Mob) - Static method in class my.celium.org.util.EntityUtil
-
Marks a mob persistent so it never despawns.
- persistence(boolean) - Method in class my.celium.org.entity.ReplaceOptions.Builder
- phase() - Method in class my.celium.org.event.ServerLifecycleEvent
- plain(Component) - Static method in class my.celium.org.util.TextUtil
-
Plain (unformatted) string content.
- platform() - Method in interface my.celium.org.platform.PlatformService
-
Which loader this implementation is for.
- platform() - Method in interface my.celium.org.registry.RegistryBridge
-
Which loader this bridge is for (used to pick among several in one jar).
- Platform - Enum Class in my.celium.org.platform
-
The mod loader Mycel is currently running on.
- PlatformService - Interface in my.celium.org.platform
-
Loader-specific behaviour behind a tiny interface.
- player() - Method in class my.celium.org.event.PlayerJoinEvent
- player() - Method in class my.celium.org.event.PlayerLeaveEvent
- player(CommandSourceStack) - Static method in class my.celium.org.command.CommandHelper
-
The executing player, or a vanilla "not a player" error for consoles.
- PlayerJoinEvent - Class in my.celium.org.event
-
Fired on the server thread when a player joins.
- PlayerJoinEvent(ServerPlayer) - Constructor for class my.celium.org.event.PlayerJoinEvent
- PlayerLeaveEvent - Class in my.celium.org.event
-
Fired on the server thread when a player leaves.
- PlayerLeaveEvent(ServerPlayer) - Constructor for class my.celium.org.event.PlayerLeaveEvent
- PlayerUtil - Class in my.celium.org.util
-
Small cohesive player helpers.
- playSound(ServerLevel, Player, SoundEvent, SoundSource, float, float) - Static method in class my.celium.org.util.PlayerUtil
-
Plays a sound audible around the player (vanilla radius rules apply).
- position(boolean) - Method in class my.celium.org.entity.ReplaceOptions.Builder
- prefix() - Method in class my.celium.org.util.ChatVoice
-
Tag ›prefix: bold wiki-red tag + faint chevron. - prefix() - Static method in class my.celium.org.util.TextUtil
-
Mycel ›tag: bold wiki-red brand + faint chevron. - prefixed(Component) - Method in class my.celium.org.util.ChatVoice
-
Prepends the tag to
message. - prefixed(Component) - Static method in class my.celium.org.util.TextUtil
-
Prepends the
Mycel ›tag tomessage. - preserveEquipment() - Method in class my.celium.org.entity.ReplaceOptions
- preserveFlags() - Method in class my.celium.org.entity.ReplaceOptions
-
Permanent invulnerability, no-gravity, silence and the glow tag.
- preserveHealth() - Method in class my.celium.org.entity.ReplaceOptions
- preserveLeash() - Method in class my.celium.org.entity.ReplaceOptions
- preserveName() - Method in class my.celium.org.entity.ReplaceOptions
- preservePassengers() - Method in class my.celium.org.entity.ReplaceOptions
- preservePersistence() - Method in class my.celium.org.entity.ReplaceOptions
- preservePosition() - Method in class my.celium.org.entity.ReplaceOptions
- preserveRotation() - Method in class my.celium.org.entity.ReplaceOptions
- preserveVelocity() - Method in class my.celium.org.entity.ReplaceOptions
- primary(String) - Static method in class my.celium.org.util.TextUtil
- PRIMARY - Static variable in class my.celium.org.util.TextUtil
-
Wiki red (
--accent) - brand, headers.
Q
- quarantine(String) - Method in class my.celium.org.data.MycelDataFile
-
Moves the file aside to
<name>.broken(or a timestamped name when that exists already) so the next write cannot overwrite it.
R
- read(Class, Supplier) - Method in class my.celium.org.data.MycelDataFile
-
Reads the file into
typewith this file's Gson. - read(Type, Supplier) - Method in class my.celium.org.data.MycelDataFile
-
Like
MycelDataFile.read(Class, Supplier)for generic types (use a GsonTypeToken). - readObject() - Method in class my.celium.org.data.MycelDataFile
-
Reads the file as a JSON object.
- red(String) - Static method in class my.celium.org.util.TextUtil
- redact(String) - Static method in class my.celium.org.diag.MycelDump
-
Removes IP addresses, tokens and the OS home folder (which names the OS user).
- register(String, Supplier) - Method in class my.celium.org.registry.MycelRegistry
-
Registers
factoryundermodid:name. - register(ModMetadata, PacketDefinition) - Static method in class my.celium.org.network.MycelNetwork
-
Registers a packet channel.
- register(Registry, ResourceKey, String, String, Supplier) - Method in interface my.celium.org.registry.RegistryBridge
-
Registers
factoryundermodId:nameinregistry. - registerMod(ModMetadata) - Static method in class my.celium.org.Mycel
-
Registers a dependent mod.
- registerWithKey(String, Function) - Method in class my.celium.org.registry.MycelRegistry
-
Like
MycelRegistry.register(String, Supplier), but hands the factory the entry's own key, whichItem.Properties.setIdandBlockBehaviour.Properties.setIdneed. - RegistryBridge - Interface in my.celium.org.registry
-
Loader-specific registration backend.
- reload() - Method in class my.celium.org.config.MycelConfig
-
Re-reads the file; values that changed fire their listeners.
- remove(Container, Predicate, int) - Static method in class my.celium.org.util.InventoryUtil
-
Removes up to
amountmatching items. - removeItem(Container, Item, int) - Static method in class my.celium.org.util.InventoryUtil
- removeItem(Player, Item, int) - Static method in class my.celium.org.util.PlayerUtil
- replace(ServerLevel, Entity, T, ReplaceOptions) - Static method in class my.celium.org.entity.EntityReplacer
-
Discards
oldEntityand spawnsfreshin its place. - replacement() - Method in class my.celium.org.event.EntityReplacedEvent
-
The live replacement entity.
- ReplaceOptions - Class in my.celium.org.entity
-
What
EntityReplacerpreserves when swapping entities. - ReplaceOptions.Builder - Class in my.celium.org.entity
-
All flags default to
true; disable what a feature must not carry over. - reset() - Method in class my.celium.org.config.ConfigValue
-
Resets to the default value (persists + notifies when changed).
- reset() - Static method in class my.celium.org.testing.MycelTesting
-
Forgets the test platform; the next Mycel call looks for a real one again.
- resetAll() - Method in class my.celium.org.config.MycelConfig
-
Resets every value to its default and saves.
- root() - Method in class my.celium.org.config.ConfigBuilder
-
Returns to the root level.
- rotation(boolean) - Method in class my.celium.org.entity.ReplaceOptions.Builder
- runAsync(Runnable) - Static method in class my.celium.org.schedule.MycelScheduler
-
Runs
taskon Mycel's shared background pool. - runEvery(long, Runnable) - Static method in class my.celium.org.schedule.MycelScheduler
-
Runs
taskon the server thread everyintervalTicksticks. - runLater(long, Runnable) - Static method in class my.celium.org.schedule.MycelScheduler
-
Runs
taskon the server thread afterdelayTicksserver ticks. - runOnServer(Runnable) - Static method in class my.celium.org.schedule.MycelScheduler
-
Queues
taskonto the server thread.
S
- save() - Method in class my.celium.org.config.MycelConfig
-
Writes the file when anything changed since the last save/load.
- save(String) - Static method in class my.celium.org.diag.MycelDump
-
Writes the report to
<game dir>/mycel-dumps/dump-<time>.jsonand returns the path. - ScheduledTask - Interface in my.celium.org.schedule
-
Handle for a repeating task; cancel it when it is no longer needed.
- schemaVersion() - Method in class my.celium.org.config.MycelConfig
- schemaVersion(int) - Method in class my.celium.org.config.ConfigBuilder
-
Declares the schema version of this config; defaults to
1. - sendActionBar(ServerPlayer, Component) - Static method in class my.celium.org.util.PlayerUtil
- sender() - Method in class my.celium.org.network.PacketContext
-
The player who sent a
PacketDirection.TO_SERVERpacket, ornullforPacketDirection.TO_CLIENTpackets. - sendMessage(Player, Component) - Static method in class my.celium.org.util.PlayerUtil
- sendToAll(MinecraftServer, PacketDefinition, T) - Static method in class my.celium.org.network.MycelNetwork
-
Sends a clientbound packet to every connected player that can receive it.
- sendToPlayer(ServerPlayer, PacketDefinition, T) - Static method in class my.celium.org.network.MycelNetwork
-
Sends a clientbound packet to one player.
- sendToServer(PacketDefinition, T) - Static method in class my.celium.org.network.MycelNetwork
-
Sends a serverbound packet.
- sendToTracking(ServerLevel, ChunkPos, PacketDefinition, T) - Static method in class my.celium.org.network.MycelNetwork
-
Sends a clientbound packet to players near a chunk (same dimension, within roughly view distance).
- serialize(E) - Method in class my.celium.org.config.ConfigValue.EnumValue
- serialize(Boolean) - Method in class my.celium.org.config.ConfigValue.BooleanValue
- serialize(Double) - Method in class my.celium.org.config.ConfigValue.DoubleValue
- serialize(Integer) - Method in class my.celium.org.config.ConfigValue.IntegerValue
- serialize(Long) - Method in class my.celium.org.config.ConfigValue.LongValue
- serialize(String) - Method in class my.celium.org.config.ConfigValue.StringValue
- serialize(List) - Method in class my.celium.org.config.ConfigValue.StringListValue
- serialize(T) - Method in class my.celium.org.config.ConfigValue
- server() - Method in class my.celium.org.event.ServerLifecycleEvent
- server() - Method in class my.celium.org.network.PacketContext
-
The server, or
nullon the client. - ServerLifecycleEvent - Class in my.celium.org.event
-
Fired when the dedicated/integrated server starts or stops.
- ServerLifecycleEvent(MinecraftServer, ServerLifecycleEvent.Phase) - Constructor for class my.celium.org.event.ServerLifecycleEvent
- ServerLifecycleEvent.Phase - Enum Class in my.celium.org.event
-
Lifecycle phase.
- set(T) - Method in class my.celium.org.config.ConfigValue
-
Sets a new value after validation.
- setBlock(Level, BlockPos, BlockState) - Static method in class my.celium.org.util.BlockUtil
-
Sets a block with default flags (update neighbours + re-render).
- setBlock(Level, BlockPos, BlockState) - Static method in class my.celium.org.util.WorldUtil
- setBlockAndUpdate(Level, BlockPos, BlockState) - Static method in class my.celium.org.util.BlockUtil
- setEnabled(String, boolean) - Static method in class my.celium.org.Mycel
-
Enables/disables a mod at runtime without a restart.
- setUploadsEnabled(boolean) - Static method in class my.celium.org.diag.MycelDump
-
Called by
Mycelfrom the global config; mods should not call this. - SHADE - Static variable in class my.celium.org.client.MycelTheme
-
Dimmed world behind a full screen.
- SHADOW - Static variable in class my.celium.org.client.MycelTheme
-
Hard offset card shadow.
- STARTED - Enum constant in enum class my.celium.org.event.ServerLifecycleEvent.Phase
- STOPPED - Enum constant in enum class my.celium.org.event.ServerLifecycleEvent.Phase
- STRING - Enum constant in enum class my.celium.org.config.ValueKind
- STRING_LIST - Enum constant in enum class my.celium.org.config.ValueKind
- stringListValue(String, List, String) - Method in class my.celium.org.config.ConfigBuilder
- StringListValue(String, String, List, String) - Constructor for class my.celium.org.config.ConfigValue.StringListValue
- stringValue(String, String, int, String) - Method in class my.celium.org.config.ConfigBuilder
- stringValue(String, String, String) - Method in class my.celium.org.config.ConfigBuilder
- StringValue(String, String, String, int, String) - Constructor for class my.celium.org.config.ConfigValue.StringValue
- success(String) - Static method in class my.celium.org.util.TextUtil
- success(CommandSourceStack, Component) - Static method in class my.celium.org.command.CommandHelper
-
Sends a success message (appears in chat, not the action bar).
- SUCCESS - Static variable in class my.celium.org.util.TextUtil
-
Wiki green (
.tok-s) - success. - summaryLines() - Static method in class my.celium.org.diag.MycelDiagnostics
-
One short line per fact; stable order for tests and admins.
- SURFACE - Static variable in class my.celium.org.client.MycelTheme
-
Wiki
--code-bg: rows, inputs, chips.
T
- tag() - Method in class my.celium.org.util.ChatVoice
-
The tag text, e.g.
- teleport(ServerPlayer, double, double, double, float, float) - Static method in class my.celium.org.util.PlayerUtil
-
Teleports within the current dimension and syncs the client.
- teleportToLevel(ServerPlayer, ServerLevel, double, double, double, float, float) - Static method in class my.celium.org.util.PlayerUtil
-
Teleports to another dimension (same dimension works too).
- teleportToLevel(ServerPlayer, ServerLevel, Vec3, float, float) - Static method in class my.celium.org.util.PlayerUtil
-
Compatibility overload taking a position vector.
- TEXT - Static variable in class my.celium.org.client.MycelTheme
-
Wiki
--text. - TextUtil - Class in my.celium.org.util
-
Small helpers around
Component. - TO_CLIENT - Enum constant in enum class my.celium.org.network.PacketDirection
-
Server
->client. - TO_SERVER - Enum constant in enum class my.celium.org.network.PacketDirection
-
Client
->server. - toClient(CustomPacketPayload.Type, StreamCodec, PacketHandler) - Static method in class my.celium.org.network.PacketDefinition
-
Server
->client packet. - toJson(JsonObject) - Static method in class my.celium.org.diag.MycelDump
-
Pretty JSON text of a report.
- tone(ChatFormatting) - Static method in class my.celium.org.util.TextUtil
-
Wiki tone standing in for a legacy
ChatFormattingcolor, or-1for decorations (bold, italic, ...) and reset. - toServer(CustomPacketPayload.Type, StreamCodec, PacketHandler) - Static method in class my.celium.org.network.PacketDefinition
-
Client
->server packet. - toString() - Method in class my.celium.org.metadata.ModMetadata
- toString() - Method in record class my.celium.org.platform.LoadedMod
-
Returns a string representation of this record class.
- translatable(String, Object...) - Static method in class my.celium.org.util.TextUtil
- type() - Method in class my.celium.org.config.ConfigValue.EnumValue
- type() - Method in class my.celium.org.network.PacketDefinition
U
- UNKNOWN - Enum constant in enum class my.celium.org.platform.Platform
-
Only used in unit tests / unknown environments.
- updateAvailable() - Method in class my.celium.org.update.UpdateResult
- UpdateChecker - Class in my.celium.org.update
-
Optional asynchronous update checker.
- UpdateResult - Class in my.celium.org.update
-
Outcome of one update check.
- UpdateResult(String, String, String, String, boolean, long) - Constructor for class my.celium.org.update.UpdateResult
- updateUrl() - Method in class my.celium.org.metadata.ModMetadata
-
Optional URL returning update metadata JSON for this mod.
- updateUrl(String) - Method in class my.celium.org.metadata.ModMetadata.Builder
-
Opt in to update checking.
- upload(String) - Static method in class my.celium.org.diag.MycelDump
-
Uploads to pastes.dev off the game thread.
- uploadsEnabled() - Static method in class my.celium.org.diag.MycelDump
- url() - Method in class my.celium.org.update.UpdateResult
-
Download/project page, may be
null. - useConfigDir(Path) - Static method in class my.celium.org.testing.MycelTesting
-
Runs Mycel on a headless platform (
Platform.UNKNOWN, server side, no other mods loaded) whose config folder isconfigDir. - usePlatform(PlatformService) - Static method in class my.celium.org.testing.MycelTesting
-
Runs Mycel on
platform, for tests that need more control (e.g.
V
- validate(T) - Method in class my.celium.org.config.ConfigValue
-
Validates a candidate exactly as
ConfigValue.set(Object)would, without changing anything. - VALUE - Static variable in class my.celium.org.client.MycelTheme
-
Wiki purple: values.
- ValueKind - Enum Class in my.celium.org.config
-
The kind of a
ConfigValue; used by persistence and the config screen. - valueOf(String) - Static method in enum class my.celium.org.config.ValueKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class my.celium.org.event.ServerLifecycleEvent.Phase
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class my.celium.org.network.PacketDirection
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class my.celium.org.platform.Platform
-
Returns the enum constant of this class with the specified name.
- values() - Method in class my.celium.org.config.MycelConfig
-
All values in declaration order.
- values() - Static method in enum class my.celium.org.config.ValueKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class my.celium.org.event.ServerLifecycleEvent.Phase
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class my.celium.org.network.PacketDirection
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class my.celium.org.platform.Platform
-
Returns an array containing the constants of this enum class, in the order they are declared.
- valuesIn(String) - Method in class my.celium.org.config.MycelConfig
-
Values of one category in declaration order.
- valueToString(ConfigValue) - Static method in class my.celium.org.config.ConfigStrings
-
Human-readable current value (lists render comma-separated).
- velocity(boolean) - Method in class my.celium.org.entity.ReplaceOptions.Builder
- version() - Method in class my.celium.org.metadata.ModMetadata
-
Mod version string, e.g.
- version() - Method in record class my.celium.org.platform.LoadedMod
-
Returns the value of the
versionrecord component. - VERSION - Static variable in class my.celium.org.Mycel
-
Mycel's version.
- VIEWER - Static variable in class my.celium.org.diag.MycelDump
-
Viewer base; the paste key is appended.
- viewerUrl(String) - Static method in class my.celium.org.diag.MycelDump
-
Viewer link for a paste key.
- voice(String) - Static method in class my.celium.org.util.TextUtil
-
Message kit tagged with
tag, e.g.
W
- warn(String) - Static method in class my.celium.org.util.TextUtil
- warn(String, Object...) - Static method in class my.celium.org.logging.MycelLog
- WARN - Static variable in class my.celium.org.client.MycelTheme
-
Wiki orange: pricey, maxed, attention.
- WARN - Static variable in class my.celium.org.util.TextUtil
-
Wiki orange (
.tok-a) - warnings / gold. - warnMod(String, String, Object...) - Static method in class my.celium.org.logging.MycelLog
- website() - Method in class my.celium.org.metadata.ModMetadata
-
Project website, may be
null. - website(String) - Method in class my.celium.org.metadata.ModMetadata.Builder
- withGson(Gson) - Method in class my.celium.org.data.MycelDataFile
-
The same file, (de)serialized with
gson(e.g. - withMaxBytes(int) - Method in class my.celium.org.data.MycelDataFile
-
The same file with another size cap in bytes.
- WorldUtil - Class in my.celium.org.util
-
Small cohesive world/level helpers.
- write(Object) - Method in class my.celium.org.data.MycelDataFile
-
Writes
value(serialized with this file's Gson).
X
- x() - Method in class my.celium.org.event.EntityReplacedEvent
Y
- y() - Method in class my.celium.org.event.EntityReplacedEvent
Z
- z() - Method in class my.celium.org.event.EntityReplacedEvent
- ZEBRA - Static variable in class my.celium.org.client.MycelTheme
-
Every other list row.
All Classes and Interfaces|All Packages|Constant Field Values
TextUtil.success(String), ...) orTextUtil.coloredHex(Component, int)