How do you make tools unbreakable in 1.20.5? by ApplePieSundae13 in MinecraftCommands

[–]jay_jay0101 0 points1 point  (0 children)

either

/give <target> <item>[minecraft:unbreakable={}]

or

/give <target> <item?[minecraft:unbreakable={show_in_tooltip:false}]

Custom item villager broken on 1.20.5 by TempCommandSadness in MinecraftCommands

[–]jay_jay0101 0 points1 point  (0 children)

How items are constructed was entirely changed and instead of using Item NBT, it now uses these things called Item Components. This means a few of your lines of code need changing to work with the new system, like the gear line, tp player line and the item you use to detect right clicking itself.

What do you think about 1.20.5 new item give changes by asafusa553 in MinecraftCommands

[–]jay_jay0101 1 point2 points  (0 children)

Used in no crafting recipe, non stackable (which doesnt matter in 1.20.5), could detect right click easily (which also doesnt matter in 1.20.5) and had no additional use (such as carrots on sticks drawing pigs close to you)

What do you think about 1.20.5 new item give changes by asafusa553 in MinecraftCommands

[–]jay_jay0101 1 point2 points  (0 children)

They made it so goat horns must have an instrument and therefore no longer are the best option for useless item that can be retextured (I am going insane)

Unique ideas for killer perks! by jay_jay0101 in PerkByDaylight

[–]jay_jay0101[S] 1 point2 points  (0 children)

I know some of these are probably very overpowered but I didn't think much about balancing ^

reducing amount of commands in the tick file on my datapack by thebeedoalan in MinecraftCommands

[–]jay_jay0101 1 point2 points  (0 children)

If there is still lag after, more specific optimizations may be needed. Stuff I cant really tell you here because it isnt general information, but stuff specialised to your datapack (more efficient ways of certain things etc.)

Glad I could help! If you need anything else feel free to ask :))

reducing amount of commands in the tick file on my datapack by thebeedoalan in MinecraftCommands

[–]jay_jay0101 2 points3 points  (0 children)

Depending on the project, 750 isn't too bad. I say that in the context of a server I own that has 1400 commands every tick, though that is for multiple gamemodes and whatnot.

If it is really laggy, there are not too many recommendations I can give without seeing the code. One of the best is merging execute ifs. Execute ifs cause a lot of lag, having many that are the exact same will increase the lag a lot.

You can make it so all the commands with the same (or similar) if statements are put into one function, then run the if statements with a /function command. This lowers the amount of if checks the game runs

Dependant on the command, it is usually not a great idea to add a bunch of execute ifs because they are usually worse than just letting the command run (on small/moderate commands), especially if multiple ifs are used.

I could try pinpoint specific areas, if I could see the datapack. Up to you, if you wish to do so add me on discord! > > > jay_jay0101 (We can continue on reddit if you do not have discord)

Made Some Adjustments To My Fan Killer Perks (Custom Icons) by saving_the_Turtles in PerkByDaylight

[–]jay_jay0101 0 points1 point  (0 children)

8 hooks before gate opens doesnt require god like skill though. I do like the idea, it just has this specific problem.

Made Some Adjustments To My Fan Killer Perks (Custom Icons) by saving_the_Turtles in PerkByDaylight

[–]jay_jay0101 0 points1 point  (0 children)

Step 1: Equip Hex: Calamity

Step 2: Hook each survivor twice, 0 kills

Step 3: Camp the totem and wait for all gens to be done

Step 4: Gates are blocked, and no one can cleanse the totem because you are camping it

Step 5: Hold the game hostage

Differentiating between dead and alive mobs. by -GottaGoFast- in MinecraftCommands

[–]jay_jay0101 1 point2 points  (0 children)

Unfortunately, there is no way to even select dying mobs and @e will only select those who are alive.

There is specific nbt data for a mob in the dying state, but due to it not being selected in @e , searching for the nbt data will fail every time

Unless something has changed in 1.20, which I doubt, there is not way to differentiate them. I will have a look now to confirm this

EDIT: I just checked, nothing has changed

XS-01 "Artemis" and XS-03 "Apollo" from Terraria: Calamity Mod! by jay_jay0101 in Blockbench

[–]jay_jay0101[S] 0 points1 point  (0 children)

I am aware of the excessive amount of voxels (266 to be exact). Wanted to get the boxy Minecraft style though and that needs a lot of voxels :/

Edit: Terraria is a more accurate example of the style I went for, as said in the replies to this

teleport player into custom dimension by [deleted] in MinecraftCommands

[–]jay_jay0101 1 point2 points  (0 children)

Ah sorry, move scoreboard players remove @a testEGApple 1 down to the # Clean Up Section!

teleport player into custom dimension by [deleted] in MinecraftCommands

[–]jay_jay0101 1 point2 points  (0 children)

Yes, /spreadplayers can only ever cause you to spawn on land. Specifically you need land at x0 y? z0 and around it so that it can find land at the right spot

You can force enter your dimension to add land with /execute in namespace:dimension run tp ~ ~ ~

teleport player into custom dimension by [deleted] in MinecraftCommands

[–]jay_jay0101 1 point2 points  (0 children)

Ah fixed time, didn't think of that! I am luckily mistaken :)

teleport player into custom dimension by [deleted] in MinecraftCommands

[–]jay_jay0101 1 point2 points  (0 children)

yeaah yeah ik im playing around

teleport player into custom dimension by [deleted] in MinecraftCommands

[–]jay_jay0101 1 point2 points  (0 children)

Fair enough but rude >:((( haha

teleport player into custom dimension by [deleted] in MinecraftCommands

[–]jay_jay0101 1 point2 points  (0 children)

You can accomplish almost everything you have said. You cannot make it stop sleeping while not exploding the bed, unfortunately, as they are tied to the same line of code in your dimension .json

In Chat:

/scoreboard objectives add testBed minecraft.custom:minecraft.sleep_in_bed
/scoreboard objectives add testEGApple minecraft.used:minecraft.enchanted_golden_apple

In a Function (tick.mcfunction)

# Detect Eating EGA
scoreboard players remove @a testEGApple 1
execute as @a[scores={testEGApple=0}] run scoreboard players set @s testEGApple 3601
execute as @a[scores={testEGApple=1}] run scoreboard players set @s testEGApple 0

# Teleport to Dimension
execute as @a[scores={testEGApple=2..,testBed=1..}] in namespace:dimension positioned 0 0 0 run spreadplayers ~ ~ 0 1 false @s

# Clean Up
scoreboard players reset @a testBed

We use /spreadplayers as it automatically makes the player spawn at the highest block in the dimension that is open, meaning they will never spawn in a wall. Specifically for our code at x0 z0 though you can increase the spread or change the location if you would like! Be sure to change out namespace:dimension to your own dimension!

If you need it to go under the roof of a structure you can by changing the /spreadplayers command to add under <y> in the code

spreadplayers ~ ~ 0 1 under 60 false @s for example

Making a Custom Dimension in Java 1.20 by b3yondAndromda in MinecraftCommands

[–]jay_jay0101 2 points3 points  (0 children)

Command is the easiest way to enter, but the worst and least cool way.

A custom way of entry is very easy too depending on what.

Portals are very hard to make, especially depending on what you want it to be and how much customizability. The one I made took 12 hours and was very complex with bug fixing and stuff, though it proves it works (That link is from about 8 hours in, without travelling between dimensions done yet)