-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #625 from mrsterner/1.20.1/update
1.20.1/update
- Loading branch information
Showing
236 changed files
with
11,725 additions
and
2,380 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ body: | |
- 1.16 | ||
- 1.18 | ||
- 1.19 | ||
- 1.20.x | ||
validations: | ||
required: true | ||
- type: dropdown | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,7 @@ body: | |
- 1.16 | ||
- 1.18 | ||
- 1.19 | ||
- 1.20.x | ||
validations: | ||
required: true | ||
- type: dropdown | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
[submodule "vs-core"] | ||
path = vs-core | ||
url = https://github.com/ValkyrienSkies/vs-core | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# New Features | ||
* LOD that adds collision shapes for stairs/slabs/ect, and adds friction/elasticity/density properties to blocks | ||
* Multithreaded Krunch physics engine | ||
* Multithreaded terrain loading (so physics doesn't lag from terrain loading) | ||
* Allow ships to travel through Nether and End portals | ||
* Allow ships to be teleported between dimensions | ||
* Added physics entity support (currently only used to make balls with the Physics Entity Creator Item, but more coming soon 🙂) | ||
|
||
# Bugfixes | ||
* Fixed ships randomly getting stuck in the air | ||
* Fixed scaled ships not behaving correctly in water | ||
* Fixed the @v command argument to behave correctly like the @e argument | ||
* Fixed Ship Creator Item not scaling ships correctly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# New Features | ||
Nothing | ||
|
||
# Bugfixes | ||
* Removed old CBC mixin that doesn't work on new versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#https://mvn.devos.one/#/snapshots/io/github/fabricators_of_create/Porting-Lib/Porting-Lib | ||
port_lib_version=2.1.1127+1.20 | ||
port_lib_modules = accessors,base,entity,extensions,fake_players,networking,obj_loader,tags,transfer,models,tool_actions,client_events,brewing | ||
|
||
# https://modrinth.com/mod/cloth-config/version/8.3.103+fabric | ||
cloth_config_version = 11.1.106 | ||
|
||
# https://modrinth.com/mod/sodium/versions | ||
sodium_version = mc1.20-0.4.10 |
35 changes: 35 additions & 0 deletions
35
common/src/main/java/org/valkyrienskies/mod/compat/FlywheelEvents.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package org.valkyrienskies.mod.compat; | ||
|
||
import com.jozufozu.flywheel.backend.instancing.InstanceWorld; | ||
import java.util.Collections; | ||
import java.util.Set; | ||
import java.util.WeakHashMap; | ||
import org.valkyrienskies.core.impl.hooks.VSEvents.ShipUnloadEventClient; | ||
import org.valkyrienskies.mod.mixinducks.MixinBlockEntityInstanceManagerDuck; | ||
|
||
public class FlywheelEvents { | ||
static { | ||
registerEvents(); | ||
} | ||
|
||
private static final Set<InstanceWorld> weakLoadedInstanceWorlds = | ||
Collections.newSetFromMap( | ||
new WeakHashMap<>() | ||
); | ||
|
||
private static synchronized void registerEvents() { | ||
ShipUnloadEventClient.Companion.on(event -> { | ||
for (final InstanceWorld instanceWorld : weakLoadedInstanceWorlds) { | ||
((MixinBlockEntityInstanceManagerDuck) instanceWorld.getBlockEntityInstanceManager()).vs$removeShipManager(event.getShip()); | ||
} | ||
}); | ||
} | ||
|
||
public static void onInstanceWorldLoad(final InstanceWorld instanceWorld) { | ||
weakLoadedInstanceWorlds.add(instanceWorld); | ||
} | ||
|
||
public static void onInstanceWorldUnload(final InstanceWorld instanceWorld) { | ||
weakLoadedInstanceWorlds.remove(instanceWorld); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.