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
Christian Knaapen
4ce8b1e927
Fixed issue #23 dank/null compat only uses one block at a time regardless of how many are placed.
2019-07-06 13:17:08 +02:00
Christian Knaapen
0485e6c888
README.md created online with Bitbucket
2019-07-03 10:26:25 +00:00
Christian Knaapen
89057356df
Changed MaxBlocksPerAxis and MaxBlocksPlaced formulas. Now allows placing of 60x60 floors and walls with reach upgrade 3 in survival.
2019-06-05 20:02:37 +02:00
Christian Knaapen
b2ee5dbc04
Fast breaking in Normal+ mode in addition to fast building.
...
Fixed issue #36 : Having issues with some features with a Sponge Forge Server.
Messed with shader to try and fix some issues.
2019-05-12 11:52:11 +02:00
Christian Knaapen
91ddd11b38
NormalPlus option: faster building while holding RMB.
...
Wall and floor option: filled or hollow.
Slope floor option: raise along long edge or short edge.
Cube option: filled, hollow or skeleton.
Added icons for normalSpeed, fastSpeed, full, hollow, cubeFull, cubeHollow, cubeSkeleton, shortEdge, longEdge, thickness1, thickness3, thickness5.
2019-04-30 00:10:29 +02:00
Christian Knaapen
e3546f9c42
Added quickReplaceMiningLevel to survivalBalancers in config (issue #14 ).
...
Fixed crash when trying to preview some modded blocks that have special rendering code. Preview will show outline instead. (issue #9 and #35 )
Added build mode options GUI.
2019-04-25 20:34:46 +02:00
Christian Knaapen
00eb42b88a
Added Diagonal Line, Diagonal Wall, Slope Floor and Cube buildmodes.
...
Fixed issue #26 : Crash attempting to place wall with a stone block.
Breaking (in creative) can now be undone as well.
Undo/redo now tries to replace the previous blocks, if you have those blocks in your inventory (issue #33 ).
Fixed undo in survival only undoing blocks that can be broken by hand (issue #29 ).
Fixed being able to place randomizer bag inside itself (and prevented a black hole from creating) (issue #31 ).
Randomizer bags can now be placed inside randomizer bags.
Fixed crash when placing with empty randomizer bag (issue #32 ).
Fixed diagonal wall and slope being 2 blocks thick.
2019-04-10 19:07:41 +02:00
Christian Knaapen
a4e575e733
Added
...
- slight transparancy to block preview.
Changed
- Walls dont try to place at extreme angles anymore.
- Lines will now prefer the axis closest to player if there are multiple good options.
- undo hotkey is now ctrl-z and redo to ctrl-y.
Fixed
- undo not going past 2.
- not being able to cancel placement with leftclicking when out of reach.
- blockstate getting stuck in preview before first rightclick.
2019-03-20 23:47:42 +01:00
Christian Knaapen
25ae75bfb6
Refactored build modes for easier expansion.
...
Allowed buildmodes to intersect with existing blocks 1 block deep.
2019-03-19 16:29:48 +01:00
Christian Knaapen
2cac2be29f
Added undo, redo functionality.
...
All placements use blocks from entire inventory now.
Added block count and dimensions in actionbar when placing/breaking blocks.
Added undo, redo, replace and 'open modifier settings' icons.
Fixed not being able to break blocks in creative when starting the selection on a tallgrass (instabreaking) block.
2019-03-15 20:46:47 +01:00
Christian Knaapen
2d45b1e574
Fixed issue #21 : "Placement Exceeds Your Reach" message displays when a block is placed in survival with 0 range upgrades.
...
Fixed issue #22 : Sometimes two blocks are placed at once when in regular build mode.
Fixed mouse clicks in Modifier Settings sometimes being in the wrong place.
Fixed typing in multiple text fields at once.
Added diagonal line, wall, slope floor and cube icons.
Added undo, redo, replace and 'open modifier settings' buttons. (Only last 2 work for now).
2019-02-28 17:46:38 +01:00
Christian Knaapen
4cd2973264
Fixed issue #16 and #17 : breaking blocks with Tinkers Hammer and Veinminer.
...
Fixed issue #19 : placing lilypads results in a crash.
2019-02-22 21:09:28 +01:00
Christian Knaapen
9a3fef218e
Fixed having to click after breaking.
...
Outlines now adhere to bounding boxes.
Fixed not being able to place when holding sneak.
Repeated placing when holding is now possible in NormalPlus mode.
Repeated breaking when holding now only happens in NormalPlus mode.
Repeated placing and breaking is now possible when not moving the mouse.
Fixed not being able to break when clicking in air.
Sounds no longer depend on distance to player, all are in category BLOCKS, and breaking sound is played when appropriate when previewing.
2019-02-22 16:35:19 +01:00
Christian Knaapen
5328ae342d
Fixed crash when right-clicking in mid-air in build mode Normal+.
2019-02-19 00:42:45 +01:00
Christian Knaapen
2986b11983
Disabled shader reload key.
...
Disabled build modes when reach is 0.
Removed incomplete build mode icons.
Removed sound event (unused).
2019-02-18 20:29:52 +01:00
Christian Knaapen
be865d273c
Breaking shows preview (breaking only in creative).
...
Build mode cancels when opposite mouse button is pressed (left button when placing, right button when breaking).
Simple shader when placing more than 1500 blocks (or when useShaders is false).
Added axis limits in addition to total block limit.
Fixed placing on self (and being pushed).
Fixed issue #15 silk touch, shearing leaves, dropping bed etc by using Block#harvestBlock (items dont drop directly to inventory anymore).
Fixed randomizerbag not randomizing in buildmodes.
2019-02-14 02:02:22 +01:00
Christian Knaapen
e1c23a5bec
Fixed dissolve shader sometimes applying to wrong blocks (server and client are synced now, no more message to render).
...
Fixed build modes on server clicking twice.
Changing config ingame is now possible.
2019-02-12 16:06:54 +01:00
Christian Knaapen
a5e5e7240a
Added Chisels and Bits compatibility (no double radial menu).
...
Added preliminary Architecturecraft compatibility (places right type, not rotation yet).
2019-02-11 17:23:57 +01:00
Christian Knaapen
1aa1401450
Moved radial menu to RenderHandler.
...
Resolved issue #12 and #13 .
(And #10 with pull request.)
2019-02-10 19:27:53 +01:00
Christian Knaapen
009f385054
Added shader on placement. Added sound on drag (block placement sound).
...
Added line.
Highlight currently selected in radial menu (with colors).
Fixed scaling of icons.
Refactored RenderHandler into 3 classes and SurvivalHelper.
Added classes and icons for diagonal line, diagonal wall, slope floor and cube.
2019-02-08 03:26:41 +01:00
Christian Knaapen
73c55578e7
More shader stuff. Shader has world position through vertex shader and blockpos.
...
Dissolve from firstpos to secondpos with some randomness.
Blue pulse with diagonal highlights.
2019-02-07 00:09:12 +01:00
Christian Knaapen
e67849dd0b
Messing with shader.
2019-02-06 19:56:37 +01:00
Christian Knaapen
7321d1af01
Updated forge.
...
Tweaked shader.
Cancel build mode with esc, e, leftclick.
Added breaking blocks with buildmodes.
2019-02-06 03:53:25 +01:00
Christian Knaapen
dfc2b11e94
Shader with dissolve and blue pulse on block previews.
...
Floor mode.
Block preview sorting based on player distance.
2019-02-06 00:09:11 +01:00
Christian Knaapen
ba82449632
Implemented BuildModes and Wall.
...
Renamed buildSettings to modifierSettings etc.
Added mode capability, message, settings.
Added icons for normal, normal+, line, wall and floor.
2019-02-05 02:30:23 +01:00
Christian Knaapen
ae4650ba35
Added radial menu with build modes.
...
Moved extended gui elements to own package.
2019-01-28 21:02:07 +01:00
Christian Knaapen
da0295538e
Moved buildmodifier classes to buildmodifier package.
2019-01-28 17:23:13 +01:00
Christian Knaapen
d07751a01f
Fixed issue #8 Craft when activating the menu.
...
Fixed being able to mine bedrock. Whoops.
Fixed grass and flowers instabreaking other blocks.
2019-01-11 03:01:04 +01:00
Christian Knaapen
f3ad36e6a6
Fixed rotation and various small bugs.
2019-01-10 17:21:56 +01:00
Christian Knaapen
aeb4df6156
Added rotation to blocks placed with radial mirror.
...
Added alternative mode where every other slice of the radial mirror is mirrored.
Fixed issue #6 Crash when creating new world after first launch.
2019-01-08 18:53:12 +01:00
Christian Knaapen
8230f93b0c
Added radial mirror with position, slices, and radius. With GUI, capability and network.
...
Optimized imports.
2019-01-04 17:06:58 +01:00
Christian Knaapen
3d3a90e76f
Message when using reach upgrades in creative.
...
Sound when placing blocks far away.
2019-01-02 17:05:51 +01:00
Christian Knaapen
36a698cd95
Increased range for placing and breaking blocks (breaking at range only in creative).
...
Added reach upgrade items.
Added reach command (usage: /reach <level>).
2018-12-23 22:15:05 +01:00