O'Reilly logo

Minecraft™ Mod Development in 24 Hours, Sams Teach Yourself by Jimmy Koene

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Rendering the Mob

One very important aspect of a mob is that it is visible. To do this, you create the Model and the Render files. You also add a line of code to the ClientProxy.

Finishing the Model Class

In Hour 18, you created a model in Techne from which the code was also exported. Now it’s time to add this model to your workspace. To do this, right-click your package in Eclipse and select New, Class. The name for the class is ModelSamMob. It’s a good idea to have a very similar name for all of the classes related to the same mob. The mob that you create in this hour has EntitySamMob, ModelSamMob, and RenderSamMob as its classes, which you create throughout this hour. This way, it’s easy to see which classes belong to which mob, in the case ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required