Everything posted by Abastro
-
[1.7.10][Solved]Item Renderer Help?
Scaling and Translating should be done before the the render code is called.
-
[1.8][clientside] getPlayerUUID
You can just send a message(packet) from client to server. Then in your IMessageHandler, you can get the player instance from MessageContext. You can make the player invisible with the instance.
-
[1.7.10]How to make a StructureComponent generated in explored area?
I think you need StructureStart#generateStructure. It's called when the structure is starting to be generated.
-
[UNSOLVED][1.8]Changing a player's skin (on the client-side only)
I think you are not allowed to do that.. Also RenderPlayerEvent will not work on 1.8;
-
[1.8] Kill me please!
Did you check if they are equal by equals method?
-
[1.8] Copy bed state over to custom bed state
Then there is no way theoretically...
-
[1.8] Copy bed state over to custom bed state
I think you should use World#setBlockState(...)
-
[1.8] WorldGen: replacing blocks with certain meta
Check if the metadata of the block to be replaced is 1(Granite). If you cannot, please post the code. EDIT: Do not use metadata. You might be able to get the state 'Granite', and just compare it with state of a block.
-
Get how much time has passed since last tick
There are partialTicks parameter on the doRender method. It might be the last parameter.. Check it!
-
[1.8] New Dimension
Nothing much changed from the 1.7.10 to 1.8 on custom dimension, so you can still use the 1.7 tutorial for 1.8 versions.
-
[1.8.7] Trouble with SetBlockState
That is not an excuse. You should check the field: Main.CastleWall1 Since you can still be able to break and place a block when the field with the block is null. (Then you might be registered another new instance of a block.)
-
[SOLVED][1.7.10] ClassDefNotFoundException
Then please post the code of the class.
-
[SOLVED][1.7.10] ClassDefNotFoundException
Did you reference any of the client classes or use some @SideOnly? You should not do that on Dedicated Server.
-
[SOLVED] Custom crop is tile.null.name
You should set the block's name.. (by setBlockName or setUnlocalizedName)
-
[1.7.10] [Solved] Textures missing.
try using lowercase only.
-
[1.7.10][SOLVED] Testing For Other Mods
It's simple, use Loader.isModLoaded(String modname). To find some items, GameRegistry.findItem(String itemName) would work.
-
[Solved]elementClicked not being called
Show the Gui code containing the PlaceList.
-
[1.8]Render A TileEntity as A 3D Item like in 1.7?
I think there was a tutorial for that on Tutorial section. It was a way using TileEntityItemStackRenderer.
-
[1.7.10] Fluid opacity
Wait, what is the opacity value? I think there is only RGB + Alpha data on png file.
-
[1.8] Multiple Block Properties
For each block with TileEntity on specific world position, there is a TileEntity matches the block. So you can store data as normal field, and read and save the data using readFromNBT & writeToNBT There are plenty of tutorials describing how to make TileEntity, so you would easily be able to make one.
-
[1.7.10] Fluid opacity
Sorry, I misunderstood your post; What do you mean by 'not taking into account the opacity of the .png file'? Does it ignore alpha channel?
-
[1.7] [Solved] Need Help With Item Rendering
You can scale the rendering using GL11.glScalef(float xScale, float yScale, float zScale). Note that you should work on new matrix when scaling, using GL11.pushMatrix() and GL11.popMatrix(). (So pushMatix -> scale -> rendering -> popMatrix)
-
[1.7.10] How to make potion NOT appear in player inventory when active
Entity#onGround is public flag(boolean), so you can use that.
-
[1.7] [Solved] Need Help With Item Rendering
1. Do you know how to use Tessellator? 2. I think you should use GL11.pushMatrix() and GL11.popMatrix(). Google how to use them.
-
[1.7] [Solved] Need Help With Item Rendering
What do you mean by slots? Is it your custom slot texture? Also, are you getting the problem on every renderType?
IPS spam blocked by CleanTalk.