Jump to content

Recommended Posts

Posted

SOLVED

----------

Problem: I had a block where when you bump into it, it takes you inside of it, I added a new dimension for this but couldn't figure out how to generate the interior only once in the dimension.

 

Solution: In whatever your teleporting method is, either an item, colliding with block, etc... whereever you change the player's dimension is where you need to do the generation. Just use entity.getEntityWorld() to get the world, AFTER you change dimensions, then you will have the "dimension's world". Then use that world to do all of the structure creation.

 

Posted

I'm not sure if worlds have nbt but you could generate the structure once with an IWorldGenerator and then create a tag that says the structure has been built so it doesn't keep rebuilding it. Then again I've never really messed around with a chunk provider so I have no idea if this is possible.

The proud(ish) developer of Ancients

Posted

Don't think it would work. I added a dummy variable to hold whether or not it's been built and based on that add the block.

 

private boolean built = false;

 

if(built == false)

{

  addblockstuffhere

  built = true;

}

Posted

Oh, yes, sorry. Forgot to include that in last post ??? It doesn't work, it just doesn't add anything, but... I did another test, I had a counter variable, that increased every time that method was called and was printed out. When I first entered my dimension it was being increased without stopping until a certain point.. then it only increased as a moved towards un-generates terrain.

Posted

If it's easier, I could also just have it generate a cube of air and then build the structure inside. But I also couldn't get that working, as I keep getting index out of bound errors.

Posted
  On 5/28/2015 at 11:34 AM, Born2Code said:

If it's easier, I could also just have it generate a cube of air and then build the structure inside. But I also couldn't get that working, as I keep getting index out of bound errors.

Post your current code.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Posted

Here..

 

    public void func_180520_a(int p_180520_1_, int p_180520_2_, ChunkPrimer primer)

    {

        for(int x = 0; x < 100; x++)

        {

            for(int z = 0; z < 100; z++)

            {

                primer.setBlockState(x, 100, z, Blocks.air.getDefaultState());

            }

        }

 

        primer.setBlockState(0, 100, 0, Blocks.end_stone.getDefaultState());

    }

 

Posted
  On 5/28/2015 at 11:59 AM, Born2Code said:

Here..

 

    public void func_180520_a(int p_180520_1_, int p_180520_2_, ChunkPrimer primer)

    {

        for(int x = 0; x < 100; x++)

        {

            for(int z = 0; z < 100; z++)

            {

                primer.setBlockState(x, 100, z, Blocks.air.getDefaultState());

            }

        }

 

        primer.setBlockState(0, 100, 0, Blocks.end_stone.getDefaultState());

    }

1. You should post the full code, not just a method.

2. Post the crash report together.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Posted

Generating a cube of air and my structure inside forever was just a quick though, I would prefer the OP answered instead.

 

ChunkProvider

 

  Reveal hidden contents

 

Posted

1. First remove this line:

private static final String __OBFID = "CL_00000397";

It is minecraft deobfuscation id, which is totally useless and unrelated with modding.

(+ Do not copy-paste code if you cant fully understand the code..)

2. Please rephrase your issue, I cant understand what is your problem.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Posted
  On 5/28/2015 at 12:11 PM, Abastro said:

  Quote

Here..

 

    public void func_180520_a(int p_180520_1_, int p_180520_2_, ChunkPrimer primer)

    {

        for(int x = 0; x < 100; x++)

        {

            for(int z = 0; z < 100; z++)

            {

                primer.setBlockState(x, 100, z, Blocks.air.getDefaultState());

            }

        }

 

        primer.setBlockState(0, 100, 0, Blocks.end_stone.getDefaultState());

    }

1. You should post the full code, not just a method.

2. Post the crash report together.

 

 

All I need, is an empty dimension, with one structure generated inside, that way when teleported there (working), I am teleported into that structure.

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • New users at Temu receive a $100 Off discount on orders over $100 Off Use the code [Acg660923] during checkout to get Temu Discount $100 Off off For New Users. You n save $100 Off off your first order with the Promo Code available for a limited time only.   Extra 30% off for new and existing customers + Up to $40 Off % off & more. Link For instant Discount <<    Temu Promo Codes for New users- [acj889447]   Temu discount code for New customers- [acj889447]   Temu $40 Off Promo Code- [Acg660923]   what are Temu codes- acj789589   does Temu give you $40 Off - [acj789589] Yes Verified   Temu Promo Code January/February 2025- {acj789589}   Temu New customer offer {acj789589}   Temu discount code 2025 {Acg660923}   100 off Promo Code Temu {frd213440}   Temu 100% off any order {frp324207}   100 dollar off Temu code {frp324207}   Temu coupon $40 Off off for New customers   There are a number of discounts and deals shoppers n take advantage of with the Teemu Coupon Bundle [Acg660923]. Temu coupon $40 Off off for New customers [acj889447] will save you $40 Off on your order. To get a discount, click on the item to purchase and enter the code. You n think of it as a supercharged savings pack for all your shopping needs   Temu Promo Code 80% off – [ach789589]   Free Temu codes 50% off – [aci789589]   Temu coupon $40 Off off – [ach789589]   Temu buy to get ₱39 – [acj903114]   Temu 129 coupon bundle – [ach789589]   Temu buy 3 to get €99 – [ack887223]   Exclusive $40 Off Off Temu Coupon Code   Temu $40 Off Off Promo Code : (Acg660923)   Temu Coupon Code $40 Off Bundle (aci615791) acj789589   Temu $40 Off off Promo Code for Exsting users : (ach789589)   Temu Promo Code $40 Off off   Use the coupon code "[Acg660923]" or "[ach994037]" to get the $50 coupon bundle. On your next purchase, you will also receive a 50% discount. If you use Temu for your shipping, you can save some money by taking advantage of this offer.     The Temu $100 Off coupon code (Acg660923) will save you $100 on your order. To get a discount, click on the item to purchase and enter the code.   Temu offers $100 Off Coupon Code “Acg660923” for Existing Customers.    With the $100 Off Coupon Bundle at Temu, you can get a $100 bonus plus 30% off any purchase if you sign up with the referral code [acj889447] and make a first purchase of $40 off or more.   Temu Promo Code 100 off-{ach789589}   Temu Promo Code -{ach789589}   Temu Promo Code $40 Off off-{Acg660923}   kubonus code -{Acg660923}   Get ready to unlock a world of savings with our free Temu UK coupons! We’ve got you covered with a wide range of Temu UK coupon code options that will help you maximize your shopping experience.30% Off Temu UK Coupons, Promo Codes + 25% Cash Back [ acj789589]     Yes, Temu offers $100 off coupon code {Acg660923} for first-time users. You can get a $100 bonus plus 40% off any purchase at Temu with the $100 Coupon Bundle if you sign up with the referral code [Acg660923] and make a first purchase of $100 or more.   If you are who wish to join Temu, then you should use this exclusive Temu coupon code $100 off (Acg660923) and get $100 off on your purchase with Temu.   You can get a $100 discount with Temu coupon code {Acg660923}. This exclusive offer is for existing customers and can be used for a $100 reduction on your total purchase. Enter coupon code {Acg660923} at checkout to avail of the discount. You can use the code {Acg660923} to get a $100 off Temu coupon as a new customer. Apply this Temu coupon code $100 off (frp324207) to get a $100 discount on your shopping with Temu.   If you’re a first-time user and looking for a Temu coupon code $100 first time user(Acg660923) then using this code will give you a flat $100 Off and a 90% discount on your Temu shopping.     • Acg660923: Enjoy flat 40% off on your first Temu order.     • aci887223: Download the Temu app and get an additional 40% off.     • acj903114: Celebrate spring with up to 90% discount on selected items.     • aci558101: Score up to 90% off on clearance items.     • aci615791: Beat the heat with hot summer savings of up to 90% off.     • Acg660923: Temu UK Coupon Code to 40% off on Appliances at Temu. How to Apply Temu Coupon Code? Using the Temu coupon code $100 off is a breeze. All you need to do is follow these simple steps:     1 Visit the Temu website or app and browse through the vast collection of products.     2 Once you’ve added the items you wish to purchase to your cart, proceed to the checkout page.     3 During the checkout process, you’ll be prompted to enter a coupon code or promo code.     4 Type in the coupon code: [Acg660923] and click “Apply.”     5 Voila! You’ll instantly see the $100 discount reflected in your total purchase amount. Temu New User Coupon: Up To 90% OFF For Existing Customers Temu Existing customer’s coupon codes are designed just for new customers, offering the biggest discounts 90% and the best deals currently available on Temu. To maximize your savings, download the Temu app and apply our Temu new user coupon during checkout.     • acj889447: New users can get up to 80% extra off.     • ach841608: Get a massive 40% off your first order!     • aci615791: Get 20% off on your first order; no minimum spending required.     • ach907348: Take an extra 15% off your first order on top of existing discounts.     • acj573247: Temu UK Enjoy a 40% discount on your entire first purchase.   New users at Temu receive a $100 Off discount on orders over $100 Off Use the code [Acg660923] during checkout to get Temu Discount $100 Off off For New Users. You n save $100 Off off your first order with the Promo Code available for a limited time only. Extra 30% off for new and existing customers + Up to $40 Off % off & more. Link For instant Discount <<  Temu Promo Codes for New users- [acj889447] Temu discount code for New customers- [acj889447] Temu $40 Off Promo Code- [Acg660923] what are Temu codes- acj789589 does Temu give you $40 Off - [acj789589] Yes Verified Temu Promo Code January/February 2025- {acj789589} Temu New customer offer {acj789589} Temu discount code 2025 {Acg660923} 100 off Promo Code Temu {frd213440} Temu 100% off any order {frp324207} 100 dollar off Temu code {frp324207} Temu coupon $40 Off off for New customers There are a number of discounts and deals shoppers n take advantage of with the Teemu Coupon Bundle [Acg660923]. Temu coupon $40 Off off for New customers [acj889447] will save you $40 Off on your order. To get a discount, click on the item to purchase and enter the code. You n think of it as a supercharged savings pack for all your shopping needs Temu Promo Code 80% off – [ach789589] Free Temu codes 50% off – [ach789589] Temu coupon $40 Off off – [ach789589] Temu buy to get ₱39 – [ach789589] Temu 129 coupon bundle – [ach789589] Temu buy 3 to get €99 – [ach789589] Exclusive $40 Off Off Temu Coupon Code Temu $40 Off Off Promo Code : (Acg660923) Temu Coupon Code $40 Off Bundle (frd213440) acj789589 Temu $40 Off off Promo Code for Exsting users : (frd213440) Temu Promo Code $40 Off off Temu $100 Off OFF promo code (Acg660923) will save you $100 Off on your order. To get a discount, click on the item to purchase and enter the code. Yes, Temu offers $100 Off Coupon Code “Acg660923” for Existing Customers. You can get a $100 Off bonus plus 30% off any purchase at Temu with the $100 Off Coupon Bundle at Temu if you sign up with the referral code [acj889447] and make a first purchase of $40 Off or more. Temu Promo Code 100 off-{ach789589} Temu Promo Code -{ach789589} Temu Promo Code $40 Off off-{Acg660923} kubonus code -{Acg660923} Get ready to unlock a world of
    • New users at Temu receive a $100 discount on orders over $100 Use the code [aci789589] during checkout to get Temu Coupon Code $100 off For New Users. Yes, Temu offers $100 off coupon code “aci789589” for first-time users. Temu 100% Off coupon code "aci789589" will save you $100 on your order. To get a discount, click on the item to purchase and enter the code. Yes, Temu offers $100 off coupon code “aci789589” for first-time users. You can get a$100 bonus plus 30% off any purchase at Temu with the$100 Coupon Bundle at Temu if you sign up with the referral code [aci789589] and make a first purchase of$50 or more. The Temu $100 Off coupon code (aci789589) will save you $100 on your order. To get a discount, click on the item to purchase and enter the code. Yes Temu offers $100 Off Coupon Code “aci789589” for First Time Users. Yes, Temu offers $100 off coupon code {aci789589} for first-time users. You can get a $100 bonus plus 100% off any purchase at Temu with the $100 Coupon Bundle if you sign up with the referral code [aci789589] and make a first purchase of $100 or more. If you are who wish to join Temu, then you should use this exclusive Temu coupon code $100 off (aci789589) and get $100 off on your purchase with Temu. You can get a $100 discount with Temu coupon code {aci789589}. This exclusive offer is for existing customers and can be used for a $100 reduction on your total purchase. Enter coupon code {aci789589} at checkout to avail of the discount. You can use the code {aci789589} to get a $100 off Temu coupon as a new customer. Apply this Temu coupon code $100 off (aci789589) to get a $100 discount on your shopping with Temu. If you’re a first-time user and looking for a Temu coupon code $100 first time user(aci789589) then using this code will give you a flat $100 Off and a 90% discount on your Temu shopping. Temu $100% Off Coupon Code "aci789589" will save you $100 on your order. To get a discount, click on the item to purchase and enter the code. Temu coupon code$100off-{aci789589} Temu coupon code -{aci789589} Temu coupon code$50 off-{aci789589} Temu Coupon code [aci789589] for existing users can get up to 50% discount on product during checkout. Temu Coupon Codes for Existing Customers-aci789589 Temu values its loyal customers and offers various promo codes, including the Legit Temu Coupon Code (aci789589]) or (aci789589), which existing users can use. This ensures that repeat shoppers can also benefit from significant discounts on their purchases. Keep an eye out for special promotions and offers that are periodically available to enhance your shopping experience.
    • Verified user can get a $100 off Temu Coupon code using the code ((“act593957”)). This Temu $100 Off code is specifically for new and existing customers both and can be redeemed to receive a $100 discount on your purchase. Our exclusive Temu Coupon code offers a flat $100 off your purchase, plus an additional 30% discount on top of that. You can slash prices by up to $100 as a new Temu customer using code ((“act593957”)). Existing users can enjoy $100 off their next haul with this code. But that’s not all! With our Temu Coupon codes for 2025, you can get up to 90% discount on select items and clearance sales. Whether you’re a new customer or an existing shopper, our Temu codes provide extra discounts tailored just for you. Save up to 30% with these current Temu Coupons ["^"act593957 "^"] for June 2025. The latest Temu Coupon codes at here. New users at Temu receive a $100 discount on orders over $100 Use the code ((“act593957”)) during checkout to get Temu Coupon $100 Off For New Users. You can save $100 Off your first order with the coupon code available for a limited time only. Temu 90% Off promo code ((“act593957”)) will save you $100 on your order. To get a discount, click on the item to purchase and enter the code. Yes, Temu offers $100 Off coupon code “act593957” for first time users. You can get a $100 bonus plus $100 Off any purchase at Temu with the $100 Coupon Bundle at Temu if you sign up with the referral code ((“act593957”)) and make a first purchase of $100 or more. Free Temu codes $100 off — ((“act593957”)) Temu Coupon $100 off — ((“act593957”)) Temu Coupon 70% off — ((“act593957”)) Temu Memorial Day Sale $100 off — ((“act593957”)) Temu Coupon code today — ((“act593957”)) Temu free gift code — ["^"act593957"^"](Without inviting friends or family member) Temu Coupon code for Canada - $100 Off— ((“act593957”)) Temu Coupon code Australia - $100 Off— ((“act593957”)) Temu Coupon code New Zealand - $100 Off — ((“act593957”)) Temu Coupon code Japan - $100 Off — ((“act593957”)) Temu Coupon code Mexico - $100 Off — ((“act593957”)) Temu Coupon code Chile - $100 Off — ((“act593957”)) Temu Coupon code Peru - $100 Off — ((“act593957”)) Temu Coupon code Colombia - $100 Off — ((“act593957”)) Temu Coupon code Malaysia - $100 Off — ((“act593957”)) Temu Coupon code Philippines - $100 Off — ((“act593957”)) Temu Coupon code South Korea - $100 Off — ((“act593957”)) Redeem Free Temu Coupon Code ["^"act593957"^"] for first-time users Get a $100 discount on your Temu order with the promo code "act593957". You can get a discount by clicking on the item to purchase and entering this Temu Coupon code $100 off ((“act593957”)). Temu New User Coupon ((“act593957)): Up To $100 OFF For First-Time Users Our Temu first-time user coupon codes are designed just for new customers, offering the biggest discounts and the best deals currently available on Temu. To maximize your savings, download the Temu app and apply our Temu new user coupon during checkout. Temu Coupon Codes For Existing Users ((“act593957”)): $100 Price Slash Have you been shopping on Temu for a while? Our Temu Coupon for existing customers is here to reward you for your continued support, offering incredible discounts on your favorite products. Temu Coupon For $100 Off ((“act593957”)): Get A Flat $100 Discount On Order Value Get ready to save big with our incredible Temu Coupon for $100 off! Our amazing Temu $100 off coupon code will give you a flat $100 discount on your order value, making your shopping experience even more rewarding. Temu Coupon Code For $100 Off ((“act593957”)): For Both New And Existing Customers Our incredible Temu Coupon code for $100 off is here to help you save big on your purchases. Whether you’re a new user or an existing customer, our $100 off code for Temu will give you an additional discount! Temu Coupon Bundle ((“act593957”)): Flat $100 Off + Up To $100 Discount Get ready for an unbelievable deal with our Temu Coupon bundle for 2025! Our Temu Coupon bundles will give you a flat $100 discount and an additional $100 off on top of it. Free Temu Coupons ((“act593957”)): Unlock Unlimited Savings! Get ready to unlock a world of savings with our free Temu Coupons! We’ve got you covered with a wide range of Temu Coupon code options that will help you maximize your shopping experience. 70% off Temu Coupons, Promo Codes + 25% Cash Back ((“act593957”)) Redeem Temu Coupon Code ((“act593957”)) Temu Coupon $100 OFF ((“act593957”)) Temu Coupon $100 OFF FOR EXISTING CUSTOMERS ((“act593957”)) Temu Coupon $100 OFF FIRST ORDER ((“act593957”)) Temu Coupon $100 OFF REDDIT ((“act593957”)) Temu Coupon $100 OFF FOR EXISTING CUSTOMERS REDDIT ((“act593957”)) Temu $100 OFF CODE ((“act593957”)) Temu 70 OFF COUPON 2025 ((“act593957”)) DOMINOS 70 RS OFF COUPON CODE ((“act593957”)) WHAT IS A COUPON RATE ((“act593957”)) Temu $100 OFF FOR EXISTING CUSTOMERS ((“act593957”)) Temu $100 OFF FIRST ORDER ((“act593957”)) Temu $100 OFF FREE SHIPPING ((“act593957”)) You can get an exclusive $100 off discount on your Temu purchase with the code *[act593957] Or [act593957]*.This code is specially designed for new customers and offers a significant price cut on your shopping. Make your first purchase on Temu more rewarding by using this code to get $100 off instantly. *Temu Coupon Code For $100 Off [act593957] Or [act593957]:* Get A Flat $100 Discount On Order Value Get ready to save big with our incredible Temu Coupon for $100 off! Our coupon code will give you a flat $100 discount on your order value, making your shopping experience even more rewarding. *Exclusive Temu Coupon Code [act593957] Or [act593957]:* Flat $200 OFF for New and Existing Customers Using our Temu promo code you can get A$ 200 off your order and 70% off using our Temu promo code *[act593957] Or [act593957]*. As a new Temu customer, you can save up to $100 using this promo code. For returning users, our Temu promo code offers a $100 price slash on your next shopping spree. This is our way of saying thank you for shopping with us! *Best Temu Deals and Coupons [act593957] Or [act593957]:* During 2025, Temu Coupon codes offer discounts of up to 90% on select items, making it possible for both new and existing users to get incredible deals. From $100 off deals to 30% discounts, our Temu promo codes make shopping more affordable than ever. *Temu Coupon Code For 100€% Off [act593957] Or [act593957]:* For Both New And Existing Customers Free Temu $100 Off Code — *[act593957] Or [act593957]* Temu Coupon 70% off — *[act593957] Or [act593957]* Temu Memorial Day Sale - $100 Off — *[act593957] Or [act593957]* Temu Free Gift Code — *[act593957] Or [act593957]* Temu $500 Off Code — *[act593957 ] Or [act593957]* Best Temu $200 Off Code — *[act593957 ] Or [act593957]* Temu Coupon Code first order — *[act593957] Or [act593957]* Temu Coupon Code for New user — *[act593957] Or [act593957]* Temu Coupon Code A$100 off — *[act593957] Or [act593957]* Temu Coupon Code $50 off — *[act593957] Or [act593957]* Temu Coupon Code $100 off — *[act593957] Or [act593957]* Temu Promo Code 2025 — *[act593957] Or [act593957]* Temu Coupon Code $200 off — *[act593957] Or [act593957]* Temu Coupon Code $90 off — *[act593957] Or [act593957]* Temu Sign up Bonus Code — *[act593957] Or [act593957]* Temu Coupon Code C$120 off — *[act593957] Or [act593957]* Our exclusive Temu Coupon code allows you to take a flat $200 off your purchase with an added 30% discount on top. As a new Temu shopper, you can save up to $100 using code *[act593957] Or [act593957]*. Returning customers can also enjoy a $100 discount on their next purchases with this code. *Temu Coupon Code for Your Country Sign-up Bonus* Temu $100 Off Code Canada *[act593957] Or [act593957]* - 70% off Temu $100 Off Code Australia *[act593957] Or [act593957]* - 70% off Temu $100 Off Code New Zealand *[act593957] Or [act593957]* - 70% off Temu $100 Off Code Japan *[act593957] Or [act593957]* - 70% off Temu $100 Off Code Mexico *[act593957] Or [act593957]* - 70% off Temu $100 Off Code Chile *[act593957] Or [act593957]* - 70% off Temu $100 Off Code Peru *[act593957] Or [act593957]* - 70% off Temu $100 Off Code Colombia *[act593957] Or [act593957]* - 70% off Temu $100 Off Code Malaysia *[act593957] Or [act593957]* - 70% off Temu $100 Off Code Philippines *[act593957] Or [act593957]* - 70% off Temu $100 Off Code South Korea *[act593957] Or [act593957]* - 70% off Temu $100 Off Code USA *[act593957] Or [act593957]* - 70% off Temu $100 Off Code Pakistan *[act593957] Or [act593957]* - 70% off Temu $100 Off Code Finland *[act593957] Or [act593957]* - 70% off Temu $100 Off Code Saudi Arabia *[act593957] Or [act593957]* - 70% off Temu $100 Off Code Qatar *[act593957] Or [act593957]* - 70% off Temu $100 Off Code France *[act593957] Or [act593957]* - 70% off Temu $100 Off Code Germany *[act593957] Or [act593957]* - 70% off Temu $100 Off Code Netherlands *[act593957] Or [act593957]* - 70% off Temu $100 Off Code Israel *[act593957] Or [act593957]* - 70% off Get a $100 discount on your Temu order with the promo code *[act593957] Or [act593957]. You can get a discount by clicking on the item to purchase and entering this Temu Coupon code $100 off *[act593957] Or [act593957]**. *Temu Coupon Code [act593957] Or [act593957]:* Get Up To 90% OFF In June 2025 Are you looking for the best Temu Coupon codes to get amazing discounts? Our Temu Coupons are perfect for getting those extra savings you crave. We regularly test our coupon codes for Temu to ensure they work flawlessly, giving you a guaranteed discount every time. *Temu New User Coupon [act593957] Or [act593957]:* Up To $100 OFF For First-Time Users Our Temu first-time user coupon codes are designed just for new customers, offering the biggest discounts and the best deals currently available on Temu. To maximize your savings, download the Temu app and apply our Temu new user coupon during checkout.
  • Topics

×
×
  • Create New...

Important Information

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