Tags: SALLYPEMDAS/dragonfly
Tags
v1.16.200 support (df-mc#101) * Some small changes for 1.16.100. Joining is possible, but no proper items/blocks yet. * Large scale block related changes, partially to cater for 1.16.100 stuff. * Removed most EncodeBlock and Hash methods and moved properties to RegisterBlock method (df-mc#95) * 1.16.200/100 support (df-mc#98) * Implemented custom join/leave messages (df-mc#92) * implement evaporate particle * is this serious right now * implement custom join/leave messages * Requested changes 1 * woops * Requested changes 2 Removed the getters for join/leave messages * I am dumb part 2 * I am dumb part 3 Seriously, how many things is this gonna check? * Added CameraShake and a TODO for entity animation * Added SendCameraShake function for the player session * Updated to Twisted's gophertunnel for 1.16.200 (temporarily) and switch ItemStackRequest to use status codes instead of booleans. * Updated to Twisted's gophertunnel for 1.16.200 (temporarily) * Add comment to go.mod * Use gophertunnel 1.10.0 * remove comment * Use actual 1.16.200 release * Use new air runtime ID * Handle adventure settings and read experiments from level data * Send item entries in game data (thanks Twisted) * Fixed go.mod issues * Fixed redundant camerashake function inside of player.go * Removed unused 'all...' functions * Removed unused 'all...' functions * Load item entries on start and introduce some basic methods to help assist retrieving the old ID and runtime ID * Remove AirRuntimeID being assigned to 134 because it is overridden anyways (we left this in accidentally when testing) * Added vanilla.go for vanilla world generation * Basis of perlin noise generator * small changes * Added grass and tree trunk generation * Fixed crashing * Changes to the vanilla gen * Added tree chances to spawn * Changed the Grasslevel * Reworked * Added better tree generation odds * Fixed stupid issues * Use a seeded rand * Use an itemEntry instead of bitwise operations * Added more realistic forest generation and the ability to configure how often a tree should spawn REALISTICALLY * Finished most item runtime ID translation, inventory now works. An update to gophertunnel is required. * Added logs to register.go * Use latest gophertunnel (will break inventory once again) * move itemJsonEntry into loadItemEntries * woops typo * woops again * Added chests, wood, and colored blocks to block registry Added AllDirection() method to direction.go for ease of registering blocks * Fix logs & planks, still need to implement warped and crimson types * Revert accidental merge * fix my fuck up lmao * Implement tall grass * Translate item entries * Translate inventory transaction * Remove inventory transaction translator because it doesn't seem to make a difference * Fix formatting * Fix some item and block namespaces * Reimplement concrete powder block * Implement leaves * Temp hack for the rapid blinking issue * Fix grass spreading * Fix eatable wither skeleton spawn egg * Implemented fire * Registered Fire, Beetroot, Carrot, cake, cocoa beans, and bone block * Use new creative items * Fix Civ's fuck up * Fix Civ's fuck up * More of Civ's fuck up * BLINKING DISEASE HAS BEEN CURED * Registered Farmland, Kelp, Quartz, pumpkins, and lanterns * Removed Direction field inside for Melon Seeds as it wasn't used and register melon stem block * Final Wheat, Basalt, nether wart, fence, pumpkin, carved pumpkin, and polished basalt registration * Added TODOs for doors and warped crimson wood blocks * Added carved field inside of pumpkin registration and TODO for pumpkin direction.go changed order of registration in AllDirections function in direction.go to coorelate more with real usages * some light changes * Fixed the endless light calculation (or so I hope) * Update key version * remove go perlin (where'd that even come from lmao) * remove from go sum as well * Move air runtime ID to world internal * Base runtime ID translation off of names rather then old IDs (should help performance as well) * Fix potions * Fixed all of the creative items, fuck you Nukkit and go die in a hole * woopsies * Added AllAxis() * Removed old registration method Register functions for Basalt, Bedrock, Beetroot Seeds, Bone Block, Cake, Carpet, Carrot, and Chest * removed old registration for bone block * Revert "Removed unused 'all...' functions" This reverts commit e8ab89d * Revert "Removed unused 'all...' functions" This reverts commit 27e17a5 * fix melon seeds * Moved register methods into register.go * cocoaBeans and concrete for new register system * Mass block changes: basically all blocks work now, still have a few issues to be solved: fire isn't implemented, chests aren't fixed quite yet, some crops won't work, and items like dye & water buckets don't match the current identifier to ID system we have going, so I'll have to add on a meta field tomorrow. * Use meta field for item entries, which should fix bone meal & water buckets. * small fix * Shrink a lot of un-needed code and implement a canEncode interface to allow an easy way to encode a very broad selection of blocks * Fix comment for AllFireTypes * Implement kelp, potatoes, and wheat stems * Remove old comment * Some changes to Melon Stem encoding * Implement all quartz blocks * Register coral blocks * Remove all faces since it's unused * Remove some stuff that really shouldn't have been changed * Remove some stuff that really shouldn't have been changed * Fix melon seeds * Fix fire * oopsies * Implement nether wart * Small code cleanup * Fix melon slices * Make chests work * Add an "air" field into the Chunk struct * Add an "air" field into the SubChunk struct * Use Chunk and SubChunk air runtime ID instead of the world internal ID * Rename AllAxis to AllAxes & add documentation Co-authored-by: AndreasHGK <[email protected]> Co-authored-by: JustTal <[email protected]> Co-authored-by: mmm545 <[email protected]> Co-authored-by: CiviledCode <[email protected]> Co-authored-by: AndreasHGK <[email protected]> Co-authored-by: JustTal <[email protected]>