Luis_ST Posted February 8, 2021 Share Posted February 8, 2021 i creat a new Arrow (called jade arrow) but when i creat the arrow there is no arrow (no hitbox or something else) my classes which i have: arrow class (entity): https://github.com/Luis-st/Forge-1.16.5-36.0.1-mdk/blob/main/forge-1.16.5-36.0.1-mdk/src/main/java/net/luis/cave/common/entities/JadeArrow.java arrow class (item): https://github.com/Luis-st/Forge-1.16.5-36.0.1-mdk/blob/main/forge-1.16.5-36.0.1-mdk/src/main/java/net/luis/cave/common/item/entity/JadeArrowItem.java arrow render class: https://github.com/Luis-st/Forge-1.16.5-36.0.1-mdk/blob/main/forge-1.16.5-36.0.1-mdk/src/main/java/net/luis/cave/client/render/entity/JadeArrowRender.java arrow registration: https://github.com/Luis-st/Forge-1.16.5-36.0.1-mdk/blob/main/forge-1.16.5-36.0.1-mdk/src/main/java/net/luis/cave/init/ModEntityType.java i think something is missing but i dont now what Quote Link to comment Share on other sites More sharing options...
poopoodice Posted February 8, 2021 Share Posted February 8, 2021 Override createSpawnPacket and return NetworkHooks.getEntitySpawningPacket to notify the client. Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted February 8, 2021 Author Share Posted February 8, 2021 16 minutes ago, poopoodice said: Override createSpawnPacket and return NetworkHooks.getEntitySpawningPacket to notify the client. thanks it work Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.