Jump to content

Electrobob99

Members
  • Posts

    173
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Electrobob99

  1. Well for one I get a terminated console/minecraft instance (with the codes I provided), said that a block was already initialized. I expected it to load blocks equal to the amounts in the ENUM file. I probably adjusted the block files with the wrong data, but for the life of me I can't figure out what that data could be, one reason why I displayed the code I used, so I could get help finding what code is wrong in it. Because I technically adjusted metadata block code with code I knew worked with the "Enum" items, with adjustments seen in the code in the OP.
  2. Ok what I ask is simple, how would I go about using an ENUM file listing to be used successfully with making blocks with subBlocks? I ask this because I have gotten it to work with items, (added almost 32 subitems), but for blocks I am a bit lost? How can I get it to work? Probably a stupid mistake. Here is my working item's files: Here is the non working subBlock files:
  3. Ok that makes sense... And I don't really need to spend some time learning more java, especially since I have already taken java courses in college and aced them, even took a few java course tests after the fact, it just seems different when applied to minecraft is all.
  4. Ok, I think I may ditch that idea for now, but here is a really question that I've been wondering... I have seen blocks such as carrots and wheat and the other food stuffs, and I have seen their textures exceed their bounding box, how do they do that?
  5. So does anyone know if what I posted above this post is possible? I mean I can do away with it, or do something similar to flowerpots with tileentities, but I was hoping for block on block.
  6. Ok, now here's a question, is there a way to make a separate custom block that is similar block bounds of a slab, i.e minY=0.5 for one block, and minY= 0.0 and maxY = 0.5 for the other separate block, and be able to make these separate blocks connect and still be different in functionality? Like have one be similar to crops? Example setup: [~~] ~ = block 2 [--] - = block 1 < different class than block 2
  7. Ok, that seems reasonable. Now another question that has been bugging me a bit, is it possible to make a block with custom block bounds that is smaller than a normal block be placeable next to another of itself and "touch". Or would I just set it's Block Bounds based on state? And is it also possible to make a "smaller"block not be in the "center" of the block under it. Example in area of single block face: [aaa] a=air [axa] x = customblock [aaa]
  8. Hmm, sounds sound, will try this after I get out of planning
  9. how high would I be able to make the chance without a tile entity?
  10. Definitely the second one, since it describes it perfectly, still need to know how to do the chances, so I can adjust them later on
  11. Ok my question is this, is it possible to make a block "turn into" another block based on chance, or do something based on chance. Like say for example I had my block surrounded by gold, and there would be a 5% chance of my block becoming glass, while there is another chance of it becoming dirt. And possibly be able to increase the chance depending on the number of the blocks around it of a certain type, i.e metadata,material, etc. If so how?
  12. Thanks, currently working on new tree shaping, I will try to get it to generate randomly, or I will make it generate depending on the block it's on, haven't decided yet
  13. Ok, this does make sense, but I do have a question, will this result in a tree that will grow with time?
  14. Hmm, this does make sense.. Kinda ironic, I get high 90's in college level java programming classes, yet minecraft modding makes little sense to me
  15. To see if I can get help... here are the render file and the block file.
  16. Ok and now I can't seem to understand how to get the texture to change correctly, I seem to be confusing myself
  17. Well, I have fixed that issue, now I have discovered something with my testing, you see I was making my block print a certain phrase when it's right clicked with a stick, and noticed it printed it two times, how would I resolve this, for future reference?
  18. To be specific it seems to happen only with an empty hand, so how do I fix that, or make it detect if right clicked with an empty hand?
  19. Ok, so in my attempt to see if I could get it to start to work, I now get a null point exception when I right click it, here is the crash:
  20. Well I was planning on making my custom block to change it's texture when it is rightclicked with a certain item, like a stick makes it's texture be texture 2, while on default it would be texture 1. I would assume I could use either a switch to set texture based on metadata of the block, but I don't know how to impliment it.
  21. Ok, here is my question, is it possible to have the texture of a custom modeled block change based on an event, like if it's right clicked with an item... I have an idea on how I could do it, but I don't know where to place the code.
  22. Technincally I am recoding an old mod that added world gen which included tree like generation, which I do plan on changing how they look after I learn how to world gen proper, and so far it never generates at all. I don't really want to do it the easy way, one reason I don't like copy and paste jobs, or programs like mccreators. Though if i do copy/paste I usually do it with the knowledge that I will change it for the better, especially if it's open sourced
  23. Ok, so I've been encountering a bit of an issue related to custom tree generation.. The fact of the matter is, I don't really understand how to create custom world generation as of yet. I also don't want it to utilize bonemeal as a growth speed up, but some custom item instead.
  24. Ok, now I've hit a bit of a snag.. I'm trying to use Metadata for a grouping of items that are all used just for crafting, but for some reason it only seems to be loading the first item in the group. This is the item group code: and this is the code for the Enum File list it's referring to: Any help will be appreciated *facepalm Found the problem, I forgot to include an overridden getSubItems method
  25. So anyone willing to collaborate with me please either reply below, or send a PM my way any help is appreciated
×
×
  • Create New...

Important Information

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