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

I am looking for a tutorial for adding custom mobs to 1.7.2

I would prefer text and image tutorials rather than youtube

 

I have the model added and some classes done,

no i need tutorials for tying it together and animating it

 

I think i found what i needed, here

1.7.2 Tutorials: http://adf.ly/pjeti

I have a tutorial on custom entities that might help. It uses animal entities as main examples, but a lot of the information should help for hostile mobs as well.  http://jabelarminecraft.blogspot.com/p/creating-custom-entities.html

 

Also, specifically for animation I have: http://jabelarminecraft.blogspot.com/p/complex-entity-models-including.html

 

And for AI I have: http://jabelarminecraft.blogspot.com/p/complex-entity-models-including.html

 

Anyway, maybe useful to you.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

  • Author

as you will see by the edit time of my first post, i found your tutorial while you where typing the reply,

firstly let me say thankyou, its a good tutorial, but, the details about accessing the texture is a bit hard to understand (at least i couldnt figure it out)

 

 

the package for my main class is

package me.el.mcFarms;

 

the name of my main class is "McFarms"

 

it is registered as

@Mod(modid = "McFarms", name="McFarms", version="1.7.2-v1" )

 

in /Minecraft/src/main/resources/ i have a package "assets.textures.entity.bork"

in that package i have "bork.png"

 

in package "me.el.mcFarms.entities.bork" my render class is

public class RenderBork extends RenderLiving{

 

this dosnt work

texture = new ResourceLocation("textures/entity/bork/bork.png");

i get  [06:58:35] [Client thread/WARN]: Failed to load texture: minecraft:textures/entity/bork/bork.png

i tried

texture = new ResourceLocation("McFarms:textures/entity/bork/bork.png");

but get [07:02:24] [Client thread/WARN]: Failed to load texture: mcfarms:textures/entity/bork/bork.png

what should the path be ???

 

 

 

Firstly, the package should be assets.modid.textures.entity.bork, make sure everything is lowercase or it won't work.

Secondly use either ResourceLocation("modid:textures/entity/bork/bork.png") or ResourceLocation("modid", "textures/entity/bork/bork.png")

 

Thirdly, it is better practice to define your modid as a "static final String" in you mod's base class in case you want to use it again (you will!), if you do so, replace the (modid = "McFarms") to (modid = McFarms.modid (or whatever you named your variable)) in the @Mod annotation

 

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.