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.

TheMysticMinecart Myles

Members
  • Joined

  • Last visited

Everything posted by TheMysticMinecart Myles

  1. apparently my JAVA_HOME was missing, i just recreated it and the compiling worked. Thanks you for your time
  2. i came across this error while trying to compile my mod, i believe it is because i updated Java but i am starting too think that's not the case. i tried editing my environment variables to update the JDK path but that didn't work.
  3. yeah i know that found out a while back also thx for the suggestion will learn sponge over spiggot
  4. Spigot the plugins for servers?, i guess i will look up how to make spigot plugins and continue working with 1.7.10 for now
  5. ok it's in with the event handlers but is says disallowed for this location package mysticmyles.FortniteItemsMod; import mysticmyles.FortniteItemsMod.init.ModItems; import mysticmyles.FortniteItemsMod.proxy.CommonProxy; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventBusSubscriber; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.Mod.Instance; import net.minecraftforge.fml.common.SidedProxy; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; @Mod(modid = Reference.MOD_ID, name = Reference.NAME, version = Reference.VERSION, acceptedMinecraftVersions = Reference.ACCEPTED_VERSIONS) public class Fortnite { @EventBusSubscriber @Instance public static Fortnite instance; @SidedProxy(clientSide = Reference.CLIENT_PROXY_CLASS, serverSide = Reference.SERVER_PROXY_CLASS) public static CommonProxy proxy; @EventHandler public void preInit(FMLPreInitializationEvent event) { System.out.println("Pre Init"); ModItems.init(); ModItems.register(); } @EventHandler public void Init(FMLInitializationEvent event) { System.out.println("Init"); proxy.init(); } @EventHandler public void postInit(FMLPostInitializationEvent event) { System.out.println("Post Init"); } } and where does the other one go
  6. i have proxies set up the client proxy the server proxy and the common proxy interface it's just this i am stuck on in what class do i put @EventBussSubscriber and i think this is the second thing you said to do @SubscribeEvent public static ModelRegistryEvent or is that not right
  7. nope still texture less blocks that are not actually blocks but items
  8. like this then private static void registerRender(Item item) { ModelLoader.setCustomModelResourceLocation ( item, 0, new ModelResourceLocation(item.getRegistryName().toString(), "inventory"));
  9. and it's has a error can you fill in the ... please ? private static void registerRender(Item item) { ModelLoader.setCustomModelResourceLocation ( item, 0, new ModelResourceLocation(item.getRegistryName("mysticmyles.FortniteItemsMod:item/itemmedkit"), "inventory"));
  10. private static void registerRender(Item item) { ModelLoader.setCustomModelResourceLocation ( item, 0, new ModelResourceLocation("mysticmyles.FortniteItemsMod:item/itemmedkit", "inventory")); ok so i did this and i know it is wrong how do i do it right sorry for to be a bother
  11. package mysticmyles.FortniteItemsMod.init; import mysticmyles.FortniteItemsMod.Reference; import mysticmyles.FortniteItemsMod.items.itemmedkit; import mysticmyles.FortniteItemsMod.items.itemwood_pickaxe_basic; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.item.Item; import net.minecraftforge.fml.common.registry.GameRegistry; public class ModItems { public static Item wood_pickaxe_basic; public static Item medkit; public static void init() { wood_pickaxe_basic = new itemwood_pickaxe_basic(); medkit = new itemmedkit(); } public static void register() { GameRegistry.register(wood_pickaxe_basic); GameRegistry.register(medkit); } public static void registerRenders() { registerRender(wood_pickaxe_basic); registerRender(medkit); } private static void registerRender(Item item) { Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory")); } }
  12. so i started to make a minecraft mod...... again and it's on 1.10.2 but the textures that are bigger than 16x16 will not load, they are multiples of 16x16 , it worked in 1.7.10. i feel like it's something simple i am missing jason { "parent": "builtin/generated", "textures": { "layer0": "mmfim:items/itemwood_pickaxe_basic" }, "display": { "thirdperson": { "rotation": [ -90, 0, 0 ], "transition": [ 0, 1, -3 ], "scale": [ 0.55, 0.55, 0.55 ] }, "firstperson": { "rotation": [ 0, -135, 25 ], "transition": [ 0, 4, 2 ], "scale": [ 1.7, 1.7, 1.7 ] } } }
  13. uchiha_logo_item = new Item().setUnlocalizedName(item.getRegistryName().toString()); do you mean like this?
  14. so do i just do it like it's done in (1.7.10 the unlocalized name) and how different is 1.8.9 to 1.8
  15. wait what 0.0, omg i am so stupid XD wow that was a dumb mistake on my part.... well that's embarrassing i guess this is solved oops
  16. ture but i want to make my mods available for many version plus people use 1.7.10 and 1.10 allot still so my plan was to update my mods from 1.7 to 1.8 to 1.9 ect. code(do you only need the item code?): package mysticmyles.Anime_Dekokurafuto.init; import mysticmyles.Anime_Dekokurafuto.Reference; import net.minecraft.client.Minecraft; import net.minecraft.client.resources.model.ModelResourceLocation; import net.minecraft.item.Item; import net.minecraftforge.fml.common.registry.GameRegistry; public class AnimeItems { public static Item uchiha_logo_item; public static Item yugioh_cardback_item; public static Item dragon_ball_logo0_item; public static void init() { uchiha_logo_item = new Item().setUnlocalizedName("uchiha_logo_item"); yugioh_cardback_item = new Item().setUnlocalizedName("yugioh_cardback_item"); dragon_ball_logo0_item = new Item().setUnlocalizedName("dragon_ball_logo0_item"); } public static void register() { GameRegistry.registerItem(uchiha_logo_item, uchiha_logo_item.getUnlocalizedName().substring(5)); GameRegistry.registerItem(yugioh_cardback_item, yugioh_cardback_item.getUnlocalizedName().substring(5)); GameRegistry.registerItem(yugioh_cardback_item, dragon_ball_logo0_item.getUnlocalizedName().substring(5)); } public static void registerRenders() { registerRender(uchiha_logo_item); registerRender(yugioh_cardback_item); registerRender(dragon_ball_logo0_item); } public static void registerRender(Item item) { Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Reference.MOD_ID + ":" + item.getUnlocalizedName().substring(5), "inventory")); } }
  17. so i started modding for 1.8 recreating a mod i made in 1.7.10, but after i made a third item the game would not load here's the crashed report it says something about the same item being registered twice crash-2018-06-26_09.55.26-client.txt
  18. i was wondering if anyone knows how to get the minecraft code i want to get it so i can look at stuff like the villager to see how to work. and add the trading part to a mob
  19. i can't figure out how to make crafting recipes with different types of log planks and dye i tried this code: GameRegistry.addRecipe(new ItemStack(blockdragonballplanksoak), new Object[]{" D "," W "," ", 'D',itemDragonBallLogo1, 'W',Blocks.planks, 1, 0}); but that doesn't work when i click run it doesn't load up i am using eclipse by the way crash-2018-04-28_10.49.21-client.txt
  20. i look again then i tried the code i used before and it worked this time must have put it in the wrong place last time thanks to all of you who replied tho
  21. this is how i created a creative tab for my 1.7.10 mod how do i make a second one, sorry i am kinda a noob i started modding a year or 2 ago then stopped and forgot almost everything i knew and that was very little public static CreativeTabs tabAnimeDecorationsPlus = new CreativeTabs("tabAnimeDecorationsPlus"){ @Override public Item getTabIconItem(){ return new ItemStack(itemDragonBallLogo1).getItem(); }
  22. so i am having some trouble making more than one creative tab i have already made one but i don't know how to make more i have tried some stuff but it comes up with errors

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.