tkrmagid 459b3249a4
Some checks failed
build / build (push) Has been cancelled
fix(render): anchor video to clicked block's bottom-left, EAST/WEST flush
Three fixes for v0.4.1:

1. Video stick item rendered as missing-texture because 26.1.2 requires the
   new client_item descriptor at assets/<mod>/items/<name>.json. Add it; the
   existing models/item/video_stick.json is kept as the underlying model.

2. Quad placement now anchors the local (0,0) corner at the bottom-left of
   the wall face the player clicked, so the clicked block is the BL and the
   video grows up & right. Previously it was centered on the anchor.

3. EAST/WEST face rotations were swapped, which placed the quad on the far
   side of the air block (~1 block away from the wall) instead of flush.
   Derived the correct rotations from first principles:
     EAST = Axis.YP +90°  (local +Z → world +X, +X → -Z = north)
     WEST = Axis.YP -90°  (local +Z → world -X, +X → +Z = south)
   NORTH/SOUTH/UP/DOWN math re-verified — those were already correct.
2026-05-15 20:21:19 +09:00

video_player (영상재생모드)

마인크래프트(Fabric, MC 1.21.6+) 안에서 임의의 mp4 URL을 블록 표면에 재생하는 모드.

  • 모드 ID: video_player
  • 한글명: 영상재생모드
  • 로더: Fabric (싱글플레이어 / 전용 서버 양쪽 지원)
  • 명세: 별도 SPEC 문서 참조

빌드

JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64 ./gradlew build

산출물: build/libs/video_player-<version>.jar

현재 진행도

이 저장소는 SPEC §10 마일스톤을 순차적으로 채우는 중입니다.

  • M1 — 스캐폴드 (현재): Fabric 모드 골격, 비디오 앵커 블록/엔티티 등록, 비디오 스틱 아이템, /videoStick 명령.
  • M2 — 정적 렌더
  • M3 — JavaCV mp4 재생
  • M4 — GUI / 네트워크
  • M5 — 좌클릭 삭제 + /videoPlace, /videoDelete
  • M6 — 오디오 + 거리감 + Mute(소리 on/off)
  • M7 — WaterMedia 백엔드 + 자동 선택
  • M8 — Stonecutter 멀티버전
Description
No description provided
Readme MIT 559 KiB
v0.4.31 Latest
2026-05-20 10:31:45 +09:00
Languages
Java 100%