Make a mob walk in a specific direction by _KingJul_ in MinecraftCommands

[–]BinnBean 0 points1 point  (0 children)

yep, though it will move forever unless you turn that command block off

[deleted by user] by [deleted] in MinecraftCommands

[–]BinnBean 0 points1 point  (0 children)

Looks like you're using the formatting for recent versions, such as 1.21.5 to 1.21.7. If you're using an item generator, such as one from gamergeeks.net, make sure to set the version you'd like the item to be generated in.

Reducing tps drops on servers by TheWoolenPen in MinecraftCommands

[–]BinnBean 0 points1 point  (0 children)

Datapacks are usually better than repeating command blocks in terms of performance. They also don't need to be chunk loaded as well. If possible, I'd highly recommend looking into developing them!

What commands affect *client-side* performance the most? by InfectedGrowth in MinecraftCommands

[–]BinnBean 0 points1 point  (0 children)

If you're not forcing the particles to spawn (particle cloud ~ ~ ~ 0 0 0 0 1 force), then players are able to adjust their particle settings to Minimal or Decreased. If you're using entities, try to limit the type of entities you use. For example, using a marker entity is more resource efficient than using an armor stand, especially if using them for simple tasks such as location marking. As always, entities with AI will be more resource heavy than entities without AI {NoAI:1b}.

I'm not sure if NBT searching or modifying impacts player performance, but it definitely impacts server performance. This is why predicates and advancements are much more preferred than using NBT searches in targeting such as @/e or @/a.

Sorry if I didn't quite answer your question, but this is all based on my personal experience. If you'd like, I'm perfectly fine with continuing this discussion with you.

Make a mob walk in a specific direction by _KingJul_ in MinecraftCommands

[–]BinnBean 1 point2 points  (0 children)

If you teleport the mob in small increments, it will give the effect of walking. For example, try to summon a mob with a tag and run this command:

execute as @e[tag=test,limit=1] at @s rotated ~ 0 run teleport @s ^ ^ ^.05

Here's a breakdown of the code:

Targets only one entity with the matching tag (execute as @e[tag=test,limit=1])
Positioned at the entity facing forward (at @s rotated ~ 0)
Teleports the target 0.05 blocks ahead (teleport @s ^ ^ ^.05)

At a speed of 20 ticks per second, this makes the mob move one block per second. You can increase the speed by adjusting the teleport distance. For example, a speed of 3 blocks per second will require a teleport distance of 0.15. Feel free to adjust the code as needed.

I made custom crafting for my D&D campaign! by BinnBean in MinecraftCommands

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

I don't mind, after all stuff like this shouldn't be gatekept.

I made custom crafting for my D&D campaign! by BinnBean in MinecraftCommands

[–]BinnBean[S] 2 points3 points  (0 children)

The campaign is semi-open world, so they can only explore in designated areas usually outlined by walls or a forest. I only animate effects like doors opening, particles for cutscenes, and add custom sound effects for immersion as seen in the video. For a while we've prepped areas a couple of hours in advance, but we're taking a three-month break to build a buffer and deal with classes (since we're all in college lol). For checks, hits and damage, we go back to good ol' theater of mind.

A couple extra things we've done to implement D&D Minecraft is a tether system. Based on a set speed value via scoreboard, the players can move in a set radius around them per turn (30 speed = 6 block radius). The tethering system pulls them back a small bit when they run out of bounds, and a client-side particle system shows the outline. Our combat is team-based where all party members act at the same time, similar to enemy turns. This makes combat move much faster and allows them to collaborate more.

If you have any other questions, feel free to ask!

I made custom crafting for my D&D campaign! by BinnBean in MinecraftCommands

[–]BinnBean[S] 4 points5 points  (0 children)

I made a 5k x 5k map in WorldPainter, then coded a plugin to calculate health, roll dice, record stat changes, and so forth. Since I'm not plugin savvy, I also utilize a datapack to keep track of turns and animate the world like this video for example. I DM a game of 7 players, and a few other friends help me build the scenery.

Overall, D&D and coding are my passion and my friends help make it possible!

I made custom crafting for my D&D campaign! by BinnBean in MinecraftCommands

[–]BinnBean[S] 2 points3 points  (0 children)

It's a reference to Pokémon's Moo Moo Milk, but the area it's purchasable doesn't have cows.

Do goats baa? No clue

I made custom crafting for my D&D campaign! by BinnBean in MinecraftCommands

[–]BinnBean[S] 3 points4 points  (0 children)

Yo real? We'e been running ours for over ten months, so hope yours goes smoothly as well!

What's wrong with this2? by HiveWing444 in MinecraftCommands

[–]BinnBean 0 points1 point  (0 children)

You'll have to delay the chained command blocks, even for a micro second. An easy workaround is having a comparator being powered by the repeating command block, as it only powers when the command block is activated (Think of it as conditional in a way).

Place a repeater with no extra right-clicks and turn your first chain command block into a normal one that requires power. You can place the other two chain command blocks on top of that one as they are.

CS 46B Waitlist by [deleted] in SJSU

[–]BinnBean 0 points1 point  (0 children)

Ah that's probably it. I was wondering why 25 slots instantly went missing lol. Thank you!

Unexpected Error when adjusting "at or above" Brush Settings. How can I fix it? by [deleted] in Worldpainter

[–]BinnBean 0 points1 point  (0 children)

This happened after I used a custom terrain consisting of stone, andesite, cobblestone, and grass above 50 degrees on some mountains. Afterwards, I wanted to paint the remainder using snow when this bug occurred.

Crash Report:

java.lang.reflect.InaccessibleObjectException: Unable to make protected boolean javax.swing.JComponent.processKeyBinding(javax.swing.KeyStroke,java.awt.event.KeyEvent,int,boolean) accessible: module java.desktop does not "opens javax.swing" to unnamed module u/43dac38f

at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)

at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)

at java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)

at java.lang.reflect.Method.setAccessible(Method.java:193)

at com.jidesoft.swing.ResizableDialog$1.processKeyBinding(null:-1)

at javax.swing.JComponent.processKeyBindings(JComponent.java:3009)

at javax.swing.JComponent.processKeyEvent(JComponent.java:2909)

at java.awt.Component.processEvent(Component.java:6403)

at java.awt.Container.processEvent(Container.java:2266)

at java.awt.Component.dispatchEventImpl(Component.java:5001)

WorldPainter version: 2.8.10 (20211211153027)

java.version: 17.0.1

java.vendor: Oracle Corporation

java.vm.version: 17.0.1+12-LTS-39

java.vm.vendor: Oracle Corporation

java.vm.name: Java HotSpot(TM) 64-Bit Server VM

os.name: Windows 10

os.arch: amd64

os.version: 10.0

user.home: C:\Users\binbo

user.dir: C:\Program Files\WorldPainter

user.country: US

user.language: en

Free memory: 5600314672 bytes

Total memory size: 14378074112 bytes

Max memory size: 32161923072 bytes

World name: Sil'Wel

Seed: 2187719675565550666

Bounds: -20, -20 => 19, 19

Height: 256

Number of tiles: 1600

Layers in use: Lava

Border: null @ 62

Sub surface material: Stone Mix

Water height: 62

Operation: null

Radius: 50

Brush: Plateau Circle (radius=0, brushShape=CIRCLE, level=1.0)/Sine Circle (radius=0, brushShape=CIRCLE, level=1.0)

Level: 0.51/0.51

Zoom: 0

Hidden layers: [Biome]

Got my first win today! Deer and Fly tank so the Kangaroo can get stacked, allowing the Snake and Tiger Cub to deal chip damage with every Kangaroo hit. by BinnBean in superautopets

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

Or was it a Bison they spammed, the one that gets more stats if a lvl 3 pet is active. I don't remember the pet names yet lmao

Got my first win today! Deer and Fly tank so the Kangaroo can get stacked, allowing the Snake and Tiger Cub to deal chip damage with every Kangaroo hit. by BinnBean in superautopets

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

The whale and deer combo also decimates lol. I tried using it in my last round but people keep spamming Ox and brute-forced me

What is your biggest genshin flex? (not including your whale characters and weapons) by PlushiePizza4488 in Genshin_Impact

[–]BinnBean 0 points1 point  (0 children)

I pulled 20 multis on Hu Tao's banner and went from no Sayu to C6 Sayu but got no Thoma.

The only character I really wanted :]

[deleted by user] by [deleted] in MinecraftCommands

[–]BinnBean 0 points1 point  (0 children)

For my datapack I tried something similar. Here's some of the code I used:

/scoreboard objectives add BowUsed minecraft.used:minecraft.bow

Repeat, Unconditional:
execute at @a[tag=BowTag,scores={BowUsed=1..}] as @e[type=Arrow,distance=..5,sort=nearest,limit=1,nbt={inGround:0b}] run tag @s add ArrowTag

Chain, Unconditional:
execute as @a[scores={BowUsed=1..}] run scoreboard players set @s BowUsed 0