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


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

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

DietmarKracht's Achievements

Tree Puncher

Tree Puncher (2/8)



  1. So you are more the type of "give me some code i can copy and paste cuz i don't want to understand the concept thats going on here"? The documentation on capabilities is perfectly fine. They function as the exact purpose you just described in your first post. So give it a try at least. I doubt you are under strict time constraints and need to finish porting your mod within the next week....
  2. You can get the client Player by calling Minecraft#getInstance#getPlayer
  3. Subscribe to PlayerRenderEvent.Pre and cancel it.
  4. You need to register your Attributes void to the Mod Eventbus.
  5. well you do not render your model. Inside your renderToBuffer method you need to render all ModelRenderers that you want to show
  6. For the mob spawning you could check when an entity joins the world (EntityJoinWorldEvent) and cancel that within a certain radius to your block. For the melting you would either use the randomtick of your block and manually melt ice around or use a tileentity for that
  7. You do not need to cancel the event. You need to set the GUI of the event to yours.
  8. So i solved this by using blockstates for the intermediate state where the block would not update and schedule a tick after the given amount of time. Then in the tick() method of the block i do my logic when the blockstate matches my intermediate state.
  9. I want to know how i can schedule changes to a blockstate after a certain amount of time. I want to change the blocks state of my block on right click after some seconds to render an animation during this time. How would i approach this?
  10. So i used a global list storing the entities affected by the freeze effect and manually ticked their effect in ServerTickEvent
  11. So as far as i can see this event is not even used by forge. Also refering to the documentation it would not fit my need.
  12. I don't think so, cuz i would need to modify vanilla entities for that.
  13. Is there a way to completely stop an entity from moving (including head, limbs...) for a certain amount of time? I have an effect that should freeze the entities. If i set their motion to 0 they can still move their legs or head. That effect is my effect and it should be able to be applied to all enemies.
  • Create New...

Important Information

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