• Recently Browsing

    No registered users viewing this page.

  • Posts

    • Hey dude did you solve biome generating in 1.16.0+. I really have been looking everywhere for some clues about this topic.
    • Hello! I haver a error but I do not know what Mod is causing It, please help!    [19:14:43] [main/ERROR] [LaunchWrapper]: Unable to launch java.lang.reflect.InvocationTargetException: null         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_271]         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_271]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_271]         at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_271]         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_271]         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_271]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_271]         at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_271]         at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:117) [magma.jar:e69a953]         at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:66) [magma.jar:e69a953] Caused by: java.lang.VerifyError: Bad type on operand stack Exception Details:   Location:     net/minecraft/entity/projectile/EntityPotion.func_190543_a(Lnet/minecraft/util/math/RayTraceResult;Ljava/util/List;)V @407: invokestatic   Reason:     Type 'java/util/Iterator' (current frame, stack[9]) is not assignable to 'net/minecraft/potion/PotionEffect'   Current Frame:     bci: @407     flags: { }     locals: { 'net/minecraft/entity/projectile/EntityPotion', 'net/minecraft/util/math/RayTraceResult', 'java/util/List', 'net/minecraft/util/math/AxisAlignedBB', 'java/util/List', 'java/util/HashMap', 'org/bukkit/event/entity/PotionSplashEvent', 'java/util/Iterator', top, top, double, double_2nd, 'org/bukkit/entity/LivingEntity', 'net/minecraft/entity/EntityLivingBase', 'java/util/Iterator', 'net/minecraft/potion/PotionEffect', 'net/minecraft/potion/Potion' }     stack: { 'net/minecraft/potion/Potion', 'net/minecraft/entity/projectile/EntityPotion', 'net/minecraft/entity/EntityLivingBase', 'net/minecraft/entity/EntityLivingBase', integer, double, double_2nd, 'net/minecraft/entity/projectile/EntityPotion', 'org/bukkit/event/entity/PotionSplashEvent', 'java/util/Iterator' }   Bytecode:     0x0000000: 2ab6 00ff 1401 0014 0102 1401 00b6 0109     0x0000010: 4e2a b400 6413 010b 2db6 012f 3a04 bb01     0x0000020: 3159 b701 333a 0519 04b9 00a4 0100 9a00     0x0000030: 6c19 04b9 0112 0100 3a06 1906 b900 cc01     0x0000040: 0099 0059 1906 b900 d001 00c0 010b 3a07     0x0000050: 1907 b601 3699 0042 2a19 07b6 0116 3908     0x0000060: 1808 1401 1798 9c00 310f 1808 b801 3c14     0x0000070: 0100 6f67 390a 1907 2bb4 0140 a600 060f     0x0000080: 390a 1905 1907 b601 44c0 0146 180a b801     0x0000090: 4bb9 0151 0300 57a7 ffa3 2a19 05b8 0157     0x00000a0: 3a06 1906 b601 5c9a 014e 2cc6 014a 2cb9     0x00000b0: 00a4 0100 9a01 4119 06b6 0160 b901 6301     0x00000c0: 003a 0719 07b9 00cc 0100 9901 2b19 07b9     0x00000d0: 00d0 0100 c001 463a 0c19 0cc1 0165 9a00     0x00000e0: 06a7 ffe2 190c c001 65b6 0169 3a0d 1906     0x00000f0: 190c b601 6d39 0a2c b901 1201 003a 0e19     0x0000100: 0eb9 00cc 0100 9900 ec19 0eb9 00d0 0100     0x0000110: c001 6f3a 0f19 0fb6 0173 3a10 2ab4 0064     0x0000120: b401 769a 0057 2ab6 0179 c101 7b99 004d     0x0000130: 190d c101 7b99 0045 190d 2ab6 0179 a500     0x0000140: 3c19 10b8 0181 3611 1511 059f ffb4 1511     0x0000150: 079f ffae 1511 1007 9fff a715 1110 0f9f     0x0000160: ffa0 1511 1011 9fff 9915 1110 129f ff92     0x0000170: 1511 1013 a000 06a7 ff88 1910 b601 8499     0x0000180: 002b 1910 2a2a b601 7919 0d19 0fb6 0187     0x0000190: 180a 2a19 0619 0eb8 018d 9a00 09b6 0191     0x00001a0: a700 0758 5858 57a7 0048 180a 190f b601     0x00001b0: 9487 6b14 0195 638e 3611 1511 1014 a400     0x00001c0: 3119 0dbb 016f 5919 1015 1119 0fb6 0187     0x00001d0: 190f b601 9919 0fb6 019c b701 9f2a 1906     0x00001e0: 190e b801 a29a 0009 b601 a6a7 0004 58a7     0x00001f0: ff10 a7fe d1b1   Stackmap Table:     full_frame(@58,{Object[#2],Object[#11],Object[#161],Object[#261],Object[#161],Object[#305],Object[#201]},{})     append_frame(@130,Object[#267],Double,Double)     chop_frame(@151,2)     chop_frame(@154,2)     append_frame(@195,Object[#345],Object[#201])     full_frame(@228,{Object[#2],Object[#11],Object[#161],Object[#261],Object[#161],Object[#305],Object[#345],Object[#201],Top,Top,Top,Top,Object[#326]},{})     full_frame(@255,{Object[#2],Object[#11],Object[#161],Object[#261],Object[#161],Object[#305],Object[#345],Object[#201],Top,Top,Double,Object[#326],Object[#267],Object[#201]},{})     append_frame(@378,Object[#367],Object[#381])     full_frame(@419,{Object[#2],Object[#11],Object[#161],Object[#261],Object[#161],Object[#305],Object[#345],Object[#201],Top,Top,Double,Object[#326],Object[#267],Object[#201],Object[#367],Object[#381]},{Object[#381],Object[#2],Object[#267],Object[#267],Integer,Double})     same_frame(@423)     same_frame(@426)     full_frame(@494,{Object[#2],Object[#11],Object[#161],Object[#261],Object[#161],Object[#305],Object[#345],Object[#201],Top,Top,Double,Object[#326],Object[#267],Object[#201],Object[#367],Object[#381],Integer},{Object[#267],Object[#367]})     chop_frame(@495,1)     chop_frame(@498,2)     full_frame(@501,{Object[#2],Object[#11],Object[#161],Object[#261],Object[#161],Object[#305],Object[#345]},{})         at java.lang.Class.getDeclaredConstructors0(Native Method) ~[?:1.8.0_271]         at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) ~[?:1.8.0_271]         at java.lang.Class.getConstructor0(Unknown Source) ~[?:1.8.0_271]         at java.lang.Class.getConstructor(Unknown Source) ~[?:1.8.0_271]         at net.minecraft.entity.EntityList.func_191303_a(EntityList.java:417) ~[vi.class:?]         at net.minecraft.entity.EntityList.func_151514_a(EntityList.java:298) ~[vi.class:?]         at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:779) ~[ni.class:?]         at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1659) ~[MinecraftServer.class:?]         ... 12 more         ResponderReenviar                                                                      
    • This appears to have worked for me, thank you
    • How do I create an instance of MapItemRenderer?   Edit: Figured it out. I updated the map texture using a MapData instance of the map. func_228089_a_ is in a private package. Now what should I do?  Also, referring to my screenshot approach, how would I use it correctly? 
    • I'm trying to create a MegaTNT which derives from TNTEntity but if I have 2 constructors it will not work, but I need both so I can have the position of the entity etc.   so this is my entities class and the error I'm getting from ::new is cannot resolve constructor 'MegaTNTEntity' public static final DeferredRegister<EntityType<?>> ENTITIES = DeferredRegister.create(ForgeRegistries.ENTITIES, VanillaEnhanced.MOD_ID); public static final RegistryObject<EntityType<MegaTNTEntity>> MEGA_TNT = ENTITIES.register("mega_tnt", () -> EntityType.Builder.create(MegaTNTEntity::new, EntityClassification.MISC) .build(new ResourceLocation(VanillaEnhanced.MOD_ID,"mega_tnt").toString())); this is my MegaTNT   public MegaTNTEntity(EntityType<? extends MegaTNTEntity> type, World worldIn) { super(type, worldIn); this.preventEntitySpawning = true; setFuse(160); } public MegaTNTEntity(World worldIn, double x, double y, double z, LivingEntity igniter) { super(worldIn, x, y, z, igniter); } @Override protected void explode() { this.world.createExplosion(this, this.getPosX(), this.getPosYHeight(0.0625D), this.getPosZ(), 10.0F, Explosion.Mode.BREAK); } if I remove the second constructor ::new works, am I doing something wrong? I'm quite new to modding so it might be a simple problem but I'm so confused .-.
  • Topics

  • Who's Online (See full list)