Jump to content

Lyon

Members
  • Posts

    18
  • Joined

  • Last visited

Recent Profile Visitors

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

Lyon's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hello there, I have question. I have to projects in Eclipse mod1 and mod2 and mod1 is depending on mod2. So to start minecraft with mod1, mod2 has to be installed. Is there a way to run minecraft with both mods at the same time in Eclipse?
  2. Just override the "onNeighbourUpdated" method and make your block break, if the blocks under your block has been broken.
  3. Hello there, I created a really big entity (width: 26 blocks and height: 60 blocks) and i tried to apply the default minecraft wander ai to it, but that made the server thread literally freeze. If someone has an idea what I can do about that, please go ahead and let me know.
  4. Hello, I created a block in which I want to render a smaller cube. As I want to resize the smaller cube I am using a TESR to render it. The problem is, that the face at the bottom of the block is being rendered like the top face. So, if I look down on it it is visible, but when I look up to it it is invisible. I really have no clue what the problem is, so every help is appreciated. Images: BlockVaporator: TileEntityRendererVaporator:
  5. Thank you very much. Fixed it.
  6. Thank you very much for your replies. I tried your recommendations and found, that adding the velocity only on the server and using the update frequency, that vanilla uses for EntityArrow (20) works the best. EntityBullet: EntityRegistry:
  7. Hello everyone, I created a bullet, which can be shot using a rifle. Everything is working as it should. The problem is, that the bullet is not moving smoothly through the air. Very often it glitches back. As I'm not sure how to fix this issue, I would appreciate any help. EntityBullet: RenderBullet: ModelBullet: Utils:
  8. So I improved some things and everything is working well in Eclipse. But when I build the mod and launch it in minecraft, the item rendering isn't cancelled. Here is my new code: ItemRenderHandler: SpecialLayerHeldItem:
  9. I got it working, but I am not sure if it is the best solution. Thank you very much! However here is my code:
  10. So I managed to render the item into the Player's hand, but how can I cancel the normal rendring of the the item.
  11. But is there a way to change the item rotation based on the direction the player is looking?
  12. Hello, I added an item, which makes the player's arm point in the direction the player is looking. The rendering of the arm is working, but the item is always rendering at the body of the player. I know there is the LayerHeldItem class, which renders the item, but i don't know how to remove the normal LayerHeldItem and add a new one. Is there also a way to do this without creating a new RenderPlayer class? Here is my code:
  13. @Animefan8888 Now it's working really well. Thank so much ?. Here's my code: LampHandler: Utils:
  14. You have to call "event.getRenderer().bindTexture(event.getRenderer().getEntityTexture((AbstractClientPlayer)event.getEntityPlayer()));" before rendering.
×
×
  • Create New...

Important Information

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