I just made a template and I always name my package the same as the main file.
Well that was the mistake they had the same name but one was capitalized.
I just made a template and I always name my package the same as the main file.
Well that was the mistake they had the same name but one was capitalized.
From the JAVA version forums Getting Started. Create a Plugin
(the path to your main class, including the full package name)
name: MyPlugin
main: net.mypackage.myplugin.MyPlugin
version: 1.0.0
author: <your name>
team: <your team, optional>
description: "Put your description here"
license: MIT
website: http://www.myhomepage.com
Thanks for all your help and suggestions. It did help me clean up some of the code. I am glad NetBeans saves history as I almost deleted the first routine Method that looked like it would work but frustrated me because of what turns out a typo in the .YML file.
OMG So many issues. I kept looking for a stupid syntax error and it was the .yml file after all. You look at something and look at it and dont see it.
The .yml file was written with the main and the capitalization reversed the MAIN line between the package and the path. I am sure it was the same problem with the original method I was trying that really I liked better.
Guys please dont laugh too hard..
I should put a warning on this thread to not be drinking coffee when you read it. You might spit it all over you screen when you read this.
Here is a stupid question. In the YML file does it matter if the file name is first letter capitalized.lowercase or the directory is on the server? Seems I have a few that have them reversed but they seem to work?
I appreciate that. I do have discord. But for now i am going to try this thing. I had to retype the if(def.type == Npcs.Type.Mount) line to get it to stop flagging me. Funny the old routine needed one more import than the new one to get the flags to go away.
I have already converted several of my routines and added a new one so I am not totally lost on what it should look like but this one is killing me.
It stops all the routines from working and it will not work on its own. Hopefully this clean build will get rid of whatever got transferred over. I will DM you if we i decide to take you up on Discord screen share.
I am just going to start a new project and try to copy paste the code. Been fighting this for days now. If I worked for me as a programmer I would fire me.
I mean it stops the other routines from working. I had a weird thing I did not understand. In the register listener () I had a red this. When I retyped it it turned blue. Not sure what that was in netbeans.
OK great I got those green indicators and it just obscured my vision of the part completely. So it would be great to toggle them off and on. (actually I have never used the green indicators but they came on inexplicably last night when I was working on something.
I did have to blue print what I as doing and scale it down to place it and stop if from looking out of place so thanks for confirming that technique.
yes it works. did you add the @EventMethod above the method?
yes I did. it stops my other routines from working. Anyway I am trying a different routine and avoiding this method. Been fighting that one to long
Just for discussion now, did you when you got it to work ---- public void OnNpcAddSaddle(NpcAddSaddleEvent evt) { --- to capture who is doing it and to what npc?
Ahhh, okay got it. lol
Yeah the chess and checkers ones I was able to use the same gameboard and just recolor / retexture it, but the Reversi and Go ones....nope those little buggers wanted to difficult. lol Oh well, it's good practice.
So how do you, One,see the dam little's to align them? I cannot seem to get close enough and have to keep switching back and forth in views to assure lining them up. They look lined up then I switch positions and realize that it is a 2d optic and it is not lined up.
Second, how to you get the smalls lined up because the 0.01 resolution depends on where the part is placed to move it and get it lined up? I typically start with a 'snap' so it aligns then move it.
Lions attacking Elephants and Zebra would be an completely immersive affect.
Unfortunately this couldn't be achieved with flowing water... but if it's just about building, there will be water blocks in the future, as mentioned by CursedXistence They will be fully static of course, but the game will recognize them as water. Like any other block, they will be fully resizable and could be freely placed, allowing you to create very detailed bodies of water.
Just making static water for pretty scenery seems to be already in the game, at least for my requirements. What I would love to see is a way to actually create a source and move water. Of course having physics or power to move things would be wonderful but I know much more intense. Waves on a beach or large lake would be a dream target. Water flowing to a built fountain from pipes (hollow cylinders) and aqueducts and then through a gutter and sewer to the sea, an equally interesting pipe dream .
Actually when I saw the hollow cylinders and hollow elbows I thought this was a feature or a planned one.
I am trying to detect a saddle being put on a horse and seems I cannot get it to run. Any help on capturing this event would be helpful.
HUH?
If you go to a lawyer for say a will, uncontested mutual consent divorce or something relatively simple, they could easily create one from the thousands they have done and just put your name on it but they won't. The personal lawyer will start from scratch with a new piece of paper, spend time researching and create a new document each and every time as if one never existed.
Yeah that would have made it so much easier, but nope had to do the Go set from scratch.
You should be a lawyer.
After you asked about Go I ended up jumping in the game and making a Go set.
LOL well you had most of it there anyway.
Display MoreNo it's Reversi or Othello is a variation of Reversi that uses the same board and pieces.
Reversi / Othello uses an 8 x 8 square board.
Go is played on the intersections, not the squares and is an 18 x 18 square (19 x 19 intersection) board
Go pieces are also single sided (one color) and much smaller.
Never played either of them but have played both Go and Chinese Chess. I know just recently a computer defeated the world champion in Go for the first time and made another game useless making inferior humans exclude AI in order to compete.
Is that GO set?
Ya I have been looking at that and thanks for the pointers. My screen is a bit different. Mostly it is in getting the correct command/method within the API, I find starting at package then going to class then seeing the methods I can use. Right now I am making a simple "method" and getting that I have to declare it abstract and not override plugin. It compiled but we will see, I am sure it will generate a crash on the server. I will let you know. ... It didnt like that. It did not crash but stopped my other plugins from working. It also did not execute. Back to the staring contest with the screen.
3Darray? Hell, I had to look up API the other day when I realized that I used it in a sentence and did not know exactly the full acronym meaning. Sort of like saying "Do we know what they are doing in the GOM on this issue?" to someone that was not raised in the oil business; (Gulf of Mexico). Sometimes you can understand and execute the mechanics but fail the final exam because you failed to study nor understand the definitions.
One of my biggest issue right now is figuring out exactly which API package to import to get my code to stop flagging me in NetBeans.
Communication requires only that two people understand the meaning of all the spoken or written words or come to a similar understanding through head nods, facial expressions, hand movements and more recently emojis .