Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mazetar

Forge Modder
  • Joined

  • Last visited

Everything posted by Mazetar

  1. Yeah they are set to true for most of the entities, I guess that we shouldn't?
  2. This isn't really what the OP needs. He needs something which explains why and how things are done so he learns it and is able to do it regardless of version changes and api systems.
  3. Isn't there still a field for whatever the mouse is currently aiming at? I know there used to be an MovingObjectPosition field inside the player object for that, I used it in 1.4/1.5 to draw info about the block or entity being looked at.
  4. I looked into spawners and as far as I can tell they aren't doing anything weird. It's just an extension of the vanilla mob spawner except that it takes the entity name as a param which it uses to decide which mob to spawn. And for the spawning it doesn't seem to do anything weird so I dunno but I don't think that's the problem. I've looked into the calling for the Packet24MobSpawn and the only place it's called is during the method getPacketForThisEntity(args) inside EntityTrackerEntry. If it fails several if checks, it ends up at this one here: else if (!(this.myEntity instanceof IAnimals) && !(this.myEntity instanceof EntityDragon)) If it passes it's packet23 and we are good, if it fails it's packet24MobSpawn. So if I'm not totally blind now the above sentence means that if the entity inherits from EntityDragon or IAnimals it will result in packet24MobSpawn. Inside the code we have some mobs which extends upon EntityWaterMob and EntityTameable which in turn implements IAnimals! I'm guessing this could be a possible reason as to why this happens, although I'm not exactly sure as to why we end up at this code place. So I will now try to go up the calling hierarchy and see what happens futher uo the path. I will try to remove the mobs which extend the mentioned classes / comment them out and if that works I will re-write the entities code to avoid having to extend/implement those classes.
  5. Block.blocklist[idNumber]
  6. Mazetar replied to Ablaze's topic in Modder Support
    To make it easier for people who are considering helping you I would suggest that you write something more about yourself, I would for example suggest that people would like to know the following before considering to do such a task: How old are you? How familiar are you with programming? What is your primary language? And what is your timezone?
  7. Mazetar replied to Ablaze's topic in Modder Support
    Hello mate! Well I know you said no tutorials, and I'm not going to link you to a simple tutorial. I see you have followed some and realized they aren't that good unless you already know some stuff. I will give you this however: http://courses.vswe.se/ These are courses made by Vswe(Creator of steves carts mod), and they are made as proper courses, it's like being on a lecture with a teacher showing you things and illustrating his points. He starts with basic java fundamentals, ask you to deliver assignments and then you move on to the next course. The courses covers all the basics you need and then moves on to more intermediate and some stuff which may be called advance to some (Models, animation/movement, GUI's w/ sync between Server & Client)! I know it's not the same as a live tutor but this is WAY BEYOND the retarded and simple tutorials you find everywhere. The material here is quality material, I've watched it to confirm this and was so impressed that I'm using his lecture as a basis for all introduction to minecraft modding. They are great and cover the key aspects you MUST know as a minecraft modder
  8. YOU start with the FIRST one! A cup of java and progress through them, DON'T skip any!
  9. The World and World.getWorldInfo should be helpful here
  10. umm.. confusing I realized it would be therefore:
  11. As I said in the PM, you should detail your question properly, else it's very hard to understand what your problem is and what you are trying to do!
  12. The first line contains all relevant info mate The problem is with your instance variable. Check the @instance
  13. I think I can say this for everyone who posted here trying to help, your welcome! We had fun figuring this one out And that is the reason when a topic is marked solved, people can still read it. It would be utterly useless to anyone who had the same questions later. I followed this thread every update, post by post and I learned a lot from it!
  14. Asking around on the minecraft boards I got the following reply: If this is true, then what would be causing the Packet24MobsSpawn to be sent? I'm using some custom mob spawners, could that be the case? I will try to look into that at least. And even if the above is true, it doesn't explain the "Skipping Entity with id 0" part?
  15. Okay so I went and looked into every entity, and there was one which didn't have the constructor so i fixed it. But he was never called or spawned by anything in the code. The only thing not having the mentioned constructor are EntityFX's and as far as I can tell they don't have them at all, their super does not accept world as a single argument for any constructor so I assume it's fine as it is Now I created three new worlds and I crashed the same crash type on every one of them. The 2013-08-28 00:48:36 [WARNING] [Minecraft-Client] Skipping Entity with id 0 still shows in the console as well
  16. The OP was really struggling with adding basic blocks and other basic stuff, so his problem was quite a lot of stuff all which could be fixed if he took the time to follow the linked courses But yeah, HydroFlame is totally correct as usual
  17. Whoa that will be a 48hrs video of just one subject then But it would be good to get good courses and video tutorials organized in an easy and sort able way. I'm actually working on a website project to do just that for both txt and video tutorials [self Promo much? ]
  18. By your response I'm fairly sure you haven't seen the courses by Vswe so heres a great suggestion for you mate: Go take the courses, it will make your modding life easier and also improve your modding videos as you will gain knowledge And also I now notice this tag "I am a modder, who is newish to Java!" aka. You will benefit from the courses as well And I must let it be said that I have no affiliation with these tutorials except having watched them and as a tutorial writer and programming student I do approve of them! They are of greater quality than every other tutorial series I have seen so far in my modding career!
  19. please don't do that... Unless your videos are up to the same standard as the courses don't tell someone to watch them instead of these great courses..
  20. Look into extended entity propeties, theres a tutorial on minecraftForums.net
  21. Heres a nice place to learn modding from the start, it's made by the creator of the famous Steve's Carts mod Vswe! courses.vswe.se
  22. A server does not have any keyboard input. Because a server is not a client. Only clients have rendering and keyboard/mouse input. A server will crash if you try to handle any of this. Ask your self, when you speak of the servers keyboard, what key input are you speaking about? Of the many players on the server, which one's keyboard do you want to listen to? If you need keyboard input to affect the server you will have to do it clientside and then send a packet to the server, and handle it on the server side If you tell us what you are trying to accomplish we may be able to give you some more hints. If you are unfamiliar with packets, checkout www.minecraftforge.net/wiki/Packet_Handling and then http://www.minecraftforge.net/wiki/Advanced_Packet_Handling
  23. Good now start on vswe's courses. Start with the first one and complete them in order

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.