Jump to content

larsgerrits

Members
  • Posts

    3462
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by larsgerrits

  1. Every player on the client side is a subclass of AbstractClientPlayer , and every player on the server side is a subclass of EntityPlayerMP .
  2. Hello, In 1.7.10 I used an ISBRH to render the vanilla stone block, then rendering an overlay on the stone texture and dynamically color the overlay based on the block's metadata. Now I am wondering if it is possible to do something like that using the new model system in 1.8, or do I have to make all the textures by hand for each possible state? - larsgerrits
  3. You can use a gray-scale image for the base texture for every ingot, and return a different color with the getColorFromItemStack method for each ingot.
  4. This topic has been moved to Support & Bug Reports. [iurl]http://www.minecraftforge.net/forum/index.php?topic=36051.0[/iurl]
  5. Also, never use sites like 9minecraft, 6minecraft or any malicious site like that. This is a thread which was about sites like that, and why you should never use them. And as the 2 year old (!) Youtube video says you have to do, don't do it. You will get these kind of issues when you do.
  6. Tools didn't change much since 1.7.10, only the textures, for which are plenty of tutorials to convert, and you can refer to the Minecraft source code for help.
  7. There are plenty of tutorials for tools. Or, you know, you could look at the way vanilla adds tools? Did you actually search before posting here? If you have anything specific you are having trouble with, post again here.
  8. I think you have to translate the cube to the Entity position.
  9. Forced entities: 7 total; [EntityFallenMount['Horse'/942285, l='MpServer', x=82.50, y=42.00, z=-20.50], EntityXPOrb['Experience Orb'/956665, l='MpServer', x=-1.03, y=72.25, z=-110.69], EntityCrab['Crab'/956662, l='MpServer', x=15.50, y=18.00, z=-93.50], EntityClientPlayerMP['callous4567'/956653, l='MpServer', x=83.55, y=65.62, z=-17.04], EntityBat['Bat'/956661, l='MpServer', x=10.50, y=11.00, z=-85.50], EntityCaveCrawler['Cave Crawler'/956659, l='MpServer', x=-2.50, y=12.00, z=-44.50], EntityCaveclops['Caveclops'/956657, l='MpServer', x=6.50, y=12.00, z=-36.50]] This is a piece of the error log. It mentions these entities: EntityFallenMount , EntityXPOrb , EntityCrab , EntityClientPlayerMP , EntityBat , EntityCaveCrawler and EntityCaveclops . We know this issue doesn't exist in vanilla, so we can remove those from the list, leaving us with these: EntityCrab , EntityCaveCrawler and EntityCaveclops . So one of these entities is causing the server to crash. Now you have to find the mod(s) that adds those entities, and remove them, one by one, to figure out which mod causes the issue.
  10. Sand blocks spawn an EntityFallingSand when they fall. You can set the block to air at the original position, and spawn a new EntityFallingSand(World,X,Y,Z,Block,metadata) with motion in the world.
  11. Then you didn't search very good, because I found it in 5 minutes. If you go to the MCF mod page, and look under downloads, you'll see all the download links you need.
  12. Where and how do you register your IExtendedEntityProperties ?
  13. @jeffryfisher May I ask why you call your class classContinuousPositionedSound with class being in the name?
  14. Did you register your renderer with RenderingRegistry.registerEntityRenderingHandler ?
  15. Yes, I meant I didn't see any more than that one. You showed HOW, but I asked WHERE you registered your event handler, i.e. show the class where you registered it.
  16. So it expects a Reader, but you have a File. Maybe there exist something like FileReader (hint: it does...)? Try looking a bit better in the future.
  17. I do not see any more checks for client/server. So it might be calling the event client-side only. Where do you register your event handler? Not in any client-only code I suppose...
  18. Using World#getEntitiesWithinAABB(Entity.class, AxisAlignedBB) to get all entities in th specified range. Than use some math to calculate the motionX/Y/Z for each entity to go to to th black hole. You could also increase the speed of the items based on how close it is to the black hole, by increasing the motionX/Y/Z. If the entities are in a range of, lets say, 0.5 blocks, kill the Entity and add it's drops to the inventory of the black hole. You can calculate the 'force' of the black hole based on the amount of items in the inventory of the black hole. Thaumcraft 4 has an aura node modifier that makes it suck in everything, so you could at the Thaumcraft 4 source code to get some inspiration. You could, as americanman said, also damage entities, e.g. players, if they are to close to the black hole. Edit: I see Ernio was faster
  19. This post is 2 years old! Why the f*ck are you replying to a 2 year old? This thread is now closed.
  20. Not at my workstation at the moment, but I think it is LCTRL or something.
  21. You have to add the vertices 'anti-clockwise', rather than 'clockwise'. This will make sure you are rendering the outside of the block, and not the inside.
  22. "planks oak" != ""planks_oak". See the underscore?
  23. If you are binding a custom texture in the event, you have to make sure to rebind the vanilla icons ( Gui.icons ) file after your rendering code.
  24. Stacktrace: at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:63) at com.lsmod.CompactStorage.client.TextureAtlasDynamic.load(TextureAtlasDynamic.java:53) The only thing that can be null on line 63 in SimpleReloadableResourceManager is the ResourceLocation parameter passed in. This corresponds to your ResourceLocation variable called resource1 . This gets intialized with a call to completeResourceLocation . This means that that method returns null . In your crash log, it also mentions this: [16:06:03] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.lang.IllegalArgumentException: wrong number of arguments [16:06:03] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [16:06:03] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [16:06:03] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [16:06:03] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.reflect.Method.invoke(Method.java:606) [16:06:03] [Client thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at com.lsmod.CompactStorage.client.TextureAtlasDynamic.completeResourceLocation(TextureAtlasDynamic.java:110) Line 110 in TextureAtlasDynamic is that line in completeResourceLocation , which means you call invoke with the wrong number of arguments. Seems a bit weird to me...
  25. Show what you have tried.
×
×
  • Create New...

Important Information

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