Jump to content

TheMysticMinecart Myles

Members
  • Posts

    26
  • Joined

  • Last visited

Converted

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

TheMysticMinecart Myles's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  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
×
×
  • Create New...

Important Information

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