#help-development

1 messages Β· Page 1170 of 1

bold plume
#

Pendrive?

kind hatch
#

Old terminology, but yes

bold plume
#

U have some video to i see?

kind hatch
#

Grab second computer
Put usb into second computer
Download a linux iso. (debian, ubuntu, mint, anyone that has a live environment)
Use Rufus or Balena Etcher to write it to the usb.
Put usb to borked pc.
Boot from usb drive.
Diagnose and repair OR copy data to another drive.

bold plume
#

I already have a pen bootable i used to install arch linux

#

can I copy data to pen while is used to boot pc?

kind hatch
#

Technically yes, but it won't be saved.
The live environment is still only loaded into memory and never written to disk.
That's what the install script in the live iso is for.

#

You can copy data to other drives in the machine though.

bold plume
#

i dont have more drives

kind hatch
#

That is if you have another drive that can contain all of the original data.

#

You could always plug in an external drive.

bold plume
#

my brother have extern hd

#

Maybe i can use it then

#

Idk if my pen bootable allow transfer data between drivers

kind hatch
#

It's not the usb that allows it. It's the recovery image utilizing the hardware itself.
You are just booting into a temporary OS.

split gyro
#

how do i make a "laser beam" effect with particles?

#

for it to stop once it touches a block or a player i guess and i dont want it to be constant just 1 beam

bold plume
split gyro
#

i dont wanna be spoonfed

kind hatch
eternal oxide
#

try a repair first

#

if you were not messing with drivers it may just be a corruption

chrome beacon
#

Then simply lerp between the two and spawn your particles

kind hatch
#

Ah lerp. Good ole lerp.

bold plume
eternal oxide
#

no

#

just try a repair of boot

kind hatch
#

Idk elgar. I think they should save their data first.
They may not know how to repair it.

eternal oxide
#

true

kind hatch
#

And at worst, he'd end up formatting it

eternal oxide
#

yeah, get your data first, then try a repair

bold plume
#

It was through this bootable pen that I installed Arch Linux. Is that how I can transfer files from the disk?

#

I imagine I have to open cmd and transfer the files via terminal

kind hatch
#

It should be yes. As long as you can access the basic commands and avoid installing arch again with that iso, then it's possible.

split gyro
#

where do yall think i should start learning webdev

bold plume
#

At least I didn't lose the data that I could see here

#

but now opening the terminal I have no idea

kind hatch
#

Well, this is where you reference the arch wiki.
Or download an iso with a GUI.

#

But you should already be in one with arch

bold plume
chrome beacon
daring maple
rotund coral
#

Hello, me and another person are making a friends plugin that allows players to see if the friend is on another server that is connected to our bungee or just not online at all. We are using the bungee api to grab the information within the plugin however we are running into an issue where when we call what server the player is on it is returning the wrong server for some reason. All of the IPs are placed in the correct spot and properly named so not entirely sure what the issue is.

spiral light
#

you could provide some code

#

?paste

undone axleBOT
rotund coral
#

sure

verbal shuttle
#

Im sorta new, well used spigot many many years ago. I have added a ton of stuff to my plugins models items, etc and wish to not allow them to everyone unless they go through a shop plugin or whatever means necessary to prevent everything spawning all at once through ia, etc. Ideas?

kind hatch
brittle geyser
#

Who knows how to get players from SlimeChunk in .slime world format?

#

i`m stuck at this code

for (SlimeChunk slimeChunk : gamingSlimeWorld.getChunkStorage()) {
            for (CompoundTag entity : slimeChunk.getEntities()) {
                
            }
            
        }
rotund coral
brittle geyser
#

why do you have all your code in one class

rotund coral
#

This is not all of the code? And I didnt write a majority of this code.

#

If its that big of a deal I can go split it up into different classes for him, but I'm doubtful that the code being under one class is the issue here lol

violet blade
#

Its not a big deal if you can read it

rotund coral
#

Trust me I dont disagree its a mess

violet blade
#

Better focus on making it work first

rotund coral
#

but I'm not the lead dev working on it

#

So I don't want to ruin his flow on what is going on and confuse him. I'll go through and fix it for readability later.

violet blade
#

At a quick glance, it looks like there is a potential race condition at the playerServerMap

#

Try creating a map for each player request

rotund coral
#

Okay, I'll look into that, thanks.

spiral light
#

where do i get an EntitySnapshot or how can i create one when i have no entity present ? O.o

young knoll
#

You create an entity

#

But don’t spawn it

bold plume
#

I already made the backup. Now how can I fix the boot? @kind hatch

eternal oxide
#

depends which linux

bold plume
#

arch linux

#

ig its grub 99% prob

spiral light
young knoll
#

No

#

World#createEntity

spiral light
#

ahhh thanks

rotund coral
#

Found the issues with the code, my dev had the wrong subchannels for messages which was causing the issues. So I just had to change the subchannels as well as some other things, thanks again.

umbral ridge
#

hey

#

what is that error

chrome beacon
#

So you need to start the server with them enabled too

#

or disable them when compiling

umbral ridge
#

so I just put --enable-preview parameter in start file?

chrome beacon
#

yeah

#

if you're using the preview features

#

otherwise I'd just disable them

young knoll
#

The heck is that class file version

#

Is that how java denotes preview features

chrome beacon
#

yes

#

I'd assume so?

#

but it looks off

umbral ridge
#

yea

#

weird version

slender elbow
#

it's just 0xffff for the minor version

bold plume
slender elbow
#

grub or systemd-boot

#

it depends on what you installed

eternal night
#

do you also support sysslinux

bold plume
#

i'm using systemd-boot

eternal oxide
#

boot into your usb drive and check the boot logs on your main drive to see what point it stops

bold plume
#

Do you want a photo of my loader.conf and loader/entries/arch.conf?

bold plume
eternal oxide
#
/var/log/kernel.log: messages generated by the kernel```
#

or boot.log

eternal oxide
#

that will only show the current logs of the usb boot, not the ones from your system drive

bold plume
#

ok

#

ill opne var log boot.log then

#

I can send all the commands in the terminal that I executed before turning off the pc. It must have been one of them that caused the problem.

#

@eternal oxide

#

i executed this

`sudo rm -rf /var/log/*
sudo journalctl --vacuum-size=100M
sudo journalctl --vacuum-time=7d

sudo rm -rf /tmp/*
sudo pacman -Scc
sudo pacman -Sc
find ~/.cache -iname "intellij" -exec rm -rf {} ;`

eternal oxide
#

I don;t linux but that last line looks really dangerous

river oracle
#

its eh only dangerous if you have a typo

#

as long as you don't type anything wrong its fineee

umbral ridge
#

what is delay and what is a period? eg. what if i want a repeating task without any delay but it should fire every second?

#

then it should be like that or inverted?

river oracle
umbral ridge
#

oooo

#

made a little mistake lol

#

should be 20, not seconds * 20L, that's why it ran every 3 seconds lol

remote swallow
#

time in ticks

umbral ridge
#

yessir

#

greattits

#

im making simple things with super robust code

quaint mantle
#

is it possible to update the server properties without restarting

bold plume
#

After I restarted my PC I couldn't turn it on anymore

#

😭

river oracle
quaint mantle
#

but would it be updated

river oracle
#

though I'm sure not all of the changes would do something

quaint mantle
#

ok thanks

river oracle
bold plume
#

I simply had a problem and tried to find out how to solve it.

river oracle
#

hey I'm just making a suggestion I mean I'm the one who can turn my desktop on atm

paper viper
#

πŸ’€

bold plume
#

and I only executed these commands, and as you said, they are not dangerous

#

I'll have to go to archlinux support

river oracle
#

I'd just flash ubuntu or fedora and stop running a system where its clearly easy for you to shoot your foot off

bold plume
#

if i format ill go to windows

#

but i dont want format

slender elbow
#

forums?

#

they aren't nice people and they're gonna tell you to read the wiki and not touch things you don't know

#

totally not talking from experience

sullen marlin
#

yes

worldly ingot
long ocean
#

Biomes changed from enum to Comparable<Biome>. I used to use the //commented code line to build a string of all biome names. .values() has been deprecated saying to use Iterable.iterator(). Im trying to do that but the IDE is complaining saying "The method iterator() is undefined for the type Biome". What am i missing? Doing wrong?

spiral light
#

Registry.BIOME

#

to get all biomes registered even with datapack you now can use: Registry.BIOME.iterator()

long ocean
#

Does that look valid? IDE isn't complaining.

for (Biome loopBiome : Registry.BIOME) {...}
spiral light
#

its fine because the registry is iterable:
public interface Registry<T extends Keyed> extends Iterable<T> {

long ocean
#

Thanks for the tip.

vital ridge
#

How do I add a string list to my config file

#

Through code

sullen marlin
#

.set(key, string list)

vital ridge
#

I tried adding a new hashset

#

Like this

sullen marlin
#

Is a hash set a string list?

vital ridge
#

but that added some extra symbols, which were okay at first, but after reloading my server there were errors, the server didnt understand the config file.

vital ridge
#

I think the best way to do this is to add a string list, and when getting it from the code I'll just convert it to hashset

sullen marlin
#

Probably

vital ridge
#

Why does hashset produce some extra symbols doe?

sullen marlin
#

Cause config doesn't know what to do with hash sets

vital ridge
#

Okay gotchu

#

But adding an empty arraylist shouldnt add any extra symbols right?

sullen marlin
#

Should be fine, config supports lists

vital ridge
#

Gotcha.

umbral ridge
#

is command cooldown in plugin.yml a thing?

#

or does it have to be handled with code

candid ivy
#

hello im trying to do dev an ac just to see how it works and i wanted to include protocollib into my project but on debugging im stuck there [22:54:47 INFO]: [ProtocolLib] Loading ProtocolLib v5.3.0

#

i never did plugin dev so im kinda lost

umbral ridge
#

inflatable no cooldown rip

#

need to handle it myself

spiral light
candid ivy
#

cuz i want to do packet hack

#

🧌

river oracle
candid ivy
#

ik im just looking into it

#

ok its run config

orchid trout
sullen marlin
orchid trout
#

chatgpt only makes really basic checks

umbral ridge
river oracle
blazing ocean
#

this is crazy

river oracle
#

ice boats KEKW

river oracle
#

any other checks I should have it make?

blazing ocean
#

lgtm

orchid trout
blazing ocean
#

500ms cooldown between attacks
the PVPers are gonna have fun wiht this

river oracle
blazing ocean
#

😭

sullen marlin
river oracle
#

don't tell choco and we are chill πŸ™

orchid trout
#

did you know that hypixel anticheat devs sit around changing config values every day?

river oracle
#

@blazing ocean okay this one is great

blazing ocean
#

BRO WHAT 😭

river oracle
#

5 second chat ocoldown πŸ˜‚

#

imagine waiting half a second between all actions

sullen marlin
#

Where do I buy this

blazing ocean
#

send $1000 to my card

river oracle
# sullen marlin Where do I buy this

its kinda closed source right now, I'll prob sell it on some third party marketplace for like $250 with really heavy obfuscation and a licensing server

blazing ocean
#

?premium guidelines are irrelevant for such an important plugin

river oracle
#

I'll upload to spigot, but maximum plugin price is rediculously low for such high quality software so spigot resources is not ideal for me

young knoll
#

You better not fuckin go above y 255 or ur dead

blazing ocean
#

all my homies hate elytras

young knoll
#

What about a tnt cannon

#

Or just… jumping

remote swallow
#

Fake

remote swallow
young knoll
#

Back in my day we didn’t have wind!

remote swallow
blazing ocean
remote swallow
#

Nah I got mds mixtapes

tired cedar
#
    @EventHandler
    public void onPlayerPreLogin(AsyncPlayerPreLoginEvent event) throws SQLException {

        logMessage(String.valueOf(event.getLoginResult()));
    [...]

This returns ALLOWED, even when player is not Whitelisted... Why?

sullen marlin
#

whitelisting is probably done after prelogin because prelogin is pre login so no mojang auth

#

just a guess

tired cedar
#

Alright that is fine, thank you

slender elbow
#

prelogin is already post auth

#

but yes it's before whitelist/ban list check

#

the normal login event is after that

echo basalt
#

what if

#

PreEventEvent

#

PostEventEvent

tired cedar
#

honestly for what I'm doing PreLogin is fine, gives the server an opportunity to check a few things before properly authenticating them

ionic pebble
#

alrighty, I'm completely lost with setting up dev env for spigot and patches won't apply. I know I'm probably (not) doing something simple but idk what.
https://paste.md-5.net/elegemekiv.bash

eternal night
#

generally screams wrong java

sullen marlin
#

Just run build tools --dev

ionic pebble
#

it failed compiling CB. one sec, gonna do fresh install I might've messed with stuff during my testing

#

alrighty, that works. Thanks πŸ™‚

#

and I did need to update my java back to 21 lynx, so you get credit as well πŸ™‚

buoyant viper
#

?stash

undone axleBOT
buoyant viper
buoyant viper
#

ig id have to sift through actual decomp workspace but patch looks like it would be before authentication

sullen marlin
#

That's the offline mode code path I think

slender elbow
#

you can check by logging something in a handler and trying to log in an online-mode server with an offline mode client

wraith delta
#

Which jar do i use for 1.21.3 NMS? (I tried the spigot shaded jar as well)

#

I used build tools but dont see any jar in CraftBukkit folder

remote swallow
#

are you not using a build system

#

if you are

#

?nms

wraith delta
#

seems like it only works with maven, that solved more of the issues

remote swallow
#

it works with gradle

#

its just not offical support

buoyant viper
#

would this be the online mode path?

slender elbow
#

yeah

summer scroll
#

Can someone help me to format the chat so it's inline? I want the scores to be in-line, i'm stuck for full 2 hours trying to find the correcy way, this is my code:

    public static String formatLine(String left, String right, int totalLength, String character) {
        String leftStripped = ChatColor.stripColor(Common.color(left));
        String rightStripped = ChatColor.stripColor(Common.color(right));

        int leftLength = leftStripped.length();
        int rightLength = rightStripped.length();

        // Get dots amount
        int characterAmount = totalLength - (leftLength + rightLength);
        String fill = character.repeat(Math.max(0, characterAmount));

        return left + fill + right;
    }
river oracle
sonic goblet
river oracle
#

also keep in mind this will probably break if the player has a texture pack that edits the font

sonic goblet
river oracle
#

but that's kinda impossible unless you hardcode the values

#

but that's kinda impossible unless you hardcode the values

sonic goblet
# summer scroll Can someone help me to format the chat so it's inline? I want the scores to be i...

https://www.spigotmc.org/threads/free-code-sending-perfectly-centered-chat-message.95872/
https://pastebin.com/9Be2DF2z

I remember coming across this for centering messages in chat, this might help you

#

Its 9 years old but should get you on the right path (not sure if any of these values have changed)

river oracle
#

I think owen has a library for this

#

I'll look one sec

summer scroll
#

If someone has a library around this, that would be very helpful.

river oracle
#

parseable json files for you

fading drift
#

can you unload a world if its the only loaded world in a server?

river oracle
#

a server must have a world

fading drift
#

because I think it somewhat breaks and doesnt unload properly because I get these errors:
Caused by: java.io.IOException: Unable to delete file: .\matches\match-1\region\r.0.0.mca

river oracle
#

If you don't want your server to have a world you might as well just stop the server lol

fading drift
#

how can I have like a completely blank world

#

like taking up as little memory as possible

river oracle
#

just mkae a void world

#

make*

wraith delta
#

make sure to add gamerules, or set the server to peaceful mode to prevent those entity spawns

river oracle
#

don't even need that if its a void world no entities can spawn you can just turn off spawn chunks and set a specific spawn point

#

then they just won't be loaded until someone joins the world

fading drift
#
        WorldCreator creator = new WorldCreator("limbo");
        creator.type(WorldType.FLAT);
        creator.generatorSettings("2;0;1;");
        creator.generateStructures(false);
        World world = creator.createWorld();``` this is void world right
wraith delta
#

flat is a flatworld - layer of bedrock, two dirt, and a grass

fading drift
#

I thought thats what this did
creator.generatorSettings("2;0;1;");

river oracle
#

this is like hte most brain dead implementation

wraith delta
#

flatworld is very performant tho, i dont see why youd need any less

fading drift
#

wtf is this abstraction

#

I mean no one is every going to be in the world

#

and I want no chunks to ever be loaded

wraith delta
#

well if no one is in the world then it unloads..

fading drift
#

right

wraith delta
#

so use flatworld

fading drift
#

so then what do I do to make sure its loaded when I unload another woorld

river oracle
#

just have it loaded at all times

#

disable keep spawn chunks in memory

fading drift
#

level-name=limbo in server.properties?

wraith delta
#

Bukkit.getWorld("limbo"); on server load event. that call will load it and itll stay as a loaded world

#

Bukkit.getWorld("limbo"); on server load event. that call will load it and itll stay as a loaded world

fading drift
#

thank u

#

what are all the reasons why a world wont unload

#

got it

#

tried to unload a world with players

#

even though the world is called to unload after the last player leaves

#

one tick of delay worked

earnest girder
#

if I need to spawn in permanent entities such as NPCs and TextDisplays for my server, where should I put the code? Should the code check if the entities exist every time the server starts, and then spawn them in accordingly? Should I make a command to spawn each one in, so I can do it manually and then replace them manually if they get deleted?

deft dune
#

I WANT DELUXE HUB PLUGIN version 1.21.3

vocal cloud
#

GOOD FOR YOU

wraith delta
nova notch
fading drift
#

can I use ObjectOutputStream and ObjectInputStream to serialise and deserialise a List<Type>

rough ibex
#

you really should not

#

so, uh, no

fading drift
#

how should I send data between servers using a socket

#

cus object streams are not working out for me

spiral light
#

use a fancy and complete socket system if you dont know how to code it yourself
connect all servers to the master or all servers to all other servers then

lilac dagger
#

You can send the byte array over

#

Or even better use json to serialize/deserialize

spiral light
#

hmm i coded one myself and i used MultiPaper back in the days which had this function already

fading drift
#

what if I use netty

kindred valley
#

?pr

mellow edge
#

does the so called "Effect.FOOTSTEP" exist as a particle in 1.21 spigot Particle class?

#

or can I somehow replicate it

spiral light
#

the particle is based on the block the player steps right ?

mellow edge
#

well FOOTSTEP was basically a global particle that looked like a 2D square

spiral light
#

i would asume that Particle.BLOCK with the BlockData as data is what you want

mellow edge
#

probably yeah

sullen marlin
#

every vanilla particle is in the particle class

spiral light
#

This is for spigot/bukkit dev

severe charm
#

I mean i am on paper i cant ask this type of question here?

sullen marlin
#

no

severe charm
#

alr

spiral light
#

you asked for a specific plugin help... you will need to ask the plugin-creator or at his discord if he has one to get help

mellow edge
sullen marlin
#

Oh are you coming from a really old version

mellow edge
#

I am upgrading my whole plugin from 1.8 to 1.21.3

spiral light
mellow edge
#

well yeah...

sullen marlin
#

yeah sorry no idea that's very old

mellow edge
#

well I've realised that the amount of NMS that I need now is like 10 times less

sullen marlin
#

I think it's Particle.BLOCK

mellow edge
#

yeah that will do

mellow edge
#

can I "send" fake armor packets without packets in 1.21?

spiral light
#

i mean you can spawn them and show them just to 1 player (or more if you want) and set them to not persistent

#

they will despawn at chunk-unload and will never get saved

mellow edge
#

I want to send them to a specific player to see another player differently

spiral light
#

oh sry wasnt reading correct ^^ was thinking about armorstands

#

did you know that in new versions you can use the mojang mappings to use NMS stuff more easily ?

mellow edge
mellow edge
#

but afaik spigot+mojang mappings are combined, I could be wrong but afaik they are combined

spiral light
#

then the packet is called ClientboundSetEquipmentPacket

mellow edge
#

yeah

young knoll
#

Isn’t there a sendEquipmentChange

mellow edge
#

thanks

fading drift
#

anyone familar with netty

#

I'm trying to writeAndFlush an implementation of Serializable, RequestLoadedMapsPacket to my netty client channel, however my server doesn't seem to even recieve this object

#

honestly no idea what I'm doing

#
    public CompletableFuture<List<BridgeMap>> sendRequest(RequestLoadedMapsPacket request) {
        CompletableFuture<List<BridgeMap>> future = new CompletableFuture<>();
        channel.writeAndFlush(request).addListener((ChannelFutureListener) futureListener -> {
            if (!futureListener.isSuccess()) {
                future.completeExceptionally(futureListener.cause());
            }
        });
        SimpleClientHandler.setResponseFuture(future);
        return future;
    }```
glossy laurel
#

Use httpurlconnection

#

Trust

fading drift
#

I don’t even need that bro i’m just trying to communicate between servers

#

why is it so hard

spiral light
#

would be a thing when bungee had a nice data transport without players needed

tall dragon
#

why not use something established

#

like RabbitMQ

#

thats how i communicate between servers

blazing ocean
#

Have read and write methods of ByteBufs

#

or some kind of PacketCodec

spiral light
#

Codec's πŸ₯΄

young knoll
#

If your data is fairly simple transferring it via bytebuf should be easy

mellow edge
#

How can I use reflection in spigot 1.21 for NMS since the final spigot jar is obfuscated and I assume special source won't replace literal strings for example "ClientboundPacket...", do I actually need to look into the final name and write that into the string

young knoll
#

Yes

#

Or you need to avoid names as much as possible

#

Actually I think class names are still re-mapped to something at runtime

#

Idk what tho

#

Spigot names maybe?

mellow edge
#

multi-module project will be the better choice here

#

wait no what

#

it seems like the names are still mapped?

proud badge
mellow edge
#

this is the final spigot jar

#

are only class names not obfuscated and all methods are or smth

young knoll
#

I believe it’s only class names

mellow edge
#

well idk if I still want to use reflection

bold plume
#

its possible create a empty folder in .minecraft ppl with a plugin when he enter on a server?

#

If the player doesn't have the server-resource-packs folder, create it in .minecraft

tall dragon
#

no u cant do stuff on a players pc from a plugin..

#

cant u just send over the server resource pack like normal?

bold plume
#

this error still happens if i just modify there on server-proprieties on some people who don't have that folder

blazing ocean
#

There's downloads now

#

And the client downloads the pack there automagically

young knoll
#

Yeah the old client was dumb

#

If server-resource-packs didn’t exist it just exploded

#

Rather than yknow, making the directory

blazing ocean
chrome beacon
#

Older versions of 1.8 had a fun exploit where you could detect if certain files/folders existed by abusing the resourcepack system

#

Real mojank

blazing ocean
blazing ocean
worthy yarrow
#

Hi rad

chrome beacon
#

"anticheats" started using it to check for cheat software πŸ˜‚

worthy yarrow
#

Fun

blazing ocean
spiral light
#

is calling hashCode on a string many times source heavy ?

eternal night
#

no

#

String hashcodes are cached

spiral light
#

if you use the same object string yes... but not if you create the string many times

eternal night
#

Well that wasn't your question now was it

blazing ocean
#

why are you creating that many stings

spiral light
#

not me.... craftbukkit does

eternal night
blazing ocean
#

kek

eternal night
#

what strings are we talking

spiral light
#

random.setSeed(Mth.getSeed(x, "should-structures".hashCode(), z) ^ this.world.getSeed());
random.setSeed(Mth.getSeed(x, "should-surface".hashCode(), z) ^ regionlimitedworldaccess.getSeed());
random.setSeed(Mth.getSeed(x, "should-caves".hashCode(), z) ^ regionlimitedworldaccess.getSeed());
random.setSeed(Mth.getSeed(x, "should-noise".hashCode(), z) ^ this.world.getSeed());
random.setSeed(Mth.getSeed(x, "should-decoration".hashCode(), z) ^ generatoraccessseed.getSeed());
random.setSeed(Mth.getSeed(x, "should-mobs".hashCode(), z) ^ regionlimitedworldaccess.getSeed());

its not that much but for every chunk within a Custom ChunkGenerator ... idk

eternal night
#

that doesn't create strings

spiral light
#

what do you mean ?

#

does it when compiled generate the hash instead directly ?

eternal night
#

no

#

it creates the string once

#

but it is interned

#

the jvm will always just throw the same string instance at that

violet blade
#

thats using an already predefined seed right ?

eternal night
#

Thats why "hi" == "hi" is true

spiral light
#

ahhh ok... but the method hashCode will run every time still ?

eternal night
#

yes

#

but again

#

its cached on the string instance

spiral light
#

yeah ok then its fine all in all

#

thanks

#

do you know why there is a shouldGenerateStructures but not a generateStructures ?

eternal night
#

the ChunkGenerator is kinda just there to carve the base chunk

#

and then configure which vanilla features should be slapped in

#

there is no generateDecorations or generateMobs either

#

because those are further down the line in chunk generation

spiral light
#
public void applyBiomeDecoration(WorldGenLevel generatoraccessseed, ChunkAccess ichunkaccess, StructureManager structuremanager) {
        WorldgenRandom random = getSeededRandom();
        int x = ichunkaccess.getPos().x;
        int z = ichunkaccess.getPos().z;
        random.setSeed(Mth.getSeed(x, "should-decoration".hashCode(), z) ^ generatoraccessseed.getSeed());
        super.applyBiomeDecoration(generatoraccessseed, ichunkaccess, structuremanager, this.generator.shouldGenerateDecorations(this.world.getWorld(), new RandomSourceWrapper.RandomWrapper(random), x, z));
    }

its in the same class where the other should and generate methods are

#

in fact its ok there becasue BlockPopulators replace the Decorations

eternal night
#

I guess spigot didn't wanna deal with it then

#

Β―_(ツ)_/Β―

spiral light
#

hmm maybe i should try to create a PR for this if there is no valid reason against having this

eternal night
#

I mean, maybe there is

#

Β―_(ツ)_/Β―

#

might be worth opening an issue first before putting in the time

young knoll
#

Chunk gen is wack

spiral light
#

the api is slow :8

lilac dagger
#

isn't it supposed to be really fast since it's async ?

spiral light
#

its a lot better then in older versions but its still generating the complete noise at once ...

lilac dagger
#

there might be a reason for it

#

if you generate the noise at once it won't have to keep generating it every chunk or ever so often

spiral light
#

its totally fine to generate it at once but its still resource heavy

sly topaz
#

there's probably some low-hanging fruits to tackle there, just that nobody bothers since it isn't worth maintaining in a fork

#

wouldn't be as much of an issue if we were capable of injecting through mixins instead so a mod/plugin could handle it πŸ˜›

blazing ocean
#

mixins my beloved

quaint mantle
#

If i do:

@EventHandler
public void evHandler(org.bukkit.event.Event event){
// blablabla
}
``` does it handle ANY event?
spiral light
#

in (Craft)ChunkData the Method setRegion limits the height to the maxHeight but it will set Blocks withing the Bounds exclusive the maxX, maxY, maxZ
it works for maxX and maxZ to set them to 16 because block-range is 0-15 (=16 Blocks) but not for the height... because the last Block at y would be the maxHeight-Block which is then exclusive ?

pliant topaz
quaint mantle
#

I don't want to do it im just curious to know if that would work

spiral light
#

doesnt it need a HandlerList to get called ?

quaint mantle
barren peak
#

anyone know the 1.21 way to change entity scale w/ out nms?

spiral light
#

attributes

barren peak
#

oh it is?

quaint mantle
spiral light
#

/attribute @p minecraft:scale base get

quaint mantle
#

generic.scale

barren peak
pseudo hazel
#

why would you wanna use nms is a better question

quaint mantle
#

why not?

#

what's wrong with nms

pseudo hazel
#

there is a spigot API for a reason

spiral light
#

nms needs to be updates each version

quaint mantle
#

you can't do EVERYTHING with the spigot api

pseudo hazel
#

yes but you should use it as much as possible

spiral light
#

true

quaint mantle
#

yes i'm not saying "use nms instead of spigot api"

pseudo hazel
quaint mantle
#

of course everyone should use spigot api instead of nms, but as i said you cant use the api for everything

spiral light
#

But: even if there is an API sometimes the NMS is faster and cooler :9

quaint mantle
violet blade
#

πŸ‘Ž

blazing ocean
#

faster not really

spiral light
#

In case of world manipulation it's faster if You do it right

violet blade
#

Ignoring warnings makes everything faster

glossy laurel
#

Question, when an item has the hidden enchantments flag, where does the hiding enchants part happen? Does client still get the full enchantment list just hide it afterwards?

desert aspen
#

Is there any way to make the attack animation of a zombie at will? like, every time they get damaged they make the attack animation

river oracle
#

The client

#

The client is sent the ItemStack and interprets all of the components on it to determine what needs to be rendered

glossy laurel
#

ic

worldly ingot
#

Yes, the client still has the enchantment list

bold plume
#

Is it better to update the scoreboard every 5 ticks for each online player the scoreboard lines even if there are no changes or to update the lines when needed in real time?

worldly ingot
#

Only update when you need to

bold plume
bold plume
#

stringbuilder is more faster concatetation?

chrome beacon
worldly ingot
#

It's only really beneficial if you're concatenating in a loop, or passing your builder to a method to concatenate as well

chrome beacon
#

And you should go abusing vulnerabilities

river oracle
#

And sometimes JIT even Inlines a string builder for you

worldly ingot
#

Just Time In

river oracle
#

Lo l

#

JIT is no moee

bold plume
#

but string builder never is more slower right

#

i had like 15 concecations every 5 ticks

#

string builder difference is visible?

ivory sleet
#

StringBuilder is such a w

blazing ocean
ivory sleet
#

Devious language

quaint mantle
ivory sleet
#

😭

blazing ocean
#

fast async multithreaded string builder

river oracle
#

ConcurrentStringBuilder

ivory sleet
#

maybe we overload it to the gpu as well and hardware accelerate it speaking of which

river oracle
#

What could go wrong

river oracle
worldly ingot
#

TL;DR: Have a loop? Use StringBuilder. Don't have a loop? Don't use a StringBuilder

river oracle
#

Pretty much

candid ivy
#

its normal when i send a c06 and i try to print the packet server sided with protocol lib it sayng [18:00:59 INFO]: Dynamic-4eff3826-c31c-4929-a9e2-2f6c08951ff9[class=PacketPlayInChat, id=6]?

chrome beacon
#

Looks fine

candid ivy
#

yea but i want to acces yaw and pitch

#

and it tells its not exist

#

but with c05 it works

chrome beacon
#

A chat message does not have yaw and pitch??

candid ivy
#

if(event.getPacketType().isClient()) {
MessageManager.messageStaff(String.valueOf(event.getPacketType()));
}

#

when im sending a c06

#

its printing [18:00:59 INFO]: Dynamic-4eff3826-c31c-4929-a9e2-2f6c08951ff9[class=PacketPlayInChat, id=6]

chrome beacon
#

Yeah

candid ivy
#

but when i getFloat theres no data in it?

chrome beacon
#

As I said a Chat Message does not have yaw and pitch

candid ivy
#

but im not sending anny chat message

#

its a c06

chrome beacon
#

The packet with id 6 is the Chat Message Packet

candid ivy
#

position look

chrome beacon
candid ivy
#

yes but why

#

does it saying its a chat packet

#

when im sending

#

a position look

#

i dont understand

chrome beacon
#

Because you're not sending a position look

#

You're using the wrong id

candid ivy
chrome beacon
#

Show us how you're sending it

candid ivy
#

i dont send it myself i just change pos while change look too

chrome beacon
#

Are you changing it on the client

#

or on the server

candid ivy
#

no im just sending it

#

i dont change anything

#

maybe its the way i get it

#

idk

chrome beacon
#

You just said you changed pos and look

candid ivy
#

yes

#

with client

#

and it sends

#

a position look

chrome beacon
#

So you're changing it clientside

candid ivy
#

yea

chrome beacon
#

What version is the client

candid ivy
#

1.8.x

chrome beacon
#

and what version is the server

candid ivy
#

1.8.8

#

also idk if it do smth or its unrelevant

#
registered)] [direction: from SERVER]
[17:59:17 WARN]: [ProtocolLib] Error filtering reports: java.lang.IllegalArgumentException: Cannot find report name for Plugin %s tried to register listener for unknown packet %s [direction: from %s]
[17:59:17 WARN]: [ProtocolLib] [OutboundPacketListenerSet] Plugin Base tried to register listener for unknown packet SET_SUBTITLE_TEXT[PLAY, SERVER, 99, classNames: [net.minecraft.server.v1_8_R1.PacketPlayOutSetSubtitleText, net.minecraft.network.protocol.game.ClientboundSetSubtitleTextPacket, PacketPlayOutSetSubtitleText, ClientboundSetSubtitleTextPacket, SetSubtitleText] (unregistered)] [direction: from SERVER]
[17:59:17 WARN]: [ProtocolLib] Error filtering reports: java.lang.IllegalArgumentException: Cannot find report name for Plugin %s tried to register listener for unknown packet %s [direction: from %s]
[17:59:17 WARN]: [ProtocolLib] [OutboundPacketListenerSet] Plugin Base tried to register listener for unknown packet MOUNT[PLAY, SERVER, 95, classNames: [net.minecraft.server.v1_8_R1.PacketPlayOutSetPassengers, net.minecraft.network.protocol.game.ClientboundSetPassengersPacket, PacketPlayOutSetPassengers, ClientboundSetPassengersPacket, SetPassengers, net.minecraft.server.v1_8_R1.PacketPlayOutMount, net.minecraft.network.protocol.game.ClientboundMountPacket, PacketPlayOutMount, ClientboundMountPacket, Mount, net.minecraft.network.play.server.SPacketSetPassengers] (unregistered)] [direction: from SERVER]
[17:59:17 WARN]: [ProtocolLib] Error filtering reports: java.lang.IllegalArgumentException: Cannot find report name for Plugin %s tried to register listener for unknown packet %s [direction: from %s]
[17:59:17 WARN]: [ProtocolLib] [OutboundPacketListenerSet] Plugin Base tried to register listener for unknown packet REPORT_DETAILS[PLAY, SERVER, 122, classNames: [net.minecraft.server.v1_8_R1.PacketPlayOutCustomReportDetails, net.minecraft.network.protocol.game.ClientboundCustomReportDetailsPacket, PacketPlayOutCustomReportDetails, ClientboundCustomReportDetailsPacket, CustomReportDetails] (unregistered)] [direction: from SERVER]```
chrome beacon
#

Haven't seen that before

chrome beacon
# candid ivy 1.8.8

Are you sure the server is 1.8.8 and that you're not running anything like ViaBackwards

candid ivy
#

nono

#

its plain test server

chrome beacon
#

So show your entire listener code and how you're filtering out other packets than the postion and look

#

?paste

undone axleBOT
candid ivy
#

listener ?

#

the entire thing im testing?

chrome beacon
#

yes

candid ivy
blazing ocean
#

"skibidimaster42069"

#

crazy

candid ivy
chrome beacon
candid ivy
#

wdym

#

oh yea

#

i tried to put

#

in annotaiton

#

but

#

Invalid type 'PacketType' for annotation member

chrome beacon
#

Constructor

#

Not annotation

candid ivy
#

which constructor

#

idk

#

public PacketEventBus() {
protocolManager.addPacketListener(new PacketAdapter(PacketAdapter.params()
.plugin(AntiCheat.getInstance())
.listenerPriority(ListenerPriority.NORMAL)
.connectionSide(ConnectionSide.BOTH)
.types(getPacketTypes())
.optionAsync()) {
@Override
public void onPacketReceiving(PacketEvent event) {
handlePacket(event);
}

        @Override
        public void onPacketSending(PacketEvent event) {
            handlePacket(event);
        }
    });
}
#

here?

chrome beacon
#

Yeah

#

PacketAdapter

candid ivy
#

yea but its not pratical for me

#

i want to use the thing like a packet event

#

like bukkit events

chrome beacon
#

Then check the packet type instance rather than the id

#

if(event.getPacketType == PacketType.ENTITY_LOOK) for example

candid ivy
#

i tried but it did nothing

bold plume
#

Using stream to set lore on an item in an inventory when a command is executed is bad, right? .setLore(ToolPlugin.INSTANCE.getTools().getStringList("iron-axe-1.lore").stream().map(line -> line.replace("%progress%", BukkitUtils.generateProgressBar(5, 0, '|')).replace("%level%", String.valueOf(0)).replace("%max-level%", String.valueOf(ToolController.getMaxLevel(1)))).toList())

glossy laurel
#

Guys, theres an issue I have

#

when I have a smithing table open and when the server stops, I drop all contents of the first 3 slots

#

I have a function that clears those items on inventory close, but it doesnt get called I guess?

tranquil ferry
#

Hey can I create threads in spigot mc and make like a wiki where I will explain plugin features also indirectly promoting it????

spiral light
spiral light
glossy laurel
spiral light
#

just call the same method like in InvCloseEvent

candid ivy
#

but id owrk

chrome beacon
#

There's more than one look packet

#

That was just an example

candid ivy
#

no

#

like

#

when i use packet type

#

PacketType.Play.Client.POSITION

#

it doesnt work

#

event.getPacketType() == PacketType.Play.Client.POSITION

#

but

#

event.getPacketType().getCurrentId() == 4

#

it works

bold plume
glossy laurel
spiral light
#

if you need to replace all in all lines then your code should be fine ?

bold plume
#

If a line has a placeholder (it may or may not) it has to be exchanged for a value

spiral light
#

what is wrong with your code then ? it looks fine and should work...

bold plume
quaint mantle
#

Is there a way to generate a new variable from a string?

#

for example:

Asdadasdasd = "hi"```
With that example i would need to generate a variable called hi
spiral light
#

you mean
String varName = "test"
String %varName% = "super"

and using test.replace would work ?

eternal oxide
#

what value would you assign to "hi"?

spiral light
#

why would you need that

quaint mantle
quaint mantle
#

I don't need to do it

eternal oxide
#

this is clearly an x/y issue

quaint mantle
#

There's no point

quaint mantle
spiral light
#

nope its not

eternal oxide
#

anything is possible

spiral light
#

you could use a Map for that

quaint mantle
quaint mantle
eternal oxide
#

as said, a Map

quaint mantle
#

but then it's not possible to create a variable β˜πŸ»πŸ€“

eternal oxide
#

um

quaint mantle
#

Lol

eternal oxide
#

You are seriouly askign how to create a variable at runtime?

quaint mantle
#

Lol I was just wondering i have no reason to do it

eternal oxide
#

it would be pointless as code is compiled, so how woudl you access or even know about it

quaint mantle
#

as said, i was just wondering Β―_(ツ)_/Β―

pseudo hazel
#

the answer is no, not in java

quaint mantle
#

alr thx

eternal oxide
#

well...

quaint mantle
#

I kinda knew the answer because code is compiled

#

Not like python for example

eternal oxide
#

yeah not in Java, you'd have to mixins or other methods

quaint mantle
#

Ty

#

Java made me rlly understand POO

bold plume
#

Using stream to set lore on an item in an inventory when a command is executed is bad, right? .setLore(ToolPlugin.INSTANCE.getTools().getStringList("iron-axe-1.lore").stream().map(line -> line.replace("%progress%", BukkitUtils.generateProgressBar(5, 0, '|')).replace("%level%", String.valueOf(0)).replace("%max-level%", String.valueOf(ToolController.getMaxLevel(1))));

quaint mantle
#

πŸ’€ what's that

eternal oxide
#

its not "bad", just unreadable

#

no different to doing forEach

bold plume
eternal oxide
#

not when used in a command

bold plume
#

There will be the repetitive stream call

eternal oxide
#

you'd have to make a LOT of stream calls to cause issues

bold plume
#

So, if 100 people type the command at the same time and each inventory has 10 items, that's 1000 calls at the same time

eternal oxide
#

not heavy

bold plume
#

and as far as I know streams are to do long operations that are mostly parallel and with a controlled call

bold plume
eternal oxide
#

Server TPS may drop 0.02 for a tick

#

No, stream is fine to use

bold plume
eternal oxide
#

you seriously won;t even notice

bold plume
eternal oxide
#

my 0.02 was a not a hard number. It was just an example of how insignificant it would be

bold plume
#

oh 0.02 no 0.2

#

Do you use stream for that then?

eternal oxide
#

If you had 1000 players do it you'd have more issues with network bandwidth than you would in using streams

worldly ingot
#

You could make it more readable just without a stream though. I don't see the obsession with the stream here :p

List<String> lore = ToolPlugin.INSTANCE.getTools().getStringList("iron-axe-1.lore");
lore.replaceAll(line -> line
    .replace("%progress%", BukkitUtils.generateProgressBar(5, 0, '|'))
    .replace("%level%", String.valueOf(0))
    .replace("%max-level%", String.valueOf(ToolController.getMaxLevel(1)))
);
itemMeta.setLore(lore);
#

Instantly more readable than .setLore(ToolPlugin.INSTANCE.getTools().getStringList("iron-axe-1.lore").stream().map(line -> line.replace("%progress%", BukkitUtils.generateProgressBar(5, 0, '|')).replace("%level%", String.valueOf(0)).replace("%max-level%", String.valueOf(ToolController.getMaxLevel(1)))); lol

quaint mantle
#

thank you so very much

bold plume
viscid crane
#

hi guys, i am trying to make a plugin has its own library as plugin using gradle and reflections. i am new to plugin development, is there a template or guide to do this

chrome beacon
#

Nothing really Spigot specific

#

Just set the depend in your plugin.yml

quaint mantle
#

you both having the same pfp is crazy

chrome beacon
#

?img

undone axleBOT
#

Can't send images? That's because you're not verified! Use !verify to complete verification.
Alternatively, you can upload screenshots to any image hosting site and share the link.

Here's some screenshot utilities that you can use to upload images.
Lightshot: https://prnt.sc
Imgur: https://imgur.com/upload
Flameshot: https://flameshot.org

viscid crane
#

i dunno how to do reflections

#

is there a guide for it

#

and also for gradle with spigot

chrome beacon
#

You can Google java reflection

viscid crane
#

ahh how couldnt i think it ty soo much you are the best!

chrome beacon
quaint mantle
#

@valid bramble

#

hi

valid bramble
#

my files look like this:

valid bramble
quaint mantle
#

you have to include it

#

with the pom

chrome beacon
#

Maven will do so by default

#

They're most likely not using maven to compile

#

but artifacts instead

#

which is the wrong way to do it

valid bramble
#

yes, I use artifacts

chrome beacon
#

Don't

#

Open the maven tab on the right and run package

#

You can then find your plugin jar in the target folder

valid bramble
#

ok

#

@chrome beacon thank you, everything works now

candid ivy
#

[19:43:50 WARN]: [ProtocolLib] [InboundPacketListenerSet] Plugin Base tried to register listener for unknown packet POSITION_LOOK[PLAY, CLIENT, 27, classNames: [net.minecraft.server.v1_8_R1.PacketPlayInNet.minecraft.network.protocol.game.ServerboundMovePlayerPacket$PacketPlayInPosRot, net.minecraft.network.protocol.game.Serverboundnet.minecraft.network.protocol.game.ServerboundMovePlayerPacket$PosRotPacket, PacketPlayInnet.minecraft.network.protocol.game.ServerboundMovePlayerPacket$PosRot, Serverboundnet.minecraft.network.protocol.game.ServerboundMovePlayerPacket$PosRotPacket, net.minecraft.network.protocol.game.ServerboundMovePlayerPacket$PosRot, net.minecraft.server.v1_8_R1.PacketPlayInFlying$PacketPlayInPositionLook, net.minecraft.network.protocol.game.ServerboundFlying$PositionLookPacket, PacketPlayInFlying$PositionLook, ServerboundFlying$PositionLookPacket, Flying$PositionLook, net.minecraft.server.v1_8_R1.PacketPlayInFlying$PacketPlayInPacketPlayInPositionLook, net.minecraft.network.protocol.game.ServerboundFlying$PacketPlayInPositionLookPacket, PacketPlayInFlying$PacketPlayInPositionLook, ServerboundFlying$PacketPlayInPositionLookPacket, Flying$PacketPlayInPositionLook, net.minecraft.network.play.client.CPacketPlayer$PositionRotation] (unregistered)] [direction: from CLIENT]

#

does anyone know how to fix

#

im trying to register them for an ac

#

but i wanted to minimise it down so theres less load time and now i have this

quaint mantle
#

?1,.8

#

?1.8

undone axleBOT
candid ivy
#

yea

#

it aint 10 years

quaint mantle
#

Too old

#

Ye

#

9y

#

3m

#

17d

chrome beacon
#

Well it is 10 years

candid ivy
#

yea but i want to do an anticheat

chrome beacon
#

You're not running 1.8.8

#

but something older

candid ivy
#

is it better

#

to do

#

in 1.21

#

?

chrome beacon
#

You really shouldn't make an Anticheat if you have no idea what you're doing

river oracle
#

You should atleast be on 1.8.8 and also anti cheats as I said yesterday are far from a beginner project

candid ivy
#

i just want to fix

#

protocollib

rough ibex
#

Lol

rough ibex
candid ivy
#

but the plugin part

#

nono

rough ibex
#

also stop using 1.8 lmao

candid ivy
#

no

#

1.8 supremacy

rough ibex
#

Then you will code alone

#

Goodbye

candid ivy
#

ok bro

orchid gazelle
#

if you ever judge someone for using a legacy version again, I will bazooka you personally

quaint mantle
#

Imagine torture just for legacy combat

orchid gazelle
#

updates do other stuff than just combat

#

for example, 1.12.2 is still by far the best version for modding today

candid ivy
#

1.12.2 was the last version before downfall

orchid gazelle
#

I agree

candid ivy
#

but now 1.21 seems going up again

orchid gazelle
#

nah

#

it will never go as far up as 1.12.2 ever again

candid ivy
#

idk it has cool features for vanilla shit

candid ivy
#

and hyp is going to 1.20

#

for skyblock

orchid gazelle
#

1.7.10, 1.8.9 and 1.12.2 are the spikes of minecraft

#

and will always be

pliant topaz
#

newer versions just pack a different feel, theres something about nostalgia

rough ibex
#

(X) doubt

candid ivy
#

1.9.4 was peek in some communities

#

also

orchid gazelle
#

modding community turned into shit after 1.12.2

candid ivy
#

but 1.7.10 1.8.9 1.12.2

chrome beacon
pliant topaz
#

but especially for security newer versions are just objectively better

orchid gazelle
pliant topaz
#

nah

orchid gazelle
#

there were 100 scandals turning into people splitting the community basically

pliant topaz
#

terrafirmagreg packs gregtech and terrafirmacraft into one

orchid gazelle
#

people started making other modloaders because they didn't like each other lol

rough ibex
#

quilt is dead

#

Neoforge is gaining traction

#

not really a problem anymore

orchid gazelle
#

it is a problem

#

it stopped a lot of progress

chrome beacon
#

Not really

candid ivy
#

forge 1.16.5 is aids to dev

pliant topaz
#

the sad things are that most packs nowadays are just vanilla+

candid ivy
#

they changed to official mappings or sum i cant even recognize basic things

orchid gazelle
candid ivy
#

fabric is cool to dev

orchid gazelle
#

everything went from "creative, special, chaotic shit" into just vanilla+ DLC content

candid ivy
#

but now modloaders split up u cant combine mods

#

😦

orchid gazelle
#

modded mc nowadays is literally minecraft with DLCs

rough ibex
#

That just seems like the modders fault then

#

not the version

orchid gazelle
#

both actually

#

mojang started it basically

#

it is a direct consequence of mojang's decisions

chrome beacon
#

What did Mojang do

spiral light
#

i dont get it

orchid gazelle
#

update their game

rough ibex
#

I dont see it as direct

#

maybe influenced

orchid gazelle
#

in a direction that caused modding to be what it is now

spiral light
#

if they stop updated the game it would be stuck and bad ^^

rough ibex
#

modders are free to make whatever they want

spiral light
rough ibex
#

mojangs fault for... what, exactly

spiral light
#

you can create much cooler and better mods then back in the days

rough ibex
#

is mojang mindcontrolling mod devs

orchid gazelle
young knoll
#

β€œCreative special chaotic shit” hey look we made a new version of the macerator again

orchid gazelle
#

no

#

that's a mod developer issue

#

if you wrote shit code back in 1.12.2, it was inperformant. If you write shit code today, it's literally as inperformant

#

only that 1.12.2 was a lot more performant and less resource hungry than now

spiral light
#

back in the days there wasnt any custom world that was bigger then 256 Blocks i think...
scale of entities wasnt a thing.... and many other attributes too

rough ibex
#

so if you could develop in 1.8 you could develop just fine in 1.20

orchid gazelle
#

everything was possible

#

people literally wrote a mod to extend world size to however big they wanted

rough ibex
#

and everything is still possible

orchid gazelle
#

yes

spiral light
orchid gazelle
#

I said that

orchid gazelle
rough ibex
#

1.8 is a dying version and I will always work to kill it further

orchid gazelle
#

you need more resources, you get less fps

spiral light
#

if you use the Pc from 2016 still... yes

#

but thats not a mojang problem

orchid gazelle
#

how is that dependent on the hardware???

dapper flower
rough ibex
#

mojang has been doing a lot of optimizations

spiral light
#

the world gen was updated to be better, the entity movement too

dapper flower
#

i sadly can't play 1.7.10 and 1.6.4 versions due to intel though... 😭

orchid gazelle
dapper flower
#

yeah 1.7.10 is slow af

rough ibex
#

Well yeah, every update adds shit

dapper flower
#

compared to new mc

rough ibex
#

dont want that? Play on alpha

spiral light
rough ibex
#

rd0.0.24 or whatever

dapper flower
#

new stuff is good man, bloatware ain't good tho

orchid gazelle
dapper flower
#

microsoft is master at bloatware

orchid gazelle
#

I dislike new vanilla content

dapper flower
#

it is known thing

orchid gazelle
#

I dislike new textures for modded mc

rough ibex
#

then use programmer art

tall dragon
#

they are also master at leaving optimizing to free mod developers

dapper flower
#

programmer art is trash after adding 2000 blocks

orchid gazelle
#

I dislike how mods turned out to being developed nowadays

dapper flower
#

just use good old days texturepack

#

that thing is gold

rough ibex
#

but thats not mojangs fault

orchid gazelle
rough ibex
#

mojang didnt make these mods

orchid gazelle
#

lol

spiral light
#

minecraft would be dead if no new content was added to vanilla ^^

orchid gazelle
#

also, if they didn't update the textures, mods would not have changed their artstyle into what it is now, so that's also a consequence

dapper flower
#

old mods are better also, i don't really like new tinker

#

tinker after 1.16 is sad

orchid gazelle
spiral light
#

then go play on 1.8 ^^

shadow night
shadow night
dapper flower
#

they changed everything last time i saw

orchid gazelle
rough ibex
dapper flower
#

nah you won't stop me from playing agrarian skies in 2024

rough ibex
#

well yeah, duh

shadow night
#

@orchid gazelle your next modpack (after this one) should be 1.7.10 fr fr

#

And thaumcraft based

orchid gazelle
rough ibex
#

but they did and it has

chrome beacon
shadow night
#

Fuck

orchid gazelle
#

what?

dapper flower
#

no idea why people shit so much on older versions man, just because they are young they can't appreciate the beauty of old and good things

shadow night
#

I meant to type 1.7.10

#

Sorry

orchid gazelle
#

I do like 1.7.10

#

but I like 1.12.2 more

shadow night
#

Understandable

#

If I made a 1.7.10 modpack, would you play?

orchid gazelle
#

@shadow night might also make a war pack for 1.12.2 now that MCHelicopter just received a port to 1.12.2

dapper flower
#

100%

dapper flower
orchid gazelle
shadow night
orchid gazelle
#

I like tech more

shadow night
#

Understandable

dapper flower
#

i like both

chrome beacon
#

both are nice

shadow night
#

I really love tech mods, especially 1.12.2 ones, but there is this space reserved in my heart for thaumcraft 4 and I can't do anything about it

dapper flower
#

well 1.12.2 modpacks are good too

#

like volcano block was cool

shadow night
#

Damn stoneblock 2 was a hit

#

I have like 200 hours in it lol

dapper flower
#

played soneblock 1

#

too op

#

got tired

shadow night
dapper flower
#

got everything too fast due to broken af lootboxes

shadow night
#

The most unbalanced modpack ever

dapper flower
#

u could get looting 25 sword

#

ye i don't like unbalanced packs

spiral light
#

i rly like modpacks and new modpacks often dont have the mods from the past or at least some of them dont work like before but i also hate to install stuff to play better Mc .... in 1.12 the ocean was empty, less cool building blocks and entities, boring villages, boring nether, no big caves, no better endgame or fancy biomes and fancy World Generation .... for all that you need like 20 mods at least to have an intersating game and they are more resource hungry for sure

dapper flower
#

i want to make my life miserable

young knoll
#

I’ve done way too many packs where you have to do the same tech or magic progression

orchid gazelle
shadow night
# dapper flower ye i don't like unbalanced packs

I like the concept of a chaotically balanced pack (balanced around being unbalanced) but stoneblock 1 didn't do it too good, stoneblock 2 was basically perfect imo, stoneblock 3 just wasn't my thing

young knoll
#

So I’ve gotten pretty burned out of all the old tech and magic mods

orchid gazelle
#

po3 had two forced shit mods but other than that it was great

orchid gazelle
#

remove lordcraft and abyssalcraft from po3 and then it's perfect

dapper flower
#

you will not survive past 1 ingame week

shadow night
dapper flower
#

rl craft is easier

orchid gazelle
#

rlcraft is way too lightweight for me

shadow night
#

I remember when rl craft was like the hardest thing out there

orchid gazelle
#

I don't play anything under 200 mods

dapper flower
#

better than wolves is way harder than rlcraft

orchid gazelle
#

the last modpack I made myself was 283 mods

dapper flower
#

and it is 1 mod

shadow night
#

Iirc

orchid gazelle
#

@shadow night I am looking at ic2 rn

#

maybe I'll force it as early game tech mod but I don't think so

#

because too many people don't like ic2 ig

chrome beacon
shadow night
dapper flower
#

better move this convo on #general

chrome beacon
#

Currently running BloodNBones in hardcore uwu

candid ivy
#

[20:25:04 WARN]: [ProtocolLib] [PacketFilterManager] Plugin Base tried to register listener for unknown packet POSITION_LOOK[PLAY, CLIENT, 21, classNames: [net.minecraft.server.v1_8_R1.PacketPlayInFlying$PacketPlayInPositionLook, net.minecraft.network.protocol.game.ServerboundFlying$PositionLookPacket, net.minecraft.server.v1_8_R1.PacketPlayInFlying$PacketPl

#

πŸ’€

#

killing myself is an option rn

rough ibex
#

lol

candid ivy
#

ok recoded

#

it works

#

its not gaying anymore

#

!1111

rough ibex
#

What a verb

earnest girder
wraith delta
earnest girder
wraith imp
#

Hi, I know this isn't spigot related, but I can't find anything about this and nobody know, why it's happening, so i'll try my luck here.
Basicaly, i'm updating my mod and plugin to 1.21. The mod sends a packet containing all the loaded mods. The server listens to this packet and either kicks the player or lets them in. The problem i have is i can not send my CustomPayload. Every time i try to send it, i just get kicked out of the joining process.
https://cdn.discordapp.com/attachments/721100785936760876/1305257908036177972/error.txt?ex=67325fa7&is=67310e27&hm=34385a4f8182f832cb929b8769896d2877a50e24ed1c19afbca2bc04b1357860&
https://cdn.discordapp.com/attachments/721100785936760876/1305257908405276692/Source_code.zip?ex=67325fa7&is=67310e27&hm=669ab527dbd0641baddec70f547887cab777f474ae8d1b46a251cd086082914b&

spiral light
#

do you need to register the packet at the client maybe?

wraith delta
#

Break down your needs

earnest girder
#

how do I get the entity when the server starts up?

bold plume
#

If I have a cache (hashmap) and I only do cache.put and cache.remove but both of these operations are on different threads, do I need to use concurrenthashmap or is the hashmap enough?

candid ivy
#

concurrent