Commit Graph
187 Commits
Author SHA1 Message Date
Christian Knaapen 8ed699b30e Update flywheel version 2024-10-12 13:52:31 +02:00
Christian Knaapen 34dc492d3e Version update 2024-10-12 13:05:45 +02:00
Christian Knaapen 1d833b106f Merge remote-tracking branch 'jarvabb/1.20-alternative' into 1.20-alternative 2024-10-12 13:05:31 +02:00
Jarva 1c0220548c fix: wrap runnable to fix class loading issues 2024-01-16 11:20:39 +00:00
Christian Knaapen e16b4e8489 Updated version 2023-12-23 21:46:13 +01:00
Christian Knaapen 3f588d917a Merge remote-tracking branch 'bysco/1.20-powercap' into 1.20-alternative 2023-12-23 21:45:29 +01:00
Christian Knaapen 582020177c Updated version 2023-12-23 21:41:15 +01:00
Christian Knaapen 22670b6b4a Merge remote-tracking branch 'bysco/port/1.20' into 1.20-alternative 2023-12-23 21:39:34 +01:00
Mrbysco 08c3b4b42d Switch Power Level to a player capability 2023-11-21 20:22:20 +01:00
Mrbysco 28d47a0cbb Fix textures not being recognized
Mojang no longer automatically loads textures in `textures/items` as they now load textures from `textures/item`
2023-11-21 02:48:06 +01:00
Mrbysco 00cb48b929 Fix loot modifiers
altenative was renamed to any_of
2023-11-21 02:46:50 +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
Mrbysco b75cfc45d8 Fix missing calls 2023-11-18 20:49:10 +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
Mrbysco ca44da71e7 Fresh port to 1.20
Note: I changed `BuildModeCategoryEnum` to actually use the Color class instead of using Vector4f. Same counts for `RadialMenu`
2023-11-18 00:38:56 +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