Jump to content

xXWitherBossXx

Members
  • Posts

    22
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

xXWitherBossXx's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Thanks. I will have multiple tile entities, how could I use an interface to accomplish this?
  2. Any ideas on how to send a peice of data to the tile entity from another tile entity? It would probably be a couple variables.
  3. I already know how to get the block that I am aiming for. I just don't know how to tell the tile entity that it is being hit
  4. Ok, thanks! Any idea on what to use to actually send data between the tile entities? Storing the power and creating the power is fine. I'm just confused on transporting the power. Any clarification?
  5. Ok, can you give me an idea of how I could do that? I was thinking that I needed a te because the lasers were going to act as a power transfer system
  6. Ok. I am making a mod about lasers. I need a block to know when it gets hit by a laser. Obviously, I can't just check if a line is rendering through a block, so I was thinking that I could use tile entities and send data between them. Is this the right way of going about this? And how could I do it? The system would be something like this: Block A ———gl line——— Block B Block A sends data to Block B Block B realizes it has a lazer on it Yay we're done here.
  7. Oh, I think I get it now. The custom models go in the models folder, and the jsons for every block go in the blockstates folder. Thank you, I was thoroughly confused.
  8. But I have the blockCopper.json in that folder. What goes in the blockstates folder?
  9. Oh, does it go in the block States folder instead? And not in the assets/models/block/ folder?
  10. No, I didn't see to add one in the tutorial I was following. Are they required? And does that replace the model file in the assets/models/block/blockName.json
  11. That's a thing in 1.10? Jee. I guess a lot has changed since the good old days of 1.8
  12. Sorry i haven't been able to respond, I am very busy right now since school just ended. Here is the latest log: pastebin: https://pastebin.com/MvjBHw7N
  13. Here is my Client Proxy. I know this works because my items are working as well, should i use a separate one for my blocks? package com.prisma.proxy; import com.prisma.main.ProjectPrisma; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.item.Item; import net.minecraftforge.client.model.ModelLoader; public class ClientProxy extends CommonProxy{ @Override public void registerItemRenderer(Item item, int meta, String id) { ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation(ProjectPrisma.modId + ":" + id, "inventory")); } }
  14. Well, i have some blocks that don't seem to want to have a texture. IDK what is going wrong Here is my code: ModBlocks.java: BlockBase.java: The JSON of the blockCopper: And the image is named blockCopper.png i dont know what is going on
×
×
  • Create New...

Important Information

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