#Script API General

1 messages · Page 121 of 1

prime zenith
#

Ima stick to just items it wont break the game if it gives mobs the dp it will just be unnecesary

#

The damage stat went to mybboats head now its killing everything

#

Here goes take 50076

#

Uh oh all that logic fails cause its removed before projectile hits me so it cant apply damage

#

Im back to square 1 and im at a complete loss

#

Ima see if i cab string a before entity removed event to it

unique apex
#

how would one place a block in an unloaded chunk

wary edge
unique apex
#

dang

prime zenith
#

Will the components still exist in an entity before removal event im running out of options

#

I need help i tried 3 different ways not 1 way has worked

#

I tried projectile hit entity wont get the entity i tried adding the entities dp to the arrow but arrow disapears to fast so it just throws errors

I tried before entity removal and nothing

prime zenith
#

Ok so minecraft hurt with case projectile can get both i may be on to something

#

Omg omg ong omg omg its actually hurting me im so happy

#

Its a terrible shot skeleton tho

#

How does it miss 2 inc away thats not even my script thats vanilla

I need a stronger skelly for tests i think

#

Ive never been this happy to die but seriously skelly git gud

midnight crane
#

How do I make it so when you press a button on a gui it opens another gui

viral wigeon
#
//Button was clicked:

otherGui(player)
buoyant canopy
#

is there a way to get the map color of a block?

buoyant canopy
#

found it

buoyant canopy
#

why is block.getComponent('minecraft:map_color') returning undefined?

#

i am on stable 2.3.0

viral wigeon
#

hey @wary edge sorry for the ping but im looking into the adk library for a custom stairs template and the custom component is there but I don't find the JSON block, would you mind sending it to me or telling me where it is because I dont find it in the repo 🙏

buoyant canopy
knotty plaza
thorn flicker
knotty plaza
thorn flicker
#

yeah, getMapColor is in beta though

knotty plaza
#

I just knew about the map color thing when this method was released

thorn flicker
knotty plaza
#

Let me search for it

thorn flicker
#

there's tintedColor

#

and tintMethod

knotty plaza
#

I see

thorn flicker
#

perhaps this only works for custom blocks, and the getMapColor() method works for all blocks

#

for now

knotty plaza
#

Idk

sage portal
#

can dynamic properties be set in read-only mode?

snow knoll
shy leaf
#

well you can just not write on it tho

distant tulip
#

what does
initialRotation?: number;
in spawnEntity expect? x rotation?

sage portal
sage portal
distant tulip
#

thx

warm mason
round bone
sage portal
round bone
warm mason
#

I tested it again, and yes, you can

cursive fog
#

Hi sorry for ping i know this is a bit late but what does param mean?

last latch
#

Parameter

thorn flicker
last latch
#

Valid

warm mason
thorn flicker
#

by valid, I mean valid in the api

buoyant canopy
#

it seems this this has already been discussed in the following messages

thorn flicker
#

yeah

prime zenith
#

There is 1 thing i wish bridge could do is find and replace all references when i change a function name

Even vs code struggles with that

I think visual studio was the only ide i used that could actually reliably get all references

I chose bad nsming for my scoreboard function

thorn flicker
#

press ctrl+f

#

press this

prime zenith
#

Isnt ctrl f file specific

thorn flicker
#

okay so use the other find and replace

prime zenith
#

Also thats not truly reliable if naming of some local vars or tags also match

thorn flicker
stray spoke
#

About minimap, do they use get map color to make it

stray spoke
#

Alright thankyou

prime zenith
#

See if you have a var that matches funct name find and replace changes that to i said the function namevwas a bad chouce

thorn flicker
prime zenith
#

And im not saying i did do that but questSetter was to generic snd considering it can hsndle sll scoreboad logic it wasnt a smart choice

thorn flicker
#

okay

twilit sky
#

You can also do something called Rename Symbol in VS Code.

This one renames only the symbol (which can be a function) that you have selected. It doesn't change stuff that has the same name, but not the same purpose:

stray spoke
#

Random: is it also more efficient to display map item renderer just like compass/clock render on other packs to display minimap. Or does it need to be help and adjust how it's displayed on animation controllers

thorn flicker
#

man I need to move to vscode

prime zenith
#

Visual studio has a rename all references which is awesome

I dont think minecraft addons can be coded in visual studio tho

prime zenith
#

Visual studio is not vs code

#

I got them confused before to

#

Theres just not a minecraft plug in like there is for vs code

#

Atleast i didnt find 1

thorn flicker
#

well you said cant

#

you mean not recommended

thorn flicker
prime zenith
#

Tbh even vs code is having issues with reliably knowing what is or isnt alliwed if i throw any of my addons in vs code it says its riddled in errors cause it doesnt know wtf is going on

thorn flicker
#

he didnt say vs though, he said vs code

prime zenith
#

I like bridge but i dont like how pack is hsnfled

#

Who

thorn flicker
#

im wondering why you mentioned vs

prime zenith
#

Oh i was saying that vs had something better i was going off that

twilit sky
#

It looked like the conversation mentioned it.

prime zenith
twilit sky
#

Do you use the npm packages by minecraft? They're what I use to make my add-ons in VS Code.

thorn flicker
prime zenith
#

Im talking vs not vs code vs doesnt have that

thorn flicker
#

confusing as hell

#

lol

prime zenith
#

Vs isnt intended for simply editing files or mods ect sure it can be used to

I know the fact they are named the same is so messed up

#

Vs abd vs code similar naming
Not even close to the same ide

twilit sky
#

I'm assuming you mean Visual Studio by "vs"? The one with a purple icon?

prime zenith
#

Yes

thorn flicker
#

why not just say vsc

prime zenith
#

Thats even closer in naming

Vs vsc not its 1 letter dif not 1 word dif

thorn flicker
#

better to read imo

prime zenith
#

Vs has a bright purple icon vsc has a blue icon just so you are aware

I use vs whenever im coding in c#

unique dragon
#

Hi, you guys know if player tags have characters limit? Like dynamic properties

thorn flicker
#

30 chars it says, for bedrock

unique dragon
#

Oh yes, ur right

#

Ty

thorn flicker
#

the internet was right, i was the only the messenger

thorn flicker
#

-# i didnt know the char limit myself

unique dragon
#

😹

sage portal
naive tinsel
#

how do i check if the simulated player is at the block? I cant await these method, they dont return a promise..

#

it basically moves to the block and doesnt do anything else because all 3 of those lines run at the same time

prime zenith
#

Been curious about something does script allow you to make and import your own json files

knotty plaza
#

Nope, they have to be .js files and be inside your scripts folder

#

If its for configuration you can just export an object or an array

narrow patio
#

Is there a way to unload areas that have been previously loaded by a player

weary umbra
#

Why doesn't a parameter type exist for every value bao_panda_sad bc I want to use string and a number but its not possible in custom commands

weary umbra
#

No you cant there is no CustomCommandParamType.None or so

thorn flicker
#

you said string and number

weary umbra
#

yeah I mean both in a parameter

#

None was just an example so its like everything number and string

thorn flicker
#

what vanilla command has a parameter like that

round bone
weary umbra
round bone
weary umbra
#

you need to if you set the parameter to string

thorn flicker
#

if he wants numbers and characters, he needs to.

thorn flicker
weary umbra
#

bc I use Enums some of them use number and some string for example add <number> and protect <on|off>

thorn flicker
#

oh you mean, mixed enum value types

weary umbra
#

yea

#

bc we dont have sub commands

#

I just used a other method

thorn flicker
#

I hope we get sub commands soon

prime zenith
#

I always cry happy when i make something that is so reusable its not even funny

supple perch
#

only other thing I'd want other than sub commands very very very badly is data driven UI. (which is in dev, and we got a cool look at it #off-topic message)

#

basically everything else in the game is at it's peak. you can manipulate alot of things (in the coming versions, we'll have before event of entityHurt with a potential fix for the knockback.)

#

only a couple things left like maybe having key press/hold/unpress events
being able to copy/paste stuff via script api

#

entity equipment (most realistic and most needed)

#

and block dynamic properties maybe? in a controlled way if possible.

#

maybe even websockets getting into server net, but that's a bit far fetched I believe.

#

oh yeah an itemChange event for equipment sounds nice too. and realistic even

sage portal
#

I just realized after like 1 and a half years that I've been using float numbers in the amplifiers of applyEffect(), and yet it worked perfectly fine.

It seems to automatically floor the values rather than throw an error, which is weird since it doesn't do that for commands.

sharp elbow
#

There are several places where numbers are implicitly floored. maxDistance in BlockRaycastOptions is another one

sage portal
#

I never even knew that was floored this whole time, now I gotta go back and change things lol.
Thanks for the headsup.

sharp elbow
#

I found out the hard way when making a custom third-person camera that was aware of block collisions. I now always take the ceiling of the input I pass in

sage portal
#

Things like this should really be specified in the docs, would save a lot of trouble down the line.

granite badger
#

I remembered someone told me that but forgot who and when. If there is demand for that I can probably figure out a way to put that info in docs.

rough anchor
#

Yo im trying to cancel bucket/lava placement in a given region,

world.beforeEvents.playerPlaceBlock.subscribe((ev) => {
    if (!ensureGlobalsReady()) return;

    const player = ev.player;
    const block = ev.block;
    if (!player || !block) return;

    const claim = ClaimManager.getClaimAtLocation({
        location: block.location,
        dimension: player.dimension
    });

    if (!claim) return;

    if (!ClaimManager.canPlayerInteract(player, claim)) {
        ev.cancel = true;
        player.sendMessage("§cYou cannot place blocks in this claim.");
    }
});
world.beforeEvents.playerInteractWithBlock.subscribe(ev => {
    if (!ensureGlobalsReady()) return;

    const player = ev.source;
    if (!player || player.typeId !== "minecraft:player") return;

    const block = ev.block;
    if (!block) return;

    const claim = ClaimManager.getClaimAtLocation({
        location: block.location,
        dimension: player.dimension
    });

    if (!claim) return;

    if (!ClaimManager.canPlayerInteract(player, claim)) {
        ev.cancel = true;
        player.sendMessage("§cYou cannot use blocks here (claimed land).");
    }
});
world.beforeEvents.itemUse.subscribe((ev) => {
    if (!ensureGlobalsReady()) return;

    const player = ev.source;
    if (!player || player.typeId !== "minecraft:player") return;

    const block = ev.block;
    if (!block) return;

    const claim = ClaimManager.getClaimAtLocation({
        location: block.location,
        dimension: player.dimension
    });

    if (!claim) return;

    if (!ClaimManager.canPlayerInteract(player, claim)) {
        ev.cancel = true;
        player.sendMessage("§cYou cannot use items here (claimed land).");
    }
});

Lava/Water buckets appear to ignore the block for some reason, any advice?

prime zenith
#

Im ready to bang head on rock now

#

Wait i dont need to do that cause we have technology now

#

Im ready to bang head on computer

prime zenith
#

For testing i had a test to spawn a named entity whenever i use any item

That named entity is set to 5k health

I forgot to take it off

Whoops

small river
#

is it possible to not run the function dead but only the hit one of the entity has a tag ?

`import {
world,
system,
EntityDamageCause
} from "@minecraft/server";

const bullets = ["minecraft:arrow"];

world.afterEvents.entityDie.subscribe((event) => {

const {
    damageSource,
    deadEntity
} = event;

const {
    cause,
    damagingEntity,
    damagingProjectile
} = damageSource;

if (cause === EntityDamageCause.projectile && bullets.includes(damagingProjectile?.typeId)) {

    damagingEntity?.runCommand("execute as @s run function us_target_destroyed");

}

});

world.afterEvents.projectileHitEntity.subscribe((event) => {

const {
    dimension,
    hitVector,
    location,
    projectile,
    source
} = event;

const entityHit = event.getEntityHit()?.entity;

if (bullets.includes(projectile?.typeId)) {

    source?.runCommand("title @s actionbar Hit");

}

});`

prime zenith
#

Question in custum commands will vector 3 accept ~ at all or no if it has a valid origin

shut citrus
#

Why does mojang take so long to fix bugrock?

warped kelp
#

Ya'll, if I have a script that has similar naming and action to another script, would it conflict or would it run fine?

Like, if I have two separate addons that use the same script that dashes them forward through scriptevent

broken pawn
#

idk about that, what i know is

if there's 2 separated addon, and then their customCommand input is same, it'll collide (i got this from using Essential + Dynamic Light from Gao)

#

in 1st addon: "test:command"
2nd addon: "test:command"

it'll choose one

supple perch
#

the first addon added will have the default command (the one without the namespace)

#

also consider using IPC (inter pack communication)

#

to make only one register the pack

#

you can make your own or use [Omniac's](#1277940040688996512 message).

#

i made one myself that's simpler and more advanced but I've decided to keep it private.

supple perch
#

but it really depends on the context

#

again the solution above is relevant to you too.

supple perch
supple perch
supple perch
remote oyster
amber granite
#

Hello guys

#

I wanna ask question :
So whenever a player enters a server the server crashes

#

Does that imply there is something wrong with his data file ?

#
  • on log i see something like :
    Xuid : his xuid and name , without the pfid
#
  • is it possible to know the player's name using .dat files that are on the world folder
#

In db folder and level.dat

remote oyster
amber granite
#

But it crashes the server bro ☠️

#

Literally when that player connects to the server and i said connect not join , the server crashes after 3 seconds or so

amber granite
supple perch
#

it's waaaay earlier than @minecraft-server's playerJoin event.

amber granite
#

Ok thx

amber granite
#

Is it possible to add a one

#

I think the files itself is malformed or something

supple perch
supple perch
amber granite
#

☠️

#

My problem isn't in the scripting itself

supple perch
#

it's the packet

amber granite
#

My problem is how to know what causes the crash when he enter the server

supple perch
#

like these shulker bans

amber granite
#

I tried to navigate the world data

supple perch
amber granite
#

But i couldn't know what was his player's data

supple perch
#

I'll help you but first up

#

What's the crash message?

amber granite
supple perch
#

the exact crash message

amber granite
supple perch
amber granite
#
[2025-12-18 22:34:05:468 INFO] [Json] minecraft:skeleton | minecraft:behavior.nearest_attackable_target | minecraft:skeleton | For entity skeleton, "attack_interval" is disabled (max <= 0); goal will fall back to "scan_interval" (ticks).
[2025-12-18 22:34:05] 

[2025-12-18 22:34:09:841 INFO] [Json] minecraft:zombie | minecraft:behavior.nearest_attackable_target | minecraft:zombie | For entity zombie, "attack_interval" is disabled (max <= 0); goal will fall back to "scan_interval" (ticks).
[2025-12-18 22:34:09] 

[2025-12-18 22:34:09:842 INFO] [Json] minecraft:zombie | minecraft:behavior.nearest_attackable_target | minecraft:zombie | For entity zombie, "attack_interval" is disabled (max <= 0); goal will fall back to "scan_interval" (ticks).
[2025-12-18 22:34:09] 

[2025-12-18 22:34:13:686 INFO] [Json] minecraft:creeper | minecraft:behavior.nearest_attackable_target | minecraft:creeper | For entity creeper, "attack_interval" is disabled (max <= 0); goal will fall back to "scan_interval" (ticks).
[2025-12-18 22:34:13] 




[2025-12-18 22:34:54:051 INFO] Package: com.mojang.minecraft.dedicatedserver
[2025-12-18 22:34:54] Version: 1.21.131.1
[2025-12-18 22:34:54] OS: Linux
Server start: 2025-12-18 22:16:58 UTC
Dmp timestamp: 2025-12-18 22:34:54 UTC
Upload Date: 2025-12-18 22:34:54 UTC
[2025-12-18 22:34:54] Session ID: 0eaa4500-9918-4b6a-b9c8-38d9743gd5e0
[2025-12-18 22:34:54] Commit hash: 3c929d6fc41f48b65a9ff77078f269f25e6c9b9b
[2025-12-18 22:34:54] Build id: 39746295
[2025-12-18 22:34:54] CrashReporter Key: c1c245bb-499a-34dd-85b3-0ef39863974d
[2025-12-18 22:34:54] 
[2025-12-18 22:34:54] Crash
[2025-12-18 22:34:54:052 INFO]     at clone (UnknownFile:?)


#

what do u think

supple perch
#

hmm

#

first up you shouldn't show their xuid

#

this crash message doesn't clarify much.

amber granite
#

those are random datas

#

examples

supple perch
#

presumably a data file under world/db is not found maybe?? what does the server display to the clients when it crashs tho?

amber granite
#

everything crashes bro

#

nothing shown

#

like everyone get the same message

#

server crashed

supple perch
#

so it's instantaneous?

amber granite
#

yep u see

supple perch
#

hm

#

well there are a couple things to go off here

amber granite
#

i need to replace his malfomed dat files some how

#

db

supple perch
amber granite
#

The question is how to fix it ._.

#

Like is it possible to copy his key value ?

#

And put it in another local player things

supple perch
amber granite
#
  • i don't know which player he is
#

Like i got player#1

#

Player#2

#

Local player etc

supple perch
#

I'm gonna grab a couple nbt editors for you

#

i personally don't know much about where the players' data are in the database

amber granite
#

It is in db folder

#

I guess

#

I find out it s impossible

supple perch
amber granite
#

U need to use add-on . That write dynamic proprety

supple perch
#

this seems pretty fine

amber granite
supple perch
amber granite
#

Thx u for helping

supple perch
#

well if you need help with the nbt editing, i can guide you

#

if you share screen showing the editor

amber granite
#

No problem i dealt with nbt before

supple perch
#

cuz i am not sure of the structure fully

supple perch
#

luck

amber granite
#

Thx u so much

supple perch
supple perch
supple perch
prime zenith
# supple perch more context is needed.

Like ypu know how a tp setblock fill ect when you add coords accepts ~ as a current notation can i get a custum command to do that or would i need to code it in i knowbi could code it in pretty easily but idk if its a built in thing already

last latch
#

Either takes 0 0 0, or nothing

prime zenith
#

Or throws error cause you set param to take int

last latch
#

Damn 💀 🫡

prime zenith
#

But there is a fix to allow ~ just needs to accept string then tries to parse int if it can sets it if it cant checks if its ~ if so sets it to players loc

last latch
#

I didn’t understand a thing but 👍

#

😭

prime zenith
#

Sorry im speaking in pseudocode

last latch
#

Ahh yes

#

👍

deep arrow
last latch
deep arrow
amber granite
#

Is there a way to get world builder without turn oning education features mode

last latch
amber granite
#

It s part of typescript

#

And JavaScript

#

That s like saying only real sigmas prefer Hypixel over Minecraft

deep arrow
amber granite
#

It makes no sense ☠️

last latch
amber granite
#

It is not

#

Anyways

#

Does anybody know how to do that /wb command

#

Without the other features i don't needs them

#

Or i need to disable them using chemistry add-on from the game

supple perch
supple perch
#

you gotta disable websocket encryption in settings and enable websockets tho

#

otherwise you'll have to go through the hell of making the encryption layer Minecraft expects

supple perch
last latch
last latch
supple perch
#

it's a language in it's own

#

it's a superset if you choose to compile it

supple perch
last latch
supple perch
# supple perch it's pretty easy tho, just take a string param and do something like:
const axes = ['x', 'y', 'z'];
function parsePos(param, player) {
  const a = param.trim().split(/\s+/);
  if (a.length !== 3) return;
  const v = a.map((s, i) => {
    const axis = axes[i];
    if (s[0] === '~') {
      const off = s.length === 1 ? 0 : Number(s.slice(1));
      if (Number.isNaN(off)) return null;
      return player.location[axis] + off;
    }
    
    const n = Number(s);
    if (Number.isNaN(n)) return null;
    return n;
  });

  if (v.includes(null)) return null;
  return { x: v[0], y: v[1], z: v[2] };
}```

i coded it on the fly, and grabbed a couple stackoverflow answers and put some of them in here. you are welcome to change the function as much as you want.
supple perch
#

so yea

supple perch
#

i guess i didn't get that it was a joke

#

anyway that's no excuse, I'm sorry for my behaviour, have a fantastic evening!

supple perch
supple perch
#

it's a superset; cuz all javascript is kinda valid typescript, but typescript extra stuff isn't valid javascript and typescript adds lots of new stuff to JS.

#

my bad, sorry.

stray spoke
#

So ts is just a cover, but still have to convert the ts into js but with type detectors and stuff from ts

supple perch
#

your message is a bit vague

stray spoke
#

So ts is another code language itself?

supple perch
#

but I'll clarify what i mean.
ts can be ran by itself using tools like bun, ts-node, tsx and many others

#

they let you run typescript itself without compiling to js first

#

but yes in most cases you must compile to js first before typescript is ran

supple perch
#

like i said before, it's superset.

last latch
stray spoke
#

Alright thanks

supple perch
supple perch
supple perch
last latch
#

Oh no don’t be

#

We just misunderstood ourselves

supple perch
#

ah well, thanks and have a fantastic evening!

last latch
#

Same same

#

Nice evening

amber granite
supple perch
supple perch
#

idk

amber granite
#

Lol

supple perch
#

i think it gives you building abilities

#

in stuff like adventure mode??

amber granite
#

It is in education version

supple perch
#

hm

amber granite
#

But i don't know what it used for for a reason

supple perch
#

i heard of a similar ability

#

in /ability command in normal bedrock

#

tho i could be entirely wrong

deep arrow
supple perch
#

that's why it's extremely hard

#

if you're talking about the encryption ofc

#

if you're talking about the packets and how to init the websocket server, then there are LOTS of docs

deep arrow
#

yeah, i was wondering if anyone knew how minecraft expects it on websockets

deep arrow
supple perch
# deep arrow do you have an readily available, i've got nothing better than to look

Minecraft lets you connect to a websocket server when you’re in a game. The server can receive and send any commands. This lets you build a bot that you can … (well, I don’t know what it can do, let’s explore.) Minecraft has commands you can type on a chat window. For example, type / to start a command […]

#

i can send you my relay.js if you want it too

supple perch
#

here have a portion of it

#
const cmds = new Map();
function runCommand(command) {
  const uuid = crypto.randomUUID();
  cmds.set(uuid, command);
  
  return {
    header: {
      requestId: uuid,
      messagePurpose: 'commandRequest',
      version: 1,
      messageType: 'commandRequest',
    },
    body: { commandLine: command },
  };
}

const wss = new WebSocketServer({ port: PORT });
const clients = new Set();

wss.on('connection', ws => {
  console.log(kleur.green('📡 Minecraft connected'));
  clients.add(ws);
  
  ws.on('message', msg => {
    try {
      const parsedMsg = JSON.parse(msg.toString());
      const { body, header } = parsedMsg;
      
      let out = [];
      if (header.messagePurpose === 'commandResponse') {
        const cmd = cmds.get(header.requestId);
        if (!cmd) out = ['Command Ran!'];
        else {
          out.push(
            kleur.blue(`${cmd} `),
            body.statusCode === 0 ? kleur.green('Ran Successfully') : kleur.red('Failed to run.')
          );
          if (body.statusMessage) out.push(' — ', kleur.gray(body.statusMessage));
        }
      }
      console.log('⬇️ ', out.join(''));
    } catch (e) {
      console.error(kleur.red('❌ Bad WS message'), e);
    }
  });
  
  ws.on('close', () => {
    console.log(kleur.red('❌ Minecraft disconnected'));
    clients.delete(ws);
  });
  
  ws.on('error', err => {
    console.error(kleur.red('❌ WS error:'), err.message);
  });
});

async function syncAndReload(pack, runBuild = true) {
  try {
    await pack.run(runBuild);
    console.log(kleur.green('✅ Sync complete'));
    
    const cmdStr = pack.isBehPack ? 'reload' : 'reload all';
    for (const ws of clients) {
      if (ws.readyState === ws.OPEN) ws.send(JSON.stringify(runCommand(cmdStr)));
    }
    console.log(kleur.cyan('🔄 Reload command ran'));
  } catch (e) {
    console.error(kleur.red('❌ Sync failed:'), kleur.gray(e.message));
  }
}```
#

it's a bit messy but I'm sure you can use it pretty well

supple perch
remote oyster
# amber granite But it crashes the server bro ☠️

If it's crashing that fast then there isn't anything you can do, that I can think of, in regards to logging and knowing who it is when looking at the file because it's unsaved data. Unless the data is written before the crash you are limited on options.

amber granite
#

Yeah

amber granite
#

Is there a way to make recipe only for creative players not survival?

buoyant canopy
#

and the player in survival can pick up that item, you might need a ticking function that constantly removes the recipe from the player if they are in survival.

prime zenith
bronze pulsar
#

@cyan basin Is there a way to make the inventory clickable?

#

This is for your Chest Form release

cyan basin
#

Is it not clickable already? It should be...

bronze pulsar
#

I'll recheck the files, for me now, it is just shows the hover, cannot click

cyan basin
#

The GitHub was updated last week, you can check the container type being either "container" or "inventory" and click either one

#

both types start from 0 too to make the functionality easier as if you're checking a chest or your own inventory like vanilla

bronze pulsar
#

Yeah, as of now, for me, inventory button aren't clickable.

import { world } from '@minecraft/server';
import { ChestFormData } from './extensions/chest-form/index';
import { MinecraftItemTypes } from './extensions/vanilla-data/index';
world.afterEvents.itemUse.subscribe(({ itemStack: item, source: player }) => {
    if (item.typeId !== MinecraftItemTypes.Compass) {
        return;
    }
    mainForm(player);
});
function mainForm(player) {
    const form = new ChestFormData().title('Main Form');
    form.button(12, 'Grass Block', 'minecraft:grass_block', { amount: 1 });
    form.button(14, 'Diamond Sword', 'minecraft:diamond_sword', {
        description: ['§7Sharpness V', '', 'Test (1)', 'Test (2)'],
        durability: 50,
        enchanted: true,
    });
    form.show(player).then(({ canceled, slotIndex, type }) => {
        if (canceled || slotIndex === -1) {
            return;
        }
        if (type === 'container') {
            world.sendMessage(`${type}, ${slotIndex}`);
        }
        else {
            world.sendMessage(`${type}, ${slotIndex}`);
        }
    });
}
#

Tested using this code and github code

cyan basin
#

That's weird, maybe I forgot to push it. Let me have a look

bronze pulsar
#

Thank you for your help.

cyan basin
#

It should make it clickable now! 👍

bronze pulsar
#

I think i'm using the javascript version

cyan basin
#

The file should still be the same

#

That's just where I updated it for now

#

There, I pushed it to both so you can get it normally now

prime zenith
#

Today has been brutal wheres the nearest cliff

bronze pulsar
prime zenith
prime zenith
#

Whats the syntax to setting lire on an item with script

thorn flicker
prime zenith
#

Do i do it after its set to inventory or after i save its dp or does it matter that much

thorn flicker
#

otherwise you are just setting the itemStack in the slot with no changes

prime zenith
#

Can i take off minecrafts lore is that possible

unique dragon
#

Have to set the item again

thorn flicker
#

run all the edits before the setItem() method.

unique dragon
#

that's what I was trying to say

thorn flicker
prime zenith
#

Found a bug

Interact events on fletching tables will not stop firing making form use on them unusable

#

Can i texture a block like the fletching table without downloading its png

thorn flicker
prime zenith
#

Oh theres an isFirstProperty do i run that check before i call the command

thorn flicker
#

unless you are using an item on it that interacts with it successfully, then it is true.

prime zenith
#

No ive been having no issues using any other non interactable block it wasnt til i used fletching table i had issues

thorn flicker
prime zenith
#

I did oak logs

thorn flicker
#

you said any other non interactable block.

thorn flicker
prime zenith
#

No

#

Hand

thorn flicker
#

show me a video where you interact with the log then and console.warn/log a message.

prime zenith
#

i hope that 1 worked

thorn flicker
prime zenith
#

give it a sec

#

also guess i had an anvil in hand

#

its loading at 1 byte per year

thorn flicker
#

then it'll place the block, which will make it only run once.

#

dont have anything that'll make you swing your hand.

thorn flicker
prime zenith
#

Im going to kill minecraft

#

It crashed for the 8 billionth time today

#

But what is the is first propert

#

How do i set it

thorn flicker
#

do you understand how you were wrong

thorn flicker
prime zenith
#

This was the first time ever having the isdue ever and my god friend oaky was always by my sidr

#

Stealing my money but always by my side

thorn flicker
#

what

prime zenith
#

Dont read to much into it

#

So is the is first event a player property on the event itself or?

thorn flicker
#

its on the event.

prime zenith
#

Set it to true correct

thorn flicker
prime zenith
#

Oh is just ev.isFirstEvent

thorn flicker
#

yes, thats correct

prime zenith
#

I tried it didnt work

thorn flicker
#

then you did it wrong

prime zenith
#

Or do i do it before the xancle

thorn flicker
#

please show me the code.

prime zenith
thorn flicker
prime zenith
#

yes i thought thats what you said to do

thorn flicker
#

I didnt say that.

#

I said check if its true

prime zenith
#

ok but im guessing its not how do i make it true

thorn flicker
prime zenith
#

i could ask you the same question

thorn flicker
#

I told you like twice, you are not editing the property

#

you are going to check its value

prime zenith
#

how is checking its value going to help me make my fletching table useable tho

thorn flicker
prime zenith
#

Yes but knowing its false doesnt really help me when i cant set it to true

thorn flicker
prime zenith
#

I triggered it just bu using the use button itvtriggered multiple times

thorn flicker
#

are you going to do what im telling you or not

prime zenith
#

i did

#

it shows false 18 billion times

thorn flicker
#

what

#

show me the new code

prime zenith
thorn flicker
#

the code

prime zenith
thorn flicker
#

you are not checking its value

prime zenith
#

how is that not checking its value

thorn flicker
#

I mean technically you are, but what do you think this means in coding

#

use an if statement

#

check if the value is true

prime zenith
#

Ok checking its value and protecting with if are 2 completely dif things

thorn flicker
#

plenty of people explain things like this

prime zenith
#

No i did what you said you misused logic

#

I like outplay but why wont the dam thing stay open

thorn flicker
prime zenith
#

No i did what you said keyword said
I didnt do what you were expecting cause what you said did not iterate that

thorn flicker
#

this is on you

#

have a good night

prime zenith
#

No its on you

thorn flicker
#

cant fight with someone like this

prime zenith
#

You mean ppl who use correct terminoligy then dont fight but dont accuse me of not doing what you said just cause what you said wasnt what you ment so good night

thorn flicker
#

lol

prime zenith
#

Ill adk my it instructer start of semester what he would do if a person said to check the value of something

thorn flicker
#

the whole time ive been doing this shit, this has never been a problem

#

you are the first person I met thats been confused by what that means

prime zenith
#

Because i was told what checking a value actually means

thorn flicker
#

in reality it couldve meant both things, sure, but what I meant made more sense than what you did

prime zenith
#

Im not saying you were wrong but it doesnt mean it cant be confusing when we were taught different terms

#

Not when it dodnt indicate that it ever was true

thorn flicker
prime zenith
#

From my logging it said false so msny times i didntvsee a true

#

I didnt read every doccumdnt never assume they all are read i still hate the doccuments

thorn flicker
#

true false false false

thorn flicker
thorn flicker
#

this couldve turned out less argumentative if I was less condescending

prime zenith
#

Did i really name my 2 statistic type dp levelStats and levelSystem

#

My naming logic could use work

thorn flicker
prime zenith
#

No if i named it fox it wouldnt fit

#

Chat gpt saves me a billion times catching the small things i misd

solid stone
#

Hm is there any way to import camera animations from blockbench to ingame, like with any code or so? thinks_amicable

amber granite
#

hello guys

#

does anybody knows how to edit .ldb files

#

man , nbt editors don t do their work as it supposed to be

sterile epoch
#

does anyone know why I can't use the player selector in custom commands when I'm not operator

#

It says selectors can't be used or some bs

solid stone
#

ty anyways

snow knoll
keen hearth
#

Can some please help me with some code I can use to detect when a player is Drawing and also has released a custom bow item?

last latch
#

Due to security issues

#

I think you should be able to enable them for everyone

sterile epoch
#

like the player selector command enum?

last latch
#

Yeah

#

You could find bases using that

#

And crash servers

#

You mean those @ selectors right?

sterile epoch
#

No but its happening even if I just type the players name

last latch
#

Oh

sterile epoch
#

like im doing /tpa zcozmozzz and it says "selectors aren't useable" or whatever

#

only works when I'm op

last latch
#

Weird. Maybe there is a different enum for player names

sterile epoch
#

Am I missing something?

last latch
sterile epoch
#

I did CommandParamType.PlayerSelector

last latch
#

Idk someone else has to help :/ sorry

keen hearth
#

Can some please help me with some code I can use to detect when a player is Drawing and also has released a custom bow item?

snow knoll
keen hearth
#

Alright give me a bit

snow knoll
#

A bit of time or code?

keen hearth
#
  const player = event.source;
  const item = event.itemStack;

  if (!player) return;
  if (item.typeId !== "your_namespace:custom_bow") return;

  player.addTag("bow_drawing");
});

world.beforeEvents.itemStopUse.subscribe((event) => {
  const player = event.source;
  const item = event.itemStack;

  if (!player) return;
  if (item.typeId !== "your_namespace:custom_bow") return;

  player.removeTag("bow_drawing");

  // Optional: add release tag if you need it
  player.addTag("bow_released");

  player.runCommandAsync("function bow/fire");

  // Clean up
  player.removeTag("bow_released");
});```
Like this?
sterile epoch
#

runCommandAsync was removed a long time ago

keen hearth
#

Oh

snow knoll
#

2: stop using beforeEvents there are no benefits towards using beforeEvent here at all

#

3: there is no itemStopUse beforeEvent because stop use is dynamic to whenever the player's finger let's go of a button

sterile epoch
#

chatgpt try not to hallucinate some bs code challenge impossible

snow knoll
#

🤣

keen hearth
#

Yh i suck at Scripting

#

😂

snow knoll
#

In fact there's a 4th problem in that you need both itemStartUse and itemStopUse or else the concept doesn't work

snow knoll
keen hearth
#

Yayy😂

supple perch
#

You're gonna have to know alot about camera stuff tho

snow knoll
#

One of my favourite chat gpt lines if code is in events like this
if (!event.source) return;
Like the event that just happened doesn't have a source

supple perch
#

so yeah

supple perch
#

it's better to safe than sorry

snow knoll
#

I mean mainly in itemUse

supple perch
#

while the API might never fail

#

it's better to have a quick safe check to ensure everything runs smooth

#

they don't take much perf anyway

#

as long as you don't branch then yeah it's safe

snow knoll
#

It is kinda still a waste of a line though
Does no harm though as you say

snow knoll
sterile epoch
#

.isValid is a better check

keen hearth
snow knoll
sterile epoch
keen hearth
#

I'd like the tag with the events and runCommand please 🙏🏾

sterile epoch
#

is this happening to anyone else?

snow knoll
# keen hearth I'd like the tag with the events and runCommand please 🙏🏾

Here

import { world, system } from "@minecraft/server";

world.afterEvents.itemStartUse.subscribe((e) => {
  const { itemStack, source } = e;
  const player = source;
  const item = itemStack.typeId;
  if (item == "ltng:power_slam") {
    player.addTag('bow_drawing')
  }
});

world.afterEvents.itemStopUse.subscribe((e) => {
  const { itemStack, source } = e;
  const player = source;
  const item = itemStack.typeId;
  if (item == "ltng:power_slam") {
    player.removeTag("bow_drawing")
    player.addTag('bow_released');
    player.runCommand('function bow/fire')
    // this makes the game wait 5 ticks until removibg the tag you have the player
    system.runTimeout(() => {
      player.removeTag('bow_released')
    }, 5)
  }
});```
snow knoll
keen hearth
weary umbra
sterile epoch
open urchin
#

you'd have to just use a string parameter and find a player with that name

#

or go back in time and stop people from realising selectors can be used to cheat

last latch
sterile epoch
#

i get the selector cheat, but I'm not even using a selector

snow knoll
#
sterile epoch
weary umbra
#

I though they fixed it on 1.21.130

sterile epoch
#

I'm gonna test if the entity selector works later

sterile epoch
prime zenith
#

What is the block tupe id for mangrove logs i feel its not minecraft:mangrove_log i could be wrong

open urchin
#

it is just minecraft:mangrove_log

prime zenith
#

Oh ok

keen hearth
snow knoll
#

No problem

stray spoke
#

What does this PlayerSelector returns, I tried using functions like scoreboard to it but it doesn't work, is it a string type or else

prime zenith
#

Whats the easiest way to just disable striping logs

prime zenith
#

When i get time and energy ima see if i can get ai to pass the worlds hardest captia

thorn flicker
#

edit the cancel property to be true

prime zenith
#

I know that i got it i just made an arraw for all strippable logs

#

To cancel if the blick type id included any of it

thorn flicker
#

there's also the log tag, but iirc newer logs dont have the tag

prime zenith
#

Its all good now i can just add to the array if any other interactable blocks i need to outright cancel exist

thorn flicker
#

should probably use the tag method anyway

#

for custom logs

#

because if were to make a custom log, I would add the tag.

prime zenith
#

My custum logs wont be strippable

thorn flicker
#

not talking about yours

#

even if they arent strippable, it doesnt change a thing

midnight ridge
#

does any one has a blog or a video explain how to turn a modalform to a chest UI form?

prime zenith
#

Thats all i wanted to stop tho i justcwanted to prevent stripping

thorn flicker
thorn flicker
#

and im talking about custom logs that have stripping support

#

you can cancel that too.

last latch
midnight ridge
prime zenith
#

No need to change it theres only 1 other custum log i need to add minecraft has mire thrn enough wood types

last latch
thorn flicker
#

if you don't care about compatibility, whatever, its your addon.

last latch
prime zenith
#

Im not saying other ppl woukdnt want or need mire im saying my back doesnt need any more

thorn flicker
#

i didnt say your pack needed more.

prime zenith
#

Just the way you came off with the "thats your opinion" makes it sound like i was telling other ppl log types they need

thorn flicker
#

my point is compatibility

#

thats it

#

if you dont care, that's alr

prime zenith
#

My addons for a custum world the way its set up it still wouldnt be compatable with other addons

thorn flicker
#

or you just didnt care from the beginning

prime zenith
#

All items blocks ect have custum data highly independent such as xp levels unique recipes

#

Crafting table is disabled crafters handle time based crafting

A nother addon wouldnt have any if the data on there items

thorn flicker
#

ah

#

but that means not think about compatibility at all?

prime zenith
#

If a pack had say ever green logs

The log isnt in the data no level no subtype so its just a blick without a use

#

I cant tier unknown blocks

Birch log for example on mine is tier 2 where oak is tier 1 burch nakes better stuff

thorn flicker
prime zenith
#

Other addons would need to code there blocks into the api so sure i could do that way

amber granite
#

Guys why , system.runTimeout dosen't work anymore?

#

Did they ruin it

prime zenith
#

How are you using it

#

Hey but whats cool is my crafters work offline

amber granite
#

system.runTimeout(()=> { something here } , 60 );

#

Don't say they change it

prime zenith
#

I think the something here is whats more importaint

thorn flicker
#

they didnt.

prime zenith
#

Cause what its running could be why

amber granite
#

Then why it didn't work lmao ?_.

thorn flicker
#

how are we supposed to know

#

you are not showing the code

prime zenith
#

Show the code

amber granite
#

I don't have it for the moment

thorn flicker
#

then you gotta keep wondering

#

lol

prime zenith
#

Then we cant help til you do

amber granite
#

I just put something simpl like
console.warn("something")
And inside playerJoin event

#

No syntax errors from that

#

Just it doesn't show the warn after 3 seconds and at all ☠️ no errors triggered

prime zenith
#

The file imported to main

amber granite
prime zenith
#

Also is it taking longer then 3 sexs to load

thorn flicker
amber granite
amber granite
prime zenith
#

Whatever you use as main if index is your main yes

thorn flicker
#

what a mispell

amber granite
#

Everything above the runTimeout code run

#

And afer it

#

I see warn that i wrote before it and after it

thorn flicker
prime zenith
#

Try longer time

amber granite
#

And they both work

thorn flicker
amber granite
#

But the runTimeout it self dosen't give me any results

thorn flicker
#

im going to try to replicate what you are doing 1 sec

amber granite
prime zenith
thorn flicker
amber granite
thorn flicker
amber granite
#

No way

prime zenith
#

Its probobly a typo or missing element in your code

amber granite
#

The Earth's solutions have run out. it's time to open the PC and copy the file.

#

I mean the code

#

Ok guys i found the problem it was an if statement ☠️

prime zenith
#

Thatll do it

midnight ridge
#

does your repost still works in the new minecraft version? @valid ice

amber granite
#

Did i saw some message or i am just tripping

midnight ridge
amber granite
#

Ok

prime zenith
#

@thorn flicker the issue with my pack being compatable is that all weapons rely on custum data

You add a weapon in another pack
Theres no level no crafting recipe that uses my system no xp it cant do damage cause vanilla cb was rewritten all ores and wood are tiered and level lovked another oddon would not

And this is a story driven factory craft quest derived nap

#

Map but ill take a nap sure

thorn flicker
#

oh its a map

prime zenith
#

Yes

thorn flicker
#

who cares then

prime zenith
#

Ya my addon wouldnt work on its own

thorn flicker
#

levo probably thought I meant who cares about your project

#

lmao

prime zenith
#

So wude

thorn flicker
#

yeah thats totally what I meant

#

im so awful

prime zenith
#

How janky will it be having yhe mines tech in the same place but running a structure load tp and function each level you go down so with coords off looks like descending

thorn flicker
#

mines tech?

prime zenith
#

Technicually

thorn flicker
#

do people say that

prime zenith
#

Yes

midnight ridge
prime zenith
#

Where i live its common

thorn flicker
#

tech stands for technology though

#

but whatever

#

lol

prime zenith
thorn flicker
#

my bad

prime zenith
#

Anyways how janky will that feel

warm mason
#

If only Entity.teleport(... { keepVelocity }) was supported for players...

thorn flicker
#

very janky

#

use an entity with collidable component

#

and make it go down

warm mason
amber granite
#

☠️ what type of slang u'll using ?

prime zenith
#

Entity with collision im confused on thatc1

thorn flicker
#

I edited

#

also you are making an elevator right

warm mason
warm mason
prime zenith
#

No not really

thorn flicker
#

am I talking to you sir serty

#

no

prime zenith
#

I think we lost translation there

warm mason
thorn flicker
warm mason
thorn flicker
#

that describes an elevator to me but maybe my brain is just descending

prime zenith
#

So im making a mines each level mines are randomly fenerated got a funt to generata componrnts i was going to use randominsed structures to replace current structure each time you complete a mine floot

#

I was wondering if i technicually just reused the same area if that works ir janky

warm mason
#

I remember I made something similar about like 5 years ago...

thorn flicker
#

damn how long you been doing this serty

#

im like 2 years in

warm mason
warm mason
#

I didn't even touch addons

prime zenith
#

Define good tps

Id tp player to start start will match on each mine floor then generate random structure then run my spawner funct

thorn flicker
#

ah

amber granite
prime zenith
#

18 to 20 what

warm mason
#

|| or "are good"?.. ||

prime zenith
#

Ohhhhhhh ticks per second

thorn flicker
prime zenith
#

Icthought you ment teleport system

#

I call it fps

thorn flicker
#

thats frames per second

#

thats wrong

#

lol

warm mason
prime zenith
#

Isnt ticks per second always 20

warm mason
prime zenith
#

Well either way sounds like just speed lag related so ifva players lagging it nay feel janky but tbh all mc feels janky in lag

thorn flicker
#

true

#

but optimization is obviously still ideal

warm mason
#

Well, if I were you, I'd save player.getVelocity, then teleport it, and then use player.applyImpulse(savedVelocity)

prime zenith
#

Well yes ofc and ooh that gave me an interesting idea

vast rune
#

is there any way to rotate an entity to face a point? like a vector3 type or something

vast rune
#

wait actually

#

OMG no way

#

tysm

prime zenith
#

Is there a cap on item lore that i should know about

fallow minnow
#

yes

prime zenith
#

My sanity threw a null reference exception

broken pawn
#

which is better? use a single runInterval but compiled with 50 Lines or multiple runInterval?

supple perch
#

on the logic

#

almost everything nowadays doesn't need runIntervals

#

so try to use less runIntervals

prisma shard
last latch
prisma shard
#

Huh

#

But timeout works too

last latch
prisma shard
last latch
#

rel

prisma shard
#

confusing

last latch
#

i think i explained well

prisma shard
#

runInterval(() => {
runTimeout(() => {
sendMessage("hello")
}, 2)
})

each tick, runTimeout fires, SO the message fires after 2 ticks.. Then again next tick runTimeout fires, so that is delayed too.. meaning 2+1 =3 .. is that a sequence... 2nd tick, 3nd tick, 4th tick

last latch
#

it will spam the timeout no?

prisma shard
#

Huh

last latch
#

it runs the timeout each tick

prisma shard
#

yeah

#

i just said

last latch
#

why would anyone want a delay?

prisma shard
#

wdym spam, can't u think tick-wise?

last latch
prisma shard
#

i said?

last latch
#

yeah and 4, 5,6,7,8,9... all after that 3 tick the timeout is being ran

prisma shard
#

wait

#

maybe i am

#

thinking off this

#
for (let i = 0; i < 14; i++) {
system.runTimeout(() => {
  sendMessage("hello")
}, i)
}
#

uhm

#

so for example, for 14 times, the delay increaese

#

and creates a delay sequence

#

as the i is used in the runTimeout delay value

#

does that go to system.runInterval too? ok maybe not

stray spoke
#

That only executes many timeouts

prisma shard
#

men maybe i am high

#

sorry

#

i'm a newbie i might be wrong

stray spoke
#

I think runInterval itself is a shortcut, you just have to adjust the tickz

#

I'm sure you know this:


let i = 0
const id = system.runInterval(()=>{
  i++
  if(i > 14) clearRun(id) //stops if more than 14
}, 20) //runs every 20 ticks
amber granite
#

Goys i want to ask question

last latch
#

no pepe

last latch
amber granite
#

Sad

#

So i want someone to fix my server for me ._.

#

And it have like 17 add-ons and 5 issues ☠️ and some corrupted player's data

#

And i found someone and told me 100 usd for all that ._. is that too much or too low ? ☠️

#

Because i found that 100 dollars is too much for me ☠️

last latch
#

depends how those addons look

#

and depends if you are going to make profit out of that

#

or if you aim for pure fun and no profit

amber granite
#

Some profit would be

#

Like i got inverstors

#

Is it fair guys, knowing that i gave him the job three days ago and he got 80 of the job done ?

last latch
#

but we got not so much info about this

amber granite
#

Recipes issues

#

Json damage issues

#

And [ block Error ] issues

#

And some mobs don't get displayed correctly

#

And 17 add-ons ☠️ to work on them

amber granite
#

I paid him half upfront

#

But i am considering completing the other half

#

I don't know even if 100 dollars is much or not for that work

#

Is it underpayment?

#

Or overpayment

#

What is the standard, i don't know to be honest

last latch
#

if it got big and many issues 100 could be worth

amber granite
#

Is there any one that fixed an add-on before ?

amber granite
#

But u should know there are 17 add-on to go through

#

And not a small one liek big ones

#

Like better on bedrock add-on and more

#

Like big work to do ☠️

last latch
amber granite
#

Bro many

#

Like item, block , animation errors

#

Even scripting itself

#

☠️ like there is whole file of logs full of errors to fix

#

Like u gonna spend 3 days to fix it

#

Or more

last latch
#

im in a need of money so i would accept it if it would be possible considering my own knowledge of addons

amber granite
#

Hmmm

#

So if i gave u 50 dollars would u accept it ?

#

this a small overview of therrr

#

errors

#

@last latch

#

And there is more like x40 than that

prisma shard
#

100 dolar is overpayment

#

LMAO i would do it if i had a better pc and a credit card to accept the payment

last latch
#

it seems like an overkill with 100 bucks

proper pumice
#

is it possible to get a list of all possible enum values for a entity property?

amber granite
#

there are like 30 or more

#

lemme count

#

so u gotta like 200 items and block in total to work on

prisma shard
#

idk but i can say your damn rich to have 100 bucks

amber granite
#

☠️ man i only payed him half

midnight ridge
#

aaaaaaaaaaaaaaaaaaaaaaaaa why does it moving with water when it has "minecraft:buoyant" COMPONENTS

viral wigeon
#

I can do it

#

if you want

prisma shard
#

but there is no component for making immovable in water

last latch
viral wigeon
last latch
#

Pay someone

#

Already their half

viral wigeon
#

i hope it wasnt $50 tho

#

maybe like $20

#

If it was 50 or more its a scamm

last latch
viral wigeon
#

Those errors are all easy to fix

last latch
#

Yeah kinda

viral wigeon
#

bro got brutally scammed

#

@amber granite noway

#

I could fix that in 5 minutes tbh

last latch
viral wigeon
#

That's a type of scamm

#

taking advantage of someone who doesn't know just because you were the first one to find him out

#

You know you won't take a lot of time doing it but since he started saying he would overpay you just take advantage

#

thats fucked

last latch
viral wigeon
#

indeed it is

last latch
#

it is more unethical but scam is something different.

broken pawn
last latch
#

If the developer did not manipulate the payer in any way, either by lying, hiding information or deceiving the payer it wouldnt classify as a scam.

runic crypt
#

How to make images in Form UI render more clearly?

last latch
#

there is. Either by shrinking your safezone or your ui scale in settings

#

but that is impossible to control via scripts or json ui (afaik)

midnight ridge
last latch
#

does PlayerSoundOptions.volume even work?

#

i set it to 0.01 and it is still loud as freak

#

Okay nevermind

#

it just did not update for some reason

amber granite
#

Anyways

#

How to check if someone is OP ?

last latch
amber granite
#

Dosen't work

distant tulip
last latch
last latch
#

that would be 3

#

operator is 2

amber granite
last latch
amber granite
#

One min

rough anchor
#

does changing manifest uuid cause lost of access to the packs dynamic properties/ tables and etc?

rough anchor
#

Welp there goes 2532 records.

lethal bramble
#

does importing an mcaddon override the corresponding addon with the same uuid? or not

distant tulip
distant tulip
lethal bramble
distant tulip
#

higher

open urchin
#

I have never experienced a pack being overridden by a new version, it's always installed the different versions as separate packs for me

wheat condor
#

what might be the cause of client stuttering when you are the host and you re running an heavy script?

amber granite
#

Guys why there isn't good nbt editor ._

#

Literally

last latch
wheat condor
wheat condor
last latch
#

So either particles, entities, world rendering, or your JSON UI

#

Are you sure the JSON UI is not the issue?

wheat condor
wheat condor
#

i found the issue (chatgpt did) i was setting the inputpermissions to true every tick making the movement stutter

amber granite
#

Guys does anyone knows why creator's skin dosen't work when i override player.json in entity textures

#

So i applied an add-on but creator's skins dosen't work

#

With it only classic ones

sour sedge
amber granite
#

Ofc it s not my money only - it was other server's admins money too