Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

MrMarnic

Members
  • Content Count

    31
  • Joined

  • Last visited

Everything posted by MrMarnic

  1. @LexManos and @diesieben07 I have found the real reason for the error message. It was the formatting of drive. Steps to reproduce (on Windows): Use a working drive/flash drive. Format it with NTFS => put the project folder on it => everything works fine Format it with ExFAT or FAT32 => put the project folder on it => I get the error message I have tested it out with a working usb stick. On NTFS => everything is working ON FAT32/ExFat =>I get the error I don't know why this is happening, but this seems to be the reason.
  2. This could be, but in this post for example https://mcreator.net/forum/75274/build-and-launch-errors-need-help they say that they have the project on a flash drive and get same error. And when it is really failing, why does it work for any other version? Could it have something to do with the partitioning of the drive?
  3. I am not using MCCreator. I just googled for the error message and found these posts. But it is just like this. If the project is on the E drive I get the error. If it is C drive it works.
  4. I found the "solution" or better workaround. The runClient task works fine if the project directory is on the C drive. But on any other drive I am getting the error mentioned above. This only happens on 1.16.5, so there must be something that changed with the paths or something idk.
  5. Not even that did fix it. But it seems like I am not the only one with this problem. Here is the same error https://mcreator.net/forum/73623/116-upgrade-not-working . And here: https://mcreator.net/forum/75274/build-and-launch-errors-need-help I really have no idea anymore. I just hope I won't get the error in 1.17 .
  6. I don't have an answer either. I just tried out the 1.16.3 MDK and it works flawlessly. It's only the 1.16.5 version thats gives this error everytime, no matter how many times I reinstall it.
  7. I have done that. But it works only one time. When I try to start Minecraft again, I get the same error. This didn't happen in 1.16.4
  8. full log: https://pastebin.com/HuKtAuKK build.gradle: https://pastebin.com/b2WwAhFw
  9. Hello, when I try to run the runClient task to start Minecraft, I get this error: A problem was found with the configuration of task ':createSrgToMcp' (type 'GenerateSRG'). > File 'E:\MinecraftMods\SchulMod\build\extractSrg\output.srg' specified for property 'srg' does not exist. I hope you can help me. I am using Forge 1.16.5 - 36.1.25
  10. Thank you very much. It is working now with getShareTag and readShareTag.
  11. Ok I undestand that. But can I maybe send the capability trough getShareTag() ? Or is this not possible at all and I can not create a Backpack item with capabilites?
  12. I have attached an inventory to an item with the slot size of one (At the beggining the slot is empty). When you right click with this item a gold ingot will be set in the slot. If you sneak and right click the Display name of the inserted item will be printed. (At first "Air" because not item is set) The issue was already adressed here, but there was never as solution. Old issue public class InventoryTestItem extends Item { public InventoryTestItem(Properties properties) { super(properties); setRegistryName("inv_test"); } @Override
  13. Sorry. I was stupid and did override getNBTShareTag in a class that extends BasicBow.
  14. Hello, I have a custom Item which needs to be synced with the client. To do that I have looked up several threads and they suggested to override getNBTShareTag. But when I try to use it in the addInformation method the stack never has the values which are in getNBTShareTag. Item class: public class BasicBow extends Item { @Override public void addInformation(ItemStack stack, @Nullable World worldIn, List<String> tooltip, ITooltipFlag flagIn) { if(stack.hasTagCompound()) { System.out.println(stack.getTagCompound().hasKey("test")); }
  15. In 1.12.2 the type of the RayTraceResult of the ProjectileImpactEvent was Block if the arrow hit a block. But int 1.14.3 it is only Block if the arrow hits a block the player is directly looking at. Everytime else it is miss. This is my code: @SubscribeEvent public static void projectileHit(ProjectileImpactEvent.Arrow e) { System.out.println(e.getRayTraceResult().getType()); } Again it is only Block if the hit block is highlighted. I 1.12.2 it worked.
  16. In 1.12.2 you can add enchantments to an ItemStack like this. ItemStack stack = new ItemStack(Items.DIAMOND_SWORD); stack.addEnchantment(Enchantments.SHARPNESS,4);
  17. The strange thing is it is working if the velocity is 4 or minor. Then the bug is occuring.
  18. Here is my problem. I have create a custom bow which is working fine but when I am increasing the velocity of the arrows, the arrows have an offset when flying. They are not flying as straight as the arrows from the vanilla bow. Here is my code: public class BasicBow extends ItemBow{ public BasicBow(String name) { setRegistryName(name); setUnlocalizedName(name); setMaxDamage(384); this.addPropertyOverride(new ResourceLocation("pull"), new IItemPropertyGetter() { @SideOnly(Side.CLIENT) public float apply(Item
  19. I know that. But I wanted to replace an existing recipe like in this post: http://www.minecraftforge.net/forum/topic/59711-112-override-vanilla-recipe/
  20. In 1.12.2 this has worked to get the event for IRecipe @SubscribeEvent public void recipe(RegistryEvent.Register<IRecipe> e) { } But this doesn`t work dany more. So my question is how is the new way?
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.