Jump to content

Animefan8888

Forge Modder
  • Posts

    6157
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by Animefan8888

  1. Try restarting your pc, but show me what you have typed into you run configurations if you are using eclipse, and please remove the code you have posted it is not the cause of this problem.
  2. Actually you are going to have to make those yourself. And if you are already using 1.8 you should update to 1.10
  3. I agree I'm not sure if I would be capable of this right now and I have had multiple years of learning Java and other programming languages.
  4. I believe the point of ore dictionary was to make it so other mods could interact with items of the "same type" from other mods, and it automatically says this ironIngot = this ironIngot when dealing with crafting. So lets say I am playing with IC2 and Thermal Expansion they both add a copper ingot. I want to craft something that uses copper from TE, but I only have copper from IC2 what do I do. Thus OreDictionary was born.
  5. You could just make a new block and make it extend BlockRedstoneWire, and if you want it to work in other mods crafting recipes as their vanilla counterpart you should be able to register them in the OreDictionary.
  6. Your welcome for the fast reply, why are you wanting to make a new redstone. Are you gonna give redstone a stronger signal or something? Or is it going to do the same thing?
  7. Minecraft Forge doesn't support editing Base Classes, and what do you mean, are you going to override the vanilla items/blocks.
  8. Well if you wanted to sync manually you could try to use packets, but eventually you are going to have to update. Are you planning on just addingInfo on hover to the ItemStack or was that just to test.
  9. I believe so, considering almost if not everything except rendering is handled server side.
  10. I'm not sure that I understand what you are wanting to do besides getting the PlayerTabInformation. So let me ask what is your main goal, what are you going to do with this information.
  11. First things first you can get rid of the code nothing there is making this happen. Secondly are you able to run Minecraft on the version you are modding for?
  12. You want to detect what server the player is on?
  13. Server Detection? Like detecting when the player is on the server or when the player is pressing tab?
  14. I assume you are going to do something with this can you explain what? And tell me what you have access to ATM.
  15. Okay what information is it that you want, the display name of the player? Please include everything.
  16. All of the fancy displaying and getting the data is done in the net.minecraft.client.gui.GuiPlayerTabOverlay class so you should look through there to get the data you want.
  17. Do you want to change what is displayed when the TabOverlay is displayed? Or do you want to just get the information? Tell me what you want to do exactly please or I might not be able to help you.
  18. Have you created a EntityVillager variable if not the event should have an entity variable you can check if it is an EntityVillager, and if so... @SubscribeEvent public void entityVillagerAIOverride(EventYouAreUsingClass event) { if (event.entity != null && event.entity instanceof EntityVillager) { EntityVillager villager = (EntityVillager) event.entity; villager.tasks.add(number, new VillagerAI()); } }[ Also don't forget to register your event using MinecraftForge.EVENT_BUS.register(new EventHandlerClass()); I did suggest that but if he just Overrides the Mating AI he won't have to create a new Entity, and this way it could still be compatible with other mods that extend EntityVillager assuming he chechs to see if the position he is overriding is an instance of the vanilla AI.
  19. Does this method exist in ChunkProvider if not I have an older version of 1.8 I'm viewing. public List func_177458_a(EnumCreatureType p_177458_1_, BlockPos p_177458_2_);
  20. What do you mean exactly? Do you want a list of all players or do you want to render something when the player tab overlay is being displayed?
  21. I'm sorry I should have been more specific, but how about you try moving addSpawns() to your init method?
  22. Actually let me correct myself no need to use access transformers or even create your own entity, you may be able to use an event that gets called on entity creation or after that, and change the default mating task since you can call tasks.add(position, new EntityVillagerAI(variables));
×
×
  • Create New...

Important Information

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