Commit Graph
100 Commits
Author SHA1 Message Date
dfsek 8db263e19b fix EOF issues 2020-12-27 20:55:01 -07:00
dfsek 7cf34dbd8a allow single statement loops 2020-12-27 20:52:35 -07:00
dfsek 283495832f Add else if and else 2020-12-27 20:42:42 -07:00
dfsek f6312a01d7 reimplement locate command 2020-12-27 00:27:58 -07:00
dfsek c7d43142f2 remove structure bound 2020-12-26 22:43:51 -07:00
dfsek c4da858095 reimplement structure probability collections 2020-12-26 22:22:17 -07:00
dfsek 5ff47bad18 improve cache configs 2020-12-26 21:36:15 -07:00
dfsek 18819ae53d fabric implementations 2020-12-26 03:06:25 -07:00
dfsek ddc2cea427 implement all Bukkit block data 2020-12-26 01:38:54 -07:00
dfsek bc17597923 Implement structure caching mechanism 2020-12-25 22:39:52 -07:00
dfsek 49f3c16a38 Implement BukkitOrientable 2020-12-25 21:47:56 -07:00
dfsek 5db1494341 implement script structures with chunkification(tm) 2020-12-25 20:43:41 -07:00
dfsek cccb706ad5 pass random to structure gen 2020-12-25 20:22:19 -07:00
dfsek c6d7d1a947 implement PullFunction 2020-12-25 17:46:29 -07:00
dfsek 9685dbbb9d Fix IntermediateBuffer 2020-12-25 17:46:22 -07:00
dfsek a18d459343 implement BukkitDirectional and BukkitRotatable 2020-12-25 17:06:23 -07:00
dfsek 4b5013231c implement Marks 2020-12-25 15:26:58 -07:00
dfsek a04bcf5b23 fix bukkit slab implementation 2020-12-25 13:06:15 -07:00
dfsek 1c579e8e5b improve ParseException 2020-12-25 12:08:22 -07:00
dfsek bbab6e39ff enforce scope definitions in for loop declarations 2020-12-25 02:51:52 -07:00
dfsek 2e68a0db5d parser cleanup 2020-12-25 02:40:29 -07:00
dfsek abc59901c1 Add for loops 2020-12-25 00:12:28 -07:00
dfsek aaa0c99524 Add FailKeyword 2020-12-24 23:10:14 -07:00
dfsek 0780539326 reimplement sapling override 2020-12-24 14:58:53 -07:00
dfsek c8434e73ef implement robust equals and hashcode in Vector3 2020-12-24 02:49:27 -07:00
dfsek 058ec9f24d store structures in Buffer 2020-12-24 02:40:28 -07:00
dfsek 7127943298 remove chunk apply method 2020-12-24 02:17:46 -07:00
dfsek 9adc03d56b Reimplement structure trees with TerraScripts 2020-12-24 02:06:19 -07:00
dfsek 5d6b060dee Add math functions 2020-12-24 02:06:05 -07:00
dfsek fc82eff93b add remapShadedJar task to Fabric 2020-12-23 23:03:42 -07:00
dfsek 1c316e52a9 Exporting 2020-12-23 23:02:58 -07:00
dfsek 76afd54d3c use epsilon for numeric equals 2020-12-23 15:19:33 -07:00
dfsek 7fe7dac57a implement RecursionsFunction 2020-12-23 15:09:42 -07:00
dfsek 63e59692e2 Implement StructureFunction and temp RandomFunction 2020-12-23 03:08:31 -07:00
dfsek 405a96034c Load structure scripts into registry 2020-12-23 02:35:07 -07:00
dfsek e9dc7428b8 document new tokens 2020-12-23 01:43:53 -07:00
dfsek b4342a36aa implement break, return, and continue 2020-12-23 01:37:51 -07:00
dfsek 1158ae958a refactor rotations, reimplement RotationUtil 2020-12-22 22:48:31 -07:00
dfsek 062c9b5efb Pass rotation to Item#apply 2020-12-22 22:41:51 -07:00
dfsek 66e8647517 rework loaders to allow traversing filenames 2020-12-22 20:11:01 -07:00
dfsek f47b975fe7 implement block & check functions 2020-12-22 17:32:17 -07:00
dfsek e5d9ae62fa more cleanup 2020-12-22 15:13:01 -07:00
dfsek 9c1eab04b9 Cleanup & fix grouping related operator precedence issues 2020-12-22 14:49:58 -07:00
dfsek 72d4370878 fix various tokenizer issues 2020-12-22 02:58:42 -07:00
dfsek 88da796923 Implement variable reassignment and while loops 2020-12-22 02:39:53 -07:00
dfsek 2ab4ed871c check if var/function is already defined in scope. 2020-12-22 02:20:46 -07:00
dfsek 0ecd275c56 Fix comment whitespace tokenizer issues 2020-12-22 02:13:35 -07:00
dfsek 4f40bcbe5e Implement variables 2020-12-22 02:00:40 -07:00
dfsek cb7b3de48c better type checking for function args 2020-12-21 22:30:02 -07:00
dfsek 13fbb9bf54 Implement boolean binary operations AND and OR 2020-12-21 21:08:43 -07:00
dfsek be8ed913e5 allow grouping binary operations 2020-12-21 20:55:51 -07:00
dfsek fe17683d27 cleanup, refactor, remove logging 2020-12-21 20:36:48 -07:00
dfsek 7d72a91bb7 implement comparison operators 2020-12-21 20:31:57 -07:00
dfsek 7a75f20a2c implement operator precedence 2020-12-21 16:22:08 -07:00
dfsek 8a7499d874 binary operations work now 2020-12-21 02:01:42 -07:00
dfsek adc5f0becc more parsing reworks 2020-12-21 01:28:40 -07:00
dfsek 6d710ca442 set up framework for binary operations 2020-12-20 16:46:44 -07:00
dfsek 7cbf8dffbe parse things in a less dumb way 2020-12-20 14:04:33 -07:00
dfsek e1cb46c8fd basic structure implementation 2020-12-20 02:21:29 -07:00
dfsek 8b97d74e0a allow constant expressions in if statements 2020-12-20 01:50:41 -07:00
dfsek c4f927e72c account for dangling opening/closing brace 2020-12-20 01:43:50 -07:00
dfsek 2880c29f8c if statements with code blocks 2020-12-20 01:08:37 -07:00
dfsek 474962db39 add escape character to parser string literals 2020-12-19 21:03:14 -07:00
dfsek f970838ecf Working parser/tokenizer 2020-12-19 20:04:58 -07:00
dfsek 29e2746e72 working tokenizer 2020-12-19 01:50:56 -07:00
dfsek 1ce884d1c7 Merge branch 'structure-rewrite' into agnostic
# Conflicts:
#	common/src/test/java/structure/LookaheadTest.java
#	platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/structure/v2/Function.java
#	platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/structure/v2/Parser.java
#	platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/structure/v2/tokenizer/Char.java
#	platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/structure/v2/tokenizer/Lookahead.java
#	platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/structure/v2/tokenizer/Position.java
#	platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/structure/v2/tokenizer/Token.java
#	platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/structure/v2/tokenizer/Tokenizer.java
#	platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/structure/v2/tokenizer/Tokens.java
#	platforms/bukkit/src/main/java/com/dfsek/terra/bukkit/command/structure/v2/tokenizer/exceptions/TokenizerException.java
2020-12-18 20:50:41 -07:00
dfsek 24697ae60f Refactor API 2020-12-18 19:57:42 -07:00
dfsek 53c554f25c Gaea is gone 2020-12-18 19:46:19 -07:00
dfsek d1af8c1224 Begin absorbing Gaea into Terra 2020-12-18 19:36:27 -07:00
dfsek 9ac098f1ca Fix fractal trees 2020-12-18 16:55:36 -07:00
dfsek 300fe10da5 Cleanup 2020-12-18 15:44:16 -07:00
dfsek b33c8d6b77 fix population order 2020-12-18 15:35:09 -07:00
dfsek b06a755154 Trees work on Fabric now 2020-12-18 15:31:12 -07:00
dfsek 817b962c4a Move all pops to feature 2020-12-18 15:13:59 -07:00
dfsek 56c52e860d Version bump (releasing minor config update to fix config issues) 2020-12-18 02:27:19 -07:00
dfsek fd89c1128a fix order of population in FabricChunkGeneratorWrapper 2020-12-18 02:07:20 -07:00
dfsek beec1a97d4 Implement flora as a Feature on Fabric 2020-12-16 02:38:48 -07:00
dfsek b955e3d9b9 Register Fabric biomes as actual modded biomes. 2020-12-16 01:07:04 -07:00
dfsek b12079694c Add Validator API & cleanup Fabric 2020-12-16 00:26:05 -07:00
dfsek 7a83584317 Fix minor build issues 2020-12-15 11:02:14 -07:00
dfsek 1c4cc090af Merge remote-tracking branch 'origin/agnostic' into agnostic 2020-12-15 02:37:46 -07:00
dfsek ae21b8305a Begin work on not jank world implementation 2020-12-15 02:37:21 -07:00
dfsek 6f6767ab86 Trees no longer crash fabric. they are incredibly dumb on fabric so i will do them later 2020-12-15 02:03:54 -07:00
dfsek ee35c371ec Trees on Bukkit 2020-12-14 23:53:01 -07:00
dfsek 4d59c27a13 Reimplement fractal trees 2020-12-14 22:51:45 -07:00
dfsek 0dc0742e81 Implement Transformer API 2020-12-14 22:51:25 -07:00
dfsek 3b0abb7a20 Add access widener to mod.json 2020-12-14 18:19:34 -07:00
dfsek 42231cf319 fabric slabs & MultipleFacing 2020-12-14 17:09:47 -07:00
dfsek 11c8025ef4 Fix Fabric carver cache flushing 2020-12-14 16:33:19 -07:00
dfsek eda976bb5d Fix Fabric main config loading 2020-12-14 16:33:08 -07:00
dfsek 49c445d0f7 Implement some BlockData stuff on Fabric, make stuff less jank 2020-12-14 15:38:40 -07:00
dfsek 875e1feafe population order/invocation is now per-platform 2020-12-14 12:44:16 -07:00
dfsek 5f5504100b Codec stuff 2020-12-14 12:28:57 -07:00
dfsek 2215c8a98c fix mem leak & increase perf 2020-12-14 02:19:18 -07:00
dfsek ebe887def0 Remove unused constructor param from FabricBlock 2020-12-14 02:00:42 -07:00
dfsek 1dded41311 Flora and ores on Fabric 2020-12-14 01:27:28 -07:00
dfsek 6db4755109 Fix biome gen 2020-12-13 23:13:02 -07:00
dfsek a01dee9a27 Custom carving implemented in Fabric 2020-12-13 22:40:57 -07:00
dfsek 582bde8d0e register features 2020-12-13 21:16:33 -07:00
dfsek f609727afb Vanilla biome setting (sort of) works on Fabric now 2020-12-13 17:18:19 -07:00