Commit Graph
100 Commits
Author SHA1 Message Date
Christian Knaapen 2bec37ce0a Merge branch 'port/1.19.4' into 1.19.4 2023-12-23 21:21:02 +01:00
Christian Knaapen 0d6613c3ba Merge branch 'port/1.20' into 1.20-alternative 2023-11-18 20:57:39 +01:00
Christian Knaapen 1607aa35ce Fixed not being able to target tile entities when you want to break them (protection off). 2023-11-18 20:53:28 +01:00
Christian Knaapen 4537dd409d Updated version to 3.6 2023-11-18 12:23:14 +01:00
Christian Knaapen 268d6e7a6b Merge branch 'port/1.20' into 1.20-alternative 2023-11-18 11:59:09 +01:00
Christian Knaapen 8570bde282 Fixed not being able to load when the newest version of Create is installed. 2023-10-22 13:38:47 +02:00
Christian Knaapen 5fb2edb97a Trying to fix flywheel dependency some more. 2023-07-18 22:46:09 +02:00
Christian Knaapen 0a9b764d3f Fixed build.gradle referencing older flywheel.
Updated logo, pack version
2023-07-18 21:16:49 +02:00
Christian Knaapen 82ee3eefaa Fixed not being able to load mod with latest Create mod version: Updated Flyweel dependency to 0.6.9. Updated russian translation. 2023-07-07 21:27:35 +02:00
Christian Knaapen f033c261d7 Fixed not being able to place blocks if placement reach is 0, falls back to vanilla reach now. 2023-06-28 16:28:01 +02:00
Christian Knaapen 0dad523e13 Updated icons 2023-06-25 20:00:14 +02:00
Christian Knaapen 9c9e4d04b7 Added power level indicator with extensive tooltip to radial menu. 2023-06-24 22:40:12 +02:00
Christian Knaapen 8288e5db97 Added powerlevel command. Updated reach upgrade behaviour. 2023-06-24 21:13:02 +02:00
Christian Knaapen 9e680fc2dc Added power level items and their loot modifiers. 2023-06-24 16:45:36 +02:00
Christian Knaapen 33033666b9 Renamed reach to power level. Separated reach config for more control.
Added draft icons for elastic hand, muscles and building technique book.
Separated BlockUtilities clientside.
2023-06-11 20:40:39 +02:00
Christian Knaapen 594b5e1c0d Decreasing itemstacks in survival. Disabled replacing blocks in survival. Expanded config options for survival.
Added keybinds to switch to previous build mode, and to switch between disabled and previous.
Updated RandomizerBags to use new placement method in vanilla mode. Removed SurvivalHelper placement methods.
2023-06-11 17:23:01 +02:00
Christian Knaapen 410d154276 Enabled for survival. Calculating missing items. Showing itemstacks at cursor. Showing preview blocks in red.
Increased max blocks placed at once.
Filtering coordinates that are not loaded or outside of world border.
Sending items instead of itemstacks to server.
2023-05-18 18:46:23 +02:00
Christian Knaapen 6046b9f5fa Updated russian translation. 2023-04-21 18:12:03 +02:00
Christian Knaapen a7dd0823e1 Fixed redo and running on server. 2023-02-08 20:34:05 +01:00
Christian Knaapen df1efef63b WIP UndoRedo overhaul continued.
More validation in ServerBlockPlacer.
Added BlockPlacerHelper.
2023-02-05 13:22:41 +01:00
Christian Knaapen 23b8c0c9fc WIP UndoRedo overhaul.
Fixed concurrent modification issue in ServerBlockPlacer.
2023-02-04 00:30:30 +01:00
Christian Knaapen bda0908731 Added server validation: allowInSurvival and whitelist.
Instantly placing blocksets of size 1.
Added server config and moved some config values around.
2023-02-03 21:14:29 +01:00
Christian Knaapen 589059fd44 Better text drawing in radial menu using tooltips.
Hold shift for description.
Fixed keybind text.
2023-02-03 20:00:08 +01:00
Christian Knaapen 07667efe98 Icons for modifier settings and replace modes. Rendering mirror lines and areas in world.
Removed shaders.
2023-02-02 00:45:21 +01:00
Christian Knaapen d4cb0c6858 Radial mirror GUI, and saving modifiers.
Saving modifiers in player persistent data on serverside, and loading when new player joins. This is separate per world.
Modifier GUI panels are a bit larger now, and position fields are wider.
2023-02-01 20:54:48 +01:00
Christian 953a3fe923 Fixed several issues. Mirroring vertically.
Modifier panel up/down buttons updating.
Updating neighbouring blocks when placing blocks.
Removed separate icon files.
2023-01-30 01:37:59 +01:00
Christian 420b06d414 Modifier settings GUI for array and mirror, with header.
New parts in modifiers gui texture. 
Added reordering modifiers.
Replaced all icon rendering with AllIcons class.
Delayed blockset placing in server.
Modifiers now work when buildmode is DISABLED.
Modifiers now work with breaking when buildmode would break a single block.
Modifiers screen renders tooltip on top of everything.
New labeledScrollInput class, extension of Create's ScrollInput.
BlockPreviews ignores config settings to hide itself when placing more than 1 block.
Fixed mirroring wrong horizontal axis.
2023-01-29 23:57:47 +01:00
Christian c46ae91e99 Created icon sheet. 2023-01-28 20:29:15 +01:00
Christian 2a84c7ca41 WIP Continued modifier settings gui overhaul 2023-01-28 18:19:57 +01:00
Christian 98ebc61bb8 WIP Modifier settings gui overhaul 2023-01-28 02:08:19 +01:00
Christian Knaapen ed2609f97e Overhauled modifiers to run clientside only. BuilderChain applies rotation and mirror to blockstates.
Removed ModifierSettingsManager, ModifierSettingsMessage and capabilities.
2023-01-26 02:09:50 +01:00
Christian Knaapen a760565b66 Added gui classes and some textures from Create. 2023-01-24 23:46:45 +01:00
Christian Knaapen 4ea34fc854 Added buttons in radial menu for replace modes. Implemented/fixed replace modes.
Made ModeOptions clientside and UndoRedo serverside.
New config option: only show previews when building, default true.
Overhauled drawOutlinesIfNoBlockInHand, now drawOutlineAtBreakPosition.
Fixed not being able to break blocks.
2023-01-24 02:06:43 +01:00
Christian Knaapen af4ef73375 Using BlockSets. Added filtering and several replace settings.
Overhauled build.gradle based on Create. Added flywheel as jarInJar, no external dependency anymore. New mappings channel from parchment.
Added replace modes: air, air and solid, solid, offhand filtered. Offhand filtering looks in randomizer bag as well.
Protecting tile entities by default.
Other mods can cancel placement through BlockEvent.OnBlockPlaced, such as FTBChunks.
BlockPreviews.drawOutlinesIfNoBlockInHand overhaul.
2023-01-22 20:36:48 +01:00
Christian Knaapen ae75e48c01 Added sounds and renewing randomizer bag at right times.
Added text with instruction under actionbar while placing/breaking.
2023-01-22 03:29:37 +01:00
Christian Knaapen ef687c0658 Overhaul continues continuing.
Saving data and serverside state through persistent player data.
Overhauled block previews.
Removed mode capability.
Added create item and network classes.
Using create BlockHelper to place and break blocks.
2023-01-22 00:11:28 +01:00
Christian Knaapen 617fc82114 Overhaul continues.
Updated build modes, determining blockstates.
Everything compiles and runs.
2023-01-21 01:41:00 +01:00
Christian Knaapen 349c673553 WIP Overhaul
Block calculation only on client, then send to server to place.
BuilderChain system to decouple buildmodes, buildmodifiers and randomizer bag.
2023-01-20 22:26:18 +01:00
Christian Knaapen 91834f9b60 Renamed helper package to utilities. Added systems. Removed direction parameter when placing blocks. 2023-01-18 22:02:19 +01:00
Christian Knaapen cce5e2e28d Several tweaks 2023-01-18 19:28:42 +01:00
Christian Knaapen fe69a81622 Merge branch 'create-utilities' into 1.19 2023-01-17 22:42:12 +01:00
Christian Knaapen 5f27eedde2 Keeping outlines until animation is done. Fix itemstack not found error when undoing in creative.
Disabled create test code.
2023-01-17 22:41:38 +01:00
Christian Knaapen cd3afbbb82 Overhauled block previews to work with ticks. Added place and break animation.
Added DelayedBlockPlacer to play appear animation, then place.
Split BuildConfig into CommonConfig and ClientConfig.
Fixed itemstack not found error in creative.
Added scale and color options to ghost blocks.
2023-01-17 02:30:08 +01:00
Christian Knaapen fa1aadcd86 Using Create outlines and ghost blocks for block previews.
Fixed item names.
2023-01-16 01:53:09 +01:00
Christian Knaapen c2d413fad0 Added missing resources.
Modified mods.toml.
Fixed crash and double rendering of modifiers.
2023-01-15 23:16:22 +01:00
Christian Knaapen 064973b07b Added code from Create. Added Flywheel dependency.
Restructured client and mod events to match create.
Copied accesstransformer. Added Create, CreateClient, ClientEvents and CommonEvents proxies.
2023-01-15 22:21:50 +01:00
Christian Knaapen ea59fef099 Changed reach upgrade recipes. Made radial menu smaller.
Cleaned up radial menu code.
Added russian language.
Tweaked cube icon.
2023-01-14 15:35:43 +01:00
Christian Knaapen 5e6c42d372 Fixed disassembling blocks with the Create Wrench duplicating the item when a build mode other than Normal is used. Disabled break outlines in survival, because breaking multiple blocks in survival is deprecated. 2022-10-25 21:52:14 +02:00
Christian Knaapen 14460c2c01 Fixed keybindings not being registered. 2022-10-24 21:01:19 +02:00
Christian Knaapen 3b31a74780 Merge branch 'master' into 1.19 2022-07-30 10:48:08 +02:00
Christian Knaapen 13ee819439 Merge branch '1.18' 2022-07-30 10:02:13 +02:00
Christian Knaapen 6e22577d61 Updated to work with 1.18.2. 2022-03-19 22:26:59 +01:00
Christian Knaapen 6e7aab673f Fixed crash when previewing lanterns using mirror or radial mirror (blockstate nullpointer). 2022-03-19 21:49:37 +01:00
Christian Knaapen ad2e81c54e Added build mode categories with colored lines. Hiding pyramid/cone/dome buttons for now. Changed icon of normal mode and renamed to disable. 2022-02-13 16:23:22 +01:00
Christian Knaapen 780d5cc972 Removed reach command and functionality to break multiple blocks in survival. 2022-02-13 01:11:02 +01:00
Christian Knaapen a1d30fd752 Added descriptions to radial menu. Added pyramid, cone and dome buttons, icons and placeholder classes. Fixed leftclicking to cancel in survival. 2022-02-12 20:55:29 +01:00
Christian Knaapen 96ffc5c1a5 Fixed multiplayer: cache in Mode/ModifierSettingsManager does not work on server, so it's removed. Also changed some packets to use separate classes for clientside handling, as recommended by the Forge Community Wiki. 2022-01-16 15:55:44 +01:00
Christian Knaapen 5ca826362b Update to 1.18 2022-01-03 13:47:18 +01:00
Christian Knaapen 9ae02b16de Tweaks and cleanup 2021-12-05 17:53:47 +01:00
Christian Knaapen 80e355a806 Revamped the radial menu. Removed some old code. 2021-12-05 14:30:57 +01:00
Christian Knaapen 700a3062f7 Hotfix: Fixed crash when rendering overlay: Invalid shaders/core/dissolve.json: Couldn't compile fragment program. 2021-11-02 01:40:17 +01:00
Christian Knaapen f45d3ffad7 Added golden and diamond randomizer bags (with container, screen, icon and recipe). Updated recipes for reach upgrades. 2021-10-31 16:52:08 +01:00
Christian Knaapen c8cfa515d0 Fixed icons in radial menu. Cleaned up radial menu code a bit. 2021-10-30 21:34:53 +02:00
Christian Knaapen 6760388bc7 Fixed block preview shader dissolve effect. Fixed reach upgrade item icons. 2021-10-30 20:00:47 +02:00
Christian Knaapen 80c475ff54 Fixed block preview shader being glitchy. Now shows block without effects. 2021-10-30 16:32:23 +02:00
Christian Knaapen 5b8fafd9f7 Fixed randomizer bag inventory not opening. 2021-10-16 13:24:33 +02:00
Christian Knaapen 43d0a02faf Moved dissolve shader to Minecraft's new custom shader rendertype. 2021-09-26 19:38:02 +02:00
Christian Knaapen 4b1997e44f [TASK] Fixed rendering modifier lines and areas. Rendering block previews no longer crashes (renders black). 2021-09-26 12:48:36 +02:00
Christian Knaapen 3930844208 Fixed capabilities and setup events. 2021-09-12 16:58:09 +02:00
Christian Knaapen d9df8b0d0e Fixed remaining compiler errors. Using deferred registries now, and cleaned up mods.toml file. 2021-09-12 13:54:25 +02:00
Christian Knaapen 178a4ca4e1 Fixed 200+ compiler errors. 23 left. 2021-09-01 17:37:09 +02:00
Christian Knaapen 2297c38574 WIP Update to 1.17 2021-09-01 14:51:44 +02:00
Christian Knaapen 72d1085a54 Updated mapping to 1.16.5 official names. 2021-09-01 14:13:08 +02:00
Christian Knaapen 47f38d0a58 Bumped version number 2021-05-20 21:11:38 +02:00
Christian Knaapen b41f102f0c Using deferred registry for Randomizer Bag container, which fixes startup crash in 1.16.4 and 1.16.5. 2021-02-03 20:50:09 +01:00
Christian Knaapen a6bb10f06d Version update 2021-01-31 13:38:23 +01:00
Christian Knaapen bc6bebe387 Fixed radial menu icons not rendering. Partially fixed shader. 2020-09-03 20:37:50 +02:00
Christian Knaapen a7961c22a6 Started on GUI for player settings. 2020-08-27 02:24:04 +02:00
Christian Knaapen 96e9e9bb3b Retina display fix 2020-08-26 21:11:51 +02:00
Christian Knaapen 4b22cea9ab Fixes from 1.14 (Fixed freezing when looking up + setting NBT data). 2020-08-25 15:43:15 +02:00
Christian Knaapen d440325b2a Shader works partially 2020-08-25 15:36:43 +02:00
Christian Knaapen 4bab684369 Working on block previews, updated mappings. 2020-08-24 22:35:13 +02:00
Christian Knaapen 804ed4354b Modifier rendering complete (lines and planes) 2020-08-24 18:18:30 +02:00
Christian Knaapen 31f3cf3233 More work on rendering, mostly test code and a custom rendertype. 2020-08-23 19:27:36 +02:00
Christian Knaapen e22ad0c311 Initial 1.15 commit 2020-03-15 15:05:57 +01:00
Christian Knaapen 74d74390d2 Fixed undo/redo crashing. 2020-03-15 13:24:13 +01:00
Christian Knaapen f764fac778 Fixed randomizer bag not opening. Fixed server crash. 2020-03-08 15:10:16 +01:00
Christian Knaapen 42661f884c Removed reach condition for crafting recipes, too much effort to maintain for such a small feature.
Fixed saving modifier settings on closing the gui (don't override onClose() but removed()).
2019-12-23 15:55:32 +01:00
Christian Knaapen df27697ecb Fixed checkbox graphics (copied GuiCheckBox from previous version). Fixed missing icons in radial menu (moved texture stitch event to ModEventHandler). 2019-12-23 15:13:43 +01:00
Christian Knaapen fb622bcf99 Removed logging in network messages. 2019-12-23 13:10:25 +01:00
Christian Knaapen 4e3b1ef2ce Fixed crash when placing ladders. Tweaked circle, cylinder and sphere to have the same outer radius whether they are full or hollow. 2019-12-23 13:08:02 +01:00
Christian Knaapen 83b23fe763 Fixed screens, except containerscreen. Fixed clientproxy and BlockRayTraceResult (cast if type = block). 2019-12-06 15:23:05 +01:00
Christian Knaapen ac429ca64e Initial 1.14 commit. Migrated using xml mapping (in User\.IntelliJIdea2019.3\config\migration). Went through all classes to fix minor issues.
Main tasks left to do: screens, blockBreak animation, ClientProxy/BlockRayTraceResult.
2019-12-04 20:43:40 +01:00
Christian Knaapen 1e51589bde Implemented sphere. Added icons for circle, cylinder, sphere, circle start corner and start center. 2019-12-04 17:36:26 +01:00
Christian Knaapen 6c34b09223 1.13 branch commit, taken from 1.13 repository commit 491113040c350791a403f18752d98c0faa966e6b. For rest of history see repository at https://bitbucket.org/Requios/effortless-building-1.13/src/master/ 2019-12-04 15:40:52 +01:00
Christian Knaapen 3718492495 Branching, version update. 2019-12-04 15:16:21 +01:00
Christian Knaapen 3e5eb4cb30 Fix randomizer bag consuming an extra block in some cases. 2019-11-17 19:48:33 +01:00
Christian Knaapen 2c6b58ddc6 Fixed issue #45: Can't break blocks in survival mode if breakFar=false. 2019-07-09 02:23:35 +02:00
Christian Knaapen 3921a0b70b Fixed issue #43: Duplicating blocks in survival (undo/redo not working in normal mode).
Fixed QuickReplace in normal mode not placing any blocks.
Fixed blockstates sometimes changing on undo/redo.
Now clearing UndoRedo stacks on clientside when changing dimension or logging out.
Breaking mirror/array in survival is now possible again.
Breaking blocks in survival in any buildmode is now possible (previously only in normal mode unless instabreaking was enabled). Still with limited (vanilla) reach.
2019-07-09 02:11:32 +02:00
Christian Knaapen 11cd20c3d3 Fixed QuickReplace in normal mode not placing any blocks. 2019-07-08 22:54:33 +02:00