Posted December 17, 20204 yr Hey, i want to get the Biome of a Tile Entity. I usedย getWorld().getBiome(getPos()) in my TileEntity class. But it returns null.ย Thanks.ย ๐
December 17, 20204 yr Sorry I did not read your question properly, I don't know why getBiome returns null, sorry.
December 17, 20204 yr Author It's not the lua interpreter. The world is null without any Lua stuff. I removed the ILuaMethodProvider and just wanted to save the World in a var. https://hastebin.com/nahuwifuqu.propertiesย exception https://hastebin.com/yelinicili.javaย Class
December 18, 20204 yr Author ย 12 hours ago, diesieben07 said: Yes, obviously in the constructor the tile entity doesn't have a world yet. ย Oh yeah, i see. getWorld() works perfectly in tick(). Thanks!
December 19, 20204 yr Author [ComputerCraft-Coroutine-0/WARN] [computercraft/]: Received unknown type 'net.minecraft.util.ResourceLocation', returning nil. It was an Issue from computercraft. ๐ถย Nevertheless, thanks to everyone who wanted to help.
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.