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

Chuck16

Members
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Chuck16

  • Rank
    Tree Puncher

Recent Profile Visitors

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

  1. Hello, I am trying to add real crafting support for the fletching table. I started out by making the GUI texture. I made it just like the smithing table except no hammer and no outline of an ingot on the second slot. I then went on to make a custom crafting type for the fletching recipes. I had lots of trouble doing this. I was wondering if their is any good reference code or tutorials on the internet for 1.16 for custom crafting types. All the references for this were outdated. Thank you for any help
  2. It works! Thank you so much. That example really helped me out. To avoid that error I down graded forge from 32.0.101 to 32.0.99.
  3. Ok thank you soo much. That was more helpful than you will ever know. I am left with one arrow on rendering: [15:42:06] [Render thread/ERROR] [minecraft/Util]: No data fixer registered for jade_arrow. I think I can figure this out but I just wanted to put that out there. This error is thrown when I shoot the arrow and crashes the game. When I load the game back up the mob I shot is dead.
  4. Okay I think I successfully registered the arrow. Now when I shoot the arrow it does not take from the stack and does not shoot an arrow. Only the bow animation plays. public static EntityType<EntityJadeArrow> jadeArrow; @SubscribeEvent public static void onEntityTypeRegistration(RegistryEvent.Register<EntityType<?>> entityTypeRegisterEvent) { jadeArrow = EntityType.Builder.<EntityJadeArrow>create(EntityJadeArrow::new, EntityClassification.MISC) .size(0.25F, 0.25F) .build("jade:jade_arrow"); jadeArrow.setRegistryName("jade:jade_arrow
  5. public static EntityType<?> jadearrow = EntityType.Builder.<EntityJadeArrow>create(EntityJadeArrow::new, EntityClassification.MISC) .size(0.25F, 0.25F) .build("jade:jade_arrow") .setRegistryName("jade:jade_arrow"); public static final RegistryObject<EntityType<?>> JADE_ARROW_ENTITY = ENTITY_TYPES.register("jade_arrow", jadearrow); Okay, I switched the field and still get the "Inferred type 'I' for type parameter 'I' is not within its bound; should extend 'net.minecraft.entity.EntityType<?>'"
  6. Ok a little update. I was able to make my entity type but not register it: public static EntityType<EntityJadeArrow> jadearrow = (EntityType<EntityJadeArrow>) EntityType.Builder.<EntityJadeArrow>create(EntityJadeArrow::new, EntityClassification.MISC) .size(0.25F, 0.25F) .build("jade:jade_arrow") .setRegistryName("jade_arrow"); When I call this as an entity type in JadeArrow, I kid you not it shoots pigs This is not a joke. I get the same "Inferred type 'I' for type parameter 'I' is not within its bound; should extend 'net.
  7. Thank you for all the help. When I use ENTITY_TYPES#register my IDE says "Inferred type 'I' for type parameter 'I' is not within its bound; should extend 'net.minecraft.entity.EntityType<?>'" And how do I bind my Renderer to my entity?
  8. I can't figure out how to register my Arrow Entity under my ENTITY_TYPE registry because my EntityJadeArrow class does not extend EntityType. What is the way to register my EntityArrow under the ENTITY_TYPE registry?
  9. [17:30:58] [Render thread/FATAL] [minecraft/Minecraft]: Unreported exception thrown! java.lang.NullPointerException: null at net.minecraft.client.renderer.entity.EntityRendererManager.shouldRender(EntityRendererManager.java:238) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.WorldRenderer.updateCameraAndRender(WorldRenderer.java:983) ~[forge-1.16.1-32.0.108_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraf
  10. Sounds cool Might check this out, do you have a discord?
  11. First off, I had trouble finding a nice example for custom arrows. I had to look at vanilla classes and may have butchered some stuff. I am pretty new to Forge in general too (You can probably get this from my question). I am making a mod that implements Jade and some other cool stuff I was thinking of. It is a crystal that naturally generates in caves and I made blocks for it slabs, some cool recipes to go with it, etc. Now I wanted to make a Jade Arrow. The Jade Arrow is just a "sharper" arrow. I set the arrowHit() to deal excess damage to the LivingEntity that was hit. For some reason when
×
×
  • Create New...

Important Information

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