Commit Graph

3404 Commits

Author SHA1 Message Date
asofold f7b2c017fd GPLv3 headers.
Time for java template?
2018-08-26 11:41:01 +02:00
asofold b422d077db Brewing stand, cauldron, hopper, end portal frame. 2018-08-26 11:35:18 +02:00
asofold a142df024b Dragon egg. 2018-08-26 10:45:17 +02:00
asofold fd679c842f Deop. 2018-08-26 10:27:48 +02:00
asofold cc98d2dbce Add GPLv3 header. 2018-08-25 12:04:16 +02:00
asofold fbd8f6a02d Add end rod (1.13). 2018-08-25 11:57:20 +02:00
asofold 6e2d611e9b 1.13 - add more blocks. 2018-08-24 23:53:09 +02:00
asofold cd142dd822 Fixes for 1.12.2. 2018-08-24 19:51:42 +02:00
asofold d7aa96880e Prepare cocoa beans and/or end rod. 2018-08-24 12:34:54 +02:00
asofold 9d37763264 More blocks added, adjustments for initialization.
Chests are treated as single chests always, so there is a little
potential for interaction getting through (blockinteract.visible).

Snow is just treated as before, data-based height adjustment (to be
added as a model, as Bukkit supports getting the level in a generic way,
same for water).
2018-08-24 12:24:34 +02:00
asofold cbc5d3b4aa Add missing GPLv3 headers. 2018-08-24 00:02:14 +02:00
asofold 1868fb587a Oops. 2018-08-23 23:59:49 +02:00
asofold 982fda081a More explicit flags for blocks. 2018-08-23 23:56:00 +02:00
asofold 0a77c07b21 Add shulker boxes and (leveled) snow.
Leveled one block height could be done in a generic way via Bukkit, once
needed.
2018-08-22 23:34:32 +02:00
asofold 58d17aa057 Add fence gate. 2018-08-22 22:58:02 +02:00
asofold 371f7079c8 Only demand the used interface here. 2018-08-22 22:39:37 +02:00
asofold c4423de353 Fences / coblestone wall. 2018-08-22 22:38:28 +02:00
asofold 4a7fd059dd Add BukkitThinFence. Remove unneeded flag.
(Configurability is another step.)
2018-08-22 09:43:37 +02:00
asofold b89c3af589 Explicit height flag for grass path. Bukkit model for stairs. 2018-08-21 13:19:01 +02:00
asofold 56f1a37969 [BLEEDING][BREAKING] Swift way in to Bukkit shape models (slabs first).
Remains warnings, registry debugging output without checking config.
2018-08-21 11:45:15 +02:00
asofold 54c022f74d Prepare MCAccessBukkitModern (1.13). 2018-08-21 00:02:05 +02:00
asofold 40b0107cc8 Adjustments and fixes for BlockProperties.
* Reinstate itchy blocks being processed at all (MCAccessBukkit).
* Refine block dump: add non-air blocks with no flags set to missing.
* Adjust/re-add/alter various flags.
2018-08-21 00:01:48 +02:00
asofold 07368361e2 More smart block setup (first batch).
* Initialize fully solid (in terms of shape + passable) blocks
explicitly with full bounds and solid flags.
* Use MaterialUtil#addBlocks and BridgeMaterial#getAllBlocks where
appropriate.
* MCAccessBukkit(Base): don't touch fully solid nor fully passable ones.
2018-08-20 21:48:36 +02:00
asofold 0f3b4ae166 Don't use Material.GRASS. 2018-08-20 12:48:33 +02:00
asofold 62df128efd [BLEEDING][BREAKING] MC 1.13 Material changes, first batch.
First batch:
* Initialize blocks somehow, so no errors nor missing blocks happen
during startup.

Possibly Missing:
* There might be references of removed/renamed material (blocks/items)
throughout the code.
* Some blocks may behave different now/then.

Missing:
* Block#getData may not reflect (all?) properties anymore.
* Block shape getting is missing. Block shapes are now (potentially)
more complex to process. Concept might be to keep a double array for the
rough bounds, and add an (optional +- null) array of arrays for sub
shapes, if present (IBlockCacheNode). So a first rough update is more
simple/compatible.
2018-08-20 12:37:51 +02:00
asofold f6f94d4eb7 Remove unused 4096, align flag values, add max flag. 2018-08-15 10:59:02 +02:00
asofold 82f50dda71 Put Material.isTransparent into a method for later distinction. 2018-08-13 09:23:51 +02:00
asofold 56dbc7f21d ProtocolLib 4.4.0 for MC 1.13.x. 2018-08-10 17:16:32 +02:00
asofold 7994961684 No set back no deal (on the paper). 2018-07-09 10:26:20 +02:00
asofold 24b25406a0 Skip direction checks if inside of a box.
(Only checked, if the hit is off-box at all.)
2018-06-24 10:51:29 +02:00
asofold 85bb769b73 (I)TraceEntry: Add convenience method isInside for coordinates. 2018-06-24 10:48:48 +02:00
asofold 481d2c060f Ignore the null Sound. 2018-05-23 09:31:47 +02:00
asofold d0235e2358 Catch NullPointerException. 2018-05-09 10:17:42 +02:00
asofold bd24e12026 Add override tests. 2018-05-07 10:39:22 +02:00
asofold c7b8ba4bb3 Comment on NoFall. 2018-04-22 15:24:16 +02:00
asofold f1f0afee74 Add BlockFormEvent listener. Monitor SOIL->Dirt. 2018-04-22 15:14:28 +02:00
asofold 500544c32b More safe IPlayerData getting for the net checks. 2018-04-20 12:17:24 +02:00
asofold 6bddb1a834 Optimistic player data creation. Updating of world / player name. (+)
Create PlayerData instances if events allow proceeding:
* AsyncPlayerPreLogin.
* PlayerLogin (schedule for removal if denied).

Update world data:
* PlayerLogin
* (PlayerJoin, ...)

Update player name and log:
* PlayerLogin
* PlayerJoin

(+) PlayerData.updateCurrentWorld -> only do something if the WorldData
instance has changed.
2018-04-20 11:49:22 +02:00
asofold e20fe539ef Implement support for ActionPenalties in ViolationData. 2018-04-17 13:49:22 +02:00
asofold fd08d1be9b Change penalty evaluation implementation to use less random numbers. 2018-04-17 13:48:20 +02:00
asofold 37c12a7fdd Rename Penalty to IPenalty. 2018-04-17 12:48:54 +02:00
asofold 7269a026eb Remove redundant abstract method. 2018-04-17 12:46:08 +02:00
asofold ad5be20eb6 Change packages for penalties.
So actions.types remains soemwhat consistent for now.
2018-04-17 12:42:35 +02:00
asofold f6d00c3346 Get rid of the IBlockAccess implementation for NCPcompatCBDev. 2018-04-17 12:07:47 +02:00
asofold caf137da99 Adapt fast click to use InvenoryAction. 2018-04-16 01:11:36 +02:00
asofold f079b52267 Allow dealing fall damage from 3.5 blocks height on. 2018-04-15 19:21:55 +02:00
asofold 2bea03eaf0 Support cancel with probability (e.g. 25%cancel) for actions. 2018-04-15 18:57:30 +02:00
asofold d82fb9c804 Clear cached per-world configurations on reload. 2018-04-15 18:56:10 +02:00
asofold cbfcecf2b4 Penalties: Redo Marianas Trench. 2018-04-10 09:40:06 +02:00
asofold 3e083e4ce7 Add missing GPLv3 header. 2018-04-08 15:42:43 +02:00