Jump to content

Kavatch

Members
  • Posts

    4
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Recent Profile Visitors

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

Kavatch's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hey! So I just saw this Video: https://www.youtube.com/watch?v=1BVE51x---0 I though: "That's a cool concept! Lets make this into a mod!" I then got to work an set up a workspace in Intellij and began. However I notices really fast, that I couldn't modify the slipperiness value because its set to private final. After some research in the forums and in the far corners of the internet I found I probably needed to use reflections to change these values. The first problem is that this is the second time I ever tried to work with forge. So it's a pretty new environment to work in. And the second problem is that - although I have done quite a bit in Java - I have never really done reflections. I have found some github repositories that seem to have "solved" this problem, however I couldn't find an "isolated" version. What do I mean by "isolated"? Well I mean a code snipped which I can look at and see exactly what It does when and why, and doesn't do anything else in that matter. But don't be misled, you don't need to spoonfeed me in that matter. I will gladly take any hint to the right direction. Well and I also don't exactly have any failed attempts, I don't event know how I could start. I just though I will probably need to use a loop of some kind to actually modify each block. For every hint or code snipped I would be very grateful. ~ Kavatch
  2. Thanks, but I think your code is just to display the particles around the block. My main problem is to first find the corresponding blocks around the player and after this to display the particles / other effects around the block. Now that I know how the particles would work, I would need some way to find the block at all.
  3. Bump
  4. Hey, I am currently looking for a way to see blocks through other blocks, because I want to make a mod which should allow the player to craft an item (e.g. with diamonds) to find blocks of the same kind (in this example diamonds ore). The problem is that I don't know how to render the blocks at the moment, so far I'm so that crafting the items etc works, but I'm just hanging on rendering the blocks. I know that there is an event called RenderWorldLastEvent but I don't know how to find a block there (in this case a diamond ore) and make a box around it.
×
×
  • Create New...

Important Information

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