Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Davidthemodder

Members
  • Content Count

    46
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Davidthemodder

  • Rank
    Tree Puncher

Recent Profile Visitors

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

  1. I GOT IT TO WORK!!! I registered the ModPacketHandler in my main class and it workend. (In the private void setup)
  2. This is about the registering of the ModPacketHandler
  3. I think the problem is that the default dist is client and it never gets registered on the server.
  4. Wait. Is this Right? @Mod.EventBusSubscriber(modid = UltimateSheepMod.MOD_ID, bus = Mod.EventBusSubscriber.Bus.FORGE)
  5. So I should make my mod a git project? Like the Folder or the folder where the mod folder is?
  6. It crashed. crash-2021-05-23_20.00.52-client.txt latest.log
  7. Can I just do it twice? EDIT: Like on Server and on the Client in the two classes?
  8. @Mod.EventBusSubscriber(modid = UltimateSheepMod.MOD_ID, bus = Mod.EventBusSubscriber.Bus.FORGE, value = Dist.CLIENT) public class ModClientEvent { @SubscribeEvent public static void lightning(AttackEntityEvent event){ if(event.getEntityLiving().getHeldItemMainhand().getItem() == ModItems.LIGHTNING_HAMMER.get()){ LightningBoltEntity lightning = new LightningBoltEntity(EntityType.LIGHTNING_BOLT,event.getEntity().world); lightning.setPosition(event.getTarget().getPosX(), event.getTarget().getPosY(), event.getTarget().getPosZ()); event.getPlayer
  9. Here the Crash report. crash-2021-05-23_19.08.29-client.txt
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.