You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 08e91cd
Browse filesBrowse the repository at this point in the historyBrowse files
Source: [ScriptMachineRecipeBuilder](../src/main/java/zone/moddev/mc/lib/compat/CraftTweaker/ScriptMachineRecipeBuilder.java). Registered for the default `crafttweaker` loader (recipe scripts).
`processing/time`, plus `mmdlib:machine/energy` and `mmdlib:machine/layout`.
423
+
424
+
### `RecipeGenerators`
425
+
426
+
Source: [ScriptRecipeGeneratorRegistry](../src/main/java/zone/moddev/mc/lib/compat/CraftTweaker/ScriptRecipeGeneratorRegistry.java). Registered for the `mmdlib` loader; run on each data reload through [ScriptRecipeGenerator](../src/main/java/zone/moddev/mc/lib/compat/CraftTweaker/ScriptRecipeGenerator.java).
@@ -475,7 +696,8 @@ from script callback execution are logged by the binding wrapper.
475
696
| Runtime-supported through an existing generic script map | Tool stat overrides and generic tool settings; basic-item burn time |`MaterialStats`, `StandardItems.ToolSettings`, `StandardImplementations`; addSpecial/factoryData already reach them. Named stat methods and ToolSettings now wrap these existing paths; per-tool durability scaling is limited by TieredItem overriding durability. |
476
697
| Schema-only in current standard runtime | food reference, lore, declared toolActions, general attributeModifiers, delayed-use onComplete/useFinishMode, creativeStacks | Stored in ItemTemplate/MMDItem; no standard runtime consumer found. Native tool attributes and generic tool abilities are separate implemented paths. |
477
698
| Unavailable as a configurable definition capability | Item rarity/feature flags; advanced block predicates, piston reaction, instrument, offsets, solidity flags | Current definition/runtime property path does not represent and apply them. |
478
-
| Unavailable as a public script registration path | Custom sound events/types, independent tool tiers, user-defined creative tabs | Existing material tab/armor/tier machinery is not a general script builder API. |
699
+
| Unavailable as a public script registration path | Independent tool tiers, script fluid modules for materials | Existing material armor/tier machinery is not a general script builder API; scripts build standalone fluids, not modules materials select. |
700
+
| Script-exposed in 2.0.2 | Sound events and sound sets, creative tabs, standalone fluids, screen handlers and value providers, machine cycle handlers, machine recipes |`SoundBuilder`, `SoundTypeBuilder`, `CreativeTabBuilder`, `FluidBuilder`, `ScreenHandlers`, `ScreenValues`, `MachineHandlers`, `MachineRecipeBuilder`; each feeds the same definition or registry path as data files. |
479
701
| Script-exposed in phase 3 | Typed ID references and module snapshot copies | New wrappers unwrap into existing consumers; copy rebinds locally owned callbacks with separate handler maps. |
480
702
| Script-exposed in phase 4 | Fluent builder aliases, displayName, default/self/empty/referenced loot | Aliases use existing setters. Immutable ScriptResourceOptions metadata feeds the generated pack; external resources keep priority. |
481
703
| Unavailable script conveniences | Arbitrary game-object property cloning | Module configuration copying does not clone registered game objects. |
Copy file name to clipboardExpand all lines: docs/crafttweaker-parity-plan.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,8 @@ Do not claim parity merely because a value can be stored in a definition.
33
33
| Gameplay callbacks | Retain current hooks and improve discovery/examples | No additional core event contracts |
34
34
| Generated resources and drops | Expose names and simple loot options through the existing generated pack | Generated resources only; no change to block runtime loot-source properties |
35
35
| Food, rarity, arbitrary attributes | Defer | RuntimeProperties does not apply these as configurable definition properties |
36
-
| Creative tabs and sound registration | Defer | No existing matching MMDLib public definition/registration path |
36
+
| Fluids | Done in 2.0.2 | Standalone fluids from data and `FluidBuilder`; materials still select fluid modules from files or code |
37
+
| Creative tabs and sound registration | Done in 2.0.2 | Script builders over the data-driven definitions; scripts can also edit file definitions |
37
38
| Advanced block predicates/properties | Defer | Current block schema and runtime do not represent/apply them |
38
39
39
40
## Phase 1: establish the supported surface
@@ -160,8 +161,12 @@ integration classes and excludes smoke classes/scripts/resources. See the
160
161
currently applies only stack size, durability, fire resistance, and remainder.
161
162
- Rarity, feature flags, general attribute configuration, lore, and new item actions:
162
163
lack a complete applicable runtime path for this integration scope.
163
-
- Full CreativeTabBuilder, SoundEventBuilder, and custom SoundTypeFactory: would
164
-
require a new registration capability or a parallel integration-owned system.
164
+
- Creative tabs, sound events and sound sets: no longer deferred. 2.0.2 added
165
+
data-driven registration for each, and `CreativeTabBuilder`, `SoundBuilder` and
166
+
`SoundTypeBuilder` build on it.
167
+
- Fluids: no longer deferred. 2.0.2 added standalone fluids
168
+
(`mmdlib/standalone/fluid`) and a plain `mmdlib:fluid` module, and
0 commit comments