Jaycob Bosse
📎 1 file 14,141 chars
📄
pasted-code-1791965773832.txt
txt 2 lines
▶
Physics Unbound is a Minecraft mod built around ten physics subjects, each with a unique visual animation style, a bound Physics Book, and ten craftable items. Each subject has its own powers, equipment, and visual effects inspired by its scientific theme. Crafting rules - Ranks 1–5: Four separate armor pieces—helmet, chestplate, leggings, and boots—plus one additional item. These use matching Physics Shards and standard materials. - Ranks 6–10: Five advanced artifacts or weapons. Crafting requires permanently sacrificing the matching Physics Book and using rare materials. - Armor bonuses: Activate only when all four matching pieces are equipped. - Discovery: Ten randomly located, buried chests appear across the Overworld, Nether, and End. Every chest must be at least 25 blocks beneath the local surface, inside a small deepslate enclosure. Each contains one unique Physics Book and five matching shards. - Book progression: Books are bound to their discoverers. Right-click activates and levels the book's power up to level 10; sneak + right-click sacrifices it to unlock advanced crafting. The following guide lists all ten subjects and their 100 items, with brief abilities and distinctive animation styles. No boss content is included. 1. Gravity & Spacetime (curved spacetime grids, gravitational wells, and folded-space portals) Theme: Gravity, black holes, spacetime distortion, gravitational attraction, and wormholes. Rank	Item	Brief description 1	Gravity Helmet	Detect falling entities and reduce fall damage. 2	Gravity Chestplate	Reduce incoming knockback. 3	Gravity Leggings	Improve aerial control. 4	Gravity Boots	Grant Slow Falling. 5	Gravitation Ring	Attract nearby dropped items. 6	Gravity Sword	Pull enemies toward each hit. 7	Singularity Core	Create a miniature black hole. 8	Riftwalk Amulet	Fold spacetime to teleport a short distance. 9	Event Horizon Shield	Absorb or deflect projectiles. 10	Supermassive Black Hole Launcher	Fire a projectile that creates a supermassive black hole at its destination, pulling in eligible targets before a catastrophic collapse. Animation style: A visible three-dimensional grid bends into gravitational wells around black holes. Wormholes pinch the grid together, fold it inward, and connect two points through a tunnel. Gravity attacks curve particles and projectile trails along distorted paths. 2. Electricity & Plasma (branching electrical arcs, plasma filaments, and glowing circuit traces) Theme: Electricity, lightning, ionized plasma, electrical discharges, and redstone circuits. Rank	Item	Brief description 1	Capacitor Helmet	Detect nearby powered redstone circuits. 2	Plasma Chestplate	Emit defensive electrical pulses. 3	Circuit Leggings	Detect redstone activity while moving. 4	Plasma Boots	Grant a brief electrical speed boost. 5	Circuit Detector	Locate nearby redstone components. 6	Lightning Sword	Chance to strike enemies with lightning. 7	Stormcaller	Summon repeated lightning strikes. 8	Redstone Oracle	Reveal nearby redstone circuits through blocks. 9	Chain Lightning Gauntlet	Chain electrical damage between enemies. 10	Thunder God's Bow	Unleash a powerful lightning storm at the target. Animation style: Lightning follows branching, irregular paths. Plasma forms turbulent glowing spheres surrounded by filaments and electrical arcs. Redstone detection traces circuit connections through nearby blocks, with nodes pulsing in signal order. 3. Magnetism (curved magnetic field lines, rotating metal particles, and electromagnetic vortices) Theme: Magnetic fields, metal attraction and repulsion, ore detection, and electromagnetic defense. Rank	Item	Brief description 1	Magnetic Helmet	Detect nearby metallic blocks. 2	Magnetic Chestplate	Reduce damage from eligible projectiles. 3	Magnetic Leggings	Improve movement near metallic blocks. 4	Magnet Boots	Attract compatible metal drops. 5	Magnetic Compass	Point toward nearby metallic blocks. 6	Magnetic Sword	Pull enemies toward you on hit. 7	Deep-Seeker	Scan through stone for valuable ores. 8	Iron Dominion Gauntlet	Pull armored enemies toward you. 9	Electromagnetic Barrier	Deflect incoming projectiles. 10	Magnetar Cannon	Release a powerful electromagnetic shockwave. Animation style: Magnetic field lines curve between poles. Metal particles align with the field, while objects spiral around magnetic vortices. Defensive fields visibly bend incoming projectiles away from the wearer. 4. Thermodynamics (heat shimmer, convection currents, crystalline frost, and stellar plasma) Theme: Heat, cold, temperature, combustion, thermal energy, and energy transfer. Rank	Item	Brief description 1	Frostbite Helmet	Reduce freezing effects. 2	Thermal Chestplate	Reduce fire damage. 3	Thermal Leggings	Reduce damage from extreme temperatures. 4	Thermal Boots	Release a thermal burst on landing. 5	Thermal Goggles	Detect nearby fire and lava. 6	Thermal Sword	Burn or chill enemies. 7	Inferno Engine	Release repeated heat waves. 8	Absolute Zero Orb	Freeze and heavily slow enemies. 9	Entropy Cloak	Convert some incoming damage into thermal energy. 10	Second Sun	Create a miniature star that scorches nearby enemies. Animation style: Heat creates rising convection columns and shimmering air. Cold spreads through branching crystalline frost. The Second Sun ignites from a glowing core, develops plasma loops, erupts in a solar flare, and then collapses or fades. 5. Quantum Mechanics (probability clouds, superposition afterimages, tunneling waves, and entanglement links) Theme: Quantum particles, superposition, quantum tunneling, entanglement, and uncertain states. Rank	Item	Brief description 1	Quantum Helmet	Detect nearby quantum effects. 2	Quantum Chestplate	Occasionally avoid an incoming hit. 3	Quantum Leggings	Briefly phase through eligible attacks. 4	Quantum Boots	Phase through eligible obstacles for a short distance. 5	Particle Detector	Locate nearby quantum particles or anomalies. 6	Quantum Sword	Chance to bypass enemy defenses. 7	Entanglement Ring	Link two marked locations. 8	Tunneling Core	Teleport through a limited thickness of blocks. 9	Superposition Mask	Create a temporary duplicate. 10	Quantum Reactor	Generate a powerful unstable quantum field. Animation style: Probability clouds show multiple possible states. Entities briefly appear in several translucent positions before resolving into one. Tunneling makes a particle wave compress against a barrier and reform beyond it, while entangled objects display synchronized pulses. 6. Fluid Dynamics (flow streamlines, turbulent splashes, water vortices, and viscous lava motion) Theme: Fluid pressure, water and lava manipulation, currents, turbulence, waves, and whirlpools. Rank	Item	Brief description 1	Current Hood	Improve underwater visibility and reveal nearby lava flows. 2	Abyssal Chestplate	Improve underwater protection and reduce lava damage. 3	Abyssal Leggings	Improve movement through water and lava. 4	Current Boots	Improve movement through flowing fluids. 5	Waterfinder	Locate nearby water and lava sources. 6	Pressure Nozzle	Fire a high-pressure jet of water or lava. 7	Pressure Sword	Strike with concentrated fluid pressure. 8	Hydrostatic Totem	Create a temporary fluid-energy barrier. 9	Maelstrom Core	Generate a water whirlpool or lava vortex. 10	Leviathan's Harpoon	Launch a devastating surge of water or lava. Animation style: Water follows smooth streamlines that develop into turbulent currents and whirlpools. Lava moves in slower, heavier streams with glowing internal currents, molten droplets, and heat shimmer. Pressure attacks compress fluid into narrow jets before it bursts outward. Lava remains dangerous: armor offers limited protection, not unrestricted immunity. Fluid abilities should respect protected builds and avoid unwanted permanent lava placement. 7. Matter (molecular lattices, geometric reconstruction, atomic particles, and crystalline shields) Theme: Material analysis, molecules, atomic structure, reinforcement, construction, and transmutation. Rank	Item	Brief description 1	Matter Helmet	Analyze nearby materials. 2	Matter Chestplate	Grant Resistance. 3	Matter Leggings	Improve stability and reduce knockback. 4	Matter Boots	Reduce fall damage. 5	Material Lens	Identify targeted blocks. 6	Molecular Sword	Deal bonus damage to armored enemies. 7	Transmutation Core	Convert approved common blocks. 8	Matter Forge	Create temporary platforms and bridges. 9	Atomic Aegis	Form a protective shell. 10	Genesis Cube	Create powerful temporary matter structures. Animation style: Scanning planes reveal stylized molecular lattices inside blocks. Transmutation breaks a block into geometric particles that assemble into a new form. Defensive shields build themselves from interlocking crystal-like facets, which ripple on impact. 8. Kinematics (motion trails, acceleration streaks, kinetic buildup, and expanding shockwaves) Theme: Motion, speed, acceleration, inertia, momentum, and kinetic force. Rank	Item	Brief description 1	Velocity Helmet	Detect fast-moving entities. 2	Velocity Chestplate	Briefly accelerate attacks and movement. 3	Kinematic Leggings	Improve sprinting and acceleration. 4	Kinetic Boots	Improve jumping and landing control. 5	Momentum Gloves	Increase melee knockback. 6	Kinetic Battery	Store momentum for a powerful strike. 7	Inertia Breaker	Charge through enemies with a shockwave. 8	Mach Drive	Activate an extreme-speed burst. 9	Kinetic Sword	Deal bonus damage after sprinting. 10	Infinite Momentum Railgun	Fire a devastating high-velocity projectile. Animation style: Acceleration creates progressively longer motion trails and afterimages. Kinetic energy accumulates visibly around weapons and equipment. Impacts release expanding rings of force, dust, and debris, while the Railgun projectile leaves a compressed energy corridor. 9. Optics (refracted light rays, spectral splitting, mirage distortion, and focused beams) Theme: Light, reflection, refraction, invisibility, optical illusions, and the manipulation of visible energy. Rank	Item	Brief description 1	Prismatic Helmet	Grant Night Vision and reveal invisible entities. 2	Prismatic Chestplate	Reduce damage from eligible light-based attacks. 3	Prismatic Leggings	Improve movement while invisible. 4	Prismatic Boots	Reduce fall damage with a light burst. 5	Entity Prism	Highlight nearby entities. 6	Refraction Rapier	Deliver a piercing strike followed by a light burst. 7	Invisible Mantle	Grant temporary invisibility. 8	Solar Lens	Fire a concentrated beam of light. 9	Spectrum Engine	Split light attacks between multiple enemies. 10	Eye of Infinity	Release a powerful prismatic blast. Animation style: Light bends through visible optical fields, separating into colored beams before converging or striking targets. Mirage effects create translucent duplicates that distort and dissolve. Invisibility gradually refracts the player's outline instead of making it disappear instantaneously. 10. Time (temporal distortion rings, reversed afterimages, suspended particles, and accelerated motion) Theme: Time dilation, temporal echoes, acceleration, position restoration, and limited reversal of recent events. Rank	Item	Brief description 1	Chrono Helmet	Display nearby temporal disturbances. 2	Chrono Chestplate	Extend beneficial effects slightly. 3	Chrono Leggings	Improve movement after taking damage. 4	Chrono Boots	Briefly accelerate movement. 5	Chronometer	Display ability cooldowns and elapsed time. 6	Temporal Sword	Briefly slow enemies on hit. 7	Chrono Anchor	Return to a recent safe position. 8	Time Dilation Hourglass	Slow nearby enemies and projectiles. 9	Reversal Crown	Restore some recently lost health. 10	The Final Second	Slow enemies and accelerate allies in a temporal field. Animation style: Concentric rings expand around time-altered areas. Animations and projectiles visibly slow inside temporal fields. Reversal effects show afterimages moving backward, while the Chrono Anchor draws a temporal ribbon back toward a recorded position before the player reappears. Shared book and world mechanics Physics Books Each subject has one unique Physics Book. The book is bound to its discoverer, and only that player can activate or sacrifice it. Subject	Book's basic power Gravity & Spacetime	Slow Falling and upward boost Electricity & Plasma	Speed Magnetism	Resistance and forward boost Thermodynamics	Fire Resistance; extinguishes fire at level 3+ Quantum Mechanics	Quantum-themed active power, with details to be finalized Fluid Dynamics	Water Breathing and forward boost Matter	Resistance Kinematics	Speed; Jump Boost at level 3+ Optics	Night Vision Time	Regeneration; brief Slowness at level 4 Books can be activated by right-clicking, increasing their level up to 10. Sneak + right-click sacrifices the book permanently, unlocking the advanced crafting tier for that subject. Hidden treasure discovery - Ten chests generate at completely random coordinates throughout the Overworld, Nether, and End. - Every chest is buried at least 25 blocks beneath the local surface. - Each chest is enclosed in a small deepslate structure, constructed by world generation if necessary. - Every chest contains one unique Physics Book and five matching Physics Shards. - Discovering a chest broadcasts its coordinates to all players and generates a themed monument. - Additional shards can come from configured special mobs, dungeon chests, and challenges. Crafting progression - Ranks 1–5: Four individual armor pieces and one utility item, crafted with matching Physics Shards and standard materials. - Ranks 6–10: Five advanced artifacts or weapons, crafted using rarer materials and permanently sacrificing the matching Physics Book. - Full armor bonuses: Activate only when the complete four-piece set is equipped. - Custom animations: Every major ability receives its own visual treatment that communicates the associated physics concept, with multiplayer synchronization and configurable performance settings. The result is a ten-subject mod in which every discipline has a distinct theme, ten craftable items, a dedicated armor set, advanced equipment, and a recognizable scientific animation style.
``
Kodari AI
KodariOct 14 at 8:33 am 18
PhysicsUnbound
A Minecraft Fabric mod featuring ten physics-themed disciplines, each with unique animations, a bound Physics Book, and ten craftable items. Players discover buried treasure chests containing books and shards across all dimensions. Books bind to discoverers, level up to 10 via right-click, and can be sacrificed with sneak-right-click to unlock advanced crafting. Each subject includes a four-piece armor set with set bonuses, utility items, and advanced artifacts with distinctive visual effects like curved spacetime grids, branching lightning arcs, magnetic field lines, heat shimmer, probability clouds, fluid streamlines, molecular lattices, motion trails, refracted light, and temporal distortion rings.

Plan

  1. Look up the 26.3 APIs for items, armor, data components, effects, events, and creative tabs.

  2. Build the project skeleton: Gradle files, fabric.mod.json, mixins config, and the mod entrypoints.

  3. Build the shared framework: subject enum, Physics Books (bind, level up, sacrifice), shards, and armor-set bonus checks.

  4. Ship the Gravity & Spacetime subject end to end: 10 items, its book, its shards, and textures.

  5. Report what remains (the other nine subjects, chest world generation, custom animations) and ask whether to continue.

This is about 100 items, 10 books, roughly 200 asset files, world generation, and bespoke animations. I’ll deliver a complete vertical slice first so every piece is verified against the 26.3 source. Starting with the lookups for task 1.The two research lookups couldn’t reach the library mount, so I’ll read the recipe and equipment JSON directly from FABRIC_26_3.

The vanilla data/minecraft and assets/minecraft trees aren’t mounted, so I’ll rely on the 26.3 format I know for recipes and equipment, and verify every Java symbol. Checking the armor material template, the equipment root key, and the creative tab keys.

I have the armor, creative-tab, and equipment signatures. Before writing the Gravity slice I need the codec, entity-pull, and messaging APIs.Lookups are back. The Java side is covered. The worn-armor texture path still needs confirming, so I’ll check that while generating the seven item icons for Gravity ranks 1–5.

Four of the seven item icons are done. The book and shard icons failed because credits ran out, so I’ll use vanilla art for those two and say so in the final report. Next I’m verifying the last few signatures the Java needs.Signatures are confirmed, so I’ll write the Gravity slice: build files, the shared book data component, the armor material, the seven items, and their models, lang, and recipes.

I built the first slice of Physics Unbound, not the full mod. It covers the Gravity & Spacetime subject’s ranks 1–5 (four armor pieces and the Gravitation Ring), its Physics Book, and its shard. The other 9 subjects, ranks 6–10 of Gravity, chests, animations, and the sneak-to-sacrifice mechanic are not built yet.

What’s in the project

  • Build: Gradle files and fabric.mod.json for Fabric 26.3, Java 25.

  • Armor: a Gravity armor material with a shard-based repair tag. Helmet, chestplate, leggings, and boots are craftable.

  • Ring: the Gravitation Ring pulls dropped items within 8 blocks while held in the offhand.

  • Book: the first right-click binds the book to that player and raises its level up to 10, granting Slow Falling and Jump Boost. Other players get a “bound to another physicist” message.

  • Gravity set effects: boots give Slow Falling and leggings give Jump Boost while worn. The helmet cancels fall damage half the time. The full set cancels fall damage entirely. The chestplate’s knockback reduction comes from the material’s knockback resistance and is not separately verified.

  • Survival: every item has a recipe. The shard is crafted from an amethyst shard and an ender pearl.

Gaps you should know about

  • Credits ran out partway through texture generation. The Gravity armor’s worn textures are not made yet. The armor currently wears the vanilla iron look, and the book and shard use vanilla art.

  • Book recipe is a placeholder. The book is crafted from a book and five shards until chest discovery exists.

  • Not built: the other nine subjects, Gravity ranks 6–10, world generation for the buried chests, custom animations, and the sneak-to-sacrifice flow. The Gravity book’s power is also only the Slow Falling and Jump Boost described above.

  • Shard supply is thin: the recipe yields two shards, and the sets need about eight plus the ring and book.

Next steps

  1. Top up credits. I can then generate the book and shard icons and the Gravity worn-armor textures, and point the armor at them.

  2. Confirm whether to continue with Gravity ranks 6–10 and then the other nine subjects. Each subject is roughly the same size as this slice.

To try the jar: click Compile in the top bar, then Compile in the window, then Download on the finished build.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
Code
38 411
src/main/java/com/example/physicsunbound/PhysicsUnbound.java
package com.example.physicsunbound;

import net.fabricmc.api.ModInitializer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class PhysicsUnbound implements ModInitializer {
    public static final String MOD_ID = "physicsunbound";
    public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID);

    @Override
    public void onInitialize() {
        ModDataComponents.initialize();
        ModItems.initialize();
        GravityAbilities.initialize();
    }
}