Example mod fails and terminates the window in seconds - 1.15.2 - Eclipse
By
Bear Bear,
in Modder Support
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
By ElTotisPro50 · Posted
(this is an example), i found a mod that has code that could help me, but oh no the mod is made for minecraft 1.12/1.16, etc (versions lower that 1.18 that is where im now) For example in 1.16.5 there is a class named "Tessellator" with double L, and now they changed the name(i found a class named the same but with one L, but it doesnt have all the methods so i think they changed the class's name), so i want some kind of program, bot, page, anything that translates METHODS, FIELDS AND CLASSES from 2 different versions I found a page that does kind of that because it translates from fabric to forge or viceversa (https://linkie.shedaniel.me/mappings), but as i said i want to translate from 2 different versions both from forge I found out that there is a discord bot that does that, but i cant find it, but i could use another method to achieve what i want to -
Look at the code in GhastShootFireballGoal. You need to create the fireball, configure it, then level.addFreshEntity() to spawn it.
-
You can use https://gist.github.com/ to upload larger text files.
-
By eeyorenailbag · Posted
After some time, I've managed to get it to be able to summon a ghast fireball (as a test) on keybind, and it works fine, however it just spawns the entity, rather than giving it movement. This is the current code I have to summon the entity, I just need to add motion to it. And I do apologise, I'm just incredibly stupid, idk anything about Java - _ -' public boolean handle(Supplier<NetworkEvent.Context> supplier) { NetworkEvent.Context context = supplier.get(); context.enqueueWork( () -> { ServerPlayer player = context.getSender(); ServerLevel level = player.getLevel(); EntityType.FIREBALL.spawn(level, null, null, player.blockPosition(), MobSpawnType.COMMAND, true, false); }); return true; } -
By DiegoA111234 · Posted
ok, error 413, too large, what do I do
-
-
Topics
Recommended Posts
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.