0
0
mirror of https://github.com/Pumpkin-MC/Pumpkin synced 2025-04-23 17:45:46 +00:00
Files
Pumpkin/pumpkin-macros/Cargo.toml
MrMelther daa67c2dfa Reworking block properties (#529)
* Added 11 blocks properties

Added the following properties:
Axis
Open
Age
Attachment
Signal Fire
6 connection directions

* Clippy my beloved 💕

* Reworked block properties

Changed block properties to make them more extensible and easier to handle.

* Little too much of Clippy

* Lever works!!! 🎉

Made the lever work, implementing modifiers to the “on_place” per block, plus the “on_interact” function to handle the state when interacting with a block that has it.

* Kinda implemented bool as value

* A little bit of Clippy :)
2025-02-09 18:45:18 +01:00

19 lines
281 B
TOML

[package]
name = "pumpkin-macros"
version.workspace = true
edition.workspace = true
[lib]
proc-macro = true
[dependencies]
pumpkin-data = { path = "../pumpkin-data" }
serde.workspace = true
serde_json.workspace = true
heck = "0.5"
proc-macro2 = "1.0"
quote = "1.0"
syn = "2.0"