Fix and enhance some things#376
Open
zimuya4153 wants to merge 8 commits into
Open
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added
Packet::sendTo,Packet::sendToClients,Packet::sendToServer,Packet/LXL_Packetglobal aliases @zimuya4153BinaryStreamAPIs:getReadPointer,setReadPointer,setData,writeBytes,readBytes,writeUuid@zimuya4153mc.getMotd,mc.getOnlinePlayerNum,mc.getMaxNumPlayers,mc.getDimensionId,mc.getDimensionName@zimuya4153en.setCustomName,mc.summonMob,mc.loadMob,it.addCount,it.removeCount,it.setCount,system.randomUuid@zimuya4153be.setCustomName,be.getCustomName,en.getCustomName,it.getDisplayName@zimuya4153VaillanI18nAPI for modifying Minecraft vanilla language data@zimuya4153 @xianyubb
Changed
BinaryStream:getData([release])now returnsByteBuffer, does not clear by default, andoptionally releases data after reading;
createPacket(pktid[,raw])nowsupports raw packets; scalar
read*APIs were added; several numericwrite*APIs now acceptStringfor BigInt-friendly input@zimuya4153
File.readFrom(path[,isBinary])now supports binary reads;File.writeTo(path, text)now acceptsByteBuffer;it.setLore([])now clears custom lore instead of failing @zimuya4153