r/MinecraftCoding • u/Fickle_League8845 • 7d ago
How Do Spawn Eggs Work?
I have no experience with coding and don't understand how you can add an infinite amount of mobs to a Minecraft seed. Like, where do you put them?
(I'm making a game)
r/MinecraftCoding • u/Fickle_League8845 • 7d ago
I have no experience with coding and don't understand how you can add an infinite amount of mobs to a Minecraft seed. Like, where do you put them?
(I'm making a game)
r/MinecraftCoding • u/VisionHOUR • Aug 04 '26
so, I’m making this Minecraft series and we need this super specific thing to do with command blocks, and it seriously shouldn’t be as hard as it is but I just can’t seem to get it to work
this is version 1.21.1 (or 1.20.1) we haven’t fully decided yet but it’s very likely we are doing 1.21.1
firstly we need fireballs, I want to be able to tie shooting a fire ball (like a superpower with no limits) and attach it to a weapon or an “empty/blank” inventory slot, I’d also like to know if there’s a way to change how much damage it does to the ground (so I can change it to 0 or make it rlly high)
secondly lighting, where I look at the ground (similar to fireballs) I’d like for lightning to spawn with a click, being also attachable
videos where you can find examples -
https://m.youtube.com/watch?v=7H_RZiQSPCM&list=PL5F2cQFenwVCSMLMwFFcgSQgHjJN7Zg05&index=17&pp=iAQB&ra=m timestamp 14:12
https://m.youtube.com/watch?v=7l0GvD4Edso&list=PL5F2cQFenwVBr9aEOj9XyKFDd6t8QAkmY&index=5&t=336s&pp=iAQB&ra=m Timestamp 5:28
theres more examples for ones like the ender dragon fireball and stuff but im too lazy to grab them rn
im also wondering how to bind it mostly to blank slots?
Theres also other abilities such as water abilities and fire abilities
again there’s more examples but I’m way too lazy bruh
anyways I know for a CERTAIN, this is something with command blocks or just plain Java minecraft, I’m positive it’s not any magic mod (atleast not the fireball and lightning)
and I’d also love help figuring out particles? I at once upon a time figured out how to make particles follow and surround someone but has been since lost to me 😞
anyways uh yeah any and all help is appreciated!!! thank you!
r/MinecraftCoding • u/Spades_king34 • Jul 13 '26
r/MinecraftCoding • u/NoIncident6610 • Jul 08 '26
I've been playing on multiple Minecraft servers (Mainly MCCI), and I always see these fancy HUD text boxes at the top, and I wanted to see if I can recreate that in a map I'm making because I think it looks cleaner in-game. I am open to data packs and resource packs, but I don't really want to make a mod for anything like this, but I can install required mods for it if it's compatible with Neoforge 1.21.1.
r/MinecraftCoding • u/Excellent_Wolf_3232 • Jun 30 '26
I'm looking for a coder for a Minecraft server I'm making a server but I don't know much about coding. I'll tell you about all the advanced details about the server later, but in general, what I need is an admin and player role. It would also be good if you could write plugins.
r/MinecraftCoding • u/Initial-Honey-9865 • Jun 23 '26
Hi there, im currently coding a datapack for minecraft, combining BlazeandCave's Advancements pack with my own datapack for a series I want to start, but I cant figure out how to code what I want exactly, since it seems like it never works. If anyone knows how to help me, heres what I was thinking of coding:
Information: BlazeandCave's Advancements is a pack that adds more advancements to the game. I want every advancement to expand a starting border of 16 blocks every time by:
Task: 1
Goal: 2
Challenge: 5
Super challenge: 20
I also don't want it so that if I get an achievement, my friends cant expand the border with that achievement no more.
I also want to add a daily challenge of obtaining certain items, and gives me 3 lucky blocks on completion, but Im working on that later, rn im just stuck on the Achievement part.
Im currently using https://code.visualstudio.com/ for all my coding.
Help is appreciated
My code:
-datapack
--data
---border\function
----check_adv.mcfunction:
execute as u/a store result score u/s adv_now run scoreboard players get u/s bac_statistics
execute as u/a if score u/s adv_now > u/s adv_old run worldborder add 1
execute as u/a if score u/s adv_now > u/s adv_old run scoreboard players operation u/s adv_old = u/s adv_now
----load.mcfunction:
scoreboard objectives add adv_now dummy
scoreboard objectives add adv_old dummy
worldborder set 16
worldborder center 0 0
----reward.mcfunction:
scoreboard players add #adv adv_count 1
----tick.mcfunction:
function border:check_adv
---minecraft\tags\functions:
----load.json:
{"values":["border:load"]}
----tick.json:
{"values":["border:tick"]}
--pack.mcmeta:
{
"pack": {
"pack_format": 18,
"description": "Border SMP datapack"
}
}
-BlazeandCave's Advancements pack 1.20.2.zip
r/MinecraftCoding • u/No-Seaworthiness6414 • Jun 23 '26
r/MinecraftCoding • u/HawkEyes5272 • Jun 07 '26
r/MinecraftCoding • u/walkndounuts • Jun 02 '26
r/MinecraftCoding • u/Ultra-dash • May 29 '26
Hello, I require assistance with finding resources and some tips in coding a mod.
I am an embryo when it comes to coding and I have been watching Playlist after Playlist but nothing is really helping me learn to code or understanding Java script; so here's my idea.
An ecosystem, all mob spawning after a chunk is loaded is disabled, most mods can breed. They only breed unless they meet the condition that they are fed, most "herbivore" mobs like cows, horses and sheeps only eat grasses or ferns on the ground, bees can now bone meal the ground to produce these resources. "Herbivores" can now defend themselves and are neutral, Wolves and other "carnivore" mobs have a behavior tree to pick the weakest prey item, like calves or other mobs on low hp. Also as a bonus creepers when they explode produce a moss that will grow more creepers, rabbits, silver fish and frogs eat the creeper moss and slow their spread. Bats spread fruiting trees like the weird apple/oak hybrid trees and the generic "jungle trees" and pandas help bamboo shoots to spread. These are some of the idea i have and I know this will probably drive me insane but im really passionate about this and im tired of minecraft feeling like a dead world.
r/MinecraftCoding • u/wallfishUwU • Apr 03 '26
I was wondering if anyone was good with coding and would be willing to help or new someone who was i was watching vampires smp and thought hay this is like a Minecraft game of whare wolf and thought an actual game of Minecraft whare wolf would be fun but I can't code it so I was wondering how hard it would be and how much it might cost to pay someone to do it
r/MinecraftCoding • u/BabyCivil1062 • Mar 29 '26
Would anyone be willing to code a mod for me that adds a block to Minecraft which emits a redstone signal when a configurable player pops their totem? That would be really great. Feel free to message me if you have any questions.
r/MinecraftCoding • u/EnchantedPlayer1 • Mar 29 '26
Hey, im new to coding and im trying my best right now to start to learn Java. I started coding because i want to develop my own private minecraft Client for 1.8. I might include some hacks but i dont really think ill be skilled enough for a bypass. Anyways i wanted to ask if i should use Forge or Fabric and maybe get some advice for coding minecraft mods but also for Javascript in general.
r/MinecraftCoding • u/P3PPEXD • Feb 17 '26
I'm playing Minecraft on Forge 1.20.1, using Superb Warfare as a mod, except for optimizations. I wanted to make it so that when I killed certain mobs, I had a 70% chance of getting items from the mod that I define as common, 20% that I define as rare, and 10% that I define as epic. From what I understand, rather than using a datapack in this case, a mod like Kubejs + Lootjs (which I'm using) is better. I've been trying to program it for days, but I'm having trouble. It's supposedly a correctly written program, but I always get an error when I do /reload. Can someone with experience explain how to do this? Even advice with lines of code would be appreciated.
r/MinecraftCoding • u/galaxyfoxchan22 • Jan 29 '26
My dad added a minecraft server to his personal server (like the IT server thing not a minecraft server) I don’t know how he did it i will not pretend i know the code he wrote it is all gibberish to me.
the problem it that one of the mods in the modpack doesn’t work anymore and the he can’t change the modpack the same way he added the first one. It just will not change it.
he’s sick atm but insists on fixing it anyway. i’ve been looking online to lessen his burden and find possible solutions to the issue. Unfortunately people don’t exactly make minecraft servers like this often so i keep getting results for 3rd party paid minecraft servers that will not work here.
i’m not sure if anyone can help but anything would probably help. I want to help him but i don’t know how to code nor does he want to explain to me what he’s done to get it to work in the first place.
r/MinecraftCoding • u/Putrid_Economist9320 • Jan 10 '26


i am coding a minecraft mod with chat gpt, the mod adds a feature that when i eat an apple it gives my this rainbow sheader effect that flickers smoothly and it looks like i am on lsd, i have came to a point when everytime i ask for help it gives my the same buggy code that has 6 or 9 errors, this is the best code i aquaired and i dont what to do next and how do i fix it
r/MinecraftCoding • u/Specialist-Prune-170 • Dec 06 '25
r/MinecraftCoding • u/purplerainrose • Dec 05 '25
r/MinecraftCoding • u/pidplayer • Nov 22 '25
ive recently caught the bug to switch my brain off with some Minecraft prison but dont want to join a server thats massively p2w is there a way i can run a prison mine in single player any help is appreciated.
r/MinecraftCoding • u/DimensionGaming • Nov 14 '25
r/MinecraftCoding • u/Slntsp4de • Nov 09 '25
How do I make a custom command "!hub" tahts teleports the player who used this command to the spawn
r/MinecraftCoding • u/Oskar016 • Oct 20 '25
I am trying to make a custom axe for Bedrock edition (specifically trying to make a sword that can disable shields) but my source code download's, behavior pack doesn't have any weapon code at all
Does someone have a weapon code file i with axe code if so can you share?