Nameless-123
a1b6ef204a
moved everything to switch statement
...
It all works now
2020-04-24 16:19:35 +02:00
Nameless-123
33f6b90839
I removed the ++i statement and like crashed the world!
2020-04-24 14:12:59 +02:00
Nameless-123
6146ff8ed8
Let's see if this works
2020-04-24 13:36:41 +02:00
Nameless-123
c2e09d48e5
improved definitions
...
COs messing about
2020-04-24 11:12:26 +02:00
Nameless-123
890617c8ba
Added error messages
...
cos no throw statements available
2020-04-22 11:11:20 +02:00
Nameless-123
0ee96174b8
apparently you can't input 0
...
otherwise its fine
2020-04-22 10:56:14 +02:00
Nameless-123
0fd6f559ac
undoingn egyptian braces
...
seriously gnemobn, what do you have against them?
2020-04-22 10:38:07 +02:00
Nameless-123
e8c8e68333
moved it all to ints
...
less intuitive but code syntax is much better!
2020-04-22 10:34:42 +02:00
Nameless-123
699d0abc52
broke into 2 lines
2020-04-22 09:54:49 +02:00
Nameless-123
fcf2a6775c
Added square based pyramid
...
also edited command tree to make it more understandable. Cones are, after all, simply circular-based pyramids. I may or may not add octagons in the future.
2020-04-20 21:29:19 +02:00
Nameless-123
2f78068875
figured out why it wasnt showing proper affected blocks
2020-04-20 17:41:45 +02:00
Nameless-123
582f39b98d
Renamed drawCone and added further steps toward pyramids
2020-04-20 17:41:21 +02:00
Nameless-123
36797a79e2
Made cone actually return affected blocks
...
I forgot for some reason
2020-04-20 17:22:56 +02:00
Nameless-123
94a0f55840
undid eqyptian braces
...
I hope you're happy now
https://github.com/gnembon/fabric-carpet/pull/232#discussion_r411022932
2020-04-20 17:20:15 +02:00
Nameless-123
e0828513fa
Added pyramid literal
...
FIrst step towards adding other shape pyramids
2020-04-20 17:00:51 +02:00
Nameless-123
fe0ecccd4f
Made drawCone WAY more fficient and code WAY less messy
2020-04-20 13:44:49 +02:00
Nameless-123
aa94ec0ebc
forgot to remove testing stuff
...
I knew this would happen
2020-04-20 11:54:52 +02:00
Nameless-123
7783f60f64
This should be about 300% faster
...
I completely revamped it, only iterate over necessary blocks, and it returns correct value
2020-04-20 11:52:07 +02:00
Nameless-123
571e5722a8
added wiki definition to ingame definition
...
cos y not
2020-04-19 10:51:15 +02:00
Nameless-123
4a02bb1572
The stupid way
...
At least it works
2020-04-19 10:33:42 +02:00
Nameless-123
b16c0abc54
I tried this way
...
But it wont detect strings ofr some reason!?
2020-04-19 10:23:53 +02:00
Nameless-123
771fc8a437
added specific return statements
...
I dont even know why
2020-04-19 10:03:11 +02:00
Nameless-123
40dcd31bb0
added direction dtection
...
and command running based on that
2020-04-19 10:01:30 +02:00
Nameless-123
5aea313479
Added drawConex and drawConez methods
...
But they're not used yet
2020-04-19 09:36:15 +02:00
Nameless-123
25e8543a11
changing name to drawConey
...
So later I can add drawConex and draw Conez methods
2020-04-19 09:32:41 +02:00
Nameless-123
6d5c7ed3bd
Ok, NOW it works!
2020-04-19 09:29:41 +02:00
Nameless-123
432c2a8394
Now it works
...
But if it is pointing up, it has a flat top
2020-04-19 09:23:47 +02:00
Nameless-123
776eec05b2
I think that fixed it
...
But now its conctantly crashing
2020-04-19 09:10:32 +02:00
Nameless-123
11f1ce61b7
Added cone
...
y not
2020-04-18 22:23:34 +02:00
Nameless-123
fe9ad4b297
I hope this works
...
I copy pasted above code and edited a bit to see if it works
(Btw, that is basically how I did #224 )
2020-04-18 18:31:18 +02:00
Nameless-123
08e42523ba
I thinks this helped?
2020-04-18 14:12:26 +02:00
Nameless-123
dab41bb0ce
FIxed some stuff
...
Still borken asf, but im not sure how to fix
2020-04-18 14:07:24 +02:00
Nameless-123
67e3ed3229
Added draw command
2020-04-18 13:49:07 +02:00