Jump to content

sun-toast

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by sun-toast

  1. Thank you so much I've been using your minecraftbyexample tutorial for half a year and it's been the most useful tutorial i've seen so far. I never saw the VoxelShapeHighlighter though. Anyways thank you for doing what you do and helping everyone learn minecraft modding.
  2. Now that I think about it I only saw mobs have a white outline, never blocks. I couldn't find anything in the source code for creating a white outline on blocks.
  3. I've seen many mods and even minecraft servers that are able to outline blocks in white. I've also seen it in vanilla minecraft. How do you do this in java? (what is the method) Thank you!
  4. So I'm attempting to create a chess game in java that uses tileentities for each piece. I have one block that you place and when you right click it, it creates the board and chess pieces. However, I cannot find out how to bring the chess pieces I made into the world. I know you do worldln.setBlockState() but I can't find out how to access the block i created and set its properties as a tile entity. Any help would be appreciated. Also from a design perspective, one person told me to use the master slave pattern and have my block that creates the board hold all the blocks, but I don't know how to communicate a block back to the original board creator block. Thank you! Edit: If anyone could give any advice on this it would be extremely helpful. Thank you!!!
  5. So I've been trying to create a chess mod for a while now, in fact it's my school project for java. I created chess with gui in java a while ago, but need some help transferring that to minecraft. Each chess piece needs to hold its position (two ints) and be able to communicate with the main ChessCreaterBlock I have made which stores the board. Could I do that with the blockstate of a block? Or would I need to create a tileentity? Any advice you could give would really help. Thank you! The way I have made it right now is that I have created one block called ChessPieceBlock which has multiple textures for the different chess pieces.
×
×
  • Create New...

Important Information

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