• 0

    posted a message on Retro modding

    Sono riuscito a configurare una cartella MCP per la versione beta 1.4_1, se importo il progetto in Eclipse posso vedere il codice del gioco. Inoltre ho notato che molti campi come "field_121234" sono scomparsi.
    Il problema è che Eclipse mi dà errori, dipendenze errate dimostrabili.
    Potresti dirmi come fare? sto usando java 1.6 e java 1.6 jre.

    Edit:
    I was using the wrong jre, now the problem is on the Minecraft.java class
    The error says "Could not found the main class: net.minecraft.client.minecraft"


    Edit2:
    The only error i can see is in the block.java file.


    This 2 lines:


    public static final Block pressurePlateStone;
    public static final Block pressurePlatePlanks;
    Posted in: Modification Development
  • 0

    posted a message on Retro modding

    sorry for the trouble,

    but when did mojang stop creating functions called for example "field_123124"?
    Also would you know how to set MCP for minecraft beta?

    Posted in: Modification Development
  • 0

    posted a message on Retro modding

    thans you! :lol:
    I will try!

    Posted in: Modification Development
  • 0

    posted a message on Retro modding

    Ok thanks you soo much!:D, were i can find an entire guide o do that?
    For modding have i to create new classes in mcp projects or in separate folders like in the modern minecraft modding?

    Posted in: Modification Development
  • 0

    posted a message on TheZygas(made by me) Alpha 1.1.2_01 Mods! [2021][Retro Modding]

    how can i learn to mod old minecraft versinos?

    Posted in: Minecraft Mods
  • 0

    posted a message on Hostile mob spawning has changed a lot in 1.18

    Now the hostile creatures spawn only in totallly dark

    Posted in: Recent Updates and Snapshots
  • 0

    posted a message on what is minecon?

    Hi! :D

    Minecon was an annual event, where the mojang team gave speeches and talked about their future plans, each year it was held in a different place (like a festival).
    Now it's not called Minecon anymore but it's called Minecraft Live, and it's held every year on the minecraft youtube channel! The event lasts a few hours and there is talk of future plans for the next versions of the game.

    Posted in: Minecon
  • 0

    posted a message on Retro modding

    Hi, some one can explain me how to modify the minecraft alpha code?
    For example, how can i add a block and an item?

    Thanks in advice!

    Posted in: Modification Development
  • 0

    posted a message on minecraft alpha modding [edited]

    ok! it works!
    I had to install JDK6 and JRE6!

    Tanks you so much :D

    Posted in: Modification Development
  • 0

    posted a message on minecraft alpha modding [edited]

    Thanks you so much, I will try!

    Posted in: Modification Development
  • 0

    posted a message on minecraft alpha modding [edited]

    Hi
    I was trying to modify the alpha 1.2.2a version, and i followed this tutorial
    The tutorial explain how to set up MCP for minecraft alpha, and how to import the code on eclipse!
    But when i complie the code this happen:


    Error occurred during initialization of boot layer
    java.lang.module.FindException: Unable to derive module descriptor for C:\Users\...\OneDrive\Desktop\MCP22\jars\bin\minecraft.jar
    Caused by: java.lang.module.InvalidModuleDescriptorException: ck.class found in top-level directory (unnamed package not allowed in module)


    Some on can help me?
    i followed step by step the tutorial.

    Exuseme my English, but is a lot of time i don't use it :)

    Posted in: Modification Development
  • 0

    posted a message on Problems to create a custon Enchantment

    Hi!,

    I followed this tutorial to create new enchantments: https://fabricmc.net/wiki/tutorial:enchantments

    But when i start the game, my book isn't in the inventory!

    How can i solve?
    this is the code:


    package home.frost_example;

    import net.minecraft.enchantment.Enchantment;
    import net.minecraft.enchantment.EnchantmentTarget;
    import net.minecraft.entity.Entity;
    import net.minecraft.entity.EquipmentSlot;
    import net.minecraft.entity.LivingEntity;
    import net.minecraft.entity.effect.StatusEffectInstance;
    import net.minecraft.entity.effect.StatusEffects;



    public class FrostEnchantment extends Enchantment {

    public FrostEnchantment() {
    super(Enchantment.Rarity.UNCOMMON, EnchantmentTarget.WEAPON, new EquipmentSlot[] {EquipmentSlot.MAINHAND});
    }

    @Override
    public int getMinPower(int level) {
    return 1;
    }

    @Override
    public int getMaxLevel() {
    return 3;
    }


    @Override
    public void onTargetDamaged(LivingEntity user, Entity target, int level) {
    if(target instanceof LivingEntity) {
    ((LivingEntity) target).addStatusEffect(new StatusEffectInstance(StatusEffects.SLOWNESS, 20 * 2 * level, level - 1));
    }

    super.onTargetDamaged(user, target, level);
    }
    }









    package home.frost_example;

    import net.fabricmc.api.ModInitializer;
    import net.minecraft.enchantment.Enchantment;
    import net.minecraft.util.Identifier;
    import net.minecraft.util.registry.Registry;

    public class EnchantingExample implements ModInitializer {

    private static Enchantment FROST = Registry.register(
    Registry.ENCHANTMENT,
    new Identifier("tutorial", "frost"),
    new FrostEnchantment()
    );

    @Override
    public void onInitialize() {

    }
    }


    Thanks in advance! : )

    Posted in: Modification Development
  • 0

    posted a message on [HELP] How to get the minecraft beta 1.8.1 code
    Hello everybody!
    I was trying to import the minecraft beta 1.8.1 source code (one of my favorite versions) to eclipse.
    I found after hours and hours of research the mod loader, mcp 4.4 (minecraft b.1.8.1) and the old .minecraft folder.
    Now I would like to know how to import the mnecraft code to eclipse to be able to modify it.
    Thanks in advance! :)
    Posted in: Modification Development
  • To post a comment, please .