Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • ForgeGradle Latest Topics
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)


  • Posts

    • DrakenXI
      [1.16.4] setBlockState with out send update event.

      By DrakenXI · Posted 7 minutes ago

      Thanks for your reply. You gave me another idea for a solution.   19 :  1 will cause a block update. 2 will send the change to clients. 16 will prevent neighbor reactions (e.g. fences connecting, observers pulsing). That what I found in Minecraft source for "setBlockState" Function. 🤨    
    • Somonestolemyusername
      [1.15.2] How Would I make a custom bow?

      By Somonestolemyusername · Posted 11 minutes ago

      all i has in it is  package com.vicken.mod3.entities.projectiles; import com.vicken.mod3.util.RegistryHandler; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.block.WallTorchBlock; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.item.ItemEntity; import net.minecraft.entity.projectile.ArrowEntity; import net.minecraft.item.ItemStack; import net.minecraft.item.Items; import net.minecraft.potion.EffectInstance; import net.minecraft.potion.Effects; import net.minecraft.util.Direction; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockRayTraceResult; import net.minecraft.util.math.RayTraceResult; import net.minecraft.world.World; public class Ak47ArrowEntity extends ArrowEntity { public Ak47ArrowEntity(World worldIn, LivingEntity shooter) { super(worldIn, shooter); RegistryHandler.BULLET.get(); } @Override protected void arrowHit(LivingEntity living) { super.arrowHit(living); living.setFire(15); } }
    • Somonestolemyusername
      [1.15.2] How Would I make a custom bow?

      By Somonestolemyusername · Posted 13 minutes ago

      ok can u help write the code? i started learning to mod a few weeks ago all i know is items armors block recipes and other stuff. also I already have a projectile class named Ak47ArrowEntity
    • Thorius
      [1.15.2] How Would I make a custom bow?

      By Thorius · Posted 1 hour ago

      You have to create a new bullet entity class but you can use the snowball as a template. In kinematics there's not much difference between a snowball and a bullet. If it looks and hurts like a bullet then it's a bullet. But you have to register it as a new entity.
    • Ipsissimus418
      [1.16.4] WorldTickEvent Concurrent Access Exception

      By Ipsissimus418 · Posted 2 hours ago

      That is something I hadn't considered in terms of threads.   I have the WorldTickEvent handler do nothing on the client but run on the server. I may have some paths for the addEntry running on both the client and server. Something I need to look into and check if that is where the conflict is coming from.   Thanks.
  • Topics

    • DrakenXI
      2
      [1.16.4] setBlockState with out send update event.

      By DrakenXI
      Started 19 hours ago

    • Somonestolemyusername
      16
      [1.15.2] How Would I make a custom bow?

      By Somonestolemyusername
      Started Tuesday at 09:30 PM

    • Ipsissimus418
      2
      [1.16.4] WorldTickEvent Concurrent Access Exception

      By Ipsissimus418
      Started 3 hours ago

    • kiou.23
      14
      [1.16] Custom Sign won't render

      By kiou.23
      Started 12 hours ago

    • PedreHenrry
      5
      my minecraft crashed by "rendering overlay"

      By PedreHenrry
      Started Yesterday at 01:06 PM

  • Who's Online (See full list)

    • XenoPyax
    • DrakenXI
    • Mrcactus1
    • AntiRix
    • Qrani
    • Somonestolemyusername
    • lliinnkk10
    • kiou.23
    • starstorms21
    • visualysacha
    • Gabbyboy1233539
    • Lellian
    • MrBelieve
    • ozumman
    • KatjaREDMedic
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community