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

ben_mkiv

Members
  • Content Count

    9
  • Joined

  • Last visited

Community Reputation

2 Neutral

About ben_mkiv

  • Rank
    Tree Puncher

Recent Profile Visitors

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

  1. Do you use IDEA? Then rightclick the gradle button on the right of the window, and in the gradle tab press the refresh button on the top left.
  2. first translate to world origin 0,0,0 GlStateManager.translate(-player.posX, -player.posY, -player.posZ); then translate to the entity position GlStateManager.translate(entity.posX, entity.posY, entity.posZ); but you should combine them to one translate call, like GlStateManager.translate(entity.posX - player.posX, entity.posY - player.posY, entity.posZ - player.posZ);
  3. GL11.glMultMatrix(getRenderMatrix().asDoubleBuffer()); as Laike_Endaril already noticed. Is your source available somewhere? I did something a while back for Wavefront Object Models, but never finished it. And would be interested in some working solution for rigged Meshs, as my Rig was just based on an hand written XML File for now. Also im curious about how you solve Collision Detection ? (you might want to switch over to some other Matrix4f class like https://github.com/TheCBProject/CodeChickenLib/blob/master/src/main/java/codechicken/lib/vec/Matrix4.java, as LW
  4. So my problem with this is that my Capability is used to attach a OpenComputers machine to Mobs for example. Which will be used on like 1-2 Mobs for each user, while every other mob has to get the capability handler assigned even when never using it. maybe capabilities are the wrong tool for that, but i dont know how else to attach custom data to a mob
  5. but to expose a capability it has to be attached on entity registration, doesn't it?
  6. well its kinda lot of code... actually i'm attaching the capabilities to every EntityLiving/EntityMinecart by catching the attachCapability event. every capability has a wrapper around it which is able to attach/detach the capability. so i dont see any place to optimize here except of adding a wrapper around all capabilities so that i end up with one capability... but even those wrappers already used are annoying me its just that multiplayer server hold tons of entities cached and i would like to keep my overhead at the possible minimum. And Capabilities would be a grea
  7. Hello, i'm writing a mod which adds a set of different Capabilities for Entities. Actually i'm giving any Entity my capabilities on registration, which creates a lot of unnecessary overhead. Please add some Method to add/remove Capabilities from Entities on the fly. Thanks
  8. Hi, please add a event (like the LivingDeathEvent for EntityLivings) which fires when a minecart gets destroyed/killed it should probably fire in net.minecraft.entity.item.EntityMinecart as first call in the killMinecart Method (before setDead()!) public void killMinecart(DamageSource source) My Mod adds different Capabilities to Minecarts and Entities and i want to catch the kill Event to drop their Inventories when they get killed/destroyed. (which works fine with the LivingDeathEvent for Mobs)
×
×
  • Create New...

Important Information

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