-
Posts
398 -
Joined
-
Last visited
Everything posted by BeardlessBrady
-
Craft an Block which has Blockstates set in TileEntity
BeardlessBrady replied to BeardlessBrady's topic in Modder Support
Thanks -
Craft an Block which has Blockstates set in TileEntity
BeardlessBrady replied to BeardlessBrady's topic in Modder Support
I cant seem to find the 'getStateForPlacement' method -
Stack is far away from mouse when holding it in GUI
BeardlessBrady replied to BeardlessBrady's topic in Modder Support
Yes! You got it, thank you -
So when holding and item in my mouse its fine, until I extend the gui by opening a tab. Then it gets all weird. A video can better explain what I mean: https://vid.me/oZyY Container Class: https://github.com/BeardlessBrady/Currency-Mod/blob/master/src/main/java/gunn/modcurrency/containers/ContainerVendor.java Gui Class: https://github.com/BeardlessBrady/Currency-Mod/blob/master/src/main/java/gunn/modcurrency/guis/GuiVendor.java
-
Issue with syncing data on client and server
BeardlessBrady replied to BeardlessBrady's topic in Modder Support
I tried that but no luck. Could there be any other reason why it only transfer from once? -
So I have a Boolean variable in the tile entity and I can change it by right clicking with an item in hand. Its supposed to change something in the GUI of the block and it does...once. Then it doesn't sync anymore. Block Class: https://github.com/BeardlessBrady/Currency-Mod/blob/master/src/main/java/gunn/modcurrency/blocks/BlockVendor.java Tile Entity Class: https://github.com/BeardlessBrady/Currency-Mod/blob/master/src/main/java/gunn/modcurrency/tiles/TileVendor.java Gui Class [1]: https://github.com/BeardlessBrady/Currency-Mod/blob/master/src/main/java/gunn/modcurrency/client/guis/GuiVendor.java Gui Class [2] (Gets called by other): https://github.com/BeardlessBrady/Currency-Mod/blob/master/src/main/java/gunn/modcurrency/client/guis/GuiTab_Lock.java
-
[1.10.2] Sending Packets from Client to Server
BeardlessBrady replied to BeardlessBrady's topic in Modder Support
Haha that is very weird. Welp it fixed it though so thanks! -
[1.10.2] Sending Packets from Client to Server
BeardlessBrady replied to BeardlessBrady's topic in Modder Support
Why is that a problem? -
I'm having some trouble sending a packet from a client GUI(through a button push) to the server. My initial intent was to spawn an item outside the block by pushing the button, but now Im just testing with a println. Crash: http://pastebin.com/DQCyC7rL Gui Class: https://github.com/BeardlessBrady/Currency-Mod/blob/master/src/main/java/gunn/modcurrency/client/guis/GuiVendor.java Packet Handler Class: https://github.com/BeardlessBrady/Currency-Mod/blob/master/src/main/java/gunn/modcurrency/handler/PacketHandler.java Message Class: https://github.com/BeardlessBrady/Currency-Mod/blob/master/src/main/java/gunn/modcurrency/network/PacketSendItem.java
-
Alright so I have some text in a gui that shows a number, when you right click the block with an item it adds 100 to that number. for some reason it will update and save in the tile entity, but when using a get method in the gui to get the number from the tile entity it stays at the original number. Gui Class: https://github.com/BeardlessBrady/Currency-Mod/blob/master/src/main/java/gunn/modcurrency/client/guis/GuiVendor.java Tile Entity Class: https://github.com/BeardlessBrady/Currency-Mod/blob/master/src/main/java/gunn/modcurrency/tiles/TileVendor.java
-
Alright, Thanks
-
k but I dont understand what that is, its from a external program, what do those numbers affect?
-
So Im working with custom block models and I don't quite understand the errors Im getting or how to fix them. Log: http://pastebin.com/DgASHLTX Blockstate .json: http://pastebin.com/1cZa3TjG Model .Obj: http://pastebin.com/jAGVsuJg (Just incase its asked for) Model .Mtl: http://pastebin.com/uCiRPvBN
-
Tick() Isnt working on Tile Entity
BeardlessBrady replied to BeardlessBrady's topic in Modder Support
You are completely right. Thanks!! -
So I'm just playing around to get to know forge and I'm trying to get a tile entity to do something every few ticks. Tile Entity Class: http://pastebin.com/tYVSdbUC *Even the System outputs dont show up Block Class: http://pastebin.com/SmBm3J9p ModBlocks Class: http://pastebin.com/k4ncPSSX Common Proxy Class: http://pastebin.com/VrmM41QN
-
Alright so i just have a question regarding block inventory textures when the block has various states. Do you have to register the render of the block for each metadata or is it possible through just .jsons? My specific problem is that the default texture of the block in the inventory is fine but when I place it and change the state then break it and pick it up the texture is broken. Is it possible to change that through just .jsons?
-
BlockStates: type with invalidly named value: DEFAULT
BeardlessBrady replied to BeardlessBrady's topic in Modder Support
I managed to fix it, forgot a few quotes in that .json file -
BlockStates: type with invalidly named value: DEFAULT
BeardlessBrady replied to BeardlessBrady's topic in Modder Support
Ya I didnt reall yknow what specified a line and column on a .json file Heres my file: http://pastebin.com/QNxFybje -
BlockStates: type with invalidly named value: DEFAULT
BeardlessBrady replied to BeardlessBrady's topic in Modder Support
Thank you so much, I literally looked at everything else but the ModStates file. The game loads now but now none of the textures are loading from the types property (Renamed mactypes to type) New Crash log: http://pastebin.com/bzLizjU0 -
Alright so I've been having trouble with block states. I assumed I set everything up right, I've looked at quite a few different ways of doing it but now Im getting this weird error. Code: - ModStates.java: http://pastebin.com/kXMa2AVH - BlockMachine.java: http://pastebin.com/11RegmB4 - .Json File: http://pastebin.com/xSyE5nmK Error Log: http://pastebin.com/gftJzpFB
-
Forge Gradle Setup Download Client Failed
BeardlessBrady replied to BeardlessBrady's topic in Modder Support
Seems to be my router settings as plugging directly into my modem it works, closing post -
Forge Gradle Setup Download Client Failed
BeardlessBrady replied to BeardlessBrady's topic in Modder Support
Welp. Thanks for trying I suppose -
Forge Gradle Setup Download Client Failed
BeardlessBrady replied to BeardlessBrady's topic in Modder Support
Do you have any idea why they wouldnt be getting downloaded? -
Forge Gradle Setup Download Client Failed
BeardlessBrady replied to BeardlessBrady's topic in Modder Support
It downloads everything before that perfectly. Is there something different about the client/server download, what would specifically be preventing that from being downloaded but nothing before that?