Everything posted by larsgerrits
-
[1.8] Drawing a line between two world co-ordinates
You might find this post helpful. It explains how to render a beam from one point to another. You should be able to adapt this explanation to your needs.
-
1.9 | Draw Text
- 1.9 | Draw Text
There are multiple sub-events that you have to choose from. Most sub-events are static classes from the raw event. So you don't choose RenderGameOverlayEvent , but either RenderGameOverlayEvent.Pre or RenderGameOverlayEvent.Post .- [1.8.9] TileEntitySpecialRender class not being called?
You have your TESR registration call in ClientProxy#init() , but you never call that method.- [1.9] Game crashes often and non-reproducibly without reference to mod files.
Which line is ItemRenderer.java:319 ?- [1.7.10] Making a glowing effect on a item
If you update to 1.9, you can just add the glowing PotionEffect to the EntityItem in the world, and be done. Way easier than trying to do it yourself on an outdated Minecraft version.- [1.8.9] ForgeDirection equivalent.
ForgeDirection is gone since it isn't necessary anymore. It has been replaced by the vanilla Minecraft's EnumFacing .- [1.9]DimensionType
- [1.9] MinecraftServer.getServer() is missing?
If you do that, make sure world is an instance of WorldServer , otherwise World#getMinecraftServer() returns null- [1.9]ItemAxe Returns a crash.
I think this is a bug. The ItemAxe constructor gets a value from an array, which position is based on the ToolMaterial 's ordinal. You created a new ToolMaterial , and it's ordinal is bigger size of the array, so it causes an ArrayIndexOutOfBoundsException . A workaround is creating a copy of the ItemAxe class, and change the crashing lines to something... not crashing...- [1.9] JSon models only render 2d in inventory
You have to specify a parent in the JSON model files, for blocks you pobably want a parent of blocks/cube_all .- (SOLVED)Requesting help with textures and 1.9
When I updated to 1.9, I didn't have any problems with textures, only that the items were really big in your hand. Does the console specify any errors about missing textures? Could you post that log, and a screenshot of your file system?- [1.9] what happend to ISmartItemModel ISmartBlockModel
It depends on what you want to do with it. If you want to e.g. want 'connecting' blocks, vanilla Minecraft JSONs have the ability now to do that. Look at fences for an example. If you want to do something else with it, please specify.- [1.9/SOLVED] Problem with fluids
This should probably be in Forge itself, so I'm going to make a pull request when I have reasonable internet again.- [1.9/SOLVED] Problem with fluids
The vanilla fluid block override the method AxisAlignedBB getSelectedBoundingBox(IBlockState, World, BlockPos) , which if I'm right, also controls the collision box. Override that to return null should fix it.- [1.9] Setup 1.9 workspace
There's an MDK version already available at the file server.- Project 'MDKExample' is missing required library
java.lang.OutOfMemoryError: GC overhead limit exceeded You need to give ForgeGradle at least 2 GB of memory.- GUI Texture is Tiled when Stretched is Desired
You have to make sure youre texture size is a power of 2 (16x16, 32x32 ... 128x128, 256x256). In there you can create an image with an aspect ratio of 16:9, and than only draw that part from the texture, using the u,v coordinates.- Project 'MDKExample' is missing required library
If I recall correctly, there's currently a bug in ForgeGradle. Try running gradlew eclipse again.- When can they release forge for Minecraft1.9?
http://www.minecraftforge.net/forum/index.php/topic,37046.0.html- [1.8.9] Lighting Sword
We can not help you any further. You do not know Java, and you sure don't have the attitude to learn it. In fact, your 'issue' is not even related to Java, but to general programming. Please, learn at least the basics of programming before trying to mod.- 1.7.10 cant find gradle start main.
Did you run gradlew eclipse ? If not, do it. If you did, do it again.- [1.8.9] Custom Crafting Table Not Removing Items
Your DraftingBoardCraftingManager#func_180303_b returns null , which returns in a NullPointerException[code] when trying to call [code][code]aitemstack.length . BTW, you could've figured this out yourself by looking at the things which can be null on line 88.- [1.7.10]I can't remove entity.
- [1.8.9] Guilds - How to read and save files on server?
I think you are looking for WorldSavedData . You can save stuff to NBT per world or per dimension. There are a few tutorials/examples online. - 1.9 | Draw Text
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.