Jump to content

Recommended Posts

Posted

Hello guys! Im really stuck on this one, i don't know how to make a block that can go underwater and not show the flowing water. I had an idea of creating a new liquid block that looks like seaweed but when i place it the game crashes.

 

Thanks in advance!

Posted (edited)

Your block's model will be rendered with water surrounding it if its Material is Material.WATER.

 

A lot of vanilla code expects blocks that use Material.WATER to have the BlockLiquid.LEVEL property, so your block needs to include this. It doesn't need to be saved to the metadata, just set the default value to 0 and override Block#getMetaFromState to ignore it.

 

You can see an example of this here.

Edited by Choonster
Fixed formatting errors caused by forum migration

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted
  Quote
...when i place it the game crashes

 

If you have any more crashes, don't even mention them when asking for help unless you include the crash log (bracketed by spoiler or code tags).

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Posted

Okay i have applied the things you have all said and this is what i have;

- The seaweed does not crash when it water

- Rendering issues

 

Is there meant to be a special way of doing water blocks in the .json files? I tried looking at the vanilla files for what they did in water/lava but found nothing.

 

BlockSeaweed.class:

 

  Reveal hidden contents

 

 

BlockSeaweed.json (assets>blockstates)

 

  Reveal hidden contents

 

 

seaweed.json (assets>models>block)

 

  Reveal hidden contents

 

Posted

Show a picture of what it looks like.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted
  On 10/22/2016 at 10:50 PM, diesieben07 said:

Please post the console log.

 

Here you go this is from start to finish (when i join the world and place the seaweed)

 

 

  Reveal hidden contents

 

Posted

Well.  You have lots of problems.

 

Exception loading model for variant morestuff:BlockSeaweed#level=6 for blockstate "morestuff:BlockSeaweed[level=6]"

 

Being the relevant one at the moment.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted
  On 10/22/2016 at 10:56 PM, Draco18s said:

Well.  You have lots of problems.

 

Exception loading model for variant morestuff:BlockSeaweed#level=6 for blockstate "morestuff:BlockSeaweed[level=6]"

 

Being the relevant one at the moment.

 

Whats it mean by level=6?

Posted

It's a variant.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

You declared that your block has a water level in it, the game assumes that you use all the same values that that property has.

 

Your blockstate file must contain those variants.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

I have successfully got this working with all your guys help, thank you!

 

Code used to achieve this:

 

BlockSeaweed.class:

 

  Reveal hidden contents

 

 

BlockSeaweed.json (assets>blockstates):

 

  Reveal hidden contents

 

 

seaweed.json (assets>models>block):

 

  Reveal hidden contents

 

 

width=800 height=449https://s21.postimg.org/fxqng6zzb/2016_10_23_13_54_51.png[/img]

Posted

You can also register an

IStateMapper

using

MoadelLoader.setCustomStateMapper

to ignore the

BlockLiquid.LEVEL

property in your blockstates file. Create an instance of

StateMap.Builder

, call

StateMap.Builder#ignore

to ignore the property and then call

StateMap.Builder#build

to create the

IStateMapper

.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

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

    • One code that’s making waves across shopping platforms is acw696499. This Temu coupon brings maximum benefits for shoppers in the USA, Canada, Europe, and even the Middle East. Whether you're searching for the Temu coupon code 2025 for existing customers or just hunting for a Temu 90% discount coupon, this article is your complete guide to saving smart. What Is The Temu Coupon Code 90% Off? The Temu coupon 90% off is your passport to incredible deals. Both new and existing users can unlock huge discounts by applying our exclusive 90% off Temu coupon code on the Temu app or website. Here’s how acw696499 helps you: acw696499 – Get up to 90% off instantly if you're a first-time user on Temu. acw696499 – Enjoy an extra 30% discount if you're an existing user placing another order. acw696499 – Receive a flat $100 off your total order value as a brand-new Temu shopper. acw696499 – Access a $100 coupon pack that can be used across multiple orders for bigger savings. acw696499 – Enjoy $100 flat discount and special promotions tailored for users in the USA, Canada, and European nations. Temu Coupon Code 90% Off For New Users If you're signing up for the first time, you're in luck! The Temu coupon 90% off gives you maximum value, turning your first purchase into a mega deal. Even though it’s promoted for new users, our Temu coupon code 90 off for existing users has perks too—but new users get the juiciest deals. Here’s what you get using acw696499: acw696499 – Flat 90% discount for new Temu users on their very first order. acw696499 – Claim a $100 coupon bundle instantly after registration. acw696499 – Redeem multiple-use $100 coupon pack applicable across various categories. acw696499 – Get free international shipping to 68 countries worldwide. acw696499 – Grab an extra 40% off on any item as a welcome gift for first-time users. How To Redeem The Temu 90% Off Coupon Code For New Customers? Using the Temu 90% off coupon is easy! Just follow these steps and start saving big. Go to the Temu app or official website. Sign up with a new email address if you're a new customer. Browse your favorite products and add them to the cart. On the checkout page, paste the Temu 90 off coupon code: acw696499. Hit apply, and enjoy 90% off instantly on your first order! Temu Coupon Code 90% Off For Existing Users Already a Temu shopper? Don't worry, you’re not left out. The Temu 90 off coupon code also works beautifully for returning users. You’ll be glad to know the Temu coupon code for existing customers still gives you huge perks when using our exclusive code. Here’s what you get using acw696499: acw696499 – A 90% discount even for existing Temu users during promotional periods. acw696499 – $100 coupon pack available for returning shoppers across multiple categories. acw696499 – Free gift with every order, delivered via express shipping across the USA and Canada. acw696499 – Additional 90% off applied on top of ongoing discounts, making the deal even sweeter. acw696499 – Enjoy free shipping to 68 countries without any extra charges. How To Use The Temu Coupon Code 90% Off For Existing Customers? It’s just as easy for existing customers to redeem the Temu coupon code 90 off. Follow these simple steps: Open the Temu app and log into your account. Browse and select your desired items. Head to checkout and look for the promo code section. Apply the Temu discount code for existing users: acw696499. Tap “Apply” and your discount will automatically reduce your order total! How To Find The Temu Coupon Code 90% Off? Want the Temu coupon code 90% off first order without hassle? Here's how: You can find the latest Temu coupons 90 off by subscribing to the Temu newsletter. This is the easiest way to stay updated with ongoing promotions and new deals. Additionally, follow Temu on Instagram, Facebook, and Twitter. Their social media handles often drop flash coupons and exclusive promo codes. And of course, you can always visit trusted coupon websites (like ours!) to find verified and tested Temu discount codes, including acw696499. How Temu 90% Off Coupons Work? The Temu coupon code 90% off first time user is applied during checkout and automatically deducts up to 90% from the total amount of eligible products. The Temu coupon code 90 percent off works via an advanced promotional engine that recognizes new users or eligible existing customers. Once the code is entered, the system applies a discount based on your account status, location, and the product category. It’s a smart way Temu uses to reward both new and loyal users while keeping the shopping experience seamless. How To Earn 90% Off Coupons In Temu As A New Customer? To earn the Temu coupon code 90% off, simply create a new Temu account via their app or website and use a fresh email. The Temu 90 off coupon code first order can be accessed immediately after signing up. You’ll also get additional coupons through daily app logins, referrals, game spins, and social sharing. Stay active and your discount pool grows fast! What Are The Advantages Of Using Temu 90% Off Coupons? Using the Temu 90% off coupon code legit gives you a ton of advantages, whether you're new or returning to Temu. Here’s why: 90% discount on your very first order. $100 coupon bundle for multiple uses across categories. 70% discount on high-demand products like electronics, fashion, and gadgets. 90% off for existing Temu customers as loyalty rewards. Up to 90% off on selected limited-time items. Free gift for new users upon first-time sign-up. Free delivery to 68 countries including the USA, UK, and Middle Eastern nations. Temu Free Gift And Special Discount For New And Existing Users Using the Temu 90% off coupon code not only gives you discounts but also unlocks a world of special gifts. The 90% off Temu coupon code is your gateway to added bonuses. Check out these rewards with acw696499: acw696499 – 90% discount for your first-ever Temu order. acw696499 – Extra 30% off on any individual product in your cart. acw696499 – Free welcome gift for new Temu users who activate the code. acw696499 – Up to 70% off across fashion, tech, and home goods. acw696499 – Free gift plus free international shipping to 68 countries including the USA and UK. Pros And Cons Of Using Temu Coupon Code 90% Off Here’s a quick look at the Temu coupon 90% off code and Temu free coupon code 90 off in action: Pros: Massive 90% off savings for new and existing users. Exclusive $100 coupon bundle. Additional discounts on already discounted products. Free international shipping included. Special gifts for first-time buyers. Cons: May not apply to all products. Limited-time usage. Can only be used once per new account in some cases. Terms And Conditions Of The Temu 90% Off Coupon Code In 2025 Every deal comes with some fine print. Here are the key T&Cs for the Temu coupon code 90% off free shipping and Temu coupon code 90% off reddit mentions: The coupon code acw696499 has no expiration date. Valid for both new and existing users. Available for use in 68 countries worldwide. No minimum purchase amount is required. Only one coupon code can be used per checkout. Cannot be combined with other storewide promotions or codes. Final Note If you're shopping this August, don’t miss out on the Temu coupon code 90% off. It’s one of the most generous offers Temu has launched this year. Whether you’re a new buyer or a returning customer, the Temu 90% off coupon will help you save big—so don’t hesitate to use acw696499 now. FAQs Of Temu 90% Off Coupon  Is the Temu 90% off coupon code valid in all countries? Yes, the code is valid in 68 countries including the USA, Canada, the UK, and Europe.  Can I use the 90% off Temu code on sale items? Absolutely! It applies on sale and non-sale items, but exclusions may vary per category.  How many times can I use the Temu 90% coupon code? New users can use it once, while existing users can access recurring benefits through bundles.  Do I get free shipping with the 90% off code? Yes, the 90% off code includes free standard shipping in all 68 eligible countries.  Is the code acw696499 legit for Temu? Yes! It’s verified, working, and 100% legit for both new and existing customers.
    • The acw696499 Temu coupon code is your ultimate key to massive discounts across the USA, Canada, and European countries. Whether you're shopping fashion, home goods, or electronics, this code unlocks unbeatable value. If you're hunting for a Temu coupon code 2025 for existing customers or a Temu 70% discount coupon, we’ve got you covered. This article is your complete guide to unlocking the best Temu deals this month. What Is The Temu Coupon Code 70% Off? If you’ve ever wondered whether both new and existing customers can enjoy a big discount at Temu, the answer is yes! With our exclusive Temu coupon 70% off, you can now enjoy top-tier savings directly on the Temu app and website using the 70% off Temu coupon code. Here’s how you can use acw696499 to your advantage: acw696499 – Get up to 70% off on your first purchase as a new user. acw696499 – Enjoy 70% extra discount as an existing customer on selected items. acw696499 – Unlock a flat $100 off for new Temu users instantly. acw696499 – Redeem a $100 coupon pack valid for multiple transactions throughout August. acw696499 – Get an extra $100 off promo code specially curated for customers in the USA, Canada, and Europe. Temu Coupon Code 70% Off For New Users New to Temu? You’re in for a treat. With our Temu coupon 70% off, first-time customers can grab the best deals in August like never before—even better if you're in the USA, Canada, or Europe. Plus, if you're searching for a Temu coupon code 70 off for existing users, don't worry—we cover that too. But here’s what new users get when using acw696499: acw696499 – Flat 70% discount for new users on their first order. acw696499 – $100 coupon bundle exclusively for first-time buyers. acw696499 – Up to $100 coupon bundle redeemable across multiple categories. acw696499 – Free shipping to 68 countries including the UK, USA, and Germany. acw696499 – Extra 40% off on any purchase for new app signups. How To Redeem The Temu 70% Off Coupon Code For New Customers? Want to know how to apply the Temu 70% off deal? Here's how to use the Temu 70 off coupon code in a few easy steps: Download and install the Temu app or visit their website. Create a new account using your email or phone number. Add your favorite products to the shopping cart. Go to checkout and enter acw696499 in the promo code field. Instantly enjoy your massive savings with 70% off. Temu Coupon Code 70% Off For Existing Users Good news for loyal Temu shoppers: the savings aren’t limited to new users. Even as a returning customer, you can enjoy exclusive offers using our Temu 70 off coupon code and Temu coupon code for existing customers. Here’s what you get with acw696499 if you’re an existing user: acw696499 – 70% discount for existing Temu users across select categories. acw696499 – $100 coupon bundle for multiple purchases throughout August. acw696499 – Free gift with express shipping to USA and Canada. acw696499 – Extra 30% off on top of your existing discount offers. acw696499 – Free shipping to over 68 countries for all items. How To Use The Temu Coupon Code 70% Off For Existing Customers? Here's how to redeem the Temu coupon code 70 off and activate your Temu discount code for existing users: Open the Temu app or go to the website. Log in to your existing Temu account. Browse and add your favorite products to your cart. On the payment page, apply the promo code acw696499. Enjoy up to 70% off instantly at checkout. How To Find The Temu Coupon Code 70% Off? To easily find a Temu coupon code 70% off first order or the latest Temu coupons 70 off, here’s what you should do: Sign up for the Temu newsletter. This gives you direct access to verified coupons sent straight to your inbox. Additionally, visit Temu’s official social media pages. They frequently drop promo codes for limited-time offers. You can also browse trusted coupon websites—like ours—to find the most updated and tested Temu coupon codes. How Temu 70% Off Coupons Work? The Temu coupon code 70% off first time user and Temu coupon code 70 percent off are both digitally applied codes you enter during checkout. When you apply the code (like acw696499), the system automatically deducts a percentage (up to 70%) from the total purchase amount. Depending on whether you’re a new or existing customer, the discount structure varies. New users may receive additional bundles and freebies, while returning customers get loyalty bonuses like free gifts, express shipping, or layered discounts. How To Earn 70% Off Coupons In Temu As A New Customer? To earn the Temu coupon code 70% off as a new user, all you need to do is sign up for an account and enter the Temu 70 off coupon code first order at checkout. You may also participate in Temu’s referral program and spin-to-win promotions. These features often generate new discount codes, coupon bundles, and other perks. The earlier you join in August, the better your chances of stacking your savings with exclusive limited-time deals. What Are The Advantages Of Using Temu 70% Off Coupons? The benefits of using our Temu 70% off coupon code legit and coupon code for Temu 70 off include: 70% discount on your first order. $100 coupon bundle usable across multiple categories. 70% discount on trending and popular items. 70% off for existing Temu customers in selected countries. Up to 70% off in limited-time flash sales. Free gift for new users with every purchase. Free delivery to 68 countries worldwide. Temu Free Gift And Special Discount For New And Existing Users With our Temu 70% off coupon code and 70% off Temu coupon code, you get more than just savings—you also get bonuses. Use acw696499 and receive: acw696499 – 70% discount for your first order. acw696499 – Extra 30% off on any item. acw696499 – Free gift for new Temu users. acw696499 – Up to 70% discount on any item on the Temu app. acw696499 – Free gift with free shipping to 68 countries including the USA and UK. Pros And Cons Of Using Temu Coupon Code 70% Off Here are some pros and cons of using our Temu coupon 70% off code and Temu free coupon code 70 off: Pros: Huge 70% discount on thousands of items. Easy-to-use code available for both new and returning users. Free gifts and shipping bonuses included. Stackable with existing sales. Available for global customers. Cons: Limited to eligible items. Some deals are time-sensitive. Shipping time may vary based on location. Terms And Conditions Of The Temu 70% Off Coupon Code In 2025 Please note the Temu coupon code 70% off free shipping and Temu coupon code 70% off reddit terms: This coupon code has no expiration date. Valid for both new and existing users in 68 countries. There are no minimum purchase requirements. Free shipping is available for eligible countries. Coupon stackability may vary during special events or sales. Final Note The Temu coupon code 70% off offers some of the best savings you’ll find online this August. Whether you’re a first-timer or a loyal customer, this code ensures you save big. Use the Temu 70% off coupon to unlock exciting deals, free gifts, and jaw-dropping discounts across the Temu app and website. Don’t miss out on your chance to maximize savings today. FAQs Of Temu 70% Off Coupon What is the Temu coupon code for 70% off in August 2025? The code acw696499 gives users up to 70% off on various categories for both new and existing customers across multiple countries. Is the Temu 70% off coupon code legit? Yes, acw696499 is 100% legit and tested to work during August 2025 for users in the USA, Canada, UK, and Europe.  Can existing Temu customers use the 70% off coupon code? Absolutely. The acw696499 code also benefits returning users with extra discounts and special perks like free gifts and shipping.  How can I apply the Temu 70% off coupon code? Simply enter acw696499 in the promo code section during checkout either on the app or website to claim your discount.  Where can I find the latest Temu coupons 70 off? You can visit Temu’s official social pages, sign up for their newsletter, or check trusted coupon websites like ours for verified codes.
    • cat_jam, rainbows, make_bubbles_pop and cavedust are client-side-only mods Remove these from your server
  • Topics

×
×
  • Create New...

Important Information

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