1 parent
f57a79ac76
commit
638131ca70
1 file changed
+1
-1
@@ -116,7 +116,7 @@ NonVanillaCustomItemData data = NonVanillaCustomItemData.builder()
|
|||||||
.identifier("my_mod:my_item")
|
.identifier("my_mod:my_item")
|
||||||
.javaId(1)
|
.javaId(1)
|
||||||
```
|
```
|
||||||
2. There are many other options you can set to match the behavior that you require for your item. You can see them [here](https://github.com/GeyserMC/Geyser/blob/master/api/geyser/src/main/java/org/geysermc/geyser/api/item/custom/NonVanillaCustomItemData.java)
|
2. There are many other options you can set to match the behavior that you require for your item. You can see them [here](https://github.com/GeyserMC/Geyser/blob/master/api/src/main/java/org/geysermc/geyser/api/item/custom/NonVanillaCustomItemData.java)
|
||||||
3. Register your item in the GeyserDefineCustomItems event:
|
3. Register your item in the GeyserDefineCustomItems event:
|
||||||
```java
|
```java
|
||||||
@Subscribe
|
@Subscribe
|
||||||
|
|||||||
Reference in new issue
Block a user