#Guys, what does it mean?

5 messages · Page 1 of 1 (latest)

vernal shore
#

Class 'ModItemTier' must implement abstract method 'getEnchantability()' in 'IItemTier'

worn prismBOT
#

This post has been reserved for your question.

Hey @vernal shore! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

lunar sundial
keen steppe
#

You're likely trying to implement an interface (IItemTier) with something like "public class ModItemTier implements IItemTier". An interface can declare method signatures without providing the actual implementation. When a class implements an interface (in your case, ModItemTier), it must provide implementations for all the methods declared in that interface. The error message you're seeing is telling you that 'ModItemTier' is supposed to implement the 'getEnchantability()' method because it claims to implement the 'IItemTier' interface, but it hasn't done so yet.