Commit Graph

5293 Commits

Author SHA1 Message Date
Matt Worzala
b0b640ccd7
hollow-cube/placement-rule-improvement
* improve placement rule api and remove existing vanilla rules

* readme changes
2023-06-14 22:00:27 -04:00
mworzala
197371a35e
oopsie woopsie 2023-06-10 19:10:11 -04:00
mworzala
8ff6339365
iam fix to lighting 2023-06-10 19:09:35 -04:00
mworzala
e142a55f51
fix 1.19.4 text display text opacity type 2023-06-07 17:01:40 -04:00
iam
9c6cb1796c
More aggressive lighting delay, resend neighbour lighting data after chunk generation (#16) 2023-05-28 16:32:44 -04:00
iam4722202468
5afce81de5
Fix flexible palette out of bounds 2023-05-28 14:30:05 -04:00
iam
f13a7b49fa
hollow-cube/lighting (#13)
* Lighting

* Remove invalidate

* Private

* Fix chunk loading

* Small fixes

* Fix loading light from anvil world

* Fix solid

* Temporary

* Fix tests, add seagrass and tall seagrass to diffusion list

* Make test faster, replace hephaistos

* Cleanup

* Assume failed test

* Fix chunk not getting invalidated
2023-05-27 19:41:14 -04:00
Matt Worzala
6f11e42d46
hollow-cube/1.19.4_2 (#14)
* oopsie woopsie

* use double vector

* fix `minecraft:time` argument min property
2023-05-26 15:25:50 -04:00
Matt Worzala
7f3144337d
1.19.4 (#11)
* first join

* add new entities

* fix type on interpolation duration

* switch long to var long

* switch long to var long, round 2

* add flags to TextDisplay

* 1.19.4

* setView in Entity#teleport

* do not trigger touchTick if entity physics are disabled

* Add new 1.19.4 packets

* constant expr

* no localhost on github actions

* yoinked changes from 1.19.3 main

* update to forked changes

* remove potion command

* remove potion command

---------

Co-authored-by: GreatWyrm <alecmusante@gmail.com>
2023-05-21 19:21:24 +03:00
Matt Worzala
bbffbabe9f
Merge branch 'Minestom:master' into main 2023-05-11 21:31:15 +03:00
Hydrogen
2c3e38b178
Null verifier wildcard fix (#1849)
* fix hasPermission(String, PermissionVerifier) Behavior

* add test cases
2023-05-10 08:51:06 +10:00
Hydrogen
1d6ff874f8
Add permissions wildcard support to no-verifier hasPermission (#1319)
* Add permission wildcard support to no-verifier hasPermission

* add one more assertion

* check permissionLoop NOT permission

* Add all permissions wildcard test

* Add proper pattern matching with tests

* Sanitize regex

* Clean up code

* Add to other hasPermission method aswell
2023-05-09 22:43:44 +10:00
Huynh Tien
d411c271cf
hollow-cube/generic-projectile-generator-for-ranged-attack (#9)
* general ProjectileGenerator for RangedAttackGoal

Let the users create any Entity as projectile (not just EntityProjectile)

* disable server address tests in github actions

---------

Co-authored-by: mworzala <mattheworzala@gmail.com>
2023-05-07 13:10:50 +03:00
Matt Worzala
381d89497a
hollow-cube/gradle-rework (#8)
* in order to make an omelet, you have to break a few eggs. aka absolutely decimate the gradle project

* far more sane gradle, no publishing yet tho

* attempt maven deploy

* fix publish url and use snapshot repo

* fix secret names

* release, and properly set version

* attempt to set group correctly

* more gradle fixups
2023-05-06 23:18:22 +03:00
Zak Shearman
6524476a81
hollow-cube/fix-frog-cat-meta (#7)
* Add frog & cat meta types

* Rename Color -> Variant in CatMeta, use DyeColor
2023-05-06 22:00:31 +03:00
emortaldev
4e0bc47429
hollow-cube/distance-squared-optimization
* Use distance squared where possible

* Update EntityFinder.java

* Update FollowTargetGoal.java

* Consistent methods for squared
2023-05-06 21:31:14 +03:00
mworzala
c8362a7d2c
hollow-cube/command-virtual-execution 2023-05-06 09:29:26 +03:00
mworzala
2469922ad7
hollow-cube/command-virtual-execution 2023-05-06 09:28:11 +03:00
Nixotica
984df871fb Updated TabList to handle new viewers seeing header and footer 2023-05-01 21:55:01 -07:00
Zak Shearman
85febebd09
Fix nullability for Player shoulder entity data (#1834) 2023-05-01 16:06:48 +03:00
mworzala
48843c88cf
hollow-cube/ce-banner-thanks-emortal 2023-04-30 18:25:14 +03:00
mworzala
8e1e975c89
hollow-cube/jitpack-link-update 2023-04-30 09:13:57 +03:00
mworzala
1268cf16c0
hollow-cube/sender-in-command-arg-parsing
Signed-off-by: mworzala <mattheworzala@gmail.com>

fix default argument issue

(cherry picked from commit a7440639c8541faeb91155c53ce3a1f4d60df127)

Add sender to command parse chain

(cherry picked from commit 853307891d178abdc7036f8c809c52909cdca327)
2023-04-30 09:11:53 +03:00
mworzala
560b5cb52d
hollow-cube/multiple-event-node-parents
Signed-off-by: mworzala <mattheworzala@gmail.com>

add `minestom.event.multiple-parents`

(cherry picked from commit 26b79904a6fcbce2459d12ae8165d47dd2c8f1b3)
2023-04-30 09:10:55 +03:00
mworzala
207b658bcd
hollow-cube/tag-transient
Signed-off-by: mworzala <mattheworzala@gmail.com>

allow null tag entries

(cherry picked from commit 0a57fd346bcb8bb966f866b6943fb2e57845c110)

allow null tag entries

(cherry picked from commit 3ef62831603163c2ac13432e3f2dd8ffebfb5fef)

add Tag.Transient

(cherry picked from commit 9fbbe563c2dce1418a66d2ed8695a4309807c084)
2023-04-30 09:10:25 +03:00
mworzala
52dccf793f
hollow-cube/no-logger-no-terminal
Signed-off-by: mworzala <mattheworzala@gmail.com>

make some loggers private

(cherry picked from commit 03ff6dca3493646098bf194ebd19aadf90ecf800)

add slf4j dep to codegen module

(cherry picked from commit b9136e3e579e98a0567e7ecf838c72ff5c159858)

add back slf4j dep

(cherry picked from commit 174c5b8b6a3223310e250fb5dad48b179b101fe5)

remove tinylog and MinestomTerminal

(cherry picked from commit 352161c326fe2dbb5989e5a45571c76795407ff5)
2023-04-30 09:09:57 +03:00
mworzala
d40e85dedb
hollow-cube/custom-component-translator
Signed-off-by: mworzala <mattheworzala@gmail.com>

Allow custom component translator implementation

(cherry picked from commit 31fd6317ad4f514cd2fad11221607d401fdbae0a)
2023-04-30 09:09:25 +03:00
mworzala
bc73a6cbf8
hollow-cube/entity-get-instance-unknown-nullability
Signed-off-by: mworzala <mattheworzala@gmail.com>

Entity#getInstance to @UnknownNullability

(cherry picked from commit 35fc7a1127b2189515991bfdf0f7fd0dc92af09e)
2023-04-30 09:08:56 +03:00
mworzala
72a456eea8
hollow-cube/tick-thread-counter
Signed-off-by: mworzala <mattheworzala@gmail.com>

Add a tick counter in the current tick thread and a way to get the current tick thread.

(cherry picked from commit 65ff64658efef55ac04053dc653fff492cc38a55)
2023-04-30 09:08:21 +03:00
mworzala
2915558004
hollow-cube/no-extensions
Signed-off-by: mworzala <mattheworzala@gmail.com>

remove extension stuff from demo

(cherry picked from commit 6052e726d03d6a27dd11962134328ad474ce45a9)

remove extensions

(cherry picked from commit 40ba24e43b6eb0f8869d80c30bd47d799c82a094)

(cherry picked from commit f4f9a905f74e7bf67fc2af341a25b9e85933abbe)
2023-04-30 09:06:45 +03:00
themode
fe9a4291bf
hollow-cube/1.19.3
Signed-off-by: mworzala <mattheworzala@gmail.com>

fix sounds v2

(cherry picked from commit e6d4a2cc919d6ab5aa9402cc871a70535069d803)

fix command packet

(cherry picked from commit f3efd64f7bd1d0473e0899d202268f77bab35abf)

fix sound effect packets

(cherry picked from commit 8530b37b354129a2149aafe2820183b28766be00)

remove named sound effect & fix sound effect, entity sound effect packet is still wrong

(cherry picked from commit 612f6065a12c465c07816c8551b1c44f17c21159)

update NamedSoundEffectPacket to 1.19.3

(cherry picked from commit 8c78d9beac96f94770f6fd0e9216452c3421bcfd)

update datagen, add read method to player info update (though it seems kinda broken)

(cherry picked from commit 6464a72dabc5edaf9b09ef1b8100815965bbad74)

Add ChatSession

Signed-off-by: TheMode <themode@outlook.fr>
(cherry picked from commit 0488915fda)

Unnecessary line change

Signed-off-by: TheMode <themode@outlook.fr>
(cherry picked from commit 915836f490)

Make tests compile

Signed-off-by: TheMode <themode@outlook.fr>
(cherry picked from commit 220217fcc1)

Fix info update

Signed-off-by: TheMode <themode@outlook.fr>

(cherry picked from commit 1a606285c0)

Fix unsigned message

Signed-off-by: TheMode <themode@outlook.fr>
(cherry picked from commit 7ba55fdfef)

1.19.3 support

(cherry picked from commit f09fdd862b)
2023-04-30 09:01:53 +03:00
iam
79ce9570ea
Allow event node handle to be garbage collected (#1835) 2023-04-23 13:07:40 +02:00
iam
8ad2c7701f
Fix physics not checking nearest block (#1815) 2023-04-03 22:08:49 +02:00
EpicPlayerA10
4f3c35ee87
Instance register and unregister events (#608)
* Added InstanceRegisterEvent and InstanceUnregisterEvent

* Add unit test
2023-03-31 07:35:24 +10:00
GreatWyrm
0b77fb805b
Add Death Location variable to Player and update Death Location on death (#1807)
* Add Death location variable to Player and update on death

* Add death location test

* Fix test
2023-03-29 21:03:36 -04:00
TogAr2
9abb3079f6
Fix item attributes not being read correctly (#1806) 2023-03-29 15:09:24 +02:00
Tomáš Hůla
ec8034750a
Fix method javadoc (#1802)
* FIx Point#sameBlock(Point) javadoc

* Fix grammar of Point's methods javadocs
2023-03-25 19:35:33 -04:00
Alexander
c496ee3572
Update to JoinGamePacket and RespawnPacket (#1640)
* Add death location support to JoinGamePacket
2023-03-21 23:22:24 -04:00
FourteenBrush
784875943a
Fix client not finding recipe serializer for minecraft:stonecutter (#1794) 2023-03-20 15:19:24 -04:00
Zak Shearman
067227421f
Fix/mojang utils long name (#1792) 2023-03-18 01:02:18 +01:00
Obyvante
7b0b314707
Wrong generated window id for newly created inventories. (#1784)
* chore(Inventory): Fixed generated window id sometimes becomes 0 or -128(out of int) which causes empty inventories.

* chore(InventoryTest): Updated inventory window id creation test.

* chore(InventoryTest): Updated inventory window id creation test. (iam's suggestion.)

* chore(Inventory): Updated inventory window id generation that is more thread safe compare to the old one. (iam's suggestion)

* chore(InventoryTest): int window id to byte.
2023-03-15 13:44:41 -04:00
mworzala
3ca74e00fa
use local gradle for javadoc action 2023-03-12 09:15:47 -04:00
Zak Shearman
a9e319f961
Add javadocs for Potion (#1763) 2023-02-26 10:55:34 -07:00
Tyreece Rozycki
aebf72de90
Correctly send the player's main hand setting. (#1724)
* Update Player.java

* Use setNotifyAboutChanges and add integration test
2023-01-29 07:05:28 -05:00
Steank
51ef4779c9
Fix for #1712 (#1713) 2023-01-25 15:13:15 +01:00
emortaldev
c995f9c3a9
Block event changes (#1675)
* Add cursor position to interact events

* Add block face to digging events

* Expose interact position in interact event
2023-01-16 18:57:18 -05:00
emortaldev
8eb089bf3e
Add playSound with position to Player (#1676) 2023-01-08 19:38:30 -05:00
emortaldev
84846f663b
Add nullability for LivingEntity methods (#1668) 2023-01-07 22:10:53 -05:00
NitrinCloud
aa621021e2
Support dynamic selection of a port using '0' (#1661) 2023-01-07 08:39:32 +01:00
HEROOSTECH
f291437ada
Hand in PlayerItemAnimationEvent (#1650)
* Hand in PlayerItemAnimationEvent

* Hand in PlayerItemAnimationEvent
2023-01-03 19:11:17 -05:00