#help-development
1 messages · Page 92 of 1
oh boy I sure hope me making a floodfilling algorithm can then be used to implement a* on top of it
I do
Store the entire world in an items pdc
wont work
personally I store the US constitution on every paper a server generates when using any of my plugins because I just think it's an important document to preserve
<plugin_acronym>_<type>_<name>
so rpe_bomb_thanhium
you never know when you might need a backup of that document
Why use the plugin acronym
that's peasant numbers, I'd have billions of copies by now
because it's easier to read than roleplayevents_bomb_thanhium
some of my plugins have really long names
in the very very very small off-chance that someone else has a thanhium bomb plugin and goes "yeah lets make my pdc identifier "bomb_thanhium"
I care not
this happens when i try to package (compile) my plugin. what exactly do they mean with POM?
The goal you specified requires a project to execute but there is no POM in this directory (C:\Users\SMTHNG\Desktop\untitled\target). Please verify you invoked Maven from the correct directory. -> [Help 1]
maven
well there was never a pom.xml in the /target/ of my project folder
or am i supposed to choose the project folder as the compile directory?
You need to run maven from the folder that has the pom
Ohhh
New day, new problem ahah
What I should do is that: when a player presses the right button on an iron door, the iron door switches from closed to open (not the other way around, so once opened it stays open, unless it closes with vanilla methods)
however i can't make the plugin understand when the door is closed and how to open it, can you help me?
it works now, thanks
Yes, but I have to register the variable that tells me if the door is open or not (isOpen) and I have to be able to modify it (setOpen).
But I can't register the variable.
door.isOpen is red, so it doesn't give me the value true or false
Ah
You need to cast it to Openable
Openable extends BlockData and has an isOpen method
Yeah that works
Can you send me the code strings please?
Ok now it works, thanks
Fake news
Bring me the evidence about it
how to add a folder plugins in my localhost server
#help-server and just add a plugins folder in your server folder
But how to decode js
the hell are you talking about?
come to prv message send photo
!verify to send pictures
Usage: !verify <forums username>
!verify to send pictures
Usage: !verify <forums username>
Is there a guide on porting plugins to newer versions?
come prv
!verify sankoh
Could not find your SpigotMC.org account!
!verify SankohYT
A private message has been sent to your SpigotMC.org account for verification!
how to retrieve skull entity at block-location x y z?
what's the least painful way of doing pathfinding in the year of our lord 2022?
mappings?
yeah I know forks have an api for it but I'd prefer to keep it spigot-compatible
I mean how bad can basic "go in a straight line" pathfinding be, anyway
Not hard
can someone explain how movement in minecraft works? how to make npc jump for example?
well
do you want a very deep explanation or something just very shallow
if you want a deep explanation I'll go into what packets are sent and what triggers those packets
I'll be doing this after the gym, out of curiosity are there any pathfinding resources out there using mappings?
by pathfinding you mean PathfinderGoals or navigation?
I was thinking goals
if you don't mind)
I can write something up
if I just want the mob to move from location to location it's goals right?
That's navigation
Just look at vanilla ones
oh huh
goals are how a mob thinks
For example, look at how cats go sit on chests
navigation is movement
yeah I get it
what are applicable materials for BLOCK_MARKER particles?
All of them maybe?
Any
I'm making a TD game and I have my own A* implementation going, all I need is to tell the entity to walk along the path I defined
yeh
Yep
no way
Some will be weird though
oh fun
like barrier or what
For example skulls will show as soul sand
Basically
grass will be gray and stuff
DAYM that sounds fun as fuck
I m making a TD game and I have my own A
How would I use reflection with mojmaps?
Just suffer and look up the spigotmap equivalent?
-<
fyi game will be free once it comes out, keep an eye out for eternal td on spigot, a prototype should be ready real soon
average nms moment
Fabric ftw :D
magma
yes
I'll talk about navigation on the thread I made
name 1 nms user that doesnt suffer
Yarn?
ye
Yes but does it remap reflection strings
smh
not sure actually, but why reflection if you can use Mixins
whats your font size
True
mine is at 15
uhh
so can you explain what packets are used for movement?
Plus forge and fabric have access transformers
yeah
13
I switch font size constantly
Yo this is cool thohttps://minidigger.github.io/MiniMappingViewer/#/mojang/server/1.19.2/
MiniMappingViewer
Yes
What they have all the fields and methods
WOW
Less suffering!!
its not up to date, use screamingsandals instead
you mean screamingLib?
this took me too long
stares at my 600 lines of nms collision code
🤓
Write some automated tests 🙂
my checks suck
Just use crunch...
also do you only support two operands?
how 2 make item entity only collectable by X player
declaration: package: org.bukkit.entity, interface: Item
^ do that instead
yeah thats the better way
meh i wanted to make smthh
then it should work
doesnt seem 2 work
i tested it
player is BlockBreakEvent player
so i should only take drops of block i broke
nah but currently im parsing smth like "3 + 4 * 5" into two calculations (3+4 and 4*5) and then i determine the operator priority and apply highest priority first
BlockDropItemEvent
Is the listener registered? Did you forget the EventHandler annotation? Add a debug message to make sure the handler is called
And handling item drops should be done through the BlockDropItemEvent
does that matter tho
i'm not ready yet-
dropItemNaturally return item
Some blocks have more than one drop. So this matters.
aha "10 + 2" finally gives me 12 now
multiple operators do not work yet as it just ignores those
?jd
ah thank you
code looks horrible 💀
bruh does worldguard even cancel the BlockBreakEvent
Are you making the next crunch
It should
Ideally in lowest priority
Use ignoreCancelled = true in @fresh templethandler
nice one
Also since you are also using lowest make sure your plugin loads after worldguard
Or use low
I mean, people like @urban grotto are asking for it
bruh
i thought the lower the least actual priority
what
HIGHEST = highest
lowest gets first say on the events
HIGHEST is highest priority because it can change whatever anything below it sets
it's weird but there's sense to it
💀
given that lowest can't change whatever highest manipulates
its like high level languages
im like high level, it must mean it can do a lot
HELL NO
kekw
monitor 
well monitor shouldn't be manipulating shit
mine does
yeah and they're stupid
no
yes
then patch those plugins
pr time
Pr those plugins 
idk if src open didnt bother
you can patch without source
did my first pr yesterday
ik
just make a binary patch
it was a tutorial smh
recaf ❤️
Lol
indeed recaf ❤️
boolean isPremium = true;
kekw
we need a way to define insert before and shit
like we need full control of the event pipeline
long.
Would be cool with a system that allows relative and absolute priorities
Yeah full control would be nice
9,223,372,036,854,775,807
bigint kekw
Conclure volunteered to make it
💀
cant we just get number of max size infinite 🙄
I’ve forgotten most of bukkits infrastructure my apologies
Shame
hmm math isnt my best
Let’s make choco do it
like I genuinely see the need for this a lot;
public class SomeListener implements Listener {
@EventHandler(priority = EventPriority.HIGH, before = [AnotherListener.class, ADifferentListener.class])
public void some(Event e) {
e.shame(true);
}
}
and you can only specify before for classes with the same or higher priority
He loves making PRs
is there any other way of getting the Id of a material without using the deprecated getId
I mean the only other way to implement is having it at registerEvents
No
Wait, you can do that?
no
I don't like the idea of numeric event priorities
Don’t think about them
that seems hacky to me
What should I used instead then?
LOW isnt enough btw
With this, you’d only really need 2-3 priorities
#1012313792488681492 anyone has an idea?
Pre, Post, Monitor-Only Post
conclure u got an idea maybe?
I'm just working with bytes and everything thought it be easier to use the ID's
Or sth
well you don't want to specify before for every single plugin that can interact with yours
guess I'll migrate over to that
hey so in AsyncPlayerChatEvent, the actual stuff of the event happens BEFORE the message is sent in chat, so If I wanted some sort of reply system it would send replies before the message is sent which looks awkward
is there a way to run the code AFTER the message is sent in chat by the player?
Having this would be great
?scheduling
add a delay.
and also Pre and Post might be a little confusing, because that might give the idea that Pre is before the event runs and Post is after the event runs
Just run the reply the next tick
AdVenture moment
but yeah last time I needed to put my listener before another one
I literally had to use reflection and hack the pipeline
it was some bullshit I didnt like
Simple solution
u sure even next tick is needed?
Open a bug report for the other plugin
no
actually
do as I say, not as I do
Can’t you just loadbefore it
wait
why does
ignoreCancelled = true
actually cancel code if cancelled
instead of false
its all so confusing
What
oh wait I'm wrong
If the event is cancelled by a previous listener
Your listener won’t even run
If you have ignoreCancelled = true
why is it called ignoreCancelled then
Because it ignores cancelled events
Myeah I got confused about it also first time
all of the event things are very weird
that's the case
The event system is after all very old
True means it will not fire for events that are cancelled
^
Yes
Yeah
what happens if i reload instead of restarting?
then that means that unless you check if it's cancelled your code will run anyways?
at least doc explains it
If ignoreCancelled is true and the event is cancelled, the method is not called. Otherwise, the method is always called.
So it wont ignore cancelled events
the fuck type of nonsense it that
A kitten dies
a lot of bad stuff
like?
Jk depends on plugins
Potential memory leaks and bugs
mm
jesus christ that's so dumb
plugins relying on packets will break mostly
can we get an event API overhaul
Nah protocollib at least handles reloads fairly well
protocollib has a /reload warning message nowadays
So does essentials
Keeps asking me why I hate myself
Like, essentials there are a lot of reasons I hate myself but now isn’t the time to ask smh
Well, a problem that was persisting for quite a while was old plugin classloaders that wouldn’t get gcd even after reload
Now I believe its been patched
But used not to be the case if certain scenarios were to happen
How much do you think we would have to bribe MD to completely overhaul spigot for 1.20
i think via just kicks players
Backwards compat be damned
As you can imagine, this could result in severe mem leaks after a while
exactly
event handle my ass
Well
Material enum 💀
MD cares
my intellij lags when i tab it
there's definitely ways to keep backwards compat with the ability to control positioning in the execution pipeline
LEGACY_AIR
Kind of
Forge sends a handshake packet
But it can easily be spoofed
Badlion probably sends a handshake too
But again you can just spoof it
man
that the client fakes it
some fucking no lifer
spends his time trying to send a packet/socket
to a receiver, even though he shouldnt, meaning that its fake
You just modify or cancel the packet that tells a server you have badlion
is it possible to stop a specific sand block from falling?
tell how
Can i use itemMeta.setLore() with BaseComponent[]?
Nope
No, ItemMeta only accepts strings.
sadly
NMS or different api moment
I can do it in paper APi
Yeah
Mhm
u dont need paper api for that
once hangar, so long spigot API
int is just on the stack
List<String> lore = ...;
BaseComponent[] baseComponentsArray = ...;
Arrays.stream(baseComponentsArray).forEach((element) -> lore.add(element.toPlainText()));```
hover and click stuff gone :(
how can I get persistent player data of an offline player?
not ig
well you’re plainifying it
Hover and click stuff on item metas?
Not currently possible with ItemMeta
doesn't even make sense
^
manually load player lol
Doesnt it give you all sorts of minor advantages opposed to the normal client
it has an issue with chat?
idk lol
Vanilla 
all clients suck tbh
Fabric
fabric isnt a client
Throw sodium in there or something
does it persist if they turn off BLCs custom chat
theyre modloaders
forge slow at loading resourcepacks
Yeah
Fabric is far better than forge right now though.
Modloaders for the client
hate it
nope not really
depends on your pc honestly
also fabric requires optifabric 💀
that would go against it being a legit client ngl
for me, fabric is the same as optifine
how much distance will player move in one tick if i gave him 0.42 vertical velocity?
No it doesn't?
Optifine is so 2016
what
Sodium time
sodium + lithium + starlight = a good time
sodium only gives me 30 fps
well if u guys have the time to talk about how clients suck, maybeee help me fix my minecraft launcher at #1012313792488681492
:D
i need to know the way to calculate it
Well I dont use it but it must provide something of beneficence for it to even be considered a conceivable alternative to vanilla?
Does someone have a resource where I can see a preview of the "Documentation" textbox feature?
its pretty much a money generator for partners
thats pretty much all.
its like lunar client and cheatbreaker @ivory sleet
Doesn’t badlion have like
HUD stuff
Minimaps and stuff
Oh
blc just gives you what everything else does
what did they take from lunar
with forge or fabric
except
its really famous for making partnerships with a lot of content creators
Badlion is just forge with branding and microtransactions
fuuuck
yeah skyblockaddons == sba
why is it so difficult
not really
cuz i wanted to write smth on my own
u can just
crunch on deez nuts
need smth to do in this holiday lol
for what u wanna do
wtf
with a big marker
U can just stop
u can
evangelion 3.33: you can (not) code
thers smth wrong with this
especially with 2nd part
ah
lemme just cover this channel with my shit
Is it possible to include a table of contents on a resource page?
doesnt the resource page allow raw html?
It does.
Oh ok, did not know that
<ol> and <lo> then or smth
Yea, thanks 👍
as far as i still remember html
<script> support when? 
thats what a quick search on the forums did
dont think lo is a tag, the alt to ol is ul
ordered and unordered list
lo ol
and its elements are li
lo ol
i create npc like this, how can i make it move?
MinecraftServer nmsServer = ((CraftServer) Bukkit.getServer()).getServer(); WorldServer nmsWorld = ((CraftWorld) Bukkit.getWorlds().get(0)).getHandle(); EntityPlayer npc1 = new EntityPlayer( nmsServer, nmsWorld, new GameProfile(UUID.fromString("c793afb5-c4b7-4fdb-a100-b761315913c4"), "Bot"), new PlayerInteractManager(nmsWorld) ); npc1.setPosition(p.getLocation().getX(), p.getLocation().getY(), p.getLocation().getZ()); PlayerConnection ps = ((CraftPlayer) p).getHandle().playerConnection; ps.sendPacket(new PacketPlayOutNamedEntitySpawn(npc1)); ps.sendPacket(new PacketPlayOutNamedEntitySpawn(npc1));
Are u using spigot 1.8?
How do I use it tho? The preview always shows me the raw text, no matter if its html or not.
what is the correct way with Spigot 1.19 to call block.canplace() to check if a block supports a torch on it's top face?
Block block = Objects.requireNonNull(playerLocation.getWorld()).getBlockAt(x, y, z);
if (block.canPlace(torch)) {
yes, so do you know how to make it move?
You need the BlockData you want to check
apply velocity or smtin
like this?
if (block.canPlace(Material.TORCH.createBlockData())
Mhm
do I need to tell it I want to place it on the top of the block?
You can also modify said data first if you want to
Nah iirc torches are always on top of a block
Wall torches are a separate block
reason I ask is... currently it's placing torches on top of pointed dripstone and leaf blocks... (could always be logic error on my part with checking different block than placing on), just wanted to make sure I'm calling the check correctly.
Thanks!
when I check block.canplace() do I place on that block, or do I place on block relative up 1?
Where you want the block to appear iirc
ok, so... I check the block at y-1 of where I place the block... makes sense. Thanks!
You should check the block where you want to place it
I may be thinking of this check wrong.
Does the check (block.canplace()):
a.) check if a given block (stone) can support a torch on it
b.) check if a block has a relative block that supports a torch (air block, with stone block under it)
got it. I was thinking of it wrong. Thanks for clearing it up for me!
It seems like it only works on the wiki pages
is it possible to make particle visible for only some players?
is there any other method to spawn particle for all players and deny for some?
Nope
Use java streams 😍
i think it will be laggy if i loop all players...
and spawn particles one by one
Nah
why not
There is no other way
What do you think world.spawnParticle does
Computers are fast, and the server itself loops app players far more often than you ever will
how does hypixel do it?
Each tick, or even more often, the server loop all players
A loop doesn't mean it will be laggy
You just have to optimize what you're doing in it
whats the amount of particle packets i can reasonably expect a player to be able to recieve?
for some reason when I sleep I get a "You are sending too many packets!" error but idk why, there was an error in the console but it was really long and it wasn't in the latest.log file for some reason
My event code: https://paste.md-5.net/yubocemimu.cs
im guessing the particles get handled as packets and only sent to the players taht are in something like a hashset. contains of thats O(1) iirc so its quite fast
so java's builtin hotswapping was working fine, and jbr + dcevm enabled worked okay too, but when i enabled HotswapAgent that's when I was getting issues
line
I think its the BedLeaveEvent (line 48) but idk cuz the error was very unreadable and long
urgh
paste the error and sent that link too then
ever tried to debugging with just code?
debugging is pain
and the code seemed to work on 1.16.5
dont see it
https://paste.md-5.net/equrabotux.sql here's the error
Plus packet listeners can be done async
looks like you got a recursive loop somewhere for some reason
huh? hows that
and it happens when you stand up from your bed i assume?
do you use the onbedleave anywhere else?
StackOverflow, that's a website!
Omg it is
how can i check if player is protection itself with shield?
islbokcing
isBlocking
blocking
islbokcong
p.isBlocking()?
Mhm
yes
ok
isbocling
isBollocking
isBoll
screw yall
okay this is hopeless
hm try this. comment out every function but the bed leave one
Nothing is hopeless young padawan
so remove all events that are present and leave only bed leave event?
yea
hmm sounds pretty possible to me
if (getConfig().getStringList("Disabled") is null) {
}
will it work in this situation? if config is like this:
Disabled: {}
well theres a difference between your average error and a stack overflow
i dont see how that code can cause a stack overflow
getStringList returns an empty list as default?
will it throw error in this situation?
uh
idk what situation
the erroring bracket: part 1
try printing out player name and location instead of teleporting the player
maybe ones actually null
hmm lemme try
though i still dont see how that could stackoverflow
its java, everythings possible
^ @tardy delta
iunno
its not one line i can tell you that
well
technically java code is one line
the compiler strips all spaces and newlines
but thats besides the point
its a challenge where you play without Z, basically terraria
yeah, you move in x and y but not in z
though couldnt you do that in one method
I try to make a scoreboard like this:
Scoreboard scoreboard = Bukkit.getScoreboardManager().getNewScoreboard();
Objective objective = scoreboard.registerNewObjective("test", "dummy", ChatColor.AQUA + "TEST");
objective.setDisplaySlot(DisplaySlot.SIDEBAR);
msg = "MSG: hello";
Score score = objective.getScore(msg);
score.setScore(0);
mainPlayer.setScoreboard(scoreboard);
But it doesnt show up.
What am I doing wrong?
urgh give me 3 minutes
yes
how to check if its empty?
i checked it as i remebmer
it does not exsists
List.isEmpty should exist
@shadow night heres your plugin in 6 lines of code
yup
if anyone still cares
public void onEnable(){
Bukkit.getScheduler().runTaskTimer(this,()->{
for(Player p : Bukkit.getOnlinePlayers()){
Location l = p.getLocation();
l.setZ(0);
p.teleport(l);
}
},1,1);
}
okay seven
shaddup fourteenth
^
doesn't that completely block moving even 0.1 to Z? if so, thats shit since its just uncomfortable af
well a few more lines of code can give you a maximum distance
this is the simplest version of it i could think of
unoptmised
fine
Send client sided barriers around them
Do you want a player only to be able to move on a plane?
public void onEnable(){
Bukkit.getScheduler().runTaskTimer(this,()->{
for(Player p : Bukkit.getOnlinePlayers()){
Location l = p.getLocation();
if(Math.abs(l.getZ())>.1){
l.setZ(0);
p.teleport(l);
}
}
},1,1);
}
satisfied now
Maybe
where spaces
what spaces
if(Math.abs(l.getZ())>.1){
I'd use the PlayerMoveEvent and check if e.getFrom().getBlockZ() != e.getTo().getBlockZ() and then tp the player to his location with old Z
@EventHandler
public void onMove(PlayerMoveEvent event) {
Location from = event.getFrom();
Location to = event.getTo();
if(to == null) {
return;
}
boolean crossedBorder = from.getBlockZ() != to.getBlockZ();
if(!crossedBorder) {
return;
}
event.setCancelled(true);
}
unncessesary variable
why would to be null?
Its there for clarity
and i still dont know how to write unncessecary
latest versions are much buggier than older versions tbh
ive never had a problem with 1.8.9, but 1.18 and above is just unplayable
Yeah auto completion fked me over
unnecessary unneccesary uneccessary unecesary
I never cancel the move event as it can freeze you in a constant back and forth tp. Instead I tp the player to e.getFrom()
This is exactly what cancellation does
I think i would add a velocity away from the border. Because that could actually lead to a freeze.
Yeah but you can't break out of it.
ye either that or just tp the player to getFrom() or a fixed Z
If you cancel the event then the player will be at the "from" location anyways. No need to tp him there.
Well if you ever tried a full freeze plugin and cancelled the event for freezed players all the time you would know what I mean. The players gets tp'ed back and forth forever without even pressing anything after he first moved
because of that I never cancel the MoveEvent anymore
Last time I tried was like 1.9. So it might have been fixed by now. idk
For this you should just use the movement speed attribute and a jump potion. Who uses the move event for a freeze? lol
how are colors saved in config? 👀
Even with 0 walk speed and underflowed jump boost the player can still move
Smh Mojang
Nah it’ll probably be a single int
nah
Potion color is rgb
I assume it will serialize as one int
Could also do 3 though for rgb
RGBA in mc when?
Hell yeah transparent chat let’s go
CMYK is obviously the better choice
Player.spawnParticle(Particle.REDSTONE, p.getLocation(), 30);
how to change redstone particle's color?
which particle exactly?
Player.spawnParticle(Particle.REDSTONE.BLOCK_CRACK, p.getLocation().add(0.0D, 1.0D, 0.0D), 30);
it spawned error particle
i mean
i dont know what particle did it spawned lol
can someone help me lol
how do I get a square similar to this? the gold block being the given location
do I just set 100 vars to x y -x -y or is there a better way
i cant see method of it
Probably outdated Spigot version
iirc you need to give particles a color or they show that
its 1.12.2
So outdated :p
}
Simple line of code, target is arg-0.
Can someone debug and fix this for me as I'm new to plugin development.
Tp command. (1.19.2)
cant i change dust praticle's color in 1.12.2?
i dont belive so
No idea
A string will never be an offline player
Player target = Bukkit.getServer().getPlayer(args[0]);
and what's offlinePlayer
I'm trying to see if the player the user types after /tp is a player who joined the server at least once & is offline.
The online part is easy.
Use Bukkit#getOfflinePlayer then check hasPlayedBefore
do note that getOfflinePlayer may perform a blocking api call to Mojang
The instructions don't get much clearer without me spoonfeeding you code
I don't need it
Alright.
& my code is very organized.
is there any NMS docs?
No
Bruh
nms = net.minecraft.server
Its literally mojangs code. There is no documentation and you are mostly on your own.
All you can do is play around and reverse engineer.
It's great practice for when you eventually decide to do software development for a big company in the real world Kappa
problem with nms is that it really isnt legacy code and it changes so much you may have to re-write each release
or, what you do may no longer be possible
to get redstone block's break particle i need Particle.REDSTONE.BLOCK_CRACK right?
BLOCK_DUST
The cracks that appear when you mine it?
Hey guys does someone know the method name for getting NBTTagCompound from NMS ItemStack in 1.18 and greater?
do you mean this?
No I mean WHILE you mine it
CompoundTag
Not after
(they only appear in survival that is - so don't try to search for it while being in creative)
or as old people like to call it: NBTCompoundTag 😢
I don't see method called like that in older versions you can just use getTag method but in 1.18 and up this method is missing
no wait
NBTTagCompound
xD I know I'm also modding 1.12.2 and I just have remembered it like that. But do you know the method name?
method name for what?
i switched on it. now it spawns Nothing
ohhh
should be getOrCreateTag
Something like NMSItemStack#getTag()
^
yeah
You need to provide BlockData
meh
it's missing
IIRC getOrCreateTag() is the only public method that's useful
do you know the obfuscated name?
are you using remapped NMS?
wat
wat
why would you ever use the obfuscated name
no
please use propper mappings
Then better get started using it
private static final BlockData REDSTONE_BLOCK_DATA = Bukkit.createBlockData(Material.REDSTONE_BLOCK);
// Later
world.spawnParticle(Particle.BLOCK_DUST, location, 8, 0.5, 0.5, 0.5, REDSTONE_BLOCK_DATA)
because they use 1.12 or strh
You're shooting yourself in the foot
oh ?
❤️
no I'm using 1.18 and greater
oh wait
Yea so just use properly remapped ?
"But GrAdLe"
i cant see BlockData in imports
okay but do you know a good tutorial for Maven setup?
if you use paper that is
Then add spigot on your classpath...
also bukkit refuses it
you mean build paths?
What version are you on?
NO!
calm down
your version is just way too old
okay
how else am I going to respond if you ask a yes/no question though
Thanks. But my main problem is that I don't know how to use Maven with Eclipse haha
how so?
oh yeah I know your feel. I also only switched to IntelliJ because eclipse's maven integration is shit
what can i do?
It's pretty good
maybe you could try using Intellij? It's free too
not really
I do not understand
Ikr that's why I'm using Build Path
I can understand gradle integration being bork, but not maven
Yeah, you haven't added the maven nature
clone a repo that has an eclipse "project file" inside. eclipse will not read the pom at all
(maybe it changed meanwhile)
So just add the maven nature?
how?
And if the eclipse project file is configured properly it will include the maven nature by default anyways
"Configure > Convert to maven project" I believe
hm maybe this would work. All I remember it that "converting a usual eclipse project to maven" was a huge pain in the ass, and not in the way I like it, 4 years ago
Same
I found the option
I always suggest people to just use IntelliJ instead because, at least from my experience, "it just works"
you can do that without problems?
Really easy
the CE can do that fine too
Ah feck, it's cropped
oh wait, no, you're right - only the macOS version supports "projects in tabs in the same window"
Here better screenshot
yeah I know many people have said to me use IntelliJ but I just don't like the UI
iirc the feature they use is a macos feature
I converted the project to maven let me try right now to add Mojang Mappings
after clicking on it it instantly adds the maven nature, instantly refreshes the project and instantly fetches the dependencies and adds them to the maven dependency container
I am using this feature since like 3 years
NEVER ever have I seen that feature not working
no idea if it's considered "preview" or not
Yeah it made a pom file
all I know is that intelliJ on mac can do this since years
Yeah if you have no pom it will create one
- it will configure it in a way that it does not break your existing install, which is neat
I have Hackintosh and I have IntelliJ there
You can Hackintosh your own computer or laptop
i dont really get this PR - the person who reported this himself shows that it's possible RN
hackintosh is upper shit
the whole purpose of mac is that it "just works"
hackintosh is the opposite of this
2 possibilities:
- get a mac and use it
- don't get a mac and use something else
at some point yes but for me is working good I produce music in my Mac
works too but VMs are slow asf
erm where are you getting your ASIO driver from?
macOS is truly a superior desktop OS if you actually have a mac
if you don't, then mac sucks
they don't
it was automatically installed when I installed my Hackintosh for first time
do you mean 101?
3d graph
let say Player location PL is 0 65 0
we make 2 points
p2 = (xPL = - 50, y PL = - 0, zPL = - 50)
p1 = (xPL = + 50, y PL = - 0 , zPL = + 50)
we more points for no fill or air
p2NoFill = (xPL = - 49, y PL = - 0, zPL = - 49)
p1NoFill = (xPL = + 49, y PL = - 0 , zPL = + 49)
I have dualbooted my PC I have Windows 10 and MacOS soon I think also to add and Linux to it
damn, then they probably shipped this "fake macos" with some coreaudio-compatible lib
yeah the way you make Hackintosh configuration is by adding also some libraries and all of that stuff it's a lot of work
but I can confirm if you're using HDD and install your Hackintosh there don't expect it to be fast
yeah hackintosh defends the whole purpose of macs - which is "software and hardware, made by the same people"
is it possible to upgrade your mac laptop? (i'm not a mac user)
Player.spawnParticle(Particle.BLOCK_DUST, p.getLocation().add(0.0D, 1.0D, 0.0D), 30, Material.REDSTONE_BLOCK.getData());
im trying to do this ^
and it throws
org.bukkit.event.EventException: null```
```Caused by: java.lang.IllegalArgumentException: data should be class org.bukkit.material.MaterialData got class java.lang.Class```
isnt Material.REDSTONE_BLOCK.getData() MaterialData?
yeah ik but I started using Hackintosh because of Final Cut Pro X I just wanted some exclusive Apple software only for Apple products that's why I did this
nah. the point of macOS is "we know where it runs on"
Not really
which is why e.g. macOS can offer you ASIO drivers with 3ms of latency
good luck doing that on windows without a dedidacted audio interface
I don't like Apple for restricting everything
Search in old forum posts. MaterialData is not a thing anymore.
not possible to slap a ssd into there?
is it on 1.12.2?
yeh
Special ssd model + software lock
im using this o nwindows and I still got 20ms of input lag
amp
^
oh cheez
macs ARE EXPENSIVE but only if you compare the raw data like "ghz", "ram" and stuff
same with iPhones
if people would also compare stuff like ASIO soundcards, etc, then they would realize that macs are really not more expensive than "normal" pcs
why is it giving me error?
expensive but their OS is very good when it's Jailbreaked
I mean, just pretend this:
an iMac for 1300€
or
a "normal PC" for 800€ with similar CPU and RAM
(but you also need an audio interface for 400€)
then it's almost the same price. Of course all the "I fucking hate apple" anti-fanboys ignore stuff like that 😄
Apple products are a good first indicator for me to filter out people