#⚙️︱authors-help

1 messages · Page 15 of 1

lament crypt
#

or fork fg2 and make it use the new maven

#

have fun with that :tiny_potato:

coral cape
#

what font should i use for the curseforge page

fresh furnace
#

wrong

#

it's updated

#

I am the person who updated it

#

and I can tell by them getting the warning message and them using 2.3.2, they are using the updated version

rotund salmon
#

@lament crypt that wasn't it, had to change my minecraft forge url

narrow geode
#

I've found something a bit odd, my mod has sulfur in it, and when i set the lang entry for it, it also sets gunpowder, anyone know how I can stop it from setting gunpowder, too?

fresh furnace
#

What's the lang entry?

fickle depot
#

why does the app start deleting jar files i put in a directory?

restive thunder
#

"a directory"? Can you specify which one?

thick dawn
#

Anyone know what the name of cocoa beans are in forge java 1.7.10? Blocks.cocoa is the only thing that comes up and it's the block not the actual bean

#

wanted to put cocoa beans in a crafting recipe and don't know the name for the bean

winter cipher
#

Use F3+H to see the names of the items if that didn't exist yet, use a mod that adds item names to items.

#

should be in the format of minecraft:name:meta

narrow geode
#

Minecraft's (in en_us.lang in the assets section of 1.12 at least) for gunpowder is
item.gunpowder.name=Gunpowder

fresh furnace
#

does 1.12 not have unique lang names? wut

narrow geode
#

What?

fresh furnace
#

usually the lang name has the modid but not sure for 1.12

narrow geode
#

Definitely not for 1.12

restive thunder
#

Shrimp... this is vanilla langs

narrow geode
#

No, 1.12 just doesn't

fresh furnace
#

yes it does I'm looking at a modded lang file from a 1.12 mod right now

narrow geode
#

Here's my lang

restive thunder
#

Anyway... doesn't the game outright show the lang key in game when it's missing?

narrow geode
fresh furnace
#

your lang entry should be in the form item.modid.item_id.name

narrow geode
#

Never done it that wa

#

Never had any issues before now

#

Your lang is in your assets.modid

restive thunder
#

I hope this doesn't mean you've been accidentally registering your stuff in the Minecraft namespace until now

fresh furnace
#

^^^

narrow geode
#

Not at all

restive thunder
fresh furnace
#

all translation keys are merged anyways regardless of assets in your modid

narrow geode
#

¯_(ツ)_/¯

#

My guess is both work, but I've just never run into this since I've never had something that used the same lang entry as anything else?

fresh furnace
#

can you show how you're registering your items as your lang entries should work with the modid in them

winter cipher
#

you are very much doing something wrong.

narrow geode
fresh furnace
#

actual code please

narrow geode
#

-_-

winter cipher
#

lang entries need mod ID's otherwise we would have a million issues.

fresh furnace
#

you say -_- when I request for code?

narrow geode
fresh furnace
#

what...

#

how do you expect help

narrow geode
#

Please hold while I go get it

#

Registry event

restive thunder
#

Oh ffs

winter cipher
#

🤦

narrow geode
#

Is there a problem?

restive thunder
#

Show where you're constructing the items

#

Where you're setting the regnames

#

It honestly feels like you're TRYING to give us the runaround

narrow geode
#

You ask for my registration

#

I give you my registration even

#

And now you're being condescending

#

Anyway, one sec

restive thunder
#

How about we cut to the chase and you just provide a git repo so we don't have to do this over and over

narrow geode
#

Here's my basic items in the ItemInit

#

Here's my ItemBase class

#

And

#

Here's an item in game

#

Do you need any more?

fresh furnace
#

what is ItemBase

restive thunder
fresh furnace
#

ooh I'm blind

restive thunder
#

and it's stupid

narrow geode
#

Just an extension of Item that does the mundane crap for me

#

Mainly adding it to the Items array

fresh furnace
#

luckily forge infers the domain when registering items so it still works but...

restive thunder
#

There is so much wrong with this method of registration and I hate tutorials for perpetuating it

narrow geode
#

Never had issues with it

fresh furnace
#

that doesn't make it correct

narrow geode
#

¯_(ツ)_/¯

winter cipher
#

looks at motherfucking common proxy classes with the eyes of a 1000 suns

fresh furnace
#

anyways you should migrate your lang entries to start with your modid in the form item.modid.item_id.name

#

then you shouldn't have issues with minecraft names randomly being overriden

restive thunder
#

OH RIGHT... 1.12.2

#

I'm stupid

fresh furnace
#

daemon 🙃

restive thunder
#

What the hell are we thinking setUnlocalizedName does?

narrow geode
#

Sets the string to be used in the lang entry

#

So one sec

restive thunder
#

I knew it was 1.12.2 Shrimp, I'd forgotten that 1.12.2 had you manually set the lang key

fresh furnace
#

yeah 🤢

narrow geode
restive thunder
#

It should

narrow geode
#

Aight, sounds like it would be better to do

#

I'm thankful for Eclipse's find and replace all feature

#

Just replace item. with item.dimensionalhybrids.

#

And it's all fixed for me lol

fresh furnace
#

any ide that doesn't have that isn't a real ide irritatered

narrow geode
#

Fax

narrow geode
# fresh furnace yeah 🤢

For all of it's flaws, 1.12 is still my favorite version, purely since it's the one I've used the most

winter cipher
#

but, modding in new versions is like 7 time easier.

#

you don't have this stupid crap for example.

narrow geode
#

I know, I've worked on newer mods

fresh furnace
#

yeah I like shit to just work and to type less

narrow geode
#

Just a matter of preference

fresh furnace
#

type less, get more

narrow geode
#

No more unwittingly overwriting crap

#

I've modded for a long time, but I've always taken to reading outdated forums or some crap for help since I've always modded on older versions and forge deletes posts on old versions

#

Locks*

fresh furnace
#

well yeah the forums only support newer ones. but you should be able to find the info you need even from locked threads

narrow geode
#

I know, I'm saying I couldn't ask for help on specific issues

fresh furnace
#

there are at least 3 discords I know of that still support 1.12 although it is less popular than the newer versions

narrow geode
#

I'm in them now, I didn't know they existed before

#

Well, them being MMD and this one

winter cipher
#

someone was trying to make a 1.5.2 modpack the other day...
I believe that's the oldest thing I've seen mentioned here.

narrow geode
#

Wow, oldest I've worked on was I think 1.6

winter cipher
#

anything pre-1.7.10 isn't worth the time even for nostalgia.
Fuck ID collisions out the ass.

narrow geode
#

I gotta agree, it sucked

unique sleet
#

Alright so I'm working on a new modpack again but this time I'm launching the game everytime I install a new mod just to make sure it works instead of just installing several mods at once and hope for the best.

fickle depot
#

Honestly, 2 years. if its not more recent then that its a security concern. 1.7.10 was a good year but 1.12 made up for it and people are finally getting heads together so 1.16 does the same. It's almost a pity 1.17 is out in 3 days

fickle depot
primal sphinx
crude wren
#

When editing recipes via datapack, would there be an advantage to using tags, i.e. "tag": "forge:ingtos/iron" vs items "item": "minecraft:iron_ingot"

primal sphinx
#

Allows you to use multiple items

#

I don't know of that's possible in datapacks tho

#

If there were two types of iron ingots they could both be used

turbid void
#

yes, although since no other mods (i'm aware of at least) make alternate iron ingots then not very helpful for that example. Lots of other metal types and items (forge:glass, etc.) it's useful for

winter cipher
#

Always use tags unless you have a distinct reason for people to not use some other mods item.

Like if mod A and B add magic iron but mod A has a super easy way to get it because they use tons of it compared to B then you would want to pick one or the other.

nimble dust
#

guys i have a problem, when i try to build my mod it says this as an error " Could not find net.minecraftforge:forge:1.12.2-14.23.5.2854_mapped_stable_1.12.2."

fresh furnace
#

did you run setupDecompWorkspace?

#

and if that errors out, it's because there is a website that is normally used to get the MCP version that is down. you may need to use a fork of ForgeGradle

nimble dust
#

i did and when i try it gives me this error "Task 'setupdecompworkspace' not found in root project 'sapsmod'."

#

am i dumb or is this common

fresh furnace
#

capitalization required

#

exactly as I typed it

nimble dust
#

oh so im dumb

winter cipher
#

nawh, common mistake.

nimble dust
#

uhhh

#

i didnt work

#

i copied it

fresh furnace
#

what's the error?

nimble dust
#

and it syas the same thing but with caps

#

Task 'setupDecompWorkspace' not found in root project 'sapsmod'.

winter cipher
#

did you install a forge MDK?

nimble dust
#

well the tutorial told me to only remove 5 files from the mdk folder

#

is this the problem?

winter cipher
#

uhh, yes. If you didn't copy all the gradle files, it won't do anything.

nimble dust
#

i had to put gradlew, gradlew.bat,build.gradle, gradle folder, scr folder btw

winter cipher
#

and how are you running the command?

nimble dust
#

command prompt

winter cipher
#

Are you opening it in the folder you are doing the modding in?

#

I'm guessing that you messed up how the files are set up or are opening the CMD window in the wrong folder.

nimble dust
#

well is it supposed to be in the big folder with everything or a specififc one?

winter cipher
#

The top level folder of the project.

nimble dust
#

oh then its in the right folder

winter cipher
#

Try setting up a new workspace and put the whole MDK in there and use the commands to set it up.

nimble dust
#

it worked

#

you are a god

#

thank you so much man

winter cipher
#

👌

#

when all else fails. Start over and set up a new workspace 😛

queen swift
#

Is there by any chance any fabric developers that could help port my (unfinished) mod to fabric?

Dm if interested

median meteor
#

Ive got a huge todo list of things I want to do for a modpack I'm making, and no clue how to do pretty much any of it, so any guidance at all would be helpful.

turbid void
median meteor
#

I'm having trouble removing recipes from my modpack. I try using recipes.remove() however they still remain. I have extended crafting installed along with crafttweaker+ modtweaker.

turbid void
median meteor
#

1.12

#

i have it setup so the original recipe is removed then the new is added

#

so like

#

recipe.remove(xyz)

recipe here

turbid void
#

what mod is the recipe you are trying to remove from?

#

some mods for 1.12 apparently need the special handler to remove, and there are more than one type to remove the regular way as well. for example you could go an alternate route of removing the recipe by name or regex

neon drum
#

i have a mod pack i made but it crashes when i launch it can someone help

turbid void
#

post the log file or crash-report.txt file? in crash-reports folder for the latter

neon drum
turbid void
# neon drum ```

go to the curseforge launcher app settings and give it more ram/memory to boot up with and then see if it has the same error

#

is it a custom modpack or pre-made?

neon drum
#

custom

#

i thought mods might not work together

#

it crashed again

turbid void
#

that's the same ram amount - and it's totally different error messages. the setting to change ram allocation is in the curseforge app

neon drum
#

ik

#

call me and ill share screen

kindred dock
#

!mc-ram

vale pulsarBOT
#
How to set Global Minecraft RAM value.
  1. Click the CFsettings icon in the bottom left to open settings.
  2. Click the Minecraft tab.
  3. Scroll down.
  4. Slide slider to recommended ram range as seen below.
turbid void
#

nop - thanks yoko. give yourself more ram before you go digging more

neon drum
#

ok i didi

#

it did it again even with more ram

turbid void
#

can we see the crash report this one then? there's a line item above mods that tells what the pack was booting with - java / memory / etc

neon drum
turbid void
#

it mentions electroblob's wizardry of course - for science you should try removing it temporarilly and seeing if things run - since there's no other obvious info (at least to me) like mixins not loading or something

#

although if you don't already have it adding the mod 'mixinbootstrap' can fix the occasional thing that needs it now and then.

neon drum
#

😘 it worked but i want those mods

turbid void
#

doing what worked?

neon drum
#

removeing the mod

turbid void
#

this thread says it's a problem with arcane essentials - try downgrading arcane essentials to 0.9.1

#

and add electroblobs back

neon drum
#

how

turbid void
#

ok also (i forgot this sorry) - you had both the full enderIO and the modules too ala-carte add enderIO - only include one way of installing that

neon drum
#

huh?

turbid void
#

to change mod versions you go to the profile options of a profile and 'allow content management'

#

the mod EnderIO.... for 1.12.2 you can get it in 2 ways... one mod file that has it all.. OR... getting a bunch of little mods that make it up as you choose to get

neon drum
#

can you call me and help

turbid void
#

it's really not that complicated

neon drum
#

please

turbid void
#

can't - just read above and it's more than needed to fix both problems

neon drum
#

ok😩

turbid void
#

if you want to author a modpack gotta learn how to do this stuff

#

to recap - downgrade 'arcane essentials' to 0.9.1, remove all EnderIO mods except "EnderIO" and "EnderCore"

cursive frost
#

how long do new mods usually take to get approved nowadays?

wicked harness
#

!status

vale pulsarBOT
#

It is 11:55AM on Saturday for CurseForge my dudes.

Project Moderation Time

Project/File moderation is done on;
Sunday, Monday, Tuesday, Wednesday, Thursday: 10AM - 6PM GMT+2
Friday, Saturday: No Moderation!

This process is First in, First out. Thus files submitted late in the work day may not be checked until the next work day.

New Projects or uploads requiring manual approval: 1-3 Working Days
Updates to approved projects not needing manual approval: 1 Hour

File sync to the Curseforge app may take up to 24 hours after approval.

cursive frost
#

thanks 🙂

neon drum
#

never mind not enough ids should fix it

echo ridge
#

Hello everyone, I would like to become a game dev in the minecraft enviro, spigot or curse forge I don't mind, but prefer to know about both

#

Could anyone please redirect me to good references, tutorials and documentation to learn?

#

I am already familiar with oop

#

c#, c++ and java

turbid void
# echo ridge Hello everyone, I would like to become a game dev in the minecraft enviro, spigo...

Note that CurseForge is a web hosting website and launcher app system - it is not Forge which is a type of mod system. Currently the Forge and Fabric are the two most popular mod systems. Forge is older, launches Minecraft of its own devices, and has more options. Fabric is more limited and lightweight which is probably a blessing and a curse. Spigot and fork types are another thing which is more like vanilla+

echo ridge
#

I currently use forge

#

And spigot

turbid void
#

The Forge docu is on their main website

echo ridge
#

I have setted up a test serv for spigot, but feel very unfammiiliar

#

Yes, setup complete; but not actual test plugins for instance

#

like: what can you actually modify in a plugin? and most importantly, how

#

I wouldn't like to test every single corner of minecraft by myself D:

#

I'm not sure if I'm making myself understood

turbid void
#

I understand, I'll leave that for someone with more knowledge of their coding

median meteor
#

I'm having a problem that keeps resurfacing, my modpack is able to load multiple times, however sometimes it has a phase where it is stuck on loading terrain into a world. It tends to be an on-off scenario. Anyone have any fixes or things I can change to stop this?

turbid void
wicked harness
median meteor
trail edge
#

Hey, I was wondering what do people know about people producing an MMO Style modpack, Where there is kind of a dedicated server for the modpack that people use? Do you think that would be a thing people would be interested in playing?

echo ridge
wicked harness
echo ridge
#

You can't create additional ui elements?

wicked harness
#

Nope, it is limited to the existing inventory types.

echo ridge
#

But, I have played content with additional ui... how where those made?

wicked harness
#

Got screenshots?

echo ridge
#

Not rn, but sure; I can search that

#

I mean, I don't want to sound condescending or annoying, I really am just trying to find a minecraft api documentation and read it

#

If you think I can't find that here do tell

wicked harness
#

There are 3 main api's out there.
Pick one first

echo ridge
#

Spigot, yes

#

I already have a test server, but don't know where to start!

wicked harness
#

An idea, start with an idea

echo ridge
#

Fair enough

#

Thank you for your advice

median meteor
turbid void
#

you dont want to allocate too much ram over what is needed btw - garbage collection (GC) will make stuttering if it's way over required. there's a sweet spot

nimble dust
#

i have a problem, my project builds sucessfully but it cant run, any idea of what might be happening

#

Process 'command 'C:\Program Files\AdoptOpenJDK\jdk-8.0.282.8-hotspot\bin\java.exe'' finished with non-zero exit value -1"

#

thats the error

turbid void
#

maybe reinstall the latest 64 bit version of java 8 and reboot computer first?

nimble dust
#

thats weird cause it ran my mo0d last week and it can still run modded minecraft rn, ill still try it

turbid void
#

may as well - the latest version is 291

nimble dust
#

ok im downloading it

#

it just told me my java was outdated so its probably cause of this

#

ill restart my pc and try again

#

it didnt work :(

#

ill try to stacktrace

#

i dont know what to do i changed my java but nothing seems to have changed

#

and weird thing is i can still build the mod

#

i just cant run

harsh root
#

Can someone tell em if there is a mod that generate library structures with enchanting table inside them

harsh root
#

ho

earnest wasp
#

How did anyone here learn to code minecraft mods? Im looking into making my own and wonder if there was any youtube videos or guides anywhere that would be recommended

winter cipher
#

Taught myself java, then started poking stuff.

earnest wasp
#

well how did you go about that? wasnt there any place for you to refer to or are u just a legend and figured it out?

rough salmon
#

Clay is a legend.

earnest wasp
#

pog

kindred dock
#

and lots of google probably

earnest wasp
#

mmm

winter cipher
#

Used the orcal java tutorials and lots of googling.

Having a history with it all helps too. Like I knew how the game worked in many aspects beforehand because of running servers and making modpacks.

earnest wasp
#

aight boss thanks

winter cipher
#

Once you get to the minecraft side of stuff, looking at mods for how minecraft things and or forge things are done is handy

earnest wasp
#

yosh

primal sphinx
#

does anyone have a good tutorial for creating capabilities in forge 1.16.5 I have a lot of information that contradict itself and the docs don't really cover some stuff that seem like it should be covered

#

or at least a working exemple

#

I looked at the mekanism stuff but there is just too much to know what is what easily

shut glade
#

hello i am making a module that locks onto people and its not working right

winter cipher
shut glade
#

im making it for a movie mod...

winter cipher
#

Well considering python isn't a modding platform used by any modloaders I know of and you posted code for a kill aura I highly doubt that.

shut glade
#

Ok

median meteor
#

is there a guide/pointer to making/editing mob hitboxes? (1.16.5)

primal sphinx
median meteor
#

no (?)

#

@primal sphinx

primal sphinx
#

if I had to take a guess you change these

median meteor
#

seems like it, but where does it go tho

primal sphinx
#

what do you mean where does it go

#

this is in net.minecraft.Entity

median meteor
#

oh aight, thanks

quaint yew
#

why is there no mod for furniture in 1.17

#

???

kindred dock
#

Any mod that needs forge will not be available yet. as there is no forge for 1.17 just yet (being worked on no eta)

quaint yew
#

ok

gaunt mauve
#

when is 1.17 forge launcher coming out?

turbid void
#

they have no timetable publicly

gaunt mauve
#

hm

turbid void
#

i was a lot more excited about the next version when it was going to include the larger Y axis lol.

#

since it was split into 2 releases - seems like some people are going to sit on 1.16.5 until later this year when part 2 gets released and Forged. to each their own

fresh furnace
# gaunt mauve when is 1.17 forge launcher coming out?

I work on the team. No eta but pretty soon, probably within the next week. The game runs and the most major bugs we have found are fixed, but there are always more bugs and we are waiting on external projects to fix/update their stuff for 1.17 (and java 16)

#

1.16 forge will become LTS. I assume most people will stay with that but 1.17 isn't a huge change except for rendering being different with shader based rendering and entity models getting an overhaul

#

The worldgen changes will be a much more enticing thing for most modders so I bet 1.17 will just be an inbetween version until 1.18

primal sphinx
#

back in my day forge took years to update it's only been a few days and people complain smh

alpine adder
#

Indeed many people complain especially with rushing to the next version vanilla wise 😂

#

Many servers update to the next version then are annoyed at plugin devs and such to hurry and update but our community are patient and we will only update once the plugins are available for that version or at least actively supported

We are ourselves skipping 1.17 and will stick on 16.5 till 1.18

pliant jacinth
#

People 5 minutes after 1.17 released: "Where forge?"

#

As with every version

alpine adder
#

Pretty much how this discord goes a lot of the time even though it’s not to do with curseforge/overwolf 😂

median meteor
#

hello , can someone give me some pointers / guide on making a modded block able to hold/grow saplings ?
i was reading into the vanilla blocks .class files and found "IPlantable" and "IGrowable"
but i dont know how they work or even if theyre the right things

primal sphinx
alpine adder
#

yes but kids and such dont know this 😆

primal sphinx
#

at one point I was using a minecraft 1.0.0 plugin in 1.12

wicked harness
#

I like plugins that allow that stuff

primal sphinx
#

and it sounds like it still works

wicked harness
#

Think that broke on 1.13, not 100% sure though.
But pretty impressive for a generator

primal sphinx
#

a lot of fabric mods will also work in 1.17 without any updating

#

I'm running a few 1.16 mods myself on my 1.17 server

alpine adder
#

Autofish fabric mod using 16.5 file worked almost on 1.17 . It Loaded fine . Opened its gui menu fine . Crashed at…..catching a fish 😂 mod dev was hoping he wouldn’t need to update it for 1.17 but just one little thing needed a tweak

restive thunder
toxic sentinel
#

Hello, I'm going to try to create a forge plugin mod for the first time but am not sure where to start. I've already created java plugins and am familiar with them.
I'm hoping to modify the distance that one can view the nametag on a mob.
any pointers on where to start?
I already got the forge example downloaded and it works

restive thunder
#

Forge is mods, not plugins

toxic sentinel
#

I know. I want to change the view distance to nametags but since it's client only I want create a forge mod

molten vapor
#

how does one make a keybind

median meteor
#

HELP!! ./gradlew genSource doesnt WORK

#

./gradlew : The term './gradlew' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1

  • ./gradlew genSource
  •   + CategoryInfo          : ObjectNotFound: (./gradlew:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
fresh furnace
#

you're either running it in the wrong directory or gradlew.bat doesn't exist

median meteor
#

It does exist

#

but how do i change the directory then?

fresh furnace
#

you cd to it

#

Or shift right click in the folder in windows explorer

#

and it should have an open in power shell button or something

median meteor
#

and then?

fresh furnace
#

run it again

#

what even is genSources

#

What are you trying to do

median meteor
#

make a mod

#

fabric

fresh furnace
#

Do you have an IDE?

median meteor
#

eys

#

yes'

fresh furnace
#

What is it

median meteor
#

wut

#

idk wat ide is

fresh furnace
#

??

#

You just said you had one

median meteor
#

yes but i didnt read

fresh furnace
#

ah sorry I mean which one do you have

median meteor
#

im dumb

#

idk what u mean

fresh furnace
#

What IDE do you have

median meteor
#

WHAT IS IDE

fresh furnace
#

what you use to code stuff

median meteor
#

oh

#

makes sense

fresh furnace
#

If you don't know what it is then honestly you will have a hard time making a mod

median meteor
#

visual studio

fresh furnace
#

so I'm just gonna leave now before I waste my time trying to help you when you have no idea what you're doing

#

and no you can't use visual studio to make a mod

median meteor
#

I code there

fresh furnace
#

I hope you mean visual studio code

median meteor
#

yes

fresh furnace
#

as visual studio won't work at all

#

and visual studio code has ass support for java

#

so you should use a better one

#

but if you don't know java you will have a hard enough time regardless of what IDE you use

#

so I'm gonna leave like I said I would

median meteor
#

ok

fresh furnace
#

you should learn java first is my final recommendation

median meteor
#

Anyone else? help

wicked harness
#

Tried asking fabric?

median meteor
#

./gradlew genSource is not working

wicked harness
#

I know the issue.
Tried asking fabric?

median meteor
#

on github?

wicked harness
#

On their own discord 🤦‍♂️

median meteor
#

sorry

#

im dumb as h*ll

wicked harness
#

What do you want to make then?

median meteor
#

On a tutorial he said to do the ./gradlew genSource command

wicked harness
#

Read the messages!

#

What do you want to make, as in what kind of mod

median meteor
#

Just random cool stuff in minecraft

#

guns

#

blocks

#

armor

#

tools

#

models

#

all kinds

wicked harness
#

Absolutely 0 plan by the looks of it

median meteor
#

the mod is axtros things

wicked harness
#

Original name

median meteor
#

🙂

#

well

#

ill go ask some other place

#

no help

wicked harness
#

Fabric discord is the best place

#

As it is their stuff you are using.

median meteor
#

link?

wicked harness
#

Google?

median meteor
#

they do have an official server right?

wicked harness
#

Yes, most things do these days

median meteor
#

cant find it tho

#

im dumb

#

so yeah

normal elk
#

GOOGLE: fabric modloader

wicked harness
#

Want a better result: fabric modloader discord

#

If you are dumb (like you are calling yourself)
Then you might want to move away from doing this.

median meteor
#

its on the website ohkay

#

well i got it now

#

thank

mental fjord
#

Have you guys had a bug where if you press on the data pack tab in the world creation screen all of your mods get recognized as data packs? (For forge 1.16)

median meteor
#

Hello ! I have a little issue with Ice&Fire on 1.16.5, I try to make a custom modpack with some friends and I noticed that on singleplayer I can see the forge recipes but when we are on multiplayer those recipes are not displayed, anyone got an idea?

fresh furnace
median meteor
#

Yes

autumn mirage
#

Yo my friend makes 1.12 mods were tryna work towards 1.16 since its becoming a lot more popular he tried to go to 1.16 not sure exactly how but he gets a lot of errors mainly these two
"unable to resolve class org.jetbrains.plugins.gradle.tooling.internal.ExtraModelBuilder"
"org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script7.groovy: 1: unable to resolve class"

winter cipher
autumn mirage
#

Alr il invite him

robust prairie
#

Hayo, creating my first own modpack, created it using curse forge and released it (called "Cozy Piggies") now i want to setup a server, i found several tutorials on how to set up servers like this one:

#

but i am missing all those files

#

did i do something wrong when i published the pack? or am i missing something crucial here?

normal elk
#

!mc-installserver

vale pulsarBOT
#
How to **manually** install a server - **On your own PC**
  1. Check if the modpack has a server pack, if it does: use that and skip below.
  2. Go to the Forge website http://files.minecraftforge.net/ and download the Installer for the forge version the pack is using.
  3. Run the installer and choose Install server. Do not install to your desktop. Also do not install inside a OneDrive folder.
  4. Run the server using the forge.jar. A file called eula.txt will be generated. Open it and change eula=false to eula=true
  5. From the Client; Copy the mods folder, config folder, and any other folders needed for the pack to work into the server folder. If the modpack has a server pack, use this instead!
  6. Run the server again.
  7. Port forward your machine if needed. (Google it)
robust prairie
#

thank you ❤️

weak sinew
#

how would i add an NBT tag to an item in an already existing mod? I want to add a tag to the capactor backpack in Immersive Enginnering to make it wearable in the backpack slot from a mod called Backpacked. Is this even possible and how would i go about it?

winter cipher
#

with a mod?

weak sinew
#

I just need it for a modpack so i just need anything that would work

winter cipher
#

add a crafting recipe that adds the tag to it

#

you can add NBT to anything

weak sinew
winter cipher
#

use something like crafttweaker and then follow the guides

weak sinew
#

Alright ill try that. Thanks plenty!

wraith blade
#

is there a tutorial on creating 1.16 configs for forge

winter cipher
wraith blade
#

can you link me to the forge docs please

winter cipher
#

Use google..? I'm on mobile I dont feel like looking them up

wraith blade
#

ok sry

wraith blade
#

nothing about config on the forge docs

winter cipher
#

Then look at an existing mod for an example.

#

If you need a simple mod to look at, I have a few 1.16 mods that use it.

wraith blade
#

i just need to find how to make a list in the config
i got to here but idk what to put into the last spot
builder.defineInList("Dryed egg names", Arrays.asList("test1", "test2"), something?????);

winter cipher
#

I dont recall of the rop of my head. Let me look

#

Theres an example

jolly harbor
#

Ok, so I'm looking to get started learning modding.
I'm somewhat new to Java.
I read through the Forge docs' Getting Started guide, and everything worked.

First I want to make a simple mod that just adds a block.
I read https://mcforge.readthedocs.io/en/latest/blocks/blocks/
but it says I'll need to instantiate the Block class with a AbstractBlock$Properties object, which it says you can get using AbstractBlock$Properties#Of.
Eclipse tells me that AbstractBlock is net.minecraft.Block.AbstractBlock, but couldnt find a javadoc.
Am I missing something? Where are the docs that tell me how to use AbstractBlock?
And what is AbstractBlock$Properties#Of?

winter cipher
limpid aspen
#

Also, if you are just getting started with Java and Modding, I recommend using InteliJ Community Edition instead of Eclipse. It will make things way easier on you with better support for tools such as Gradle, intelligent code analysis, and much more. It has a slightly higher learning curve but when I switched to InteliJ years back, I never went back to Eclipse. I have found that in comparison to eclipse, InteliJ is a lot more polished and is easier to use by newer developers.

#

There is also a good plugin for minecraft development on InteliJ that is very helpful

wraith blade
winter cipher
wraith blade
#

The string underlines and says this
foreach not applicable to type 'net.minecraftforge.common.ForgeConfigSpec.ConfigValue<java.util.List<? extends java.lang.String>>'

wicked harness
#

Or anything along those lines

winter cipher
#

Yes you need to get them.

#

Though it also has a .contains() as it's a list. So I'm unsure as why you would need to loop it.

wraith blade
wicked harness
#

No, the ConfigValue has a .get() which will return the actual list

wraith blade
#

im trying to do something like this

    for(int i = 0; i < DriedEggName; i++) {
        RegistryObject<Block> EGG_ORE = BLOCKS.register(DriedEggName.get(i-1), BlockMobOre::new);
    }
winter cipher
#
  1. You dont need to count a loop size when giving an array, list or collection.
  2. You cant use configs to register objects as the configs load after the objects are registered.
wraith blade
#

for number 2 im trying to do something weard so

winter cipher
#

It doesn't matter what you are trying to do. It's not possible how you currently are doing it.

woeful aurora
#

What do you think about the new resonator for my extra utilities port for 1.16.5?

woeful aurora
#

what is rule 4?

wicked harness
#

Read the rules and you will know

woeful aurora
#

Ok, but the dev-hangout is not visible to everyone

#

but I will not do this again

jolly harbor
#

Hey, so I'm still trying to learn modding.
I found a tutorial.

When I tried to use the @​Only​In(Dist.CLIENT) annotation, I tried to use the import import net.minecraftforge.api.distmarker.Dist but Eclipse couldn't resolve the import net.minecraftforge.api.
I'm also getting some errors from Eclipse(org.apache.logging.log4j.Logger could not be resolved, incomplete build path) that the tutorial maker didnt get.
Am I missing a library or something?
(edit sorry for pinging @​only discord bad)

winter cipher
jolly harbor
#

Ah, ok. Thanks!

restive thunder
#

You shouldn't be using OnlyIn regardless, you should be using proper separation of sides

#

Unless it's in 1 of like 2 places

jolly harbor
#

It's inside the client package.

restive thunder
#

That basically means nothing

#

Unless the OnlyIn is in a signature of some kind you shouldn't be using it there and should be using proper isolation of sided operations instead

#

To give any further advice I would need more info about what you're doing

jolly harbor
#

Trying to learn modding

#

Following a tutorial

#

Its in ClientUtils.java

#

Eventually I'll put client util functions in there but currently its blank.

jolly harbor
#

I FIXED IT

#

It was really weird but I fixed it

#

I changed the gradle settings(on import) and now it works

wooden monolith
#

I have a problem with making a mod and getting exit code 1. I just made my first asset and the game wont start. any ideas on what I should do?

wicked harness
#

Read the logs

wooden monolith
#

the minecraft logs or the complier ones?

wicked harness
#

Minecraft logs

wooden monolith
#

I have none

#

none new*

wicked harness
#

Then delete the logs and crash-reports folder and try again

wooden monolith
#

k

#

the folders are still empty

wicked harness
#

When does it crash?

#

Before or after hitting play?

wooden monolith
#

I havent built the mod

wicked harness
#

🤦‍♂️

wooden monolith
#

but it crashes around 1minute and 30seconds after I press to run

wicked harness
#

Could have started with that

wooden monolith
#

sorry

jolly harbor
#

mission successful

#

That's the first item I ever added

#

xD

wicked harness
#

Disturbing...

wooden monolith
#

progress!

#

I think I found it

#

let me test

#

well no

#

An illegal reflective access operation has occurred
what does that mean?

wicked harness
#

Does it show a line number?

wooden monolith
#

no

#

its a warn

#

I have like 5 of those

wicked harness
#

Well, single lines say nothing 🤷
Got programming experience?

wooden monolith
#

limited

#

it wont say on what folder it is either. it only shows in "Run"

wicked harness
#

How do you even run it?

wooden monolith
#

took me long enough

wicked harness
#

Yeah, I am more a command type myself

wooden monolith
#

I just made my first asset lol. I didnt even have time to test it, plus I know no other way

jolly harbor
wooden monolith
#

I think I found it

#

I was running java 15

#

lmao

#

imma test later

jolly harbor
#

So I'm getting an error:
Test mod 1 (testmod1) encountered an error during the load_registries event phase
Java.lang.NullPointerException: Registry Object not present: testmod1:example_block

#

The stack trace points me to this line:
public static final RegistryObject<BlockItem> EXAMPLE_BLOCK = ITEM.register("example_block", () -> new BlockItem(BlockInit.EXAMPLE_BLOCK.get(), new Item.Properties().fireResistant().rarity(Rarity.EPIC).tab(ItemGroup.TAB_BUILDING_BLOCKS)));
specifically, the get() call.

#

I'm pretty sure this is because ItemInit.java was called before BlockInit.java.

#

How do I tell forge to load the blocks first?

median meteor
#

can i make a full mod release the same as one of the alphas/release canidates?

turbid void
brave panther
#

Im new of coding can somebody help?

winter cipher
#

do you know java?

brave panther
#

yes maeby

winter cipher
#

and that means...?

brave panther
#

yes

winter cipher
#

then setup a modloader to work on. you need to pick forge or fabric

brave panther
#

how

winter cipher
#

pick one, follow the information provided by them

brave panther
#

how and where

#

😦

#

imm so bad at this

winter cipher
#

You don't know how to read instructions?

#

Why do I have a feeling you don't know Java and you just said yes so I would give you everything?

#

cause if you can't look up "Forge Modloader" or "Fabric Modloader" I'm unsure how you plan on making a mod

brave panther
#

ok;(

#

😦

brave panther
winter cipher
#

yeah next time don't lie to me

brave panther
#

okk

jolly harbor
#

How do I tell Forge to load one file before another?

restive thunder
jolly harbor
#

Oh, really!

#

Thanks!

#

wait how do I do that

restive thunder
#

Well what version of Minecraft are you using?

jolly harbor
#

1.16.5

restive thunder
#

There should be comments in the mods.toml that explain this, unless you deleted them

jolly harbor
#

🤔

#

It just talks about dependencies

restive thunder
#

Yes, you would need to mark the mod as either a required or optional dependency, and then tag it with the ordering relationship of the dependency

#

I forget which way around the order is, hold on

jolly harbor
#

umm

#

I think you misunderstand

#

probably because I didn't explain myself very well

#

So I'm getting an error:
Test mod 1 (testmod1) encountered an error during the load_registries event phase
Java.lang.NullPointerException: Registry Object not present: testmod1:example_block
The stack trace points me to this line:
public static final RegistryObject<BlockItem> EXAMPLE_BLOCK = ITEM.register("example_block", () -> new BlockItem(BlockInit.EXAMPLE_BLOCK.get(), new Item.Properties().fireResistant().rarity(Rarity.EPIC).tab(ItemGroup.TAB_BUILDING_BLOCKS)));
specifically, the get() call.
I'm pretty sure this is because ItemInit.java was called before BlockInit.java.
How do I tell forge to load the blocks first?

#

I want to load the blockInit file first, and then the itemInit file.

#

It's probably an annotation, right?

restive thunder
#

how are you registering the DeferredRegisters to the event bus?

jolly harbor
#

OH

#

🤦

#

Thanks!

#

im not even adding the block DeferredRegister xD

#

well that was simple, thanks!

restive thunder
#

Just a note for that, a lot of people seem to want to init that in the registry class itself. I don't recommend that.

#

Like they make it static init or they make an init method.
I recommend instead making the DR public static final and then registering it straight from your mod's constructor

jolly harbor
#

Hmm, ok

#

Will do

#

I have it public static final in the item and block init classes

#

and I'm registering the deferredregisters to the event bus in the constructor

#

Ah I see why that would be not good

restive thunder
#

It just annoys me when people make it all static init and then they make a stub public void init() {} just to classload the thing when they could PSF the DR and just ModBlocks.BLOCKS.register(FMLJavaModLoadingContext.getModEventBus()); in the mod constructor

jolly harbor
#

isFireResistant(): *is a method*

Me:

public boolean isFireResistant(){
     return ClientUtils.checkKeyPressed("lshift");
}
fresh furnace
#

???

#

that's totally wrong

#

That will break when a server tries to check it

#

And the server does the damage

queen swift
#

Will someone please tell my why curseforge refuses to accept my resource pack

#

It says "Not Valid"

#

Here is the pack if you wanna test how "not valid" it is

winter cipher
queen swift
#

Project page cant possibly be viewed till it is uploaded

winter cipher
#

🤔
How do you plan to upload a file if you can't see the project page...

#

Post a picture of the project page please.

queen swift
winter cipher
#

hm, not sure. Seems valid

#

I'll pass it on to find out whats wrong

#

can you link me the project page

winter cipher
#

Thanks

queen swift
#

Np

queen swift
#

So I am reuploading

#

With the default glow squid in textures/entities

winter cipher
#

That shouldn't be the case.

queen swift
#

Yep it isnt

#

For real why the heck wont it work

winter cipher
#

will find out sunday

queen swift
#

I used an online notepad since I am on mobile rn so maybe the mcmeta is broken?

winter cipher
#

🤷

#

So you didn't test the texture pack...?

queen swift
#

Cant

#

I assumed itd work since it did within my diverse craft pack

winter cipher
#

how can't you..?

queen swift
#

I have been out and about

#

And in the car

winter cipher
#

then wait till you get to the computer to make things...

queen swift
#

I should be at my mom's in approximately 40 minutes lol

queen swift
queen swift
#

fixed it

shut bay
#

does enybody know WHY in the world it doesnt let me add more minecraft projects

#

it says: The name of your project contains words or phrases that are not allowed:

  • Game name: Minecraft.
#

w h y

wicked harness
#

Why would you use the game name?

primal sphinx
#

I think it's pretty self explanatory, don't use Minecraft as the name

viscid heath
winter cipher
#

Not likely as I don't think it's supported via resource pack.

shut bay
#

so why mine is not accespable

wicked harness
shut bay
#

the last one was uploaded before 2 weeks

wicked harness
#

File or project?

shut bay
#

file

#

project was 4 weeks

wicked harness
smoky anvil
#

What should I edit to include extra .jar libraries when building Forge gradle for a minecraft mod?

smoky wraith
#

1.why does it say mdk example instead it should be minecraft or something like that right and its supposed to be a directory
2.what are these errors?
[sry but i am new to eclipse]

smoky wraith
fresh furnace
#

If you want help with more complex topics with forge you should probably use a different discord, like Forge discord or Modded Minecraft Discord purely because they are more targeted towards modding and more people check them and help out

smoky wraith
wicked harness
#

You developing?

smoky wraith
#

why do i have an err like thos

smoky wraith
inland gazelle
#

Importing java maps into minecraft dungeon really cool seeing these in the game

#

Looks so cool

median meteor
#

may someone help me combine multiple lotr maps for 1.16.5

#

and fully flush out the terrain with a program

#

like the one above for example

alpine adder
#

worldedit would be the best thing for you

primal sphinx
inland gazelle
#

@primal sphinx no mojang builds all there levels in minecraft bedrock then import both texture pack and world into dungeons

#

We reverse engineer this for java

primal sphinx
#

so this is literally using the bedrock system ?

inland gazelle
#

Each level in dungeon uses a unique texture pack

#

Editing level is super easy to do with our tool

primal sphinx
#

that's a really odd but clever way to do it without having to build a level editor

inland gazelle
#

Minecraft is the best level editor

#

Right now we can load any dungeons level with its texture pack

inland gazelle
#

@primal sphinx this is a custom portal level we are making for dungeons this is what it looks like in java

#

This is it in minecraft dungeon

primal sphinx
#

love it

inland gazelle
#

Modding minecraft dungeon is easier then u maythink its way easyer then java

median meteor
#

So if I am making my own mod, am I allowed to use "Ultimate Sword" as a name for a weapon or is that unable to be used due to the ban on Orespawn related content? I can share more information about this weapon if needed, including a concept sprite and several stats.

wicked harness
#

Should be good

vale ravine
sage cedar
#

Does anyone know how to port mods? 1.7.10 to 1.12.2

#

in a folder fashion

restive thunder
#

With a gap that big it's basically rewriting the mod

small vault
#

Why do so many mod developers include incorrect dependency mods. It can literally break modpacks and make them not start 😦
I found 1 mod (won't say which) which lists ModMenu as a dependency for 1.17.1, which is not required, nor is modmenu marked as compatible with 1.17.1. On top of that, disabling or removing the incompatible version of ModMenu also does the same for the mod I tried including in the first place. I don't want to manually add the mod to the modpack as the creator won't benefit from it at all but I have no choice right now...
Is there anything that anyone here can suggest I do without it breaking my modpacks for situations like this?

turbid void
#

Have you tried contacting the mod authors?

winter cipher
small vault
#

Unless someone is willing to hire me to do it for a living? 😉

winter cipher
#

Then you deal with what you get

median meteor
#

anyone willing to make me a discord LOTR Logo for my modpack on curseforge?

#

and help contribute?

#

can't pay but i dont ask for people to do complex task

#

waiting to get alot of curseforge points

#

so i can make a payment to someone to help build some stuff for server

#

and for modpack

thick wyvern
#

Anyone know the correct file structure for a texture pack if I want to change both Minecraft default textures and other mods textures like JEI?

#

Because currently texturepackname>assets>Minecraft works but texturepackname>assets>Minecraft/JEI doesn’t work

winter cipher
#

you just add another folder in the assets folder.

#

Use something like 7 zip to look at the assets folder of the mods you want to edit and just copy it

thick wyvern
#

I tried that but only the Minecraft textures are being rewritten . Inside of my assets folder I have Minecraft’s copied and JEI’s copied. It just won’t override JEI’s for some reason

thick dawn
#

Anyone know how to override the getExpDrop method of OreBlock so I can get exp to drop from my custom ore? 1.16.5 got it extended and the method overridden but unsure what to do from there

winter cipher
thick dawn
#

yea, it was much easier in 1.7.10, in this I have all my blocks in my BlockInIt class so I've had some trouble but gave up 😦

winter cipher
#

I doubt that it changed that much.

#

Oh wait, 1.16.5 uses json.

You dont do it in code at all.

#

You use the block drop json to define the exp drop

left apex
#

I'm working on a mod that adds mobs from Minecraft's old spinoff game Minecraft: Story Mode. So far I've made most of the models and I have one person coding. Here's one of the models I've made.

winter cipher
#

Nice

thick dawn
primal sphinx
#

did

#

did you just call story mode old

nimble dust
#

hello! im trying to make a custom block but im not having much luck with most tutorials, i found one i have not tried before and it askes me to create and put a "modded block" class in the init package. anyone knows how i would do that?

winter cipher
nimble dust
#

a basic one

#

because if i know how to make a basic one it will then be easier to comprehend how to make the others yknow?

#

so like more of a stone block thingy

winter cipher
nimble dust
#

wait how

#

each time i see a tutorial its always 7 lines and they like they ask me to do 10,000 things and it endsw up with 99% of it in errors

#

if you could would you please send me an example of that 1 line please?

winter cipher
#

sure let me get a workspace open

nimble dust
#

tysm man

#

ive been looking at tutorials from the fourth page of google for hours

winter cipher
#

this is on 1.16.5 right?

#
    @SubscribeEvent
    public static void onBlocksRegistry(final RegistryEvent.Register<Block> blockRegistryEvent)
    {
        blockRegistryEvent.getRegistry().registerAll(
                new Block(AbstractBlock.Properties.of(Material.STONE)
                        .sound(SoundType.STONE)
                        .strength(12F))
                        .setRegistryName("superstone"));
    }

Here's an example dumb block. It doesn't do anything special at all like stone. The rest of what it does (drops) comes from the JSON files.

If you want a block item that can be placed you do the same thing in the Item Registry and register a new block item the same way just with different options.

nimble dust
#

well does it change alot if its 1.12.2?

winter cipher
#

somewhat yes

#

but it's very similar

nimble dust
#

ill try to fix the error from abstract block but tysm dude you saved me from more hours of googling

#

cause the only erros isfrom the abstract block thing

winter cipher
#

yeah that doesn't exist in 1.12

#

is there a reason why you are using 1.12? 1.16.5 is much eaasier

nimble dust
#

well i know 1.16 is easier but its for a server where i want to add an after life kind of thing

#

and im starting by adding the blocks then ill make a dim

#

but thank you so much though ill try to fix that 1 problem, should be easier than shooting in the dark

winter cipher
#

👌

nimble dust
#

i was finally able to make it, tysm for your help

fresh bone
#

this happened with my datapack of mod

#

I guess this is where the problem is

#

want to know am I doing anything wrong here

#

oh ya the mod version is 1.16.5

winter cipher
fresh bone
#

I only installed Abundance

winter cipher
#

Then your datapack wont load as theres entries that dont exist. You need to optional load them.

fresh bone
#

I set the required to false

#

or even I shouldn't include them all in one block?

restive thunder
#

Expected id to be a string, instead it was array

winter cipher
#

Yeah, that's what I just got to

fresh bone
#

so I should to type them 1 by 1 yea?

winter cipher
#

You can only have one entry per I'd object.

restive thunder
fresh bone
#

sorry but this happened again

#

it says "can't proceed with server load"

#

in the log

#

the new code

winter cipher
#

New log too

fresh bone
winter cipher
#

I'm not familiar enough with this part. Sorry, cant help with this.

fresh bone
#

it's fine

restive thunder
#

I'd need the full debug.log to be able to decipher this one

cunning steppe
#

I saw a 1.16 port on spartan and fire on github but when I tried to build the gradle, it keeps failing

zenith mesa
#

Hey, I've got a problem im really stuck on since yesterday.
After setting up a new forge project, gradle is not able to download fastutil.
I tried several things one being downloading it through the internet and put it into the gradle folders directly, but since I don't know much about how gradle works exactly I don't really know what I should do.
Does anyone have the same problem or knows how to fix it?

Gradle Log: https://sourceb.in/ncO3jhtieP

zenith mesa
#

Can anybody help me? Im still stuck on this issue :/

fresh bone
fresh bone
ornate hornet
#

IT WORKED

#

hell yeah

fresh bone
#

well, seems like the tag file doesn't have any problems now

#

the problem was caused by my fluid registry

#

thanks for help and sorry about my dumb thoughts

median meteor
#
onEvent('recipes', event => {



event.remove({output: 'actuallyadditions:item_food'});

});

Whats wrong here? (Mod: KubesJS)

zenith mesa
#

So I'm missing two files in my gradle cache:

    - file:/C:/Users/Dominik/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.17.1-37.0.0_mapped_official_1.17.1/forge-1.17.1-37.0.0_mapped_official_1.17.1.pom
    - file:/C:/Users/Dominik/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.17.1-37.0.0_mapped_official_1.17.1/forge-1.17.1-37.0.0_mapped_official_1.17.1.jar

Does anyone know where I can download them manually or make gradle to download them?

restive thunder
#

Those are generated files in a fake repo, forgegradle generates them on the fly

#

Look higher in the log

limpid aspen
winter cipher
limpid aspen
#

yea, it used to work but that was ages ago. I just resorted to having a local library again...

restive thunder
#

iirc it worked for some things and broke on others because it kinda followed the maven spec but not quite

zenith mesa
zenith mesa
limpid aspen
unborn urchin
#

And another question:
If my custom modpack runs smoothly (100-300 fps) with around 200 mods but entities still seem to be lagging what is causing that?

Is that some mod incompatibility?
AI mods being broken?
Or something else?

And whatever it is is there a way to fix it? Or to find out which mod is causing it?

Please ping me if you respond!

primal sphinx
#

uh

#

entities

#

you just said it

#

not much you can do aside from removing mods that add those or preventing them from showing up

#
Minecraft Wiki

A player standing in front of a large group of entities. The hitboxes of several entities. Note the blue line that points to the direction the entity is "facing." Entities encompass all dynamic, moving objects throughout the Minecraft world.

#

theyre one of the least optimised part of the game its kinda expected

restive thunder
restive thunder
empty cape
#

I get this error when trying to run the client

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':createSrgToMcp' (type 'GenerateSRG').
  - In plugin 'net.minecraftforge.gradle' type 'net.minecraftforge.gradle.mcp.tasks.GenerateSRG' property 'srg' specifies file 'E:\GitHub\Just-Needed\build\extractSrg\output.srg' which
 doesn't exist.

    Reason: An input file was expected to be present but it doesn't exist.

    Possible solutions:
      1. Make sure the file exists before the task is called.
      2. Make sure that the task which produces the file is declared as an input.

    Please refer to https://docs.gradle.org/7.2-20210702220150+0000/userguide/validation_problems.html#input_file_does_not_exist for more details about this problem.


i have tried #1 and idk how to do #2

fresh furnace
#

run extractSrg

empty cape
#

how?

unborn urchin
#

Please ping me again in case you’re going to respond. Thanks!

vale ravine
#

Hello ! does anyone know how to make an action on every mobs with a certain hitbox scale ? to detect if they can go through a one block tall path (like a silverfich of a spider)

primal sphinx
vale ravine
#

i want to do it in a minecraft mod

#

a forge mod

primal sphinx
#

The hitbox probably has a size getter

limpid aspen
#

Alright, my only issue is I think for that one I have to change the format to use file id and mod id

true hemlock
#

which shouldnt be any trouble, really

foggy galleon
#

this is more for a modpack then a mod, but is there a way to change a crafting recipe for a mod to use another modded item instead of what ever it was using

kindred dock
#

So you have 2 options there:
Craftweaker and its zs scripting
or
Kubejs and its datapack scripting

#

Depending on what mc version your using tho

foggy galleon
#

1.16.5

kindred dock
#

then yeah either of those work,

foggy galleon
#

ok

#

pog

kindred dock
foggy galleon
#

oh ok

#

what is craftweaker

#

nvm found it

kindred dock
#

Craftweaker is/was the way to do it before mojang added datapack support.

foggy galleon
#

thank you

kindred dock
#

np

fading venture
#

I absolutely can not figure out how to see Minecraft's source code through Forge. I'm working on a mod and would like to see the code for a snowball, could anyone tell me how to do this?
it's driving me nuts

true hemlock
#

./gradlew setupDecompWorkspace

fading venture
#

i was trying it without ./ and it wouldn't work

#

uh small problem

true hemlock
#

Check the forge docs for the proper command, I know the one I said is for 1.12

fading venture
#

ah ok, np

true hemlock
#

But at least now you know ./

fading venture
#

yeah that actually helps a ton, thanks

fading venture
#

ohhh i see what the problem was

#

the source is now included in the build gradle, so we don't have to decompile. I just had to look for what I was trying to find in the "external libraries" folder

fading venture
#

aynone know how to set entity attributes in 1.16?

#

There is no registerattributes class to override

fresh furnace
#

@fading venture you will get a lot better help in a discord more dedicated to minecraft modding like Modded Minecraft Discord

#

and registerattributes isn't a class it's a method

#

and you need to use the EntityAttributesEvent

primal sphinx
#

correct me if I'm wrong I'm no java dev but I don't think overriding classes is a thing

fading venture
fading venture
cunning steppe
#

does anyone have a json file for a regular chestplate?

restive thunder
#

Vanilla should

cunning steppe
#

im new to file locations n stuff

restive thunder
#

Are you using Forge or Fabric?

cunning steppe
#

forge

restive thunder
#

In a Forge mod development environment vanilla's resources are attached as a library under the name net.minecraft:client:extra

cunning steppe
#

alr tnx

minor gorge
#

Hey I Wantet to Start a Minecraft server With A Freiend and the server is Good with 24G Ram an an Ryzen 5 3600
The modpack have round about 250 mods
i used The forge Version
1.12.2-14.23.5.2854
1.12.2-14.23.5.2851
1.12.2-14.23.5.2855
1.12.2-14.23.5.2847
And I got the same Problem Every Time
The Ping from me to the server is 14ms
the TPS is 20 Everything is fine but the server is laggy and the block and animals are lagging they stop and than move very fast like you got a bad ping
Can Somebody Help Me?

true hemlock
#

24gb of ram is a lot

#

allocate more like 8gb

#

java has bad garbage collection, meaning if you allocate more than 8, itll get significantly laggier

sharp zealot
#

would adding opium tea made from processed poppies be an acceptable feature to add to my create tea addon?

#

or would this be against the TOS

sharp zealot
#

what can’t i do?

winter cipher
#

Drug related things aren't entirely allowed.

sharp zealot
#

so if i don’t make it drug related and jsut have it be like any other tea added by my addon, is the name alone allowed?

winter cipher
#

still is borderline

sharp zealot
#

alrighty then i’ll take that as a don’t do it

robust sage
#

im looking for someone who can model. im making a mod called axolotl plus: it adds 3 new items: the fish bowl crafted with 3 glass when right clicking a water source block it will turn into a filled fish bowl, you can then place the filled fish bowl on a axolotl to allow it to breathe overwater
and the slime boots once placed on a axolotl it will allow it to move faster over water
also it will be for 1.17.1 forge
maybe a fabric port soon
also i have more items planned soon like a radar collar to track your axolotls

#

if you can help me dm me

primal sphinx
#

it sounds like you need someone who can texture

robust sage
#

my plan was to just to use a square model with teh glass texture on it and put it over th eaxolotls head

static gull
#

how do i set the group.ItemGroup?
i tried new Item.Properties().group(ItemGroup:MISC))

fresh furnace
#

colon is wrong

#

you need a period

static gull
#

tried it

#

still not work

primal sphinx
#

that's because it's called TAB_MISC

winter cipher
#

whehw imagine not using auto fill

primal sphinx
#

I was gonna say that

#

this is exactly why this feature exists

#

but that aside, you putting : there is very concerning, did you actually learn java before starting your mod

#

I don't even know a single language where you would do that

winter cipher
#

even if you didn't learn java it's concerning.

static gull
#

it

#

i tried colon because period didnt work

#

you did something besides .group?

winter cipher
#

what version are you modding?

static gull
#

1.17.1

static gull
#

This is the very first time ive made a minecraft mod

#

I was following a tutorial

#

I had a bit of java experience beforehand

static gull
#

When you assign things in css, you do like height:300px

primal sphinx
#

well first of all you should be using rems, second of all . is not a value assignment in any way

static gull
#

Rems?

static gull
#

bruh

#

ok like this one is like item.settings

#

i tried like Item.Settings().tab(ItemGroup.TAB_MISC)

#

did i forget to import something or what i

restive thunder
#

Do you know Java?

static gull
#

yeah; i know a bit

#

but not enough to make a mod without a guide

#

bro do you know how frustrating it is

#

to ask a question 8 hours ago

#

and then the only response i get is "bro do you even know java"

restive thunder
#

Bruh do you know how frustrating it is when people ask how to run when they aren't even walking yet?

static gull
#

ok

#

ok ok

#

alright

#

ok

restive thunder
#

Have you tried looking at how OTHER items are made, say Vanilla's items?

static gull
#

no,

restive thunder
#

Being able to research on your own is a critical skill, if you're trying to do something that is already done somewhere else, why not see how it's done over there?

static gull
#

iuh

#

i am not sure where to find minecraft source code

restive thunder
#

The deobfuscated Minecraft sources are attached as a library

static gull
#

augh

#

oh man i want to make an item > oh i dont know how; someone told me to look in the minecraft source code to see how they do it > oh the source code is encrypted; have to install MCP to deobfuscate it > how to use mcp???

#

just to figure out whether or not i need to do ItemGroup.MISC or ItemGroup.TAB_MISC

#

This is considered syntax right??

#

Like when learning a new language

#

you just find documentation??

restive thunder
#

MCP as a toolset has been obsolete for years and the tools that do it now should be doing it automatically when you import the project

static gull
#

ok then

#

could you help me possibly guide me through this

#

and ill try to never ask a question here again

restive thunder
#

I assume you're using Eclipse?

static gull
#

yeah

#

i went to "referenced libraries"

restive thunder
#

How did you import the project? As a Gradle project or did you run the eclipse task?

static gull
#

gradle proejct

restive thunder
#

As far as I know the failure of IDEs to link the minecraft source is an intermittent one that the team can't reproduce reliably enough to fix

#

Most often they just say refresh Gradle until it attaches properly

static gull
#

uh

#

ok

#

but where would i find the source code to begin with

restive thunder
#

One second, need to set it up on my end to guide you

static gull
#

ok

restive thunder
#

It should show up in Project and External Dependencies

static gull
#

ohh ok

#

i dont have it

restive thunder
#

Do you have a tab that says "Console"?

#

Oh for pete's sake

#

I've been looking at ForgeDev for so long I forgot what ModDev looked like

#

In ModDev Vanilla's source is inside Forge

static gull
#

oh ok

#

is

#

ohhh

#

there it is

#

CreativeModeTab.TAB_BUILDING_BLOCKS

#

👏

#

😄

#

now i wonder

restive thunder
#

Try not to post images of deobfuscated code

static gull
#

oh ok

#

was it worth more than an hour ?? to find syntax that changed between versions?

restive thunder
static gull
#

it was switched from ItemGroup to CreativeModeTab

restive thunder
static gull
#

alright

#

then

#

like i had to

#

or i went through each package

#

to find item
which was under net/minecraft/client/world/item

#

like is there any better way

restive thunder
#

After you mod for a while you start being able to predict where the class you're looking for will be, Item classes in the item package for instance

restive thunder
#

#MoJank

static gull
#

recipe book or something

#

or client

#

ok yeah

#

thanks so much for your help

charred wren
vale pulsarBOT
#

It is 01:20PM on Wednesday for CurseForge my dudes.

Project Moderation Time

Project/File moderation is done on;
Sunday, Monday, Tuesday, Wednesday, Thursday: 10AM - 6PM GMT+2
Friday, Saturday: No Moderation!

This process is First in, First out. Thus files submitted late in the work day may not be checked until the next work day.

New Projects or uploads requiring manual approval: 1-3 Working Days
Updates to approved projects not needing manual approval: 1 Hour

File sync to the Curseforge app may take up to 24 hours after approval.

dense hedge
#

How can I setup a forge workspace on Linux? Everything I've read/watched runs batch files, which dont work on linux

#

@ me if you respond please :]

fresh furnace
#

Both gradlew.bat and a gradlew executable file are shipped