How eltobit0/fib-website works
ForceItemBattle is a browser application for a Minecraft item-battle community, with a spin-wheel experience alongside game guides, item-pool editing, and player statistics. The main visitor flow is pathname navigation from the app shell to a selected page; the wheel provides the interactive spin experience, while activity and leaderboard features expose community state. The README describes the item-description/resource-pack context but does not document runtime wiring to the Minecraft plugin. Relationships below are limited to app-shell references, sampled source imports/calls, or explicit documentation; unsampled subsystem links are omitted where not evidenced.
Main entry points: App.jsx App routing · WheelSpinner.jsx Wheel experience · CanvasSpinningStrip.jsx Canvas reel · ForceItemPools.jsx Item-pool editor
Components 23
Application shell
- App routing
src/App.jsx - Site navigation
src/components/common/Navigation.jsx
Wheel experience
- Wheel experience
src/components/wheel/WheelSpinner.jsx - Canvas reel
src/components/wheel/canvas/CanvasSpinningStrip.jsx - Rarity helpers
src/utils/rarityHelpers.jsx - Item helpers
src/utils/helpers.js - Wheel configuration
src/components/wheel/config/constants.js
Community services
- Live activity
src/context/ActivityContext.jsx - Collection leaderboard
src/hooks/useCollectionLeaderboard.js - Authentication state
src/context/AuthContext.jsx - Sound controls
src/context/SoundContext.jsx - Audio bus
src/utils/audioBus.js
Guides and tools
- Wiki shell
src/wiki/shell/WikiRoot.jsx - Home guide
src/pages/HomePage.jsx - Gameplay guide
src/pages/Gameplay.jsx - Item-pool editor
src/pages/ItemPools/ForceItemPools.jsx - Item acquisition routes
src/wiki/data/routes.js - Route data
src/wiki/data/routes.data.js
Player statistics
- Statistics pages
src/pages/Stats/StatsShell.jsx
Other components
- Visitor
- Activity API
- Leaderboard API
- Statistics API
Connections 17
- Visitor → App routing: opens
src/App.jsx - App routing → Site navigation: renders
src/App.jsx - App routing → Wiki shell: wraps pages
src/App.jsx - App routing → Home guide: routes to
src/App.jsx - App routing → Gameplay guide: routes to
src/App.jsx - App routing → Item-pool editor: routes to
src/App.jsx - App routing → Wheel experience: routes to
src/App.jsx - App routing → Statistics pages: routes to
src/App.jsx - Wheel experience → Canvas reel: renders
src/components/wheel/WheelSpinner.jsx - Canvas reel → Item helpers: uses
src/components/wheel/canvas/CanvasSpinningStrip.jsx - Canvas reel → Rarity helpers: uses
src/components/wheel/canvas/CanvasSpinningStrip.jsx - Wheel experience → Wheel configuration: uses
src/components/wheel/WheelSpinner.jsx - Live activity → Activity API: fetches and streams
src/context/ActivityContext.jsx - Collection leaderboard → Leaderboard API: fetches
src/hooks/useCollectionLeaderboard.js - Sound controls → Audio bus: uses
src/context/SoundContext.jsx - Item-pool editor → Item acquisition routes: uses item data
src/pages/ItemPools/ForceItemPools.jsx - Item acquisition routes → Route data: imports
src/wiki/data/routes.js