Hey guys, i know people is busy and all but i would apreciate some help with this coding;
im trying to make my little monkey climb here, like the spider do, so i pretty much copied the climb codes part from the spider to my mob, but im having this error:
New Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1
> Task :compileJava
C:\Users\Guatavo\MCreatorWorkspaces\wizard_animals_plus\src\main\java\net\mcreator\wizardanimalsplus\entity\CapuchinBrownEntity.java:64: error: method createKey in class EntityDataManager cannot be applied to given types;
private static final DataParameter<Byte> CLIMBING = EntityDataManager.createKey(CapuchinBrownEntity.class, DataSerializers.BYTE); // <---- CLIMB CODE
required: Class<? extends Entity>,IDataSerializer<T>
reason: cannot infer type-variable(s) T
(argument mismatch; Class<CapuchinBrownEntity> cannot be converted to Class<? extends Entity>)
where T is a type-variable:
T extends Object declared in method <T>createKey(Class<? extends Entity>,IDataSerializer<T>)
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
BUILD FAILED in 5s
1 actionable task: 1 executed
Someone said 'your CapuchinBrownEntity must extend Entity.' but he refused me to help with it someone Plz???