Commit Graph

1283 Commits

Author SHA1 Message Date
chylex 5db64b44c9 Add a custom falling block entity that crushes transparent blocks 2018-09-25 07:32:47 +02:00
chylex ee3f11e905 Refactor PosExt to return whether setters succeeded & add extensions 2018-09-25 07:29:17 +02:00
chylex 266ebe6beb Add EntityItemNoBob to simplify rendering items without bobbing 2018-09-24 13:54:37 +02:00
chylex aa1e75f40a Fix BlockPos.offsetUntil extension not using proper offset values 2018-09-24 13:29:07 +02:00
chylex 2f0e108aff Fix AI class names after intellij/kotlin stopped being weird 2018-09-24 13:27:03 +02:00
chylex a7d37192e0 Replace Silverfish and implement custom behavior, attributes, and drops 2018-09-24 10:00:54 +02:00
chylex 6bda95edde Add AI to hide in or spawn from blocks 2018-09-24 09:58:29 +02:00
chylex 36bf702fab Add custom targeting AI (random targeting, swarming multiple targets) 2018-09-24 09:26:23 +02:00
chylex 62d8b6212b Replace javaClass with ::class.java 2018-09-24 07:32:11 +02:00
chylex be4ae5fc9e Add AI utilities (custom base classes, constants, and class aliases) 2018-09-24 05:49:41 +02:00
chylex 5d22d72625 Allow passing class parameter to EntitySelector 2018-09-24 03:55:33 +02:00
chylex 356374f102 Fix formatting of 'return if' statements 2018-09-23 08:05:10 +02:00
chylex ac2acf7a53 Add loot condition for critical kills & simplify entity loot table registration 2018-09-23 05:24:18 +02:00
chylex 4147a71f03 Fix package name (game.entity.utils -> game.entity.util) 2018-09-22 20:38:52 +02:00
chylex e24c1ed4d4 Fix incorrect entity name formatting 2018-09-22 20:31:41 +02:00
chylex f9c9791dff Tweak damage classes (grouped protection modifiers, return if damage succeeded) 2018-09-22 20:16:20 +02:00
chylex 890e4b4f1b Add Dry Vine 2018-09-22 07:38:09 +02:00
chylex 5bc27f7c0e Allow generics in ItemBlock registration code 2018-09-22 07:36:36 +02:00
chylex fa3e3c4038 Update existing code to use new utilities & fix missing Spatial Dash Gem name 2018-09-22 03:53:56 +02:00
chylex fcae53a3c7 Add a Teleporter class to simplify teleportation code 2018-09-22 03:53:02 +02:00
chylex 7544bc454c Replace Chorus Flower, Plant, and Fruit, and implement custom drops and behavior 2018-09-22 01:35:48 +02:00
chylex a39395f70e Add extensions (BlockPos, iterable Facing) & refactor block/item registration code 2018-09-22 01:32:40 +02:00
chylex aef3147d79 Add Humus block w/ special planting and harvesting behavior 2018-09-21 06:33:09 +02:00
chylex 4fff20c966 Minor tweaks (add comments, update existing code to use getMaterial) 2018-09-20 15:08:07 +02:00
chylex a94ca2b2e0 Add Spatial Dash Gem w/ recipe and basic behavior 2018-09-20 15:07:30 +02:00
chylex fb76cb0997 Add a class to simplify storing UUID and retrieving the Entity 2018-09-20 14:56:49 +02:00
chylex 8878370758 Add a few extensions and utilities (math, BlockPos, BlockEditor, NBT) 2018-09-20 11:35:49 +02:00
chylex 67f27568f1 Add Static Core w/ recipe 2018-09-18 19:32:01 +02:00
chylex 0c4ff9c07b Add Energy Oracle w/ animated texture, recipe, and basic behavior 2018-09-18 00:00:55 +02:00
chylex e64719a13c Rewrite class for color transitions to improve queueing 2018-09-17 23:50:46 +02:00
chylex 9a19329e82 Rewrite ItemBaseEnergyUser to allow calculating Energy capacity and usage from NBT 2018-09-16 18:51:51 +02:00
chylex a7b40cfb56 Add ColorTransitionQueue for smooth client-side color transitions 2018-09-16 18:48:06 +02:00
chylex 2737681ab0 Convert HCL chroma and luminance to floats 2018-09-16 13:07:28 +02:00
chylex b43949a5dc Add vector and angle extensions 2018-09-16 13:06:37 +02:00
chylex d7273e2195 Why the hell is Kotlin exposing const vals of private companion objects 2018-09-15 19:39:52 +02:00
chylex 70510c3341 Minor formatting and annotation fixes 2018-09-15 13:08:29 +02:00
chylex b30fdcdf90 Implement WIP Igneous Rock entity burning and block smelting behavior 2018-09-15 13:06:01 +02:00
chylex ac6d8dd9b0 Add BlockPos extensions (new constructor, getFaceShape, offsetUntil) 2018-09-15 13:02:15 +02:00
chylex ace6f1b6b5 Add extension method to generate random vector 2018-09-15 13:01:00 +02:00
chylex 167465faad Add EntitySelector with several utility extension 2018-09-14 20:47:45 +02:00
chylex 134eb4e717 Change FIRE_TYPE damage to use ticks & update Igneous Rock Ore damage properties 2018-09-14 15:52:42 +02:00
chylex 2b799d1df8 Add Entity.setFireTicks extension & update EntityItem.cloneFrom to use AT 2018-09-14 15:51:12 +02:00
chylex 2fb8bef8c9 Add AT for 'fire' and 'pickupDelay' 2018-09-14 15:49:27 +02:00
chylex 4c2feacd29 Stop importing 'T' and fucking up generics, intellij 2018-09-14 13:07:18 +02:00
chylex 32fda32262 Simplify tile entity renderer registration code 2018-09-14 11:26:49 +02:00
chylex 2a5ff0d722 Add item entity for Igneous Rock w/ custom movement, lifespan, and rendering 2018-09-14 11:20:35 +02:00
chylex ec6c103813 Add entity utilities (extension methods and EntityItem renderer with no bobbing) 2018-09-14 11:09:24 +02:00
chylex 56f96c264e Add class with renderer factories 2018-09-14 11:06:54 +02:00
chylex 3088fa00af Move packet constructors and GUI factory to a different package 2018-09-13 16:57:00 +02:00
chylex 80155570e7 Refactor entity registration code 2018-09-13 16:56:27 +02:00