Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Okay, so  am in the works of recreating a very old mod that I worked on back in Beta (long time I know)

 

I haven't made any work on coding mods since 1.2.5 and back then I used Modloader which is DRASTICALLY different, I am having some trouble figuring out this whole forge thing.

 

So I have the item I want to use to spawn the creature and everything works from here, I am having trouble getting any entity to spawn from it tho. Right now for testing purposes I am trying to spawn in a cow and it is not working. I looked online for some help to learn all f the "in and outs" of forge, everything that I am finding though is super old and doesn't work for what I am building on (1.10.2 and 1.1.2 I am making multiple mods)

 

here is the coding I am using in 1.10.2 to try and spawn in the cow...

 

 

 

public ItemStack onItemRightClick(ItemStack itemStack, World world, EntityPlayer player)

{

world.spawnEntityInWorld(new EntityCow(world));

return itemStack;

}

 

 

 

 

found that code on one of the other topics here asking the same thing I believe it was around 1.3-1.5.

 

 

Also side note: if anybody knows any good custom model makers that are free for me to make and texture my models with that would be really cool if you could tell me about 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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.