Created
June 26, 2020 13:46
-
-
Save ByteLaw5/28f8c1367c147f025bb57e385b5e40b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static AttributeModifierMap getAttributes() { | |
return MobEntity.func_233666_p_() | |
.func_233815_a_(Attributes.field_233818_a_, 30.0D) //Health | |
.func_233815_a_(Attributes.field_233819_b_, 50.0D) //Follow Range | |
.func_233815_a_(Attributes.field_233823_f_, 5.0D) //Attack Damage | |
.func_233815_a_(Attributes.field_233821_d_, 0.635D) //Movement Speed | |
.func_233815_a_(Attributes.field_233826_i_, 7.0D) //Armor | |
.func_233815_a_(Attributes.field_233827_j_, 1.0D) //Armor Toughness | |
.func_233815_a_(Attributes.field_233825_h_, 1.0D) | |
.func_233813_a_(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.ExceptionInInitializerError: null | |
at com.bytelaw.bytesstructures.BytesStructures.<init>(BytesStructures.java:60) ~[?:?] Pointing to when I register the deferred register | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_202] | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_202] | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_202] | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_202] | |
at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_202] | |
at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:131) ~[?:32.0] | |
at java.util.function.Consumer.lambda$andThen$0(Consumer.java:65) ~[?:1.8.0_202] | |
at java.util.function.Consumer.lambda$andThen$0(Consumer.java:65) ~[?:1.8.0_202] | |
at net.minecraftforge.fml.ModContainer.transitionState(ModContainer.java:112) ~[?:?] | |
at net.minecraftforge.fml.ModList.lambda$null$10(ModList.java:135) ~[?:?] | |
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) [?:1.8.0_202] | |
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) [?:1.8.0_202] | |
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) [?:1.8.0_202] | |
at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291) [?:1.8.0_202] | |
at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731) [?:1.8.0_202] | |
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_202] | |
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_202] | |
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_202] | |
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_202] | |
Caused by: java.lang.NullPointerException: Registry Object not present: forge:swim_speed | |
at java.util.Objects.requireNonNull(Objects.java:290) ~[?:1.8.0_202] | |
at net.minecraftforge.fml.RegistryObject.get(RegistryObject.java:120) ~[?:?] | |
at net.minecraft.entity.LivingEntity.func_233639_cI_(LivingEntity.java:254) ~[?:?] | |
at net.minecraft.entity.MobEntity.func_233666_p_(MobEntity.java:128) ~[?:?] | |
at com.bytelaw.bytesstructures.entity.GuardEntity.getAttributes(GuardEntity.java:47) ~[?:?] Getting attribute map | |
at com.bytelaw.bytesstructures.entity.BytesEntities.<clinit>(BytesEntities.java:29) ~[?:?] Initializing entity type | |
... 20 more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment