Jump to content

Recommended Posts

Posted

Hello,

I'm using forge build 200 and have a problem updating my mod.

My custom Bow shoots two arrows. When I shoot maybe to a tree, one arrow is in the tree and the other

falls above in the near.

 

mod_xxx.java

        EntityRegistry.registerModEntity(EntityPoisonArrow.class, "Giftpfeil", 1, this, 250, 5, false);

 

When I remove EntityRegistry.blabla everything works fine, and the bow shoots only one arrow.

 

Hope someone could help me.

If you do not understand me, i can make a video ;)

Posted

I'll test it with Build 217+ soon.

How can I spawn the arow server-side, and delete the client-side method?

 

I've the following files.

ItemPoisonBow.java

EntityPoisonArrow.java

RednerPoisonArrow.java

 

When you need the full code, just write it.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.