Jump to content

JDtheman19

Members
  • Posts

    15
  • Joined

  • Last visited

Everything posted by JDtheman19

  1. java.util.concurrent.ExecutionException: java.lang.ClassCastException: JDtheman19.jdsweirdbutusefulmod.item.ItemBase cannot be cast to net.minecraft.item.ItemArrow at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_171] at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_171] at net.minecraft.util.Util.runTask(Util.java:54) [Util.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:798) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171] Caused by: java.lang.ClassCastException: JDtheman19.jdsweirdbutusefulmod.item.ItemBase cannot be cast to net.minecraft.item.ItemArrow at JDtheman19.jdsweirdbutusefulmod.item.tools.ToolWeapons.onPlayerStoppedUsing(ToolWeapons.java:119) ~[ToolWeapons.class:?] at net.minecraft.item.ItemStack.onPlayerStoppedUsing(ItemStack.java:628) ~[ItemStack.class:?] at net.minecraft.entity.EntityLivingBase.stopActiveHand(EntityLivingBase.java:3092) ~[EntityLivingBase.class:?] at net.minecraft.network.NetHandlerPlayServer.processPlayerDigging(NetHandlerPlayServer.java:692) ~[NetHandlerPlayServer.class:?] at net.minecraft.network.play.client.CPacketPlayerDigging.processPacket(CPacketPlayerDigging.java:56) ~[CPacketPlayerDigging.class:?] at net.minecraft.network.play.client.CPacketPlayerDigging.processPacket(CPacketPlayerDigging.java:12) ~[CPacketPlayerDigging.class:?] at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:21) ~[PacketThreadUtil$1.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_171] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_171] at net.minecraft.util.Util.runTask(Util.java:53) ~[Util.class:?] ... 5 more ill update my entitybullet and toolweapon in the pastepin https://pastebin.com/6nayD6aK
  2. I updated the paste bin how would I make it shoot the bullet entity I made its just a ball but how would I make it so the velocity never changes https://pastebin.com/6nayD6aK
  3. when I right click with the item it kinda uses the item like it goes down the back up like your placing a block. what I want to happen is when you hold down right click you have the bow kinda animation and whenever you release right-click it shoots but doesn't change the distance the bullet goes like the distance
  4. Like I said y idea was that you hold down right click it won't charge but it will move the item in your hand like a bow does but when you let go anytime an entity bullet that I made shoots out and goes far but not so quick to shoot the next shot
  5. I did and still nothing! im not joking here like seriously nothing and yes it suspends the game and i can press the play and it plays
  6. I set breakpoints and still nothing all I wanted was some help making the gun shoot ok? im new to this and I don't understand a lot of things and i looked it up and still nothing
  7. [15:59:25] [pool-2-thread-1/WARN] [mojang/YggdrasilMinecraftSessionService]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@69fa0cd4[id=fd09468e-08e7-31aa-bab7-195a6ef31320,name=Player434,properties={},legacy=false] com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:79) ~[YggdrasilAuthenticationService.class:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:180) [YggdrasilMinecraftSessionService.class:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:60) [YggdrasilMinecraftSessionService$1.class:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:57) [YggdrasilMinecraftSessionService$1.class:?] at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3716) [guava-21.0.jar:?] at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2424) [guava-21.0.jar:?] at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2298) [guava-21.0.jar:?] at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2211) [guava-21.0.jar:?] at com.google.common.cache.LocalCache.get(LocalCache.java:4154) [guava-21.0.jar:?] at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4158) [guava-21.0.jar:?] at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5147) [guava-21.0.jar:?] at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5153) [guava-21.0.jar:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:170) [YggdrasilMinecraftSessionService.class:?] at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:3179) [Minecraft.class:?] at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:138) [SkinManager$3.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_171] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_171] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_171] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_171] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171] thats is all that shows up but its not when i use the item
  8. no nothing, My idea was that you hold down right click it won't charge but it will move the item in your hand like a bow does but when you let go anytime an entity bullet that I made shoots out and goes far but not so quick to shoot the next shot. I've been looking everywhere for anything like it and I found nothing
  9. Alright I put EntityBullet into its own class but it still won't fire
  10. Been trying to make the gun shoot but im not sure what im doing wrong and im not sure if i did the sound right https://pastebin.com/6nayD6aK
×
×
  • Create New...

Important Information

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