
Everything posted by TheMysticMinecart Myles
-
[Solved] cannot find system java compiler
apparently my JAVA_HOME was missing, i just recreated it and the compiling worked. Thanks you for your time
-
[Solved] cannot find system java compiler
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.
-
Textures/Jason not loading in game[1.10]
yeah i know that found out a while back also thx for the suggestion will learn sponge over spiggot
-
Textures/Jason not loading in game[1.10]
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
-
Textures/Jason not loading in game[1.10]
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
-
Textures/Jason not loading in game[1.10]
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
-
Textures/Jason not loading in game[1.10]
nope still texture less blocks that are not actually blocks but items
-
Textures/Jason not loading in game[1.10]
like this then private static void registerRender(Item item) { ModelLoader.setCustomModelResourceLocation ( item, 0, new ModelResourceLocation(item.getRegistryName().toString(), "inventory"));
-
Textures/Jason not loading in game[1.10]
wait what
-
Textures/Jason not loading in game[1.10]
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"));
-
Textures/Jason not loading in game[1.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
-
Textures/Jason not loading in game[1.10]
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")); } }
-
Textures/Jason not loading in game[1.10]
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 ] } } }
-
[Solved].....Crash creating items
uchiha_logo_item = new Item().setUnlocalizedName(item.getRegistryName().toString()); do you mean like this?
-
[Solved].....Crash creating items
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
-
[Solved].....Crash creating items
thanks XD
-
[Solved].....Crash creating items
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
-
[Solved].....Crash creating items
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")); } }
-
[Solved].....Crash creating items
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
-
vanilla minecraft code
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
-
Dye, Log & Planks Crafting Recipes
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
-
[Solved] Multiple Creative Tabs
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
-
[Solved] Multiple Creative Tabs
first link or second one
-
[Solved] Multiple Creative Tabs
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(); }
-
[Solved] Multiple Creative Tabs
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
IPS spam blocked by CleanTalk.