Jump to content

Recommended Posts

Posted

Hi,

I'm new to forge modding, i have a dev background (PHP, Flutter...) and i want to create my own mod, at least trying to make some things.

So i need some help to start, i already do some java and i can learn fast. I got a main problem idk from where to start so i need your help !

 

I want to create a vehicle mod, i know i cannot do it few days but i want to know from where i need to start, rendering, entity and blocks are complex for me and idk what i need to use and i cannot find tutorials ..

So my main problem is, how to render a movable structure made of blocks : like a simple boat => NCZwaWQ9QXBp

 

I'm not familiar with java and minecraft modding, but if someone can explain the steps to do what i want it's perfect.

I want to create an entity or something movable made of blocks (like the picture)

After i need some things more like collision, it's perfect if i can "walk" on the boat...

i already know some mods like archimeds ships ... and something like can be perfect,

but without entity to block, i mean i don't want to the entity can be block or breakable ...

i have no prefered version for modding.

 

thanks for help and reply ;)

 

 

 

 

 

 

 

 

 

 

 

 

Posted
  On 10/19/2022 at 9:15 AM, iFaZe_ said:

I want to create a vehicle mod, i know i cannot do it few days but i want to know from where i need to start, rendering, entity and blocks are complex for me and idk what i need to use and i cannot find tutorials ..

Expand  

The official docs and the forge community wiki are both good starting points. We typically don't recommend video tutorials except those from McJty. As for other stuff, just read the source code and use it as a basis to improve upon.

  On 10/19/2022 at 9:15 AM, iFaZe_ said:

So my main problem is, how to render a movable structure made of blocks : like a simple boat => 

Expand  

I mean, it's an entity, just rendered to be a bunch of blocks.

  On 10/19/2022 at 9:15 AM, iFaZe_ said:

I'm not familiar with java and minecraft modding, but if someone can explain the steps to do what i want it's perfect.

Expand  

You're going to need to be very familiar with Minecraft modding and Java to attempt anything close to this. As for steps, it depends on a lot of things. I recommend giving it a try yourself and ask questions when you get stuck rather than asking for step-by-step instructions on how to program. Also, we don't give support to people without the relevant Java knowledge or else they copy-paste and ask for the solutions without understanding how to think themselves.

  On 10/19/2022 at 9:15 AM, iFaZe_ said:

i already know some mods like archimeds ships ... and something like can be perfect,

Expand  

So, why not use one of those mods? Create comes to mind for something that can do this.

  On 10/19/2022 at 9:15 AM, iFaZe_ said:

but without entity to block, i mean i don't want to the entity can be block or breakable ...

Expand  

I have no idea what you're saying here, but you need an entity if you want it to not be locked to a specific place.

  On 10/19/2022 at 9:15 AM, iFaZe_ said:

i have no prefered version for modding.

Expand  

We only support the latest and LTS versions of Minecraft for modding (1.19.2 and 1.18.2 currently).

Posted

Hi, 

I want to "modify" the original archimed ship to update and add features, i searched and it use a "mobile" chunk redering, i'm currently learning java, i will send my questions if i have

Posted
  On 10/19/2022 at 1:57 PM, iFaZe_ said:

I want to "modify" the original archimed ship to update and add features

Expand  

This is illegal, the original mod was under all rights reserved and as such cannot be "modified".

  On 10/19/2022 at 1:57 PM, iFaZe_ said:

i searched and it use a "mobile" chunk redering

Expand  

So an entity which rendered a chunk. Or it was back in the olden days so it could be weirder.

  On 10/19/2022 at 1:57 PM, iFaZe_ said:

i'm currently learning java

Expand  

Learn java first, then come back to modding once you have a basic understanding. Using a library before you learn the language is like trying to run before you know how to stand. Modding is a whole different beast comparable to winning an Olympic metal in gymnastics in our analogy. We do not provide support for people who do not understand at least an intermediate level of Java, so please come back once you do so.

Posted
  Quote

This is illegal, the original mod was under all rights reserved and as such cannot be "modified".

Expand  

Technically, it's only a copyright breach if you distribute it to other people.

If you have a legitimate copy, modifying for personal use is fine.

 

For the original poster, you might want to look at (and contribute to): https://github.com/ValkyrienSkies/Valkyrien-Skies-2

But since it is currently for 1.16.x you won;t get any support for it here.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Posted
  On 10/19/2022 at 6:32 PM, ChampionAsh5357 said:

This is illegal, the original mod was under all rights reserved and as such cannot be "modified".

So an entity which rendered a chunk. Or it was back in the olden days so it could be weirder.

Learn java first, then come back to modding once you have a basic understanding. Using a library before you learn the language is like trying to run before you know how to stand. Modding is a whole different beast comparable to winning an Olympic metal in gymnastics in our analogy. We do not provide support for people who do not understand at least an intermediate level of Java, so please come back once you do so.

Expand  

Omg you are so mad :/ i have a dev background (PHP and Flutter) and i understand well java basics ... I'm New to Minecraft / forge modding

Posted
  On 10/19/2022 at 6:42 PM, warjort said:

Technically, it's only a copyright breach if you distribute it to other people.

If you have a legitimate copy, modifying for personal use is fine.

 

For the original poster, you might want to look at (and contribute to): https://github.com/ValkyrienSkies/Valkyrien-Skies-2

But since it is currently for 1.16.x you won;t get any support for it here.

Expand  

Yep i see this mod too, idk why there is version for mods, forge provide an sdk/api for modding but it's not compatible ?

Posted
  On 10/19/2022 at 6:44 PM, iFaZe_ said:

Omg you are so mad :/ i have a dev background (PHP and Flutter) and i understand well java basics ... I'm New to Minecraft / forge modding

Expand  

Apologies if it seems like I'm mad. I'm just trying to state the facts. When you say contradictory things like know the Java basics and learning Java, that leads me to believe you do not have a solid enough foundation to make a mod, hence my above statement.

  On 10/19/2022 at 6:45 PM, iFaZe_ said:

Yep i see this mod too, idk why there is version for mods, forge provide an sdk/api for modding but it's not compatible ?

Expand  

Forge doesn't provide any support for any versions that are not the current latest or LTS. Things change between versions of Minecraft and Forge is made up of volunteers, so we do not have the ability to maintain all versions. As such, there will likely always be at least one thing not compatible between versions (though it's usually more like a hundred things).

Posted

Ok so i'm really motivated and i setup a "learning" program, can you tell me
if you have some suggestions like some things i need to learn or some parts i forgot...

first i think i will try to do this "simple" things :
 - create a new block (ship controller block)
 - add right click event on this block ?
 - display a chat message like "you clicked on ship controller"

after i will try the "complex" part like :
 - add a craft to my new block ?
 - detect ship (just 3-4 blocks, the controller and few near blocks) on right click
 - saving ship somewhere (array or idk for now, if you have some suggestions)

after i think i need some help but i'm not at this point, for now if you can tell me 
how i need to save my ship maybe in future i want to make bigger ship so can you tell me
witch is the best ? maybe selecting corners like worldedit ? or with the ship controller
and detecting the near blocks...

Posted

I think you have the wrong idea about this forum.

In a court of law there is generally rule that judge's don't answer hypotheticals. They only rule on cases that actually have consequences.

This forum works in similar way.

We answer questions from people that have tried to write a mod and have hit a snag or bug they don't understand.

That way we are dealing with a concrete issue and the questioner has some understanding of what the answer means (having tried to do it themselves).

Your question is more like "I have a great idea for a mod, can you tell me how to write it?" which is way too open ended to get an answer.

Try to implement your mod, then come back when you have issues you need help with.

But don't be surprised if you are ignored or get a snarky answer when your question shows you haven't put the effort in yourself to find an answer.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hi everyone, I’m looking to revisit an old version of Minecraft (around Beta 1.7.3 or so) for nostalgia's sake. I’ve heard it’s possible using the Minecraft Launcher, but I’m not sure if it’s safe or how to do it properly without messing up my current installation or saves. Also, are there any known compatibility issues I should be aware of when switching between versions? I’d appreciate any advice or tips from those who’ve done this before. Thanks in advance for any help
    • it was flywheel, it's solved now and i am reporting it but i am going to figure what create addon was the cause or if was create itself  
    • I deleted delightful and all farmers delight addon (just in case) and still i have the error :'(, i need to check mod by mod?
    • I'm developing a Forge mod for Minecraft 1.16.5 to run on CatServer (version 1.16.5-1d8d6313, Forge 36.2.39). My mod needs to get the player's UUID from a ServerPlayerEntity object within a Forge ServerChatEvent handler. When I use serverPlayerEntity.getUUID(), my mod compiles fine, but I get a java.lang.NoSuchMethodError: net.minecraft.entity.player.ServerPlayerEntity.getUUID()Ljava/util/UUID; at runtime. I cannot use serverPlayerEntity.getUniqueID() as it causes a compile error (cannot find symbol). Is there a known issue with this on CatServer, or a recommended way for a Forge mod to reliably get a player's UUID from ServerPlayerEntity in this environment? My goal is to pass this UUID to the LuckPerms API (which is running as a Bukkit plugin and successfully connected via ServicesManager). erorr ChatMod: FMLServerStartedEvent received. Attempting to initialize LuckPerms connection... [22:45:20] [Server thread/INFO]: ⚙️ Початок ініціалізації LuckPerms API через Bukkit Services Manager... [22:45:20] [Server thread/INFO]: ✅ Bukkit ServicesManager успішно отримано. [22:45:20] [Server thread/INFO]: ✅ Реєстрацію сервісу LuckPerms знайдено. [22:45:20] [Server thread/INFO]: ✅ API LuckPerms успішно отримано від Bukkit plugin! [22:45:20] [Server thread/INFO]: Використовується реалізація: me.lucko.luckperms.common.api.LuckPermsApiProvider [22:45:20] [Server thread/INFO]: ✅ LuckPerms API схоже що успішно ініціалізовано через Bukkit Services Manager. [22:45:24] [User Authenticator #1/INFO]: UUID of player Hiklee is 92cd7721-2652-3867-896b-2ceba5b99306 [22:45:25] [Server thread/INFO]: Using new advancement loading for net.minecraft.advancements.PlayerAdvancements@24cb7a68 [22:45:26] [Server thread/INFO]: Hiklee[/127.0.0.1:41122] logged in with entity id 210 at (92.23203876864889, 95.6183020148442, 68.24087802017877) [22:45:28] [Async Chat Thread - #0/INFO]: ✅ Скасовано стандартне відправлення чату! [22:45:28] [Async Chat Thread - #0/ERROR]: Exception caught during firing event: net.minecraft.entity.player.ServerPlayerEntity.getUUID()Ljava/util/UUID; Index: 1 Listeners: 0: NORMAL 1: ASM: class com.example.chatmod.ChatEventHandler onPlayerChat(Lnet/minecraftforge/event/ServerChatEvent;)V java.lang.NoSuchMethodError: net.minecraft.entity.player.ServerPlayerEntity.getUUID()Ljava/util/UUID; at com.example.chatmod.ChatPacketHandler.getPlayerPrefix(ChatPacketHandler.java:46) at com.example.chatmod.ChatEventHandler.onPlayerChat(ChatEventHandler.java:32) at net.minecraftforge.eventbus.ASMEventHandler_1_ChatEventHandler_onPlayerChat_ServerChatEvent.invoke(.dynamic) at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) at net.minecraftforge.eventbus.EventBus.post(EventBus.java:303) at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) at net.minecraftforge.common.ForgeHooks.onServerChatEvent(ForgeHooks.java:493) at net.minecraft.network.play.ServerPlayNetHandler.chat(ServerPlayNetHandler.java:1717) at net.minecraft.network.play.ServerPlayNetHandler.func_244548_c(ServerPlayNetHandler.java:1666) at net.minecraft.network.play.ServerPlayNetHandler.func_147354_a(ServerPlayNetHandler.java:1605) at net.minecraft.network.play.client.CChatMessagePacket.lambda$handle$0(CChatMessagePacket.java:34) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750
    • Thank you so much for your help, I'll try it as soon as I can. I have a genuine question because I'm not familiar with the matter: Can a recipe error cause something as serious as the AMD error?
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.