Jump to content
  • Home
  • Files
  • Docs
  • Merch
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • madcrazydrumma

madcrazydrumma

Members
 View Profile  See their activity
  • Content Count

    48
  • Joined

    August 22, 2013
  • Last visited

    May 29, 2016

Community Reputation

0 Neutral

About madcrazydrumma

  • Rank
    Tree Puncher

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!
  1. madcrazydrumma

    Error on registering bow textures

    madcrazydrumma replied to madcrazydrumma's topic in Modder Support

    Yeah I know that, but I can't find where I've made that mistake.
    • May 13, 2016
    • 6 replies
  2. madcrazydrumma

    Error on registering bow textures

    madcrazydrumma replied to madcrazydrumma's topic in Modder Support

    I'm also currently getting this error: [08:46:18] [Client thread/ERROR] [FML]: Could not load vanilla model parent 'skyrimcraft:items/daedricBow' for 'net.minecraft.client.renderer.block.model.ModelBlock@23338420 net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model skyrimcraft:items/daedricBow with loader VanillaLoader.INSTANCE, skipping at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:134) ~[ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModelOrLogError(ModelLoaderRegistry.java:184) [ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader$VanillaModelWrapper.getTextures(ModelLoader.java:458) [ModelLoader$VanillaModelWrapper.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:144) [ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModelOrLogError(ModelLoaderRegistry.java:184) [ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader$VanillaModelWrapper.getDependencies(ModelLoader.java:437) [ModelLoader$VanillaModelWrapper.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:155) [ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:298) [ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:169) [ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:128) [ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:120) [simpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:535) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:381) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] Caused by: java.io.FileNotFoundException: skyrimcraft:models/items/daedricBow.json at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:68) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:64) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadModel(ModelBakery.java:310) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.access$1100(ModelLoader.java:99) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:844) ~[ModelLoader$VanillaLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:130) ~[ModelLoaderRegistry.class:?] ... 26 more [08:46:18] [Client thread/ERROR] [FML]: Could not load vanilla model parent 'skyrimcraft:items/daedricBow' for 'net.minecraft.client.renderer.block.model.ModelBlock@edfe8d net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model skyrimcraft:items/daedricBow with loader VanillaLoader.INSTANCE, skipping at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:134) ~[ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModelOrLogError(ModelLoaderRegistry.java:184) [ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader$VanillaModelWrapper.getTextures(ModelLoader.java:458) [ModelLoader$VanillaModelWrapper.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:144) [ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModelOrLogError(ModelLoaderRegistry.java:184) [ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader$VanillaModelWrapper.getDependencies(ModelLoader.java:437) [ModelLoader$VanillaModelWrapper.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:155) [ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:298) [ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:169) [ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:128) [ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:120) [simpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:535) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:381) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] Caused by: java.io.FileNotFoundException: skyrimcraft:models/items/daedricBow.json at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:68) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:64) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadModel(ModelBakery.java:310) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.access$1100(ModelLoader.java:99) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:844) ~[ModelLoader$VanillaLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:130) ~[ModelLoaderRegistry.class:?] ... 26 more [08:46:18] [Client thread/ERROR] [FML]: Could not load vanilla model parent 'skyrimcraft:items/daedricBow' for 'net.minecraft.client.renderer.block.model.ModelBlock@1761b129 net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model skyrimcraft:items/daedricBow with loader VanillaLoader.INSTANCE, skipping at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:134) ~[ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModelOrLogError(ModelLoaderRegistry.java:184) [ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader$VanillaModelWrapper.getTextures(ModelLoader.java:458) [ModelLoader$VanillaModelWrapper.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:144) [ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModelOrLogError(ModelLoaderRegistry.java:184) [ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader$VanillaModelWrapper.getDependencies(ModelLoader.java:437) [ModelLoader$VanillaModelWrapper.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:155) [ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:298) [ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:169) [ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:128) [ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:120) [simpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:535) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:381) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] Caused by: java.io.FileNotFoundException: skyrimcraft:models/items/daedricBow.json at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:68) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:64) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadModel(ModelBakery.java:310) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.access$1100(ModelLoader.java:99) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:844) ~[ModelLoader$VanillaLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:130) ~[ModelLoaderRegistry.class:?] ... 26 more The file is there in: assets.skyrimcraft.models.item/daedricBow.json
    • May 13, 2016
    • 6 replies
  3. madcrazydrumma

    Error on registering bow textures

    madcrazydrumma replied to madcrazydrumma's topic in Modder Support

    The override models you've specified don't exist, this is because you've used models/items/... instead of models/item/... (where the models are actually located). If you're using override models, you don't need a blockstates file. ItemBow 's "pull" property getter only works for Items.BOW , so you need to register a custom getter that works for your bow. You can see an example of this here. If you're going to use my code, please credit me somewhere. So I should be removing the blockstates file? And yeah of course I will credit you, I'll link it in the doc for the bow's code.
    • May 13, 2016
    • 6 replies
  4. madcrazydrumma

    Error on registering bow textures

    madcrazydrumma posted a topic in Modder Support

    Hey guys! So I've created a bow and the initial textures work and it shoots an arrow. Now, the pullback textures however are not working. Here is the gist of the code that I'm using for the bow: https://gist.github.com/ryankshah/172284fa5c58d843f73fc5c2172ba766 Its saying it can't load the models or something for the bow, so this should be all the relevant code!
    • May 13, 2016
    • 6 replies
  5. madcrazydrumma

    [1.9] .json block help

    madcrazydrumma replied to NEG2013's topic in Modder Support

    I'm assuming you would need to create an item model for the block as well. Do this the same way you would use the model for an item in json, except use the block's name. You can see an example file in the forge source.
    • May 8, 2016
    • 3 replies
  6. madcrazydrumma

    [1.8.9] Get field of view of an entity

    madcrazydrumma replied to XFactHD's topic in Modder Support

    Lily, is that you? [embed=425,349]<iframe width="560" height="315" src="https://www.youtube.com/embed/WFomvXf_sfE" frameborder="0" allowfullscreen></iframe>[/embed]
    • May 3, 2016
    • 7 replies
  7. madcrazydrumma

    Giving a random texture to an entity when spawned

    madcrazydrumma posted a topic in Modder Support

    Hey guys! So I have lots of textures for the same entity, and I was wondering how I would assign a different one each time it spawns.
    • May 3, 2016
    • 1 reply
  8. madcrazydrumma

    Removing the exact amount of an item from the inventory of the player

    madcrazydrumma replied to madcrazydrumma's topic in Modder Support

    I've got the implementation already myself. Check the updated OP.
    • May 3, 2016
    • 7 replies
  9. madcrazydrumma

    [1.8.9] Get field of view of an entity

    madcrazydrumma replied to XFactHD's topic in Modder Support

    I think he was looking for a camera view (like the player) but from the point of his entity, rather than getting entities within the player's field of view.
    • May 3, 2016
    • 7 replies
  10. madcrazydrumma

    [1.9] Models and textures not loading.

    madcrazydrumma replied to Legoboy0109's topic in Modder Support

    What are the paths for your models and textures, and what is the modid you've set?
    • May 3, 2016
    • 3 replies
  11. madcrazydrumma

    Removing the exact amount of an item from the inventory of the player

    madcrazydrumma posted a topic in Modder Support

    Hey guys! So I basically have an itemstack of say size 4 input into this method.. Now I want to remove this from the player's inventory, even if he/she doesn't have the exact amount in one itemstack. So there could be two itemstacks of size 2 that make up my input itemstack. I've got this previously (but it doesn't work for obvious reasons): public static void removeItem(EntityPlayer player, ItemStack is, int amount) { if(is == null) return; int removed = 0; for(ItemStack stack : player.inventory.mainInventory) { if(stack != null && removed <= amount) { if(areItemStacksEqual(stack, is)) { stack.stackSize--; removed++; } } } } This is my areItemStacksEqual implementation public static boolean areItemStacksEqual(ItemStack stack1, ItemStack stack2) { if(stack1 == null || stack2 == null) return stack1 == stack2; return stack1.isItemEqual(stack2) && ItemStack.areItemStackTagsEqual(stack1, stack2); } I think I have to, instead of incrementing removed by one, I have to increment it by the amount of the stack? Help is much appreciated! Thanks
    • May 3, 2016
    • 7 replies
  12. madcrazydrumma

    [1.9] Getting the recipe of itemstacks that make up an item!

    madcrazydrumma replied to madcrazydrumma's topic in Modder Support

    So keeping all those in mind.. What is the most effective way to do it? Its mostly my own items, so I've got my own Recipe class which takes in an ItemStack to create and a list of itemstacks for a recipe which i manually enter for my own items.
    • April 29, 2016
    • 7 replies
  13. madcrazydrumma

    [1.9] Getting the recipe of itemstacks that make up an item!

    madcrazydrumma posted a topic in Modder Support

    Hey guys! I was wondering if there was an easy way to get a list of itemstacks for the items that make up another in a recipe. I know there is a CraftingManager and i could loop through the recipes but there must be an easier way! Thanks
    • April 28, 2016
    • 7 replies
  14. madcrazydrumma

    [1.8.9] Server Tick Counter Not Working

    madcrazydrumma posted a topic in Modder Support

    Hey guys! So i've written a server tick counter and I'm sure its all correct, but it doesn't seem to be running on the server. Can anyone help me as to figure out why? Here is how I register my code: @EventHandler public void init(FMLInitializationEvent event) { MinecraftForge.EVENT_BUS.register(new ServerEvents()); } And here is my code: import java.util.List; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.server.MinecraftServer; import net.minecraft.util.ChatComponentText; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.common.gameevent.TickEvent.Phase; import net.minecraftforge.fml.common.gameevent.TickEvent.ServerTickEvent; public class ServerEvents { int intervalGold = 30; int intervalCounter = 0; //*20 for ticks, *60 for minutes int finalDuration = 1 * 20 * 60; @SubscribeEvent public void onServerTick(ServerTickEvent event) { if(event.phase == Phase.END) { //20 ticks = 1 second - check the counter is finished. if(intervalCounter % finalDuration == 0) { intervalCounter = 1; //Reset counter List<EntityPlayerMP> playerList = MinecraftServer.getServer().getConfigurationManager().playerEntityList; for(EntityPlayerMP player : playerList) { player.addChatMessage(new ChatComponentText("Hello")); } } else { intervalCounter++; } } } }
    • January 30, 2016
    • 2 replies
  15. madcrazydrumma

    [1.7.2] Crash when trying to make a simple GUI mod

    madcrazydrumma replied to madcrazydrumma's topic in Modder Support

    I am using forge 157 Here is my GUI: package io.madcrazydrumma.gui; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.GuiScreen; public class GuiFastTravel extends GuiScreen { public GuiFastTravel() { } public void initGui() { this.buttonList.clear(); } protected void actionPerformed(GuiButton par1) { } @Override public void drawScreen(int par1, int par2, float par3) { drawDefaultBackground(); drawCenteredString(fontRendererObj, "Fast Travel - Control Menu", width / 2, 40, 16777215); super.drawScreen(par1, par2, par3); } public boolean doesGuiPauseGame() { return true; } } and here is my GuiHandler: package io.madcrazydrumma.gui; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.world.World; import cpw.mods.fml.common.network.IGuiHandler; public class GuiHandler implements IGuiHandler { @Override public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { return null; } @Override public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { if(ID == 0) { return new GuiFastTravel(); } else { return null; } } } and here is where i open the GUI: package io.madcrazydrumma.command; import io.madcrazydrumma.gui.GuiFastTravel; import io.madcrazydrumma.main.FastTravel; import java.util.List; import net.minecraft.client.Minecraft; import net.minecraft.command.ICommand; import net.minecraft.command.ICommandSender; import net.minecraft.entity.player.EntityPlayer; public class CommandFastTravel implements ICommand { public CommandFastTravel() { } @Override public String getCommandUsage(ICommandSender var1) { return "command.fasttravel.usage"; } @Override public int compareTo(Object arg0) { return 0; } @Override public String getCommandName() { return "fasttravel"; } @Override public List getCommandAliases() { return null; } @Override public void processCommand(ICommandSender var1, String[] var2) { if(var1 instanceof EntityPlayer) { EntityPlayer player = (EntityPlayer) var1; player.openGui(FastTravel.instance, 0, player.worldObj, (int)player.posX, (int)player.posY, (int)player.posZ); //Minecraft.getMinecraft().displayGuiScreen(new GuiFastTravel()); } } @Override public boolean canCommandSenderUseCommand(ICommandSender var1) { return true; } @Override public List addTabCompletionOptions(ICommandSender var1, String[] var2) { return null; } @Override public boolean isUsernameIndex(String[] var1, int var2) { return false; } }
    • April 9, 2014
    • 7 replies
  • All Activity
  • Home
  • madcrazydrumma
  • Theme
  • Contact Us
  • Discord

Copyright © 2019 ForgeDevelopment LLC · Ads by Curse Powered by Invision Community