Microsoft authentication for IntelliJ/Eclipse development client
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
Nevermind I found the solution to the lightning not appearing. I had to summon the lightningBolt after giving the location. Thanks for helping!
-
Issue with valhelsia_core check you have the latest version the contact the mod author.
-
The "minecraft comes alive" mod is attempting to load client classes on the server. Check you have the latest version then contact the mod author.
-
I've made a few changes and added a position for the bolt, but the lightning bolt is still not being rendered. The effects are taking place for example, the player takes damage and catches on fire, the sky blinks and sound effects still play but the lightning just doesn't appear. I've also added a cooldown time for fun (just to learn more methods). @Override public InteractionResultHolder<ItemStack> use(Level world, Player player, InteractionHand hand) { LightningBolt lightningBolt = EntityType.LIGHTNING_BOLT.create(world); if(!world.isClientSide) { world.addFreshEntity(lightningBolt); lightningBolt.moveTo(player.position()); player.getCooldowns().addCooldown(this, 100); } return super.use(world, player, hand); }
-
Got a " The game crashed whilst rendering overlay" error. I don't what know what to do
-
-
Topics
Recommended Posts
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.