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.
1.0
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
Christian Knaapen
13d43a0265
Added breaking animation to all breakable blocks.
...
Smart preview: only blocks that can be (re)placed show a preview.
Smart outline when breaking: only blocks that can be broken by the current tool get an outline.
Improved occlusion by render further block previews first.
Reversed order of mirror and array to mirror arrays (for roofs etc).
0.5
2018-12-15 16:59:13 +01:00
Christian Knaapen
408d96622b
Implemented new block preview for mirror and array, quickreplace and randomizer bag.
...
Refactored buildmodifiers to use findCoordinates and findBlockStates.
2018-12-14 20:12:18 +01:00
Christian Knaapen
2a487f2864
Testing a new block preview
2018-12-14 00:21:04 +01:00
Christian Knaapen
d745a868e5
Settings entries can be collapsed (GuiList with custom height).
...
Entries are centered vertically if it fits.
2018-12-04 20:00:04 +01:00
Christian Knaapen
ee4ac6f098
Made settings GUI scrollable for future use.
...
Split mirror and array settings GUI into their own classes (scrollEntries).
2018-12-02 18:31:25 +01:00
Christian Knaapen
1933832c58
Fixed rare crash on ladders.
...
Added config file with reach, increased mining time and block outline settings.
Mirror size has been renamed to reach.
Mirror and array abide by the new reach settings.
Added reach counter to array UI (reach = count * max offset).
If reach is 0 (as can be set in config), the UI will be disabled.
Added the ability to show the white block outline on the block you place, in addition to blocks placed by mirror/array.
Added the ability to disable increased mining time and to change its percentage in the config.
0.4
2018-12-01 18:33:21 +01:00
Christian Knaapen
3891cc349f
Mining speed is decreased based on blocks mined (extra blocks count for 50%, which will be configurable).
...
Tool durability is checked after each block break (no more breaking 5 blocks with 1 durability).
Fortune is taken into account.
Outlines now change to blocks that will be broken when holding tools.
Added indication QuickReplace is on: outline of current block will be white.
Fixed opening Randomizer Bag in offhand.
Fixed placing blocks with Randomizer Bag in offhand.
Fixed mirror block outline showing up outside range.
Fixed outline of QuickReplace not being under replaceables like tall grass.
2018-11-04 18:43:16 +01:00
Christian Knaapen
2ea44f22b5
GUI overhaul. Added +- buttons with shift/ctrl clicking. Rightclick to clear. Tooltips. Scroll to change number.
...
See empty fields as 0 instead of reset. Images for buttons. Added Toggle 0.5 button.
Can now click "mirror/array enabled" label to toggle.
2018-10-28 19:38:44 +01:00
Christian Knaapen
e2e48a4451
Fixed shiftclicking items into a Randomizer Bag when it is almost full.
2018-10-27 16:04:42 +02:00
Christian Knaapen
c2e29419ca
Moved all rendering code to RenderHelper to resolve #3 Crash on stand alone server startup.
...
Made sure getBuildSettings never returns null to resolve #4 Client Crash W/ OpenBlocks.
Now compatible with block placers and breakers from OpenBlocks (even the Randomizer Bag works in the placer).
Fixed the breakEvent in mirror for array synergy to use the blockstate of the new position. Resolves #5 Crash after destorying blocks with hand.
2018-10-27 14:20:00 +02:00
Christian Knaapen
bb359113f2
Version update and cleanup
2018-10-21 17:05:05 +02:00
Christian Knaapen
bda53e4b08
Check if can break and replace blocks. Breaking only works if your current held tool can break it. Replace only works with blocks that can be harvested with your hand.
...
Damages used tool appropriately.
Added block outlines to mirror and array.
0.3
2018-10-20 16:15:14 +02:00
Christian Knaapen
821b46a253
Fixed shrinking itemstack with mirror/array when not using quickreplace.
...
Fixed replacing same blocks dropping extra.
2018-10-18 16:50:39 +02:00
Christian Knaapen
0e7d08438d
Fixed randomizer bag not working with quickreplace.
2018-10-14 15:46:06 +02:00
Christian Knaapen
483d6cc53e
Checks if placeBlock is allowed. Fixed stutter on line rendering. Added toggle for creative/survival mode.
2018-10-06 20:20:10 +02:00
Christian Knaapen
2b4093099f
Survival array and mirror.
0.2
2018-09-30 18:05:04 +02:00
Christian Knaapen
6f6360ae11
Build works. Added synergy of randomizer bag with mirror/array. Mirror slabs vertically.
2018-09-30 15:32:21 +02:00
Christian Knaapen
cb006c4983
Fixed serverside issues. Hidden randomizer bag. New issue: build does not work with messages.
2018-09-22 00:09:52 +02:00
Christian Knaapen
bf258580d4
Randomizer bag finished (including recipe, placing blocks). Changed default keybinds to ADD and SUBTRACT. QuickReplace now places under replaceable blocks (tall grass). Mirror now happens before array.
2018-09-17 01:17:51 +02:00
Christian Knaapen
efa47851be
Working item with inventory
2018-09-16 15:20:01 +02:00
Christian Knaapen
d01fe52aba
Some work on randomizerbag
2018-09-16 14:21:05 +02:00
Christian Knaapen
f8f76e8f24
Mirror, array and quickreplace.
0.1
2018-09-15 11:21:21 +02:00