Created
June 29, 2020 17:24
-
-
Save RandomOnlineName/ade3a10a7692037ef66f289ec0c9477f to your computer and use it in GitHub Desktop.
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
ServerSidePacketRegistry.INSTANCE.register(C2SFireArrowPillager, (context, attachedData) -> { | |
int projectileId = attachedData.readInt(); | |
float multiShotSpray = attachedData.readFloat(); | |
(MainInit.java:28) Vec3d velocity = new Vec3d(Double.parseDouble(attachedData.readString().split(",",3)[0]), | |
Double.parseDouble(attachedData.readString().split(",",3)[1]), | |
Double.parseDouble(attachedData.readString().split(",",3)[2])); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment