Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/13/19 in all areas

  1. Hi I got my TileEntity working good now, now I want to add a type of render to it, and looking through the wiki the optimal way of doing it would be to use a TileEntityRendererFast. I would not say my TileEntity would be hard to render as it would only have to render a cuboid with varying alpha and texture depending on the TileEntity variables. The issue I'm facing is that I have no idea how to do that, and better yet how to send the data to the client efficiently. I have it do stuff every tick, which is only changing one variable out of the three variables it stores, so I'm pretty sure using a custom message protocol is needed. The other two is what texture to use and whenever it should do a particle effect at the block (same texture). But I'm a bit lost about all this, going to write a summary and what little code I have on the TileEntityRendererFast and the actul TileEntity below: A Tree Tap you place on a tree, I got the bucket and actual Tree Tap model working fine. The TileEntity stores what type of liquid it is (resin, water or none), whenever it can make the "bucket" start filling up with a particle effect and what volume there is in the bucket. Something I was wondering is if there is a way to have a if statement that would only pass like every other tick or less, to simulate viscosity of different fluids and have the "drip" animation only happen that tick or something. That would also free up some of the network if I only need to send new information that particular tick. TreeTapTileEntityRenderer.java TreeTapTileEntity.java
    1 point
  2. I'm no expert but have you downloaded the installer?
    1 point
  3. on daytime: [22:06:34.727] [Client thread/INFO] [minecraft/Biome]: is Daytime:true [22:06:34.730] [Server thread/INFO] [minecraft/Biome]: is Daytime:true on night, only: [22:06:52.652] [Client thread/INFO] [minecraft/Biome]: is Daytime:true so, i think its a Server/Client synch issue... how to synch the Client with the Server, when i take an item from the crafting result Slot? i dont know anythingabout packethandling, and all documentations are pre 1.14 unfortunately
    1 point
  4. Omg thank you it works!!!
    1 point
  5. Find any event in your IDE Right click on it Open Type Hierarchy Select the Event class Right click, Open Type Hierarchy or Right click, Focus on Event
    1 point
  6. This sounds like you need a better computer than anything, if simply dropping an inventory’s worth of items threatens to crash your game.
    1 point
  7. If you rename the jar file to name.zip then you can unpack it into a folder.
    1 point
  8. Do you mean the jar file? It's quite easy to unpack it to get the textures, and you can use a java decompiler to get the code back, although it may not be exactly how it was originally written.
    1 point
  9. Please read the logs section of my signature below and provide the appropriate log in the appropriate manner.
    0 points
×
×
  • Create New...

Important Information

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