Skip to main content
added 234 characters in body
Source Link
Reimeus
  • 159.4k
  • 16
  • 221
  • 280

To override a method the signature needs to match that of the super classsuper class. Replace

public String getArmorTexture(ItemStack stack, Entity entity, int slot, int type) {

with

public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {

To override a method the signature needs to match that of the super class. Replace

public String getArmorTexture(ItemStack stack, Entity entity, int slot, int type) {

with

public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {

To override a method the signature needs to match that of the super class. Replace

public String getArmorTexture(ItemStack stack, Entity entity, int slot, int type) {

with

public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {
removing dead link
Source Link
Cœur
  • 38.2k
  • 26
  • 201
  • 274

To override a method the signature needs to match that of the super classsuper class. Replace

public String getArmorTexture(ItemStack stack, Entity entity, int slot, int type) {

with

public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {

To override a method the signature needs to match that of the super class. Replace

public String getArmorTexture(ItemStack stack, Entity entity, int slot, int type) {

with

public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {

To override a method the signature needs to match that of the super class. Replace

public String getArmorTexture(ItemStack stack, Entity entity, int slot, int type) {

with

public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {
Source Link
Reimeus
  • 159.4k
  • 16
  • 221
  • 280

To override a method the signature needs to match that of the super class. Replace

public String getArmorTexture(ItemStack stack, Entity entity, int slot, int type) {

with

public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {