Jump to content

Vulcandium

Members
  • Posts

    12
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Vulcandium's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Im having trouble with blockbench and creating animated textures and Im wondering if this is an alternative solution and how I could do this.
  2. https://gist.github.com/Vulcandium/16080983071c06515cf8512accbe4764 The problem is with the attribute supplier. It says that this.supplier is null???
  3. [Server thread/WARN] [minecraft/EntityType]: Exception loading entity: java.lang.NullPointerException: Cannot invoke "net.minecraft.world.entity.ai.attributes.AttributeSupplier.getValue(net.minecraft.world.entity.ai.attributes.Attribute)" because "this.supplier" is null at net.minecraft.world.entity.ai.attributes.AttributeMap.getValue(AttributeMap.java:76) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading} at net.minecraft.world.entity.LivingEntity.getAttributeValue(LivingEntity.java:1835) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading} at net.minecraft.world.entity.LivingEntity.getMaxHealth(LivingEntity.java:1656) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading} at net.minecraft.world.entity.LivingEntity.<init>(LivingEntity.java:235) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading} at net.minecraft.world.entity.Mob.<init>(Mob.java:123) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.world.entity.PathfinderMob.<init>(PathfinderMob.java:14) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading} at net.minecraft.world.entity.AgeableMob.<init>(AgeableMob.java:29) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading} at net.minecraft.world.entity.animal.Animal.<init>(Animal.java:40) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading} at net.vulcandium.oceanicexpansion.entity.custom.TiamatEntity.<init>(TiamatEntity.java:24) ~[%23196!/:?] {re:classloading} at net.minecraft.world.entity.EntityType.create(EntityType.java:525) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,xf:fml:forge:forge_method_redirector} at net.minecraft.world.entity.EntityType.lambda$create$4(EntityType.java:530) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,xf:fml:forge:forge_method_redirector} at java.util.Optional.map(Optional.java:260) ~[?:?] {} at net.minecraft.world.entity.EntityType.create(EntityType.java:529) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,xf:fml:forge:forge_method_redirector} at net.minecraft.world.entity.EntityType.loadStaticEntity(EntityType.java:607) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,xf:fml:forge:forge_method_redirector} at net.minecraft.world.entity.EntityType.loadEntityRecursive(EntityType.java:563) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,xf:fml:forge:forge_method_redirector} at net.minecraft.server.commands.SummonCommand.createEntity(SummonCommand.java:67) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,xf:fml:forge:forge_method_redirector} at net.minecraft.server.commands.SummonCommand.spawnEntity(SummonCommand.java:86) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,xf:fml:forge:forge_method_redirector} at net.minecraft.server.commands.SummonCommand.lambda$register$1(SummonCommand.java:44) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,xf:fml:forge:forge_method_redirector} at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:264) ~[brigadier-1.1.8.jar%23135!/:?] {} at net.minecraft.commands.Commands.performCommand(Commands.java:257) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading} at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:1246) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$11(ServerGamePacketListenerImpl.java:1223) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:67) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,pl:accesstransformer:B} at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?] {} at net.minecraft.server.TickTask.run(TickTask.java:18) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading} at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:156) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading} at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:770) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:161) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:130) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:753) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:747) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:139) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:733) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:665) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:251) ~[forge-1.20.1-47.2.19_mapped_parchment_2023.09.03-1.20.1.jar%23191!/:?] {re:classloading,pl:accesstransformer:B} at java.lang.Thread.run(Thread.java:840) ~[?:?] {} [22:09:44] [Render thread/INFO] [minecraft/ChatComponent]: [System] [CHAT] Unable to summon entity
  4. I don't think its an error with geckolib, i think its something to do with my code
  5. public class Tiamat extends WaterAnimal implements GeoEntity { private AnimatableInstanceCache cache = new SingletonAnimatableInstanceCache(this); public Tiamat(EntityType<? extends Tiamat> pEntityType, Level pLevel) { super(pEntityType, pLevel); this.moveControl = new SmoothSwimmingMoveControl(this, 85, 10, 0.03F, 0.1F, true); this.lookControl = new SmoothSwimmingLookControl(this, 10); } public static AttributeSupplier setAttributes() { return WaterAnimal.createMobAttributes() .add(Attributes.MAX_HEALTH,1) .add(Attributes.ATTACK_DAMAGE,3.0f) .add(Attributes.ATTACK_SPEED,1.0f) .add(Attributes.MOVEMENT_SPEED,5.0f) .add(Attributes.KNOCKBACK_RESISTANCE,2) .add(Attributes.ARMOR_TOUGHNESS,0.4).build(); } @Override protected void registerGoals() { this.goalSelector.addGoal(0, new TryFindWaterGoal(this)); this.goalSelector.addGoal(0, new RandomSwimmingGoal(this, 1.0, 10)); this.goalSelector.addGoal(2,new MeleeAttackGoal(this,1.20,false)); this.goalSelector.addGoal(4,new RandomLookAroundGoal(this)); this.targetSelector.addGoal(1,new NearestAttackableTargetGoal<>( this, Turtle.class,true)); this.targetSelector.addGoal(2,new NearestAttackableTargetGoal<>( this, Dolphin.class,true)); this.targetSelector.addGoal(3,new NearestAttackableTargetGoal<>( this, Player.class,true)); this.targetSelector.addGoal(4,new NearestAttackableTargetGoal<>( this, Tiamat.class,true)); this.targetSelector.addGoal(5,new NearestAttackableTargetGoal<>( this, TropicalFish.class,true)); this.targetSelector.addGoal(6,new NearestAttackableTargetGoal<>( this, Guardian.class,true)); super.registerGoals(); } public Tiamat getBreedOffspring(ServerLevel level, AgeableMob ageableMob) { return ModEntities.TIAMAT.get().create(level); } @Override public void registerControllers(AnimatableManager.ControllerRegistrar controllerRegistrar) { controllerRegistrar.add(new AnimationController<>(this,"controller",0,this::predicate)); } private <T extends GeoAnimatable> PlayState predicate(AnimationState<T> tAnimationState) { if (tAnimationState.isMoving()) { tAnimationState.getController().setAnimation(RawAnimation.begin().then("swimming.anim", Animation.LoopType.LOOP)); return PlayState.CONTINUE; } tAnimationState.getController().setAnimation(RawAnimation.begin().then("tongue.anim1", Animation.LoopType.PLAY_ONCE)); return PlayState.CONTINUE; } @Override public AnimatableInstanceCache getAnimatableInstanceCache() { return cache; } protected PathNavigation createNavigation(Level pLevel) { return new WaterBoundPathNavigation(this, pLevel); } }
  6. I tried that and it still didn't work- Edit: Resolved this issue Also, what does this error mean? [16:37:08] [Render thread/DEBUG] [os.ut.FileUtil/]: No oshi.architecture.properties file found from ClassLoader cpw.mods.modlauncher.TransformingClassLoader@19e0dffe
  7. Caused by: net.minecraft.ResourceLocationException: Non [a-z0-9/._-] character in path of location: aquaticexpansion:Geo/en_us.json - I tried renaming the geo file but it didn't work
  8. Caused by: net.minecraft.ResourceLocationException: Non [a-z0-9/._-] character in path of location: aquaticexpansion:Geo/tiamat.geo.json
  9. Caused by: net.minecraft.ResourceLocationException: Non [a-z0-9_.-] character in namespace of location: AquaticExpansion:sounds.json -I'm aware that AquaticExpansion is capitalized, but in my mod id it isn't. -I never made a sounds.json folder btw.
  10. Caused by: net.minecraft.ResourceLocationException: Non [a-z0-9_.-] character in namespace of location: AquaticExpansion:sounds.json -Yes, I'm aware that AquaticExpansion is in caps, but in the mod-id it isn't in caps, I don't know why its like this -I also tried deleting the build file, but it didn't work because the build file kept reappearing in my project structure -I never made a sounds.json file in my code
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.