Posted September 1, 20223 yr Im making my first entity and in the EntityTypesInit the register throws this error: The method register(String, Supplier<? extends I>) in the type DeferredRegister<EntityType<?>> is not applicable for the arguments (String, () -> {}) The code is simple: here Im using Eclipse IDE What can i do?
September 1, 20223 yr You need to call EntityType.Builder#build to create the actual EntityType from the Builder.
September 1, 20223 yr Author 1 hour ago, Luis_ST said: You need to call EntityType.Builder#build to create the actual EntityType from the Builder. This is going to sound very bad, but how do I call it, im ashamed sorry for not knowing im new to all this.
September 1, 20223 yr If you do not know how to call a method on a object please learn basic java before modding. The EntityType.Builder#build requires a String as parameter, you need to pass in the entity name with out your mod i
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.