Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited

  • Days Won


Draco18s last won the day on November 25 2021

Draco18s had the most liked content!


  • Gender
  • Personal Text
    I am an asshole.

Recent Profile Visitors

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

Draco18s's Achievements

Reality Controller

Reality Controller (8/8)



  1. That's because redstone doesn't use tile entities. It's all handled by blockstates. There's no way to achieve what you want as far as I know.
  2. Probably because the line is so perfectly in line with the view direction that it has no visible area. Like looking edge-on to a piece of paper. And this will always be true when drawing a line from the center of the camera to the point under the center of the camera.
  3. Vec3d start = new Vec3d(0.1F, 0, 0); Vec3d end = start.add(0, 0, distance); See how you have a distance variable? See how the same value in your start Vec3d is 0? I told you to make the line not start at a distance of 0.
  4. The player's eye and the camera are the same thing... You want it offset in front of the player's view, don't position it at 0 distance.
  5. You are probably overlooking the spot where he removes all camera transformations before calling that function. For example, here, where I have to subtract off the block position before drawing a line between two blocks: https://github.com/Draco18s/HarderStuff/blob/master/src/main/java/com/draco18s/hazards/client/HazardsClientEventHandler.java#L191 (I don't have to deal with the player pos and rot because that's taken care of for me by vanilla for that event, but it does include a block offset) RenderWorldLastEvent is going to be the last thing before the camera actually renders, which means it already includes player position and rotation and all further offsets are from that.
  6. Basically the problem is that the player's rotation values are already taken care of, because that's how rendering works, so by adding in the player's rotation values, you're doubling up. Which is why it looks like the line moves twice as fast as it should.
  7. But Minecraft is written in Java, so knowing Java helps you solve your own problems with Minecraft's source.
  8. You're going to need to contact the author of the mod that is supplying those blocks to add their blocks to the tag. Until then, you'd have to do that yourself.
  9. that's a name, a Type, and a name. So you skipped over the first parameter's Type, which is important.
  10. No, post your code in a convenient format on Github. https://docs.github.com/en/get-started/quickstart/create-a-repo#commit-your-first-change
  11. Or you could just have used git the way git is meant to be used.
  12. Recipes are datapack objects, you can just replace them with tag versions and supply your own tag.
  13. It's a technique called Generics. Just as a List<string> and List<integer> take strings and integers respectively, a HashMap (or Dictionary) maps a key to a value. For example if you wanted to create a table of products and their prices, you might use a HashMap<string,float> mapping the string-name of the product to the float-value of the product. (A multimap is mostly just syntactic sugar for HashMap<K,List<V>> and the fact that it maps one key to multiple values is all you need to know) So yes, the Type of the key value is important.
  14. Yes, because it is a method that belongs in an Item class. Here it exists as some random method that you never reference.
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.