-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
19 changed files
with
245 additions
and
257 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
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
34 changes: 34 additions & 0 deletions
34
src/main/java/xiamomc/morph/backends/server/renderer/network/DisplayParameters.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,34 @@ | ||
package xiamomc.morph.backends.server.renderer.network; | ||
|
||
import com.mojang.authlib.GameProfile; | ||
import org.bukkit.entity.EntityType; | ||
import xiamomc.morph.backends.server.renderer.network.datawatcher.watchers.SingleWatcher; | ||
|
||
public class DisplayParameters | ||
{ | ||
public EntityType getEntityType() | ||
{ | ||
return entityType; | ||
} | ||
|
||
public SingleWatcher getWatcher() | ||
{ | ||
return singleWatcher; | ||
} | ||
|
||
public GameProfile getProfile() | ||
{ | ||
return gameProfile; | ||
} | ||
|
||
private final EntityType entityType; | ||
private final SingleWatcher singleWatcher; | ||
private final GameProfile gameProfile; | ||
|
||
public DisplayParameters(EntityType bindingType, SingleWatcher watcher, GameProfile profile) | ||
{ | ||
this.entityType = bindingType; | ||
this.singleWatcher = watcher; | ||
this.gameProfile = profile; | ||
} | ||
} |
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
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
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.