Migrate AstraSoups to NeoForge as AstraCauldron

This commit is contained in:
2026-09-08 19:44:45 +03:00
parent 8391dfe739
commit a82c2aa0f9
52 changed files with 2095 additions and 2010 deletions
+86
View File
@@ -0,0 +1,86 @@
PASS native per-stack size minecraft:mushroom_stew
PASS native per-stack size minecraft:rabbit_stew
PASS native per-stack size minecraft:beetroot_soup
PASS native per-stack size minecraft:suspicious_stew
PASS whole cake nutrition
PASS arrows rejected
PASS summed native food nutrition
PASS soup consumable at full hunger
PASS recipe order independent stacking
PASS native item codec preserves full soup
PASS potion full duration preserved
PASS golden apple effects preserved
PASS native consumption feeds and applies effects
PASS native stacked consumption returns bowl
PASS chorus teleport retained
PASS probabilistic effects retained
PASS AstraPlus identity and native food read via public API
PASS ordinary carrier is not custom food
PASS custom AstraPlus registration overrides nutrition
PASS registration survives AstraPlus definition edits
PASS invalid reload rejected
PASS invalid reload leaves previous runtime intact
PASS independent water API creates surface without soup
PASS AstraPlus generic water model
PASS water owner isolation
PASS color and height update
PASS API update reuses entity
PASS removed entity recreated once
PASS API never loads chunks
PASS owner cleanup removes surface
PASS API validates RGB
PASS API validates finite height
PASS cancelled interaction is respected
PASS event insertion consumes one
PASS vanilla level mutation blocked for occupied pot
PASS cancelled breaking preserves ingredients
PASS empty hand returns ingredient and removes pot
PASS ordinary cauldron retains vanilla behavior
PASS full water required
PASS all water bottle kinds fill vanilla water, never become soup
PASS dye consumes one, keeps water volume: minecraft:leather_helmet
PASS armor dyed with metadata preserved: minecraft:leather_helmet
PASS armor costs one water level: minecraft:leather_helmet
PASS armor damage preserved: minecraft:leather_helmet
PASS dye consumes one, keeps water volume: minecraft:leather_chestplate
PASS armor dyed with metadata preserved: minecraft:leather_chestplate
PASS armor costs one water level: minecraft:leather_chestplate
PASS armor damage preserved: minecraft:leather_chestplate
PASS dye consumes one, keeps water volume: minecraft:leather_leggings
PASS armor dyed with metadata preserved: minecraft:leather_leggings
PASS armor costs one water level: minecraft:leather_leggings
PASS armor damage preserved: minecraft:leather_leggings
PASS dye consumes one, keeps water volume: minecraft:leather_boots
PASS armor dyed with metadata preserved: minecraft:leather_boots
PASS armor costs one water level: minecraft:leather_boots
PASS armor damage preserved: minecraft:leather_boots
PASS dye consumes one, keeps water volume: minecraft:leather_horse_armor
PASS armor dyed with metadata preserved: minecraft:leather_horse_armor
PASS armor costs one water level: minecraft:leather_horse_armor
PASS dye consumes one, keeps water volume: minecraft:wolf_armor
PASS armor dyed with metadata preserved: minecraft:wolf_armor
PASS armor costs one water level: minecraft:wolf_armor
PASS armor damage preserved: minecraft:wolf_armor
PASS second dye mixes water color
PASS AstraPlus armor API never mutates input
PASS non-leather armor rejected without water loss
PASS all three potion bottle kinds fill same potion, return glass
PASS different potion rejected without item loss
PASS 17 tipped arrows cost two levels
PASS partial arrow conversion respects remaining potion volume
PASS full potion cauldron tips entire 64 arrow stack
PASS arrows preserve effects with vanilla duration multiplier
PASS potion storage drains back into drinkable bottle
PASS four ingredients start timed brew
PASS four ingredient displays while brewing
PASS ingredient displays never persist as entities
PASS brew finishes after 80 ticks
PASS AstraPlus owns single liquid display
PASS liquid belongs to AstraPlus
PASS portion lowers water API height
PASS portion interpolates same display
PASS two saved servings remain
PASS failed save rolls back pot and consumes no bowl
PASS AstraPlus packs its own water resource
PASS AstraCauldron bowl exported before AstraPlus pack build
PASS gameplay: 85
-2
View File
@@ -1,2 +0,0 @@
PASS: Minecraft 26.2 decodes composite bowl and custom model color tint: Unbaked[models=[Unbaked[model=minecraft:item/bowl, transformation=Optional.empty, tints=[]], Unbaked[model=astradev_soups:item/soup_liquid, transformation=Optional.empty, tints=[CustomModelDataSource[index=0, defaultColor=12024374]]]], transformation=Optional.empty]
PASS: Minecraft 26.2 decodes liquid geometry and item display transforms
-120
View File
@@ -1,120 +0,0 @@
PASS: Plugin enables on Paper 26.2
PASS: Steak saturation is 12.8 absolute points
PASS: Edible accepted: APPLE
PASS: Edible accepted: BAKED_POTATO
PASS: Edible accepted: BEEF
PASS: Edible accepted: BEETROOT
PASS: Edible accepted: BEETROOT_SOUP
PASS: Edible accepted: BREAD
PASS: Edible accepted: CARROT
PASS: Edible accepted: CHICKEN
PASS: Edible accepted: CHORUS_FRUIT
PASS: Edible accepted: COD
PASS: Edible accepted: COOKED_BEEF
PASS: Edible accepted: COOKED_CHICKEN
PASS: Edible accepted: COOKED_COD
PASS: Edible accepted: COOKED_MUTTON
PASS: Edible accepted: COOKED_PORKCHOP
PASS: Edible accepted: COOKED_RABBIT
PASS: Edible accepted: COOKED_SALMON
PASS: Edible accepted: COOKIE
PASS: Edible accepted: DRIED_KELP
PASS: Edible accepted: ENCHANTED_GOLDEN_APPLE
PASS: Edible accepted: GLOW_BERRIES
PASS: Edible accepted: GOLDEN_APPLE
PASS: Edible accepted: GOLDEN_CARROT
PASS: Edible accepted: HONEY_BOTTLE
PASS: Edible accepted: MELON_SLICE
PASS: Edible accepted: MUSHROOM_STEW
PASS: Edible accepted: MUTTON
PASS: Edible accepted: POISONOUS_POTATO
PASS: Edible accepted: PORKCHOP
PASS: Edible accepted: POTATO
PASS: Edible accepted: PUFFERFISH
PASS: Edible accepted: PUMPKIN_PIE
PASS: Edible accepted: RABBIT
PASS: Edible accepted: RABBIT_STEW
PASS: Edible accepted: ROTTEN_FLESH
PASS: Edible accepted: SALMON
PASS: Edible accepted: SPIDER_EYE
PASS: Edible accepted: SUSPICIOUS_STEW
PASS: Edible accepted: SWEET_BERRIES
PASS: Edible accepted: TROPICAL_FISH
PASS: Whole cake accepted as seven slices
PASS: Tipped arrows are not potion ingredients
PASS: Nonfood rejected
PASS: Vanilla soup stack size: MUSHROOM_STEW
PASS: Vanilla soup keeps its original icon: MUSHROOM_STEW
PASS: Vanilla soup stack size: RABBIT_STEW
PASS: Vanilla soup keeps its original icon: RABBIT_STEW
PASS: Vanilla soup stack size: BEETROOT_SOUP
PASS: Vanilla soup keeps its original icon: BEETROOT_SOUP
PASS: Vanilla soup stack size: SUSPICIOUS_STEW
PASS: Vanilla soup keeps its original icon: SUSPICIOUS_STEW
PASS: Example combines 10 hunger points
PASS: Example combines 13.2 saturation points
PASS: Combined soup stacks to sixteen
PASS: Combined soup selects the bundled colored bowl model
PASS: Old soup icon migrates while retaining all recipe components
PASS: Icon migration is idempotent
PASS: Icon migration preserves unrelated custom model data slots
PASS: Potion levels use Roman numerals with parenthesized durations
PASS: Soup descriptions contain no floating dot separators
PASS: Existing soup descriptions migrate without changing effects or food
PASS: Red eye, golden apple, purple and green potions blend into exact brown RGB
PASS: Bowl liquid tint uses exactly the cauldron mixed RGB
PASS: Different food colors produce different soup colors
PASS: Reusing a combined soup preserves its stored liquid color
PASS: Different mixtures have different icon tints
PASS: Same recipe stacks regardless of ingredient insertion order
PASS: Extended night vision preserved
PASS: Strength II from splash potion preserved without splash reduction
PASS: All soup components survive binary serialization
PASS: Soup survives YAML serialization
PASS: Unique vanilla food effects preserved
PASS: Suspicious stew effect retained
PASS: Custom lingering potion flags and exact ticks preserved
PASS: Native eating applies summed hunger and saturation exactly once
PASS: Native eating applies strength and night vision
PASS: Native eating keeps the remaining stacked soup
PASS: Native eating returns one bowl from a stack
PASS: Final soup becomes a bowl
PASS: Native hunger and saturation remain capped at twenty
PASS: Registered nonvanilla food supplies custom nutrition and selector
PASS: Registered custom food does not match plain base material
PASS: Malformed reload retains previous working ingredient configuration
PASS: Cancelled protected interaction does not take an ingredient
PASS: Adding a fourth ingredient consumes exactly one item
PASS: Four ItemDisplays visualize the ingredients
PASS: Display centers are partly submerged without client item bobbing
PASS: Display ingredient has client interpolation and no dropped-item physics
PASS: Display ingredient has client interpolation and no dropped-item physics
PASS: Display ingredient has client interpolation and no dropped-item physics
PASS: Display ingredient has client interpolation and no dropped-item physics
PASS: Empty-hand withdrawal is LIFO
PASS: Incompatible recipe does not create ready soup
PASS: Rejected recipe retains its ingredients
PASS: Starting a brew does not create soup immediately
PASS: Brewing retains four animated ingredient entities
PASS: An early bowl cannot collect soup or be consumed
PASS: Empty hand cannot withdraw ingredients during brewing
PASS: Same stationary entity moves its interpolated model without teleporting
PASS: Whirlpool maintains its radius instead of collapsing to center
PASS: No soup before the configured 80th tick
PASS: Brew creates colored soup surface
PASS: Liquid surface uses the exact opaque mixed RGB, not a terracotta palette
PASS: Brew removes ingredient visuals
PASS: Collecting soup consumes one bowl
PASS: Collecting yields exactly the expected recipe
PASS: Cauldron retains soup after the first of four portions
PASS: First portion lowers both water and the same interpolated soup surface
PASS: Each remaining portion visibly lowers soup without respawning the surface
PASS: Each remaining portion visibly lowers soup without respawning the surface
PASS: Last portion uses a low colored surface with no blue water above it
PASS: Final portion removes the liquid surface
PASS: Four bowls collect exactly four stackable portions and empty the cauldron
PASS: A fifth bowl cannot obtain another portion
PASS: Ordinary right-click with an item starts cooking without consuming the tool
PASS: In-flight brew saved for restart with its four ingredients
PASS: Cauldron states saved before restart
PASS: ALL 119 CHECKS (phase1)
-13
View File
@@ -1,13 +0,0 @@
PASS: Plugin enables on Paper 26.2
PASS: Ready cauldron block survives restart
PASS: Restart preserves the reduced water level for two of four servings
PASS: Ready soup keeps stack size and effects across process restart
PASS: Restart preserves exactly two remaining portions instead of refilling the cauldron
PASS: Raw ingredient can be withdrawn after process restart
PASS: Withdrawn ingredient cannot be obtained twice
PASS: In-flight brew restores animated ingredients after process restart
PASS: Restart cannot turn an in-flight brew into instant soup
PASS: Resumed brew completes and yields the expected soup once
PASS: Resumed in-flight brew produces exactly four portions
PASS: Repeated collection cannot duplicate a completed brew
PASS: ALL 12 CHECKS (phase2)
+10
View File
@@ -0,0 +1,10 @@
PASS ready servings restored
PASS raw ingredient restored
PASS unfinished brew restarts its timer
PASS AstraPlus water restored by soup owner
PASS single colored water display after restart
PASS potion contents and volume survive restart
PASS dyed water volume survives restart
PASS restored brew finishes
PASS last serving clears saved pot and water API
PASS restart: 9