#help-development

1 messages Β· Page 1810 of 1

ivory sleet
#

both sound wrong

civic apex
#

by anything

ivory sleet
#

Well why not just EntityDamageEvent

civic apex
#

EntityDamageByEntity whats the differenc

patent bloom
#

oh? 😭

civic apex
#

poison? and things like that

#

?

ivory sleet
#

For all maven users, they should run maven clean install (consecutively) imnotdani

knotty shell
#

bukit/maven 1.18 docs? specifically pom.xml stuff

ivory sleet
#

(I'm not a maven user so Idk if there's something better) but it used be that way

ivory sleet
civic apex
#

if i run a task later for 0ticks its unreliable (depends on ping)

maiden briar
#
[13:47:24 INFO]: true
Class<?> parameter = parameters[i];
Class<?> requestedParameter = requestedParameters[i];
boolean found = parameter.equals(requestedParameter);

System.out.println(parameter + " equals " + requestedParameter);
System.out.println(found);

Ehm Java?

ivory sleet
#

just nullify the velocity inside the event?

paper viper
#

Lol

civic apex
maiden briar
#

I have absolutely no idea

paper viper
#

check

civic apex
civic apex
#

class

#

why would equals get overwritten

paper viper
#

Cause you want to compare content or something else perhaps?

#

When comparing your objects

ivory sleet
#

Class::equals is just the classic == iirc

maiden briar
#

But these are class objects

ivory sleet
#

so thats a bit strange what tvhee got

paper viper
#

Ah yeah nvm

maiden briar
#

So this doesn't do anything with the equals method

maiden briar
civic apex
maiden briar
#

I am testing paramenters for reflection

paper viper
#

Not sysout

ivory sleet
paper viper
#

I mean ideally equals is for content

ivory sleet
#

its a polymorphistic method declared in the class Object

paper viper
#

and == is for reference

ivory sleet
#

thus very reliable

paper viper
#

So just override it

ivory sleet
#

for instance HashMap uses ::equals when bucketing keys with the same ::hashCode

civic apex
#

o alr i understand

maiden briar
#

I am checking superclasses

ivory sleet
#

can you send the entire method?

maiden briar
#

Yep

ivory sleet
#

not just the snippet you've alr sent

rough basin
#

Is it possible to target another entity even if the Entity is NoAI?

maiden briar
#

But first, I will create a nice print

ivory sleet
#

set an entity's target whose ai is disabled?

rough basin
#

Yes

ivory sleet
#

technically yeah you can

#

but idk what good it'd bring you xd

maiden briar
#

Still prints the same, but I will send the method then

rough basin
#

I want the snowman to look at an object within a certain distance without moving.

#

like sentry

maiden briar
ivory sleet
maiden briar
#
public static List<Class<?>> getSuperClasses(Class<?> clazz)
    {
        List<Class<?>> superClasses = new ArrayList<>(Arrays.asList(clazz.getInterfaces()));
        Class<?> superClass = clazz;

        while(superClass != null)
        {
            superClasses.add(superClass);

            for(Class<?> interfaceClass : superClass.getInterfaces())
            {
                superClasses.add(interfaceClass);
                superClasses.addAll(getSuperClasses(interfaceClass));
            }

            superClass = superClass.getSuperclass();
        }

        return superClasses;
    }

I forgot this one

ivory sleet
#

ah there's nothing wrong

#

your nested loop is probably the issue

civic apex
hushed hedge
maiden briar
#

What is the issue there?

paper viper
#

getCommand(String) is null

rough basin
paper viper
#

you didn't specify the command

#

in your plugin.yml

ivory sleet
#

probably

#

for instance apply particle-less slowness to it (with a high amplifier)

#

or set its walk speed

tardy delta
#

Windows 7?

maiden briar
#
[AdvancedReplacer] [STDOUT] class java.lang.Object equals class java.lang.Object
[14:02:16 INFO]: true

Ofcourse this goes on until java.lang.Object

#

And these always equal

#

So I have to exclude Object from the superclasses

civic apex
rough basin
# ivory sleet yeah

Then, Should i use ProjectileLaunchEvent to Disable shooting snowballs?
Or is there another ways to disable snowman's snowball shooting?

echo timber
#

I am looking for a rental plugin like AreaShop but version 1.14x

ivory sleet
maiden briar
civic apex
#

imagine them flying on an elytra and getting hit by arrow

#

i want the arrow to not affect it at all

#

but the flight would remain the same

ivory sleet
#

cancel ProjectileHitEvent maybe?

#

like cancel it and remove the projectile entity

civic apex
#

aaaaaaaa now i cant even get hit by arrow

#

i have no idea why

#

i restarted the server, changed gamemodes and did /kill but its not working

noble lantern
#

Would there be any way to make Boats ride up? Im not even sure how the heck i would go about this

misty current
#

Not sure if its possble but maybe you can give them levitation?

#

Not sure if boats extend LivingEntity tho

young knoll
#

They do not

misty current
#

Well

#

Teleporting?

#

Setting their motion?

young knoll
#

Set velocity

#

I imagine

ancient plank
#

Y would a boat be a living entity

young knoll
#

Armor stands are :p

noble lantern
#

Sadly they dont because this water is generated going down

digital rain
#

Is EntityDamageByEntityEvent called upon projectile damage

buoyant viper
#

like doesnt it always try to stay above water

noble lantern
#

They just sink once they hit that

#

and keep going to the bottom

buoyant viper
#

uhh

proud basin
#

bump anyone know how to do this?

buoyant viper
#

i almost want to say ask in Forge discord but i know for sure they wont help bc Mixins implies Coremod, + legacy version

proud basin
#

last time I asked them a question about mixins they yelled at me

buoyant viper
#

yeah

#

they really dislike coremods

#

just like spigot really dislikes nms

proud basin
#

yea

ivory sleet
#

Fabric :p

buoyant viper
#

1.8.9

ivory sleet
#

oh nvm

buoyant viper
#

lol

ivory sleet
#

why do ya still use 1.8.9 lol

buoyant viper
#

mayb its a pvp enhancer mod 😎

#

@proud basin what is the bigger picture of this project of urs

proud basin
#

for it to be usable

buoyant viper
#

lo

stone sinew
buoyant viper
#

simple being wat

proud basin
#

so

#

lets get this working

buoyant viper
stone sinew
proud basin
#

It's not even released

#

it's in development rn

buoyant viper
#

bc then they really started changing stuff

stone sinew
buoyant viper
#

all that matters r the new exploits that came with the updates.. 😼

pastel arrow
#

how can I deactivate listeners?

buoyant viper
#

i think theres an unregister method

proud basin
#

idk what to do

stone sinew
buoyant viper
#

[sigh] time to whip out a forge project to test this myself

pastel arrow
#

I'm not sure what to put in the Brackets?

stone sinew
buoyant viper
#

can u send build.gradle bc i cba to ever get mixins working properly in forge lol @proud basin

pastel arrow
buoyant viper
#

if u want to only disable one i think u need to call unregisterEvents from Bukkit.getServer().getPluginManager()

stone sinew
pastel arrow
#

Hm okay thanks

buoyant viper
#

oh god i actually dont remember howto like

#

set up forge lol

#

setupDecompWorkspace right

proud basin
#

yea

#

then genIntellijRuns

#

but im not using it with forge

buoyant viper
#

i love windows

#

so used to (other) terminals

proud basin
#

why are you using the terminal?

quaint mantle
#

That was 1.12 forge though iirc

buoyant viper
proud basin
#

you look like a terminal

quaint mantle
#

Windows is without slashes

proud basin
#

so

#

here

buoyant viper
#

oh i cant use java 17 with this

#

i think i have 8 somewhere

quaint mantle
#

gradlew (Task)

buoyant viper
quaint mantle
#

Which Version?

buoyant viper
#

forge 1.8.9 is using gradle 2.7

quaint mantle
#

Use gradlew.bat I mean

proud basin
#

here ale

quaint mantle
#

Using dotslash is bash I think

onyx fjord
#

@buoyant viperwhy do you use 1.8 forge lmao

buoyant viper
onyx fjord
#

jtx

buoyant viper
#

if i were me id use fabric idk

onyx fjord
#

uses 1.8?

quaint mantle
#

Yeah, use legacyFabric ...

proud basin
#

1.8.9

onyx fjord
#

im dissapointed in you

#

the only legacy version for mods i can understand is 1.12

buoyant viper
onyx fjord
#

but cool people use fabric πŸ™‚

quaint mantle
#

There are people backporting fabric

#

But noone backports FML

buoyant viper
#

backporting sodium to 1.8 😎

buoyant viper
proud basin
#

help me πŸ™‚

buoyant viper
#

workin on it

quaint mantle
#

Yes, so you live with Software that is getting worse by the day

onyx fjord
#

i mean

  1. we arent forge
  2. legacy versions arent supported
buoyant viper
#

wait i need to import forge BEFORE running genIntellijRuns? so this is why it never worked for me....

onyx fjord
#

but froge will eat you for asking for legacy help

#

πŸ™‚

proud basin
#

I know that

buoyant viper
#

forge will eat for asking for help with legacy AND mixins

proud basin
#

I've experience it

quaint mantle
#

Oh yeah, they are a LOT worse than us

buoyant viper
#

eat my shorts intellij

quaint mantle
#

i got warned when I tried to get help with 1.12 on forge server

buoyant viper
chrome beacon
#

It does

quaint mantle
#

I think Mixins Support is baked in Forge, No?

buoyant viper
#

fabric, forge really wants u to use the api

#

tho even fabric recommends using fabric-api wherever possible

proud basin
#

forge is bad

quaint mantle
#

At least forges API is decently usable I guess

buoyant viper
#

its good but it lacks some events here and there

quaint mantle
#

A Lot better for my Bukkit brain to understand

buoyant viper
#

not that the average person needs to do packet manipulation but at least having the events would be nice

onyx fjord
buoyant viper
#

pjhrog

#

🐸

ivory sleet
quaint mantle
#

Everything

buoyant viper
#

fabric requires 7 phds

onyx fjord
#

fabric api is rich

ivory sleet
onyx fjord
#

it has daily updates almost

quaint mantle
#

It has Like 0 events

proud basin
#

Anyone know hwo to change the branding with minxins

quaint mantle
#

At least a year ago

#

Couldve changed idk

buoyant viper
#

fabric itself has close to none, but thats what fabric-api mod is for

ivory sleet
#

Yeah it has changed a bit, although the general fabric approach is just mixins.

proud basin
#

literally this is all I have left

onyx fjord
cloud sparrow
quaint mantle
#

But nowadays my brain could comprehend fabric now given that I have worked a Lot with Mixins now

onyx fjord
#

do you use screen @cloud sparrow ?

quaint mantle
#

Tho I also like my ASM Transformers

cloud sparrow
#

I didn't install used that... Is that useful?

#

should I do it?

buoyant viper
#

screen is very useful

onyx fjord
#

yes...

#

screen basically makes "another console" for your server

#

so if you exit screen, spigot doesnt stop

cloud sparrow
#

ohhhhh!

onyx fjord
#

you can edit stuff

#

btw

#

your tutorial mentions screen

quaint mantle
#

Tmux is a Bit easier to comprehend for me

cloud sparrow
#

Alright, but my problem is I installed the wrong version of Spiggot

onyx fjord
#

just follow it πŸ™‚

#

which one do you want

cloud sparrow
#

the most recent one, for mc 1.18

onyx fjord
#

java -jar buildtools.jar -rev 1.18

cloud sparrow
#

Do I need to undo everything i've done so far?

onyx fjord
#

it got you 1.17.1?

quaint mantle
#

Unlikely

cloud sparrow
#

1.16.5

onyx fjord
#

i mean

#

yea you can clear stuff

quaint mantle
#

How

cloud sparrow
#

I was quite dumb following the tutorial letter by letter

onyx fjord
#

transition directly from 1.16 might be breaking

cloud sparrow
#

shit

#

Is there an easy way to "undo"?

#

doublty ig

onyx fjord
#

remove spigot jar and build new one ig

#

just reset your world, its fresh anyway

cloud sparrow
#

"del spigot.jar"?

#

Or will I need to delete .yml aswell?

buoyant viper
#

rm -rf spigot.jar

#

yeah @proud basin idk whats goin on on my end now lol

#

old gradle and intellij just are not mixing

proud basin
#

update gradle then

buoyant viper
#

wont that break forge

proud basin
#

no

cloud sparrow
#

It's telling me "Unable to acess jarfile Buildtools.jar"

buoyant viper
#

whats the highest version i can go to with gradle for this

cloud sparrow
#

Might've messed up quite hard

proud basin
#

use the version im using

onyx fjord
#

or wrong foler

buoyant viper
#

ah wait ithink i got somewhere with 3.0

cloud sparrow
#

I am using Java 11 and to install 1.18 I need Java 17

#

How do I change all that?

chrome beacon
#

?java17

undone axleBOT
proud basin
civic apex
#

how do I look at non obfuscated NMS methods?

#

i want to cancel knockback

#

I've tried: ```diff

  • Cancelling the event and dealing damage
  • Doesnt keep things like fire ticks, or defense points
  • Setting the velocity to a new Vector(0,0,0)
  • Stops the player's own velocity
  • Recording the player's velocity and in a 0tick RunTaskLater (sync) apply that velocity back to the player
  • Randomly stops working (depends on ping as well)
#

and i think the best solution would be to copy the NMS method for entitydamage and remove the knockback code

smoky oak
#

can't you not just do a damageEvent listener, copy the velocity before it, copy the normal damage event code, then set the player velocity to that again?

civic apex
#

but it randomly doesnt work

#

and it is highly affected by ping

smoky oak
#

dont think that's necessary

civic apex
#

???

eternal oxide
#

tried adding a knockback resistance of 1?

smoky oak
#

org.bukkit.event.entity.EntityDamageEvent.getFinalDamage()

civic apex
smoky oak
#

record vector, apply that as damage, reapply vector, cancel event

spiral light
#

but the first one should work ? if you use event.getFinalDamage()
and then set the players health to (health-event.getFinalDamage()) after canceling and play some fancy effects

smoky oak
#

also my plugin is acting all funky... does /reload on Spigot call onDisable ?

spiral light
#

yes

civic apex
spiral light
civic apex
#

then that is a really clean solution ty

buoyant viper
#

@proud basin my dependencies simply... broke

noble lantern
#

whats the maven error

buoyant viper
#

none

#

gradle prints out nothing wrong but intellij cant find anything

noble lantern
#

maybe try invalidating IntelliJ caches

buoyant viper
#

youd think after recommending that to so many people id try it myself

noble lantern
#

it works wonders.... sometimes xD

buoyant viper
#

for once the tried and tested did not work

#

wtfrik

#

i can not stand forge

smoky oak
#

forge or bukkit?

buoyant viper
#

both

#

jk just forge

smoky oak
#

ah

buoyant viper
#

its always a pain for me to work with

smoky oak
#

its just that by now i know EXACTLY why you dont get the bukkit javadocs

kindred valley
#

?paste

undone axleBOT
kindred valley
#

what is the problem at 15th period

buoyant viper
#

there are so many things wrong here

chrome beacon
#

You can't put a method in a method

#

That's one

vital sail
#

how to fix

spiral light
#

edit plugin.yml

#

what version is your server ? proably below 1.17.1 ?

vital sail
#

its 1.17.1

spiral light
#

maybe try 1.17 ...

vital sail
#

1.17 what

#

in plugin.yml?

spiral light
#

in your plugin you have a plugin.yml with "api-version: 1.17.1"

vital sail
#

i tried

#

it didn't work

spiral light
#

?paste can you show the full log ?

undone axleBOT
vital sail
#

thats after i changed plugin.yml to 1.17

smoky oak
#

so either you typd in 1.18 in the plugin yml and are using the 1.17 api or the other way around

vital sail
smoky oak
#

and the actual library

#

the actual api?

#

you are probably using the Spigot-1.18-api.jar

vital sail
#

my server ver is 1.17.1

#

not 1.18

smoky oak
#

uuuugh

#

the api youre linking in intellij

#

not the server

proud basin
buoyant viper
#

not sure

#

nor do i feel like debugging that

#

am sorry

proud basin
#

rude

#

are you following a tutorial on how to set it up?

buoyant viper
#

not really, was just hoping itd... just work

smoky oak
#

bad idea

#

programmers are supposed to be pull stack developers

#

you know

proud basin
#

lmao

smoky oak
#

pulling from stackoverflow

buoyant viper
proud basin
buoyant viper
#

actually

#

i know this is really stupid

proud basin
#

what

buoyant viper
#

but i saw in ur build.gradle u used notch obf stuff

#

what if u use searge

proud basin
#

Yea

#

horrible idea

buoyant viper
#

how

proud basin
#

outdated

#

and never used it

buoyant viper
#

outdated

#

1.8

proud basin
#

nah

#

anyways that wouldn't fix what im wanting to do

steep comet
#

ItemMeta has getPersistentDataContainer which I believe is a way to store custom metadata on an ItemStack that don't get wiped by server reload. What's alternative of that but on Block?

ivory sleet
#

Nothing

#

You could in theory use the TileEntity for those blocks who got one

#

Alternatively rely on BlockBreakEvent and use the chunk pdc

steep comet
magic dome
#

does anyone know what out packet deals with biomes?

cloud sparrow
#

How do I exit a screen?

buoyant viper
#

ctrl+a, d

tardy delta
#

alt f4

dire warren
#

hello anybody knows how to use " " inside config.yml in a string

example:

no-permission: 'Unknown command. Type "/help" for help.'

cloud sparrow
#

is this even normal?

proud basin
#

Is there a search bar on github to look through a repo?

dire warren
#

huh?

knotty shell
#

anyone got a working pom.xml for 1.18? also there something I gotta do to install CB as a artifact for maven to see cant compile a old NMS plugin I made

dire warren
tardy delta
#

"bla bla bla: \"bla bla\""

dire warren
#

that doesnt workkk?????

#

does it?

#

in config.yml?

knotty shell
#

its yml...

tardy delta
dire warren
#

worked thx

knotty shell
#

there also just using the # unicode also

dire warren
#

i thought thats doesnt works in config.yml

tardy delta
#

is just comment

knotty shell
#

as in [#x21-#x2F]

tacit drift
#

can anyone see any difference between these 2 itemstacks?

#

cause for some reason these 2 itemstacks are not equal

hasty prawn
#

Are you using ==

civic apex
#

can Recipes have amounts higher than 1 in the grid?

#

crafting table ones

tardy delta
#

ItemStack#isSimilar

tacit drift
tacit drift
hasty prawn
#

Don't do that. Use isSimilar() or equals(), depending if you care about the amount.

#

== only will return true if they're the same instance as well.

civic apex
knotty shell
#

so no maven users got any advice on missing artifact solutions?

civic apex
#

actually i dont think mc's instance id is the same as java's

eternal oxide
knotty shell
#

cant nor am I rebuilding a 10 line plugin for gradle

knotty shell
#

no just maven cant find 1.18 artifacts

eternal oxide
#

artifacts?

buoyant viper
#

are the repositories correct?

knotty shell
#

well given works for every other version below 1.18 think so? I cant even find a pom.xml template that is recent to look at

eternal oxide
#

which artifact specifically isn;t working for you?

knotty shell
#

org.bukkit:bukkit:jar:1.18-R0.1-SNAPSHOT

eternal oxide
#

you should nto be using that

buoyant viper
#

why specifically bukkit

eternal oxide
#

spigot-api is what you should be using

knotty shell
#

yes and I think I clearly stated bukkit and CB

eternal oxide
#

CB/Bukkit are in spigot

#

you don;t spciify them individually

knotty shell
#

when you doing a NMS plugin, since when?

eternal oxide
#

since spigot was a thing

knotty shell
#

since again no API I have to make it hence nms.

buoyant viper
#

looking thru repos listed on spigots site, cant even find a Bukkit > 1.15.2

knotty shell
#

Im messing with craftarrow.

eternal oxide
#

You do not spcify CB/Bukkit ever, even for NMS

#

you use Spigot. It contans both

#

for 1.18 it has changed though

#

did you read the announcement post about 1.18?

knotty shell
#

well gl then finding this for me. import org.bukkit.craftbukkit.v1_18_R1.entity.CraftArrow

#

again Im not using spigot there no API for what Im doing.

eternal oxide
#

i'll say it again, that is a part of Spigot

#

if you are not using Spigot then you are in the wrong discord

knotty shell
#

find me craftarrow in spigot src only pls.

dire warren
#

no-permission: '&fUnknown command. Type "/help" for help.'

eternal oxide
#
        <!--Bukkit/Spigot API -->
        <dependency>
            <groupId>org.spigotmc</groupId>
            <artifactId>spigot-api</artifactId>
            <version>${project.spigotVersion}</version>
            <scope>provided</scope>
        </dependency>
        <!-- Spigot Javadocs -->
        <dependency>
            <groupId>org.spigotmc</groupId>
            <artifactId>spigot-api</artifactId>
            <version>${project.spigotVersion}</version>
            <type>javadoc</type>
            <scope>provided</scope>
        </dependency>
        <!--Bukkit/Spigot NMS -->
        <dependency>
            <groupId>org.spigotmc</groupId>
            <artifactId>spigot</artifactId>
            <version>${project.spigotVersion}</version>
            <classifier>remapped-mojang</classifier>
            <scope>provided</scope>
        </dependency>```
visual tide
knotty shell
#

thats why Im asking for maven help been there done that with BT past two weeks why I dont get its acting like its poof now.

eternal oxide
#

I just gave you my maven pom dependencies

knotty shell
#

I seen and ty

eternal oxide
#

run BT with the --remapped flag

#

then go read teh announcement post about 1.18 for teh special source if you need to re-obfuscate

knotty shell
#

well Im not modding CB Im making a plugin that is purely nothing but NMS level changing stuff spigot or not I just cant find the maven pages but since yas talking about these changes Im guessing they now poof as well as my wiki staff role πŸ€”

tacit drift
#

I tried setting everything that remains in the matrix to Material.AIR but for some reason it also sets the result to air after i've crafted it

#

also clearing the craftinginventory after crafting also clears the result

knotty shell
#

awww so close.... but that helped @eternal oxide again thanks, think mapping name changed for e.getEntity()).getHandle().fromPlayer so gotta do some digging but its seeing the constants now

proud basin
#

Anyone know how to make a launch json for mixins?

#

everytime I try the one I made it uses default jar

frosty geyser
#

.

spiral light
#

shouldnt 'java -jar BuildTools.jar --rev 1.16.2 --remapped' create files that contains the remapping of mojang to obfuscated ?

tardy delta
#

what does obfuscated mean?

spiral light
#

abcdfgh instead of getPlayerName()
as an example ^^

#

for 1.18 and 1.17 it will create such stuff ... but not before - was there no mapping in 1.16 ?

ivory sleet
#

nope

tardy delta
#

oh lol

digital rain
#

any idea why projectile damage is being undetected

#

in entitydamageevent

spiral light
ivory sleet
#

no mappings

#

spigot used its own nms version mappings thing

minor fox
#

Does anyone know where the server applies velocity on fall damage?

ivory sleet
#

doesn't it stop velocity rather than applying?

knotty shell
#

you mean apply damage based on velocity?

minor fox
#

Perhaps

spiral light
minor fox
#

I'm just trying to remove the bounce stuff

#

But I can't find the location for it

spiral light
minor fox
#

No that sounds very weird

#

I only want to prevent the weird velocity on fall damage

ivory sleet
knotty shell
#

you mean counter velocity/rebound

#

hmmm bet its in the jump code itself

spiral light
ivory sleet
#

Ferskfisk

#

I just tried taking fall damage

#

the velocity nullifies

hasty prawn
#

There is weird knockback on fall damage

ivory sleet
#

anyways what determines it is probably a function which decides whether the distance you have fallen is enough I can see if I can find anything as I happen to be on my ide

#

then it probably has to do with lag I believe, where the damage gets applied after the collision with the ground

hasty prawn
#

There's times you can take fall damage multiple times because knockback will shoot you up high enough to take fall damage again.

spiral light
hasty prawn
#

Yeah, it's pretty rare that it happens but there's been a few times I can take fall damage 3 times.

minor fox
spiral light
hasty prawn
#

KEKW it did happen on Hypixel, could be a them issue. Don't remember if I've had it happen on a normal Spigot server.

ivory sleet
#

I mean there might have been some plugin adjusting the velocity, then 3 is possible

misty current
#

it can actually happen, but the server must be laggy as shit

#

or the player

hasty prawn
#

Lag you say? Hypixel has got that covered hypixel_cool

misty current
#

because of minecraft's sometimes questionable lag compensation

minor fox
#

Could it be the velocity that is applied on the damage event?

proud basin
#
{
  "id": "Test",
  "inheritsFrom": "1.8.9",
  "time": "2069-08-11T11:13:12+01:00",
  "releaseTime": "2069-08-11T11:13:12+01:00",
  "type": "release",
  "libraries": [
    {
      "name": "tt.test"
    }
  ],
  "mainClass": "net.minecraft.launchwrapper.Launch",
  "minecraftArguments": "--username ${auth_player_name} --version ${version_name} --gameDir ${game_directory} --assetsDir ${assets_root} --assetIndex ${assets_index_name} --uuid ${auth_uuid} --accessToken ${auth_access_token} --userProperties ${user_properties} --userType ${user_type} --tweakClass no.NoonTweaker"
}
``` is this right?
ivory sleet
#

Well taking fall damage innocently by simply falling does not cause any knockback, if the server happens to lag a bit where the damage gets applied after the jump then the velocity might get adjusted such that it looks like a bounce.

proud basin
#

Whenever I use it it just crashes in launcher

spiral light
proud basin
#

no

#

you see no one likes people that do that

#

so be useful for once please

minor fox
ivory sleet
#

Weird just tried falling consecutively taking damage, no "bounce" whatsoever

minor fox
#

Do you try to take fall damage while running?

ivory sleet
#

No but then its the running which causes the bounce

#

not the fall damage itself

spiral light
spiral light
#

just dont run and jump

minor fox
#

I believe it is the damage event's velocity we notice

ivory sleet
#

Its velocity gets added onto the already existing velocity

#

and it seems like the fall damage velocity has its direction pointing downwards

#

so it would make the jump smaller which can be seen as "bouncing" I guess

minor fox
#

I agree it has a direction pointing downwards

#

But how would you prevent it from doing that

ivory sleet
#

yeah or well overwrite the velocity possibly

minor fox
spiral light
#

but it save prevents your "bounce"

minor fox
#

But I want to write solid code, I'm not in a rush

spiral light
#

well... its solid ^^ trying to set a velocity null that gets applied AFTER the dmg-event ends is not solid

minor fox
tardy delta
minor fox
#

I just want to remove the cause itself

spiral light
spiral light
proud basin
#

Well im trying launch a custom jar but whenever I do it it crashes

spiral light
proud basin
#

no

minor fox
proud basin
#

A crash report wasn't made

spiral light
#

log files ?

spiral light
minor fox
#

But I want them to move, that's the whole point

#

I want them to keep their velocity

spiral light
#

yeah... already wrote a solid way to do this

minor fox
#

I think the smoothest way of solving it for now is cancelling velocity event if the last damage cause was fall

proud basin
#

no log files

ivory sleet
#

as that would neutralize it

pastel arrow
#
    public void onPlayerDamage(EntityDamageEvent event) {



        if (event.getEntity() instanceof Player) {
            Entity damaged = (Player) event.getEntity();
            System.out.println("SUCCESFULL");
        }
    }```  why does this code creates a null exepction thing?
spiral light
tardy delta
#

also do you mean a nullpointer exception?

proud basin
#

java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_51]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_51]
at net.minecraft.util.Util.func_181617_a(Util.java:20) [g.class:?]
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1014) [ave.class:?]
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:349) [ave.class:?]
at net.minecraft.client.main.Main.main(SourceFile:124) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]
at misc.tweaker.Tweaker.a(Unknown Source) [tweaker-1.2.jar:?]
at misc.tweaker.Tweaker.stubMain(Unknown Source) [tweaker-1.2.jar:?]
at misc.tweaker.StubMain.main(Unknown Source) [tweaker-net.minecraft.launchwrapper.Launch.jar:?]
Caused by: java.lang.NullPointerException

#

I found this

tardy delta
#

πŸ₯΅

quaint mantle
#

concurrent exceptions suck

tardy delta
#

is misc.tweaker your own package?

proud basin
#

no

#

The version manifest is corrupt.
Error details: Library name libs could not be parsed.

#

oh

vivid temple
#

so i am making a battle-pass kinda like system and i want it so that for every kill you make you get a reward, so far so good, but how would anyone here suggest that i keep track of claimed rewards?

proud basin
#

db

vivid temple
#

okay

quaint mantle
#

db or file db

tardy delta
#

pdc

vivid temple
#

pdc?

tardy delta
#

its just an integer

#

Persistent Data Container

vivid temple
#

yes true

tardy delta
#

the player object's persistent storage

quaint mantle
tardy delta
#

yea

#

the db also stays forever πŸ™‚

vivid temple
#

guess a config is the best one in my case

quaint mantle
#

so i would use a file db

vivid temple
#

okay thank y'all

quaint mantle
vivid temple
#

ye i know how files work just didnt know if there was a better solution

quaint mantle
#

its not a bad solution

tardy delta
#

never saw many people use json

vivid temple
#

i use yml

quaint mantle
tardy delta
#

what is this sentence tbh

#

yea

red sedge
spiral light
#

paper ^^

red sedge
#

oop

proud basin
#

The version manifest is corrupt.
Error details: Library name something.packge could not be parsed.

buoyant viper
#

Pondering thy orb

red sedge
#

ok

eternal oxide
#

did you add a constructor to yoru main class or something?

red sedge
#

i dont think so?

eternal oxide
#

perhaps made your JavaPlugin class private or something

#

no code so just guessing

red sedge
#

im looking for it

pastel arrow
digital rain
#

any idea which of these TargetReason is relevant when I want zombies to generally stop following Player if he only walks by

#

actually nvm, its very unlikely you have experience with this, but if somebody has, ping me then

late sonnet
digital rain
#

what if they had just killed a villager tho

#

thats what confuses me

tardy delta
proud basin
#

[13:56:25] [main/INFO]: Loading tweak class name yes.launch.NitrousTweaker
[13:56:25] [main/ERROR]: Unable to launch
java.lang.ClassNotFoundException: yes.launch.NitrousTweaker
at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_51]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[?:1.8.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_51]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:102) ~[launchwrapper-of-2.1.jar:2.1]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_51]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_51]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_51]
at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_51]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:122) [launchwrapper-of-2.1.jar:2.1]
at net.minecraft.launchwrapper.Launch.main(Launch.java:30) [launchwrapper-of-2.1.jar:2.1]

#

but the class is there

pastel arrow
crimson terrace
proud basin
#

It's the correct path and letters

crimson terrace
#

the one in the plugin.yml?

proud basin
#

This isn't a plugin

#

This is when launching mc

crimson terrace
#

idk

spiral light
opal juniper
#

wtf is NitrousTweaker kek

proud basin
#

a tweaker

grim ice
#

is coding a furnace but with this option:

#

each player has a different one for them

#

so u cant steal from each other, and u can still use it

tardy delta
#

does furnace have a tilestate?

#

if it has, cant you just store the owners uuid inside?

tardy delta
#

i would store uuid in pdc

grim ice
#

yes

#

oh

#

ok

tardy delta
#

but yea his your choice

grim ice
#

so is it possible

tardy delta
#

yes

#

and have a listener that checks for it

#

probably PlayerInteractEvent

grim ice
#

but like

#

u dont get the idea

#

i dont wanna prevent players from stealing

#

i want them to have a new furnace window

#

even if the furnace

#

is being used

#

by someone else

tardy delta
#

oh so clicking on a random furnace, would open yours?

#

uhm

grim ice
#

yeah

eternal oxide
#

You will have to create an inventory when teh player uses teh furnace and pass teh furnace location

grim ice
#

oh

lapis lark
#

Store original furnace in cache or SQL and handle block click event

tardy delta
#

you would need a runnable to make it work no?

eternal oxide
#

You should be able to attach multiple inventories to a single furnace

grim ice
lapis lark
#

Why not just open tile inventory?

eternal oxide
#

but you'd have to track the inventories yourself

#

so you open teh correct one for each player

grim ice
#

then those two with the player

#

right

tardy delta
#

oh not a regular inventory, right

grim ice
#

wait

#

elgar cant i make the playre a new inventory whenver he clicks it

#

and link it with him if he puts anything there

eternal oxide
#

to be a workign furnace I'm fairly certain it has to be attached to a furnace block

grim ice
#

o

eternal oxide
#

yes, but if things are left in, when teh player comes back he need to open teh same inventory he had open before

tardy delta
#

or do the burning stuff yourself with packets?

lapis lark
#

Guys why not store block location and do something like that

ifΒ (block.getType()Β ==Β Material.FURNACE)Β {
Β  Β  Furnace furnaceΒ =Β ((Furnace)Β block.getState());
Β  Β  player.openInventory(furnace.getInventory());
}
```? block is cached furnace of player
tardy delta
#

isnt that just the same as without the event?

eternal oxide
#

yes

eternal oxide
#

you need to do similar but not open the blocks inventory

#

open teh players furnace

grim ice
#

oh

lapis lark
#

So you want make furnace that not exists in fact

tardy delta
#

i would cache it somewhere (the furnace inv) and instead of furnace.getIv() i would use map.getOrDefault(uuid, new FurnaceInv())

lapis lark
grim ice
#

i see

lapis lark
eternal oxide
tardy delta
eternal oxide
#

Multiple furnace inventories attached to a single furnce (for ticking)

tardy delta
#

oh even better

eternal oxide
#

it "should" work

tardy delta
#

and then make you cant break that one rawr

grim ice
#

that seems complicated ngl

#

my smol brain cell not sure if it wants to do it

tardy delta
#

bwoa

#

just looking for the code to attach it at one furnace

eternal oxide
#

you provide teh furnace block location when you create the inventory

#

if I'm remembering correctly

lapis lark
#

Just interesting

#

How you plan to attach inventory to furnace

grim ice
#

uh

eternal oxide
#

I'll have to pull up my ide, sec

tardy delta
#

just listen for PlayerInteractEvent

#

check if the block is a furnace

#

check if the player adds something?

#

and store it in a map

lapis lark
#

I understand that, it is a child logic. I am interesting in ticking inventory by attaching to furnace

tardy delta
#

handle the ticks..

#

if furnace is empty after that, remove from cache

regal lake
#

I have a new issue with 1.18..
I upgraded from

net.minecraft.world.item.ItemStack nmsStack = org.bukkit.craftbukkit.v1_17_R1.inventory.CraftItemStack.asNMSCopy(itemStack);

to

net.minecraft.world.item.ItemStack nmsStack = org.bukkit.craftbukkit.v1_18_R1.inventory.CraftItemStack.asNMSCopy(itemStack);

and get

Caused by: java.lang.NoSuchMethodError: 'net.minecraft.nbt.CompoundTag net.minecraft.world.item.ItemStack.getTag()'

But the ide also suggest me to use that method..

lapis lark
regal lake
#

?

pastel arrow
#

is there a way to set the times you get damage when you burn to 1?

lapis lark
#

CompoundTag is mojang-mapped class

#

Spigot one is NBTTagCompound

eternal oxide
#

Bukkit.createInventory(BlockInventoryHolder, InventoryType.FURNACE);

#

BlockInventoryHolder being the furnace block

tardy delta
#

is there a Block#getHolder()?

regal lake
#

@lapis lark
Which don't exists in 1.18 (the ide can't find it)..

eternal oxide
tardy delta
#

oh

lapis lark
grim ice
#

so like the amount of damage u get everytime u get hurt from burns or wha

lapis lark
pastel arrow
# grim ice wdym

when you burn you get damage 7 times or so but i want to reduce it to 1

grim ice
#

thats easy

#

make an arraylist

#

of uuids

regal lake
grim ice
#

when someone gets damaged check for source

#

if its fire and hes not in that arraylist

#

add him to it

#

if he is, then cancel event

lapis lark
grim ice
#

wait actually

#

make a hashmap

pastel arrow
#

okay ill try it

grim ice
#

OR

regal lake
grim ice
#

Player.setFireTicks(0);

lapis lark
#

Actual server uses this class. Maybe you are looking to mojang-mapped jar, not actual running

grim ice
#

on first hit

#

and make a scheduler for after the amount of time it takes to get hurt 7 times

#

and set fire ticks to what it was before

pastel arrow
#

okay haha

lapis lark
#

Just yesterday i have updated my LuckyBlock to 1.18 and used net.minecraft.nbt.NBTTagCompound and all works. net.minecraft.nbt.CompoundTag is mojang-mapped class

grim ice
#

@pastel arrow want a simple solution?

#

do the arraylist thing

#

and if hes not in it, put him there and give him a fire resistance for the amount of time it takes to get hit 7 times

#

and after that time remove him from arraylist

#

for the time it takes to get hit 7 times idk

#

u prob gotta test that

pastel arrow
grim ice
#

if u do fire ticks

#

u will have to make a scheduler and give him ticks again and stuff

#

its just better to use potion effects imo

pastel arrow
#

okay

grim ice
#

btw

#

every 5 ticks player loses 1 actual heart (2 half hearts)

#

just some info u may need dunno

lapis lark
#

It should work

#

I used this too. But with additions

#

Check your compiled jar

#

What classes it uses

#

Mojang-mapped or spigot one

zealous osprey
#

Im trying to add a tabcompleter that offers all blocks, like in /fill or so.

  1. I do have a list of all materials that are blocks, but the tabcompleter wont sort it for me and if I try to implement a manual sorting it ignores it.

  2. The blocks are called like "BARRIER" or "BEACON", is there a different form of their names, that I can still easily convert back into Materials ?

regal lake
# lapis lark Mojang-mapped or spigot one

In my compiled 1.18 Jar it use

 public static net.minecraft.world.item.ItemStack asNMSCopy(ItemStack original) {

and

@Nullable
    public CompoundTag getTag() {
        return this.tag;
    }
mortal hare
#

does any of you guys use labels in java

#
// Java code
public class Label_Break2 {
 
    public static void main(String[] args)
    {
 
    outer:
        for (int i = 0; i < 3; i++) // label
        {
            System.out.print("Pass " + i + ": ");
            for (int j = 0; j < 100; j++) {
                if (j == 10) {
                    break outer; // Exit both loops
                }
                System.out.print(j + " ");
            }
            System.out.println("This will not be printed");
        }
        System.out.println("Loops Complete.");
    }
}
#

seems like a goto but in java

ivory sleet
sullen marlin
#

you can add multiple executions of the jar plugin with different configs

#

but really it is not normal for the build system to do things like copy to your server. Everyone should be able to build without your specific config

shrewd pier
#

hey people, i have a question about barrier spawn on 1.18
its replaced with BLOCK_MARKER but how to set a texture to this. in coding

sullen marlin
#

it takes a BlockData param doesnt it?

potent quest
sullen marlin
#

so add that as an argument

#

Material.BARRIER.createBlockData or whatever

shrewd pier
#

i there is no option on spawnParticle

sullen marlin
#

there should be a 'T data' argument

#

eg

shrewd pier
#

okay i will look into it

#

something like this?
world.spawnParticle(Particle.BLOCK_MARKER ,particleLocation, 1, Material.BARRIER.data);

#

or
world.spawnParticle(Particle.BLOCK_MARKER ,particleLocation, 1, Material.BARRIER.createBlockData());

sullen marlin
#

the latter looks more correct

shrewd pier
stone sinew
stone sinew
sullen marlin
#

you clearly dont know what the word api means

golden turret
#

oh yes, the classpath guy

sullen marlin
#

because nms is not api

golden turret
#

it is an api for mojang 😎

woeful crescent
#

hey

#

so I'm using the latest version of the mongodb-driver-sync with maven in my spigot plugin

#

However, I'm getting a noclassdeffound error on it every single time

#

Can anyone help

sullen marlin
#

you need to shade it or add it as a library in plugin.yml

woeful crescent
#

Oh, ok

#

Wait, how do I add it to the plugin.yml?

#

Do I have to put it in the plugins folder?

eternal night
woeful crescent
hasty prawn
woeful crescent
#

bro, he just means he thinks it's there

hasty prawn
#

Yeah, and I'm saying it's not.

proud basin
#

well

hasty prawn
#

And so is Java PeepoHappy

woeful crescent
#

dude

proud basin
#

I know its there because im looking at it

woeful crescent
#

who

#

are you helping

hasty prawn
woeful crescent
#

how

#

dude whatever it's fine idc

hasty prawn
#

Lol ok

proud basin
#

so yeah

hasty prawn
proud basin
#

its the correct path because I use that package location when launching it via intellij

#

Decompiled jar

hasty prawn
woeful crescent
#

What dependency format are you using?

proud basin
#

works fine via ide

woeful crescent
#

Are you shading it?

proud basin
#

Using shadowJar

woeful crescent
#

Sorry, not familiar with that one :/

proud basin
#

It does shade it

#

It does everything you want to give you that decompiled jar

woeful crescent
#

can I see the jar?

proud basin
#

You can but It's obfuscated

woeful crescent
#

...why?

proud basin
#

security reasons

woeful crescent
#

oook

#

Can I have your unobfuscated jar?

#

it's fine if you don't want to post it here

#

But I (strongly) doubt anyones fixin to steal your code

proud basin
#

Sorry I don't feel comfortable giving that out

#

but I can assure it its the correct location

#

that's the location I use when using it via ide

woeful crescent
#

alright

#

sorry, I don't really know how to help you if that's the case :/

#

And I don't have much time as is

#

so

#

Good luck

proud basin
#

At most I can do is screen share

woeful crescent
#

I actually need help with something of my own atm, sorry

#

I'm getting an NPE when my plugin initializes

#

Stacktrace^^

#

So sorry, should've put all that in a thread :/

#

actually wait

#

need to investigate more

proud basin
#

yes

round finch
#

So you level up with exp 30 for each level?

#

@quaint mantle

#

if exp = or more then add level

#

exp => 30

drowsy helm
ivory sleet
#

Especially when you’re on discord on your phone derp

young knoll
#

In terms of readability/improvements

round finch
#

int firstvalue =
        
int secondvalue = 

int total = firstvalue / secondvalue;
int remainder = firstvalue % secondvalue;

System.out.println(secondvalue + " goes into " + firstvalue + ", " + total + "times.");

#

i gotta test myself

young knoll
glossy venture
#

Idk

#

oh shit thats old

proud basin
#

That's not a plugin

opal juniper
glossy venture
#

Oh

round finch
#

@quaint mantle

opal juniper
#

idk if there is a good way to remove them

proud basin
#

It's pissing me off though can't get it to work

glossy venture
#

From where are you loading it

proud basin
#

mc launcher

round finch
#

how many times 30 goes into your exp and reminder of exp

glossy venture
proud basin
#

yea

#

with mixins

glossy venture
#

Oh

round finch
#

you welcome!
no problem i had same issue trying to figure it out :))

tidal hollow
#

Does anyone know how to change the blast level of a blaze shot?

glossy venture
#

I assume it might have to do with it using the wrong classloader

#

But i dont know any internals

#

Of mixins

proud basin
#

Im assuming this is the main class net.minecraft.launchwrapper.Launch

young knoll
#

Since I’m more familiar with json

glossy venture
#

Is it in the jar?

#

Stupid question and im sure youve checked like a million times

proud basin
#

Yes

glossy venture
#

So its trying to load the class but the launching classloader cant find the class?

#

Wait why is it using AppClassLoader

#

I think that may be it

#

As its not in the launchers environemnt5

#

Maybe some setting in like the version json file

proud basin
#

what should I use then?

#

net.minecraft.client.main.Main?

glossy venture
#

I dont know it seems to be a problem with the launcher

#

Oh wait are you trying to create a launcher?

#

Or interact with it?

proud basin
#

no

#

im trying to make it so I can launch the my custom jar with the launcher

glossy venture
#

Do you need code for that

proud basin
#

no

#

all I need the jar and a launch json

glossy venture
#

Im sorry im confused lmao indont know shir about this

#

Well then its probably a setting in the launch json

round finch
#

public void EntityDamageByEntityEvent(EntityDamageByEntityEvent event){

      if(event.getDamager() instanceof Fireball) {
            Fireball Fireball = (Fireball)event.getDamager();
            if (Fireball.getShooter() instanceof Blaze) {
                Blaze shooter = (Blaze)arrow.getShooter();
                Damageable entity

 (Damageable)event.getEntity();

                if (entity instanceof Player) {
                    Player victim = (Player)entity;
                }

             }
        }
}
glossy venture
#

Maybe throufh paste

round finch
#

oof sorry i misread it

proud basin
#

.

#

ok

glossy venture
#

It says in the wiki that the main class should always be set to net.minecraft.client.main.Main

proud basin
#

What wiki?

glossy venture
#

Idk

proud basin
#

I changed it to that and it just crashes with no errors

glossy venture
#
Minecraft Wiki

client.json is the file that accompanies client.jar in .minecraft/versions/<version> and lists the version's attributes. When using the latest version of the Minecraft launcher, it is named <game version>.json. The JSON file for specific versions is located in the version_manifest.json file.

#

First thinf it foudn

round finch
proud basin
#

but it may differ for older or ancient versions

glossy venture
#

Or trying to make it for

proud basin
#

1.8.9

glossy venture
#

Oh

#

Oh wait

#

Ive had problems with older versions when using newer versions of java

#

Maybe java version?

proud basin
#

im using 1.8

misty current
#

Hey, i have coded a custom enchant that kinda marks all players that attacked the player that has the enchant and after a minute it is supposed to unmark them. So every time a player attacks the enchant wearer, i store the unix time + 1 minute and i start a scheduler that after a minute removes the unix time (unless it changed after a new attack) from the map that stores it, removing the "mark" from the player. My question is, is it bad to start that many schedulers?

buoyant viper
#

werent u doing a mod

#

shouldnt need a client jar n json

proud basin
#

no?

glossy venture
buoyant viper
#

did u switch to a mcp project or something

proud basin
#

no

#

im using mixins

#

yea

#

the main class or the tweaker class

glossy venture
#

Ok so you have a client, and you are trying to launch this client in the launcher. The client uses mixins to modify existent code at runtime (if i understood correctly). Its not launching (probably) because of a classloader problem

#

Like minecrafts client main

proud basin
#

yes

#

it launches fine via ide

peak granite
#

so if i have a yaml data: Ignore that's like thism example below

Ignore:

  • Player
  • AnotherPlayer

how do i check if Ignore contains a player's name

proud basin
#

what's points?

#

what does it contain

glossy venture
#

Check if the level is at 60 when ur setting it, if so dont change anything

glossy venture
#

I think that will work

peak granite
#

thanks

proud basin
#

im assuming you don’t know how to fix my issue 😦

young knoll
glossy venture
#

But jtx it seems like it cant find the tweak class or whatever that yes.launch.NitrousTweaker is

round finch
#

@quaint mantle you can get a int from a config or..
if you want Minecraft Exp level player.getLevel();

#

depends on what you want

#

fx

  • Level : 0
  • exp : 0
proud basin
round finch
#

if you're going for custom Level and exp
i would recommend you make config\configs

#

to store and get exp / set exp

peak granite
#

ChatColor.stripColor() doesn't strip the color

#

properly

#

any alternatives?

young knoll
#

It should

#

Is the color translated already

peak granite
#

before it's &4

#

i'm trying to remove it

young knoll
#

You need to translate it to proper color codes first

peak granite
#

oh, works

#

thanks

tidal hollow
frosty geyser
#

.

quaint mantle
#

you might need to

#

see the changelog between

#

1.8.9 - 1.12.2

#

from 1.8.9 - 1.9, 1.9 - 1.9.1, etc...

frosty geyser
#

ah okay, only if they had an easier way to do it

tender shard
#

ugh what exactly are you trying to do

drowsy helm
#

is points a map?

tender shard
#

but you're not talking about vanilla XP right?

frosty geyser
#

@quaint mantle do you know if there is a way to quickly see what was changed from the version before