Try to implement player animator #1
This commit is contained in:
@@ -93,11 +93,15 @@ minecraft {
|
||||
client {
|
||||
// Comma-separated list of namespaces to load gametests from. Empty = all namespaces.
|
||||
property 'forge.enabledGameTestNamespaces', mod_id
|
||||
property 'mixin.env.remapRefMap', 'true'
|
||||
property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"
|
||||
}
|
||||
|
||||
server {
|
||||
property 'forge.enabledGameTestNamespaces', mod_id
|
||||
args '--nogui'
|
||||
property 'mixin.env.remapRefMap', 'true'
|
||||
property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"
|
||||
}
|
||||
|
||||
// This run config launches GameTestServer and runs all registered gametests, then exits.
|
||||
|
||||
+3
-3
@@ -13,13 +13,13 @@ minecraft_version=1.20.1
|
||||
# as they do not follow standard versioning conventions.
|
||||
minecraft_version_range=[1.20.1,1.21)
|
||||
# The Forge version must agree with the Minecraft version to get a valid artifact
|
||||
forge_version=47.3.0
|
||||
forge_version=47.4.10
|
||||
# The Forge version range can use any version of Forge as bounds or match the loader version range
|
||||
forge_version_range=[47,)
|
||||
# The loader version range can only use the major version of Forge/FML as bounds
|
||||
loader_version_range=[47,)
|
||||
player_animator_version=1.0.2+1.20
|
||||
player_animator_version_range=[1.0.2,)
|
||||
player_animator_version=1.0.2-rc1+1.20
|
||||
player_animator_version_range=[1.0.2-rc,)
|
||||
# The mapping channel to use for mappings.
|
||||
# The default set of supported mapping channels are ["official", "snapshot", "snapshot_nodoc", "stable", "stable_nodoc"].
|
||||
# Additional mapping channels can be registered through the "channelProviders" extension in a Gradle plugin.
|
||||
|
||||
@@ -65,7 +65,7 @@ public class KnockedManager {
|
||||
knockedEntities.remove(entity.getUUID());
|
||||
grippedEntities.remove(entity.getUUID());
|
||||
MobKillHandler.clearKillAttempt(entity.getUUID());
|
||||
entity.setForcedPose(null);
|
||||
entity.setPose(null);
|
||||
if (entity instanceof ServerPlayer sp) {
|
||||
NetworkHandler.CHANNEL.send(
|
||||
PacketDistributor.PLAYER.with(() -> sp),
|
||||
|
||||
Reference in New Issue
Block a user