#minecraft #mod #wasm

cc_wasm_api

Rust lib for CC wasm mod

13 unstable releases (3 breaking)

0.4.8 Jan 7, 2025
0.4.7 Oct 24, 2024
0.3.1 Oct 6, 2024
0.2.2 Oct 2, 2024
0.1.0 Oct 1, 2024

#577 in Game dev

Download history 85/week @ 2025-01-03 27/week @ 2025-01-10 3/week @ 2025-01-31 1/week @ 2025-02-07 42/week @ 2025-02-14 3/week @ 2025-02-21 16/week @ 2025-02-28

914 downloads per month

MIT/Apache

105KB
2.5K SLoC

Description

this crate is for cc wasm mod

Usage

  • add this crate as a dependence.
  • set [lib]-crate-type to "cdylib"
  • build with --target wasm32-wasi
  • copy target/wasm32-wasi/ release|debug / [crate name].wasm to .minecraft/wasm/
  • load it in game

Example

please see the example here

No runtime deps