https://github.com/eclipseisoffline/geyser-example-mappings
Example item mappings for the Geyser item API (v2), that can be used for testing, and, well, examples.
https://github.com/eclipseisoffline/geyser-example-mappings
Last synced: about 2 months ago
JSON representation
Example item mappings for the Geyser item API (v2), that can be used for testing, and, well, examples.
- Host: GitHub
- URL: https://github.com/eclipseisoffline/geyser-example-mappings
- Owner: eclipseisoffline
- License: mit
- Created: 2025-01-24T11:08:11.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-24T11:29:55.000Z (4 months ago)
- Last Synced: 2025-01-24T12:26:12.681Z (4 months ago)
- Language: mcfunction
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GeyserMC example mappings
Example item mappings for the Geyser item API (v2), that can be used for testing, and, well, examples.
This repository consists of a Java datapack, a Java resourcepack, Geyser item mappings and a Bedrock resourcepack. To use these, you must set up a Java 1.21.4 server with a Geyser build from [this PR](https://github.com/GeyserMC/Geyser/pull/5189). Install the Java datapack, Geyser mappings, and Bedrock resourcepack on your server and the Java resourcepack on your Java client. Then, run `/function geyser_mc:give_all` to receive all of the custom items.
## License
This project is licensed under the MIT license.
## Custom items
At the moment there are 5 custom items, described below. These custom items all use the vanilla Flint item under the hood, but have modified components to give them custom behaviour and a nice texture.
> **These textures are horrible!**
>
> Yes, I'm a programmer, not a texture artist. I simply took some textures from vanilla Minecraft, modified the colours a bit, and added some bits and bobs. This project is to illustrate how custom items work in Geyser, not to make a nice looking resourcepack.### Yummy food
Simple food item to demonstrate custom food and stack sizes.
### Not so yummy food
Another simple (but a bit more complicated) food item. Demonstrates consume seconds and dimension predicates (has a different texture in the End dimension).
### Magic item
Demonstrates one-click use items in datapacks with a custom use cooldown.
### Flint Pickaxe
Demonstrates custom tools and more predicate stuff, has a different texture when broken (only 1 durability point left).
### Red Wool Chestplate
Demonstrates custom armour. Uses an equipment model in the Java resourcepack and an attachable in the Bedrock resourcepack.