Jump to content

Recommended Posts

Posted

Hello, it's me again. I've already posted about rendering 3D items, but now I would like some help on rendering a certian type of entity. I have a model made in Techne for weapon shot, you shout the gun and the entity comes out, however there are no tutorials anywhere and how to bind the model to the entity. I would really like some help on this, so thanks in advance guys.

 

P.S. Any good tutorials for 1.5 on the following would be a GREAT help:

- Multiblocks

- Custom Dimensions

- Dimension Portals

- Custom biomes

- Custom Music

I am the current head modder for the Metroid Prime Suits mod. I have no other staff members, so I'm hiring! I also co-own the SkyTekkit server.

width=600 height=126http://i1276.photobucket.com/albums/y480/Sypher40/MPSbanner_zps9d50d86a.png[/img]

Posted

Not sure about a tutorial for projectile, my suggestion is to look at the arrow and bow code in net.minecraft.item.ItemBow and see how it attaches right click to the arrow.

---

Re reading this I think you are talking about attaching the gun model to your hand? If so. I use TileEntitySpecialRender and an obj file, but check the code for modularpowersuit the arm thing (I think that's open source but I could be wrong...)

 

As for the other Tutorials:

Multiblock - I am intrested myself but have not come across one yet, check out any open source mods with multiblocks,

For custom dimensions, don't worry about not having it for 1.5 almost nothing changes so wuppy's tutorials are still useful. If you have any problems ask me as I have set one of these up following these, of the top of my head I think the main problem was with setBlockwithNotify needs to change to just setBlock.

 

Dimension Portals (see wuppy's) and remember if you want it like a normal nether portal create your own fire

 

Custom Biomes (see wuppy's again his old ones are really good) again not many errors..

 

Custom music/sounds look at the music disk code and add your own .ogg sound file in your rescources

 

Hope that helped?

Pow3rCut

If I helped you click the Thank You button

Posted

For multiblocks do an onRandomUpdate to check if all the blocks are around it, and if yes change all the blocks textures and change their tilentities

"you seem to be THE best modder I've seen imo."

~spynathan

 

ლ(́◉◞౪◟◉‵ლ

Posted

http://wuppy29.blogspot.nl/2012/10/forge-modding-142.html  Dimensions and portals etc. as mentioned above not many errors.

 

http://wuppy29.blogspot.nl/2013/03/forge-modding-151.html - Covers updating to 1.5.1 and includes instructions for dimensions.

 

Those two should get ya covered.

 

Acctually most tutorials fro 1.3+ works with 1.5.1 there are only minor changes to names and stuff. If you read up on the changes to MC itself you should find that it's quite easy to update from 1.4.x to 1.5 etc.

  Quote

If you guys dont get it.. then well ya.. try harder...

Posted

i thought tenche was just the paint version for creating render code? like this part for the arrow?

   GL11.glRotatef(45.0F, 1.0F, 0.0F, 0.0F);
    GL11.glScalef(f10, f10, f10);
    GL11.glTranslatef(-4.0F, 0.0F, 0.0F);
    GL11.glNormal3f(f10, 0.0F, 0.0F);
    tessellator.startDrawingQuads();
    tessellator.addVertexWithUV(-7.0D, -2.0D, -2.0D, (double)f6, (double)f8);
    tessellator.addVertexWithUV(-7.0D, -2.0D, 2.0D, (double)f7, (double)f8);
    tessellator.addVertexWithUV(-7.0D, 2.0D, 2.0D, (double)f7, (double)f9);
    tessellator.addVertexWithUV(-7.0D, 2.0D, -2.0D, (double)f6, (double)f9);
    tessellator.draw();
    GL11.glNormal3f(-f10, 0.0F, 0.0F);
    tessellator.startDrawingQuads();
    tessellator.addVertexWithUV(-7.0D, 2.0D, -2.0D, (double)f6, (double)f8);
    tessellator.addVertexWithUV(-7.0D, 2.0D, 2.0D, (double)f7, (double)f8);
    tessellator.addVertexWithUV(-7.0D, -2.0D, 2.0D, (double)f7, (double)f9);
    tessellator.addVertexWithUV(-7.0D, -2.0D, -2.0D, (double)f6, (double)f9);
    tessellator.draw();

    for (int i = 0; i < 4; ++i)
    {
        GL11.glRotatef(90.0F, 1.0F, 0.0F, 0.0F);
        GL11.glNormal3f(0.0F, 0.0F, f10);
        tessellator.startDrawingQuads();
        tessellator.addVertexWithUV(-8.0D, -2.0D, 0.0D, (double)f2, (double)f4);
        tessellator.addVertexWithUV(8.0D, -2.0D, 0.0D, (double)f3, (double)f4);
        tessellator.addVertexWithUV(8.0D, 2.0D, 0.0D, (double)f3, (double)f5);
        tessellator.addVertexWithUV(-8.0D, 2.0D, 0.0D, (double)f2, (double)f5);
        tessellator.draw();
    }

 

with the tesselations and such

Use examples, i have aspergers.

Examples make sense to me.

Posted

Thanks for the tutorials Mazetar.

 

Pow3rCut, I have a class fully ready for rendering my entity I just need the code used to register the class used to to render the entity.

This is what I'm using now:

RenderingRegistry.registerEntityRenderingHandler(PowerBeam.class, new RenderPBeam());

Though eclipse tells me that registerEntityRenderingHandler is not applicable for the arguments.

Thanks for the tutorial suggestions.

 

 

I am the current head modder for the Metroid Prime Suits mod. I have no other staff members, so I'm hiring! I also co-own the SkyTekkit server.

width=600 height=126http://i1276.photobucket.com/albums/y480/Sypher40/MPSbanner_zps9d50d86a.png[/img]

Posted

After messing around even more, I still cannot get the Entity register working correctly. Would it be similar to registering a new mob, since that is too an entity? I'm going to find some source code for other mods and see what I come up with.

I am the current head modder for the Metroid Prime Suits mod. I have no other staff members, so I'm hiring! I also co-own the SkyTekkit server.

width=600 height=126http://i1276.photobucket.com/albums/y480/Sypher40/MPSbanner_zps9d50d86a.png[/img]

Posted

After messing around even more, I still cannot get the Entity register working correctly. Would it be similar to registering a new mob, since that is too an entity? I'm going to find some source code for other mods and see what I come up with.

I am the current head modder for the Metroid Prime Suits mod. I have no other staff members, so I'm hiring! I also co-own the SkyTekkit server.

width=600 height=126http://i1276.photobucket.com/albums/y480/Sypher40/MPSbanner_zps9d50d86a.png[/img]

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Looking to grab the Temu coupon code $100 off this month? You're in the right place for the biggest savings on your favorite products. Use the exclusive "acw696499" Temu coupon code for maximum benefits across the USA, Canada, and European nations. Whether you're a new customer or a long-time user, this code unlocks massive discounts and perks. With the Temu coupon $100 off and Temu 100 off coupon code, you’re not just saving money—you’re upgrading your shopping experience. What Is The Coupon Code For Temu $100 Off? Both new and existing customers can enjoy unbeatable savings with our exclusive coupon code. Use this Temu coupon $100 off and get a $100 off Temu coupon for your next order. acw696499 – Flat $100 off your order at checkout. acw696499 – $100 coupon pack you can use on multiple products. acw696499 – $100 flat discount exclusively for new customers. acw696499 – Extra $100 promo code for loyal, existing customers. acw696499 – $100 coupon available for shoppers in the USA and Canada. Temu Coupon Code $100 Off For New Users In 2025 If you're new to Temu, you're in for a treat. Use our code for the Temu coupon $100 off and enjoy unmatched discounts. acw696499 – Flat $100 discount for first-time buyers. acw696499 – Unlock a $100 coupon bundle specially for new customers. acw696499 – Redeem up to $100 coupon value across multiple purchases. acw696499 – Get free shipping to over 68 countries. acw696499 – Enjoy an extra 30% off any purchase as a new user. How To Redeem The Temu Coupon $100 Off For New Customers? To use the Temu $100 coupon and claim your Temu $100 off coupon code for new users, follow these steps: Download the Temu app or visit the official website. Register for a new account using your email or phone number. Add your favorite products to the cart. Enter the coupon code acw696499 at checkout. Enjoy instant savings and free shipping benefits. Temu Coupon $100 Off For Existing Customers Returning customers can still enjoy exceptional deals by applying our exclusive code. Use the Temu $100 coupon codes for existing users and unlock Temu coupon $100 off for existing customers free shipping perks. acw696499 – Receive an additional $100 discount as a returning user. acw696499 – Use the $100 coupon bundle for multiple purchases. acw696499 – Get a free gift with express shipping across the USA and Canada. acw696499 – Enjoy an extra 30% off on top of your current discounts. acw696499 – Free shipping available to 68 countries worldwide. How To Use The Temu Coupon Code $100 Off For Existing Customers? To activate the Temu coupon code $100 off and enjoy your savings as a returning buyer, follow these simple steps: Log into your existing Temu account. Add your chosen items to the shopping cart. Head to the checkout page. Apply the code acw696499 in the promo code box. Watch your total drop instantly with the Temu coupon $100 off code. Latest Temu Coupon $100 Off First Order Enjoy your first shopping experience on Temu with massive savings! Apply the Temu coupon code $100 off first order, Temu coupon code first order, or Temu coupon code $100 off first time user to save more. acw696499 – Flat $100 discount for your first order. acw696499 – Special $100 Temu coupon code for first orders. acw696499 – Enjoy up to $100 coupon bundle across different purchases. acw696499 – Free shipping to more than 68 countries. acw696499 – Extra 30% off on your initial order. How To Find The Temu Coupon Code $100 Off? Searching for the best Temu coupon $100 off deals? Check out Temu coupon $100 off Reddit threads for user-shared experiences and updated codes. You can also sign up for Temu’s newsletter for personalized offers. Visit their official social media pages or rely on trusted coupon-sharing websites to grab the most recent working promo codes. Is Temu $100 Off Coupon Legit? Yes, the Temu $100 Off Coupon Legit claim is absolutely true. We guarantee our Temu 100 off coupon legit code "acw696499" is tested and verified for accuracy. Anyone can safely use this code to receive $100 off their first or repeat orders. It’s valid internationally and doesn’t expire, so use it anytime for instant savings. How Does Temu $100 Off Coupon Work? The Temu coupon code $100 off first-time user and Temu coupon codes 100 off give users a direct discount during checkout. When you enter the coupon code during payment, the system automatically deducts $100 from your total bill. Whether you're a first-time buyer or a loyal customer, our code ensures unbeatable savings. How To Earn Temu $100 Coupons As A New Customer? To earn the Temu coupon code $100 off and get access to the 100 off Temu coupon code, sign up as a new customer on the Temu platform. Once registered, apply the promo code "acw696499" during checkout. You’ll instantly receive a $100 coupon bundle, free shipping, and extra discounts exclusive to new users. What Are The Advantages Of Using The Temu Coupon $100 Off? Using the Temu coupon code 100 off and Temu coupon code $100 off unlocks the following perks: $100 discount on your first order. $100 coupon bundle for multiple uses. 70% discount on popular items. Extra 30% off for returning customers. Up to 90% off on selected products. Free gift for new users. Free shipping to over 68 countries. Temu $100 Discount Code And Free Gift For New And Existing Customers Want more than discounts? The Temu $100 off coupon code and $100 off Temu coupon code offer added bonuses for everyone. acw696499 – $100 discount for your first order. acw696499 – Extra 30% off on any product. acw696499 – Free gift for first-time buyers. acw696499 – Up to 70% discount sitewide. acw696499 – Free shipping and gift in 68 countries including USA & UK. Pros And Cons Of Using The Temu Coupon Code $100 Off This Month Using the Temu coupon $100 off code and Temu 100 off coupon offers major pros and a couple of cons: Pros: Huge $100 discount on first and repeat orders. Free shipping globally. Free gift for new users. Up to 90% off on exclusive deals. Extra 30% discount for all users. Cons: Cannot be combined with certain flash sale items. Limited-time availability for some regional users. Terms And Conditions Of Using The Temu Coupon $100 Off In 2025 Before using the Temu coupon code $100 off free shipping and latest Temu coupon code $100 off, keep these in mind: Valid for both new and returning users. Code "acw696499" works across 68 countries worldwide. No minimum purchase required. No expiration date—use it anytime. Free shipping and gifts depend on regional availability. Final Note: Use The Latest Temu Coupon Code $100 Off Save big on every order with our Temu coupon code $100 off—it’s the smartest way to shop. Apply your Temu coupon $100 off today and make your online shopping budget-friendly and exciting.
    • Update your drivers: https://www.amd.com/en/support/downloads/previous-drivers.html/processors/ryzen/ryzen-3000-series/amd-ryzen-7-3700u.html
    • mclo only shows 25000 lines - add the rest with another link
    • Make a test without Create Big Cannons More Shells
    • Add this mod and test it again https://www.curseforge.com/minecraft/mc-mods/night-config-fixes/files/4614068
  • Topics

×
×
  • Create New...

Important Information

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