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

Modify Minecraft Classes


Recommended Posts

Hello guys,

I wanna make a mod who changes the animation of the water and how its displayed. I have changed the bfb class on the game, but now I wanna make a forge mod.

There is anyway to change the class of the game using a forge mod or something?

 

PS: I dont speak english much great so if i wrote something wrong pls forgive me

Link to post
Share on other sites

I have changed a class of the game to add water reflection and change the animation of the water.

Now I want to transform this in a forge mod.

Who are you to tell me stop making mods? Nobody starts knowing everything

Link to post
Share on other sites
13 minutes ago, vini121121 said:

Who are you to tell me stop making mods?

D7 said stop making jar mods, that is, mods that modify the vanilla files directly and are installed by opening up the minecraft.jar in a zip editor.

You're free to make Forge mods (this is the Forge forums).

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to post
Share on other sites
12 minutes ago, kiou.23 said:

he meant to not make a mod for something which can be accomplished in a far easier way

if what you want is to change the water animation, you can do so with resource packs. if you want reflections or what not, you can make a shaderpack, it does not need to be a forge mod

man, ther es a problem on shader packs. they just pick the image of your monitor and reverse it into the water.

if you look close to the water, nothing will be reflected like in the pictures that i have uploaded

See on this picture: https://prnt.sc/113is8e

Where's the tree reflex? and wheres the reflex on the corners???

I think this reflex from shader is much bad bro

 

 

image.png

Link to post
Share on other sites
On 4/4/2021 at 7:29 AM, vini121121 said:

man, ther es a problem on shader packs. they just pick the image of your monitor and reverse it into the water.

if you look close to the water, nothing will be reflected like in the pictures that i have uploaded

See on this picture: https://prnt.sc/113is8e

Where's the tree reflex? and wheres the reflex on the corners???

I think this reflex from shader is much bad bro

Those are problems with the specific shader, not shaders in general.

If you want to add reflections and waves, then using a shader is by far the best way to go.

 

What specific changes are you trying to implement? It would be much easier to help if we know what you are trying to do specifically.

Some tips:

Spoiler

Modder Support:

Spoiler

1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code.

2. Always post your code.

3. Never copy and paste code. You won't learn anything from doing that.

4. 

Quote

Programming via Eclipse's hotfixes will get you nowhere

5. Learn to use your IDE, especially the debugger.

6.

Quote

The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it.

Support & Bug Reports:

Spoiler

1. Read the EAQ before asking for help. Remember to provide the appropriate log(s).

2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.

 

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Sure, i played around with the code a bit and added a ".get()" to the end of the material, this removed all errors. Except its wrong because now I launch and the game crashes, yet eclipse gives me no errors. Heres my list: package djofox.gemstones.materials; import java.util.function.Supplier; import djofox.gemstones.init.ItemInit; import net.minecraft.item.IItemTier; import net.minecraft.item.crafting.Ingredient; import net.minecraft.util.LazyValue; public enum ToolMaterialList implements IItemTier { beryl(0, 131, 15.0f, 2.75f, 30, () -> { return Ingredient.of(ItemInit.beryl.get()); }), jade(2, 500, 7.0f, 2.25f, 23, () -> { return Ingredient.of(ItemInit.jade.get()); }), moissanite(2, 500, 7.0f, 2.25f, 23, () -> { return Ingredient.of(ItemInit.moissanite.get()); }), kunzite(0, 315, 12f, 0.5f, 20, () -> { return Ingredient.of(ItemInit.kunzite.get()); }), orpiment(2, 258, 10f, 0.5f, 20, () -> { return Ingredient.of(ItemInit.orpiment.get()); }), mercurySulfide(2, 1012, 5.5f, 2.0f, 14, () -> { return Ingredient.of(ItemInit.mercurySulfide.get()); }), blackDiamond(3, 2757, 8.0f, 3.0f, 2, () -> { return Ingredient.of(ItemInit.blackDiamond.get()); }), treatedCarbide(4, 2560, 10.0f, 5.0f, 2, () -> { return Ingredient.of(ItemInit.siliconCarbide.get()); }); private final int level; private final int uses; private final float speed; private final float damage; private final int enchantmentValue; private final LazyValue<Ingredient> repairIngredient; private ToolMaterialList(int p_i48458_3_, int p_i48458_4_, float p_i48458_5_, float p_i48458_6_, int p_i48458_7_, Supplier<Ingredient> p_i48458_8_) { this.level = p_i48458_3_; this.uses = p_i48458_4_; this.speed = p_i48458_5_; this.damage = p_i48458_6_; this.enchantmentValue = p_i48458_7_; this.repairIngredient = new LazyValue<>(p_i48458_8_); } public int getUses() { return this.uses; } public float getSpeed() { return this.speed; } public float getAttackDamageBonus() { return this.damage; } public int getLevel() { return this.level; } public int getEnchantmentValue() { return this.enchantmentValue; } public Ingredient getRepairIngredient() { return this.repairIngredient.get(); } } Heres my init class which causes the crash (from taking other stuff) And heres the error I get when I crash (I dont know if you need it but better safe than sorry)  
    • can you show your ToolMaterialList?
    • Ohh ok, that makes sense, but even still how could I fix it? I cant initialize my items before I do my ToolMaterialList because my items class uses it.
    • please use PascalCase when naming classes also, what are you doing? there's no need to extend the BrewingRecipe, you can just instantiate a new one  
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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