Give random skins for an entity in Modder Support Posted September 2, 2017 getRabbitType is, as its name suggests, a Rabbit-only method. If your EntityBandit class isn't extending the EntityRabbit class, you can't use that method. The process is quite simple for what you want, though: 1. Your RenderBandit class should have an array with all the possible textures. 2. In your EntityBandit's constructor, you choose a random number between 0 and N, where N is the highest index in your array from step 1. 3. You add a method in EntityBandit called, for instance, getTextureType, which simply returns that integer from step 2. 4. Now your RenderBandit class can call getTextureType to get the entity's texture index and apply it to the array of textures to get the actual texture used for rendering.