Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-23 23:00:08 +01:00
b18bedd848
Previously no implementation existed to access various additional information fields regarding bans. This implementation expands on the information outlined in the sister Bukkit commit to provide access to the Minecraft implementation of the ban system. This implementation of the banning API contains 2 new classes which provide access to the internal workings of the built-in banning system within Minecraft. The CraftBanEntry class simply supports the representation of an internal Minecraft BanEntry object. The data that may be modified within this new object must be manually saved to the list contained within the CraftBanEntry using it's save() method. The CraftBanList class supports the representation of an internal Minecraft BanList object through proxy methods. These methods do validation on the passed objects where needed to ensure safe input to the backed Minecraft objects. These changes additionally re-route the existing banning API to the newer, more detailed, system. Functionality prior to this change still behaves as documented by the contract defined by the methods changed. |
||
---|---|---|
.. | ||
block | ||
chunkio | ||
command | ||
conversations | ||
enchantments | ||
entity | ||
event | ||
generator | ||
help | ||
inventory | ||
map | ||
metadata | ||
potion | ||
projectiles | ||
scheduler | ||
scoreboard | ||
updater | ||
util | ||
CraftArt.java | ||
CraftBanEntry.java | ||
CraftBanList.java | ||
CraftBlockChangeDelegate.java | ||
CraftChunk.java | ||
CraftChunkSnapshot.java | ||
CraftCrashReport.java | ||
CraftEffect.java | ||
CraftOfflinePlayer.java | ||
CraftServer.java | ||
CraftSound.java | ||
CraftStatistic.java | ||
CraftTravelAgent.java | ||
CraftWorld.java | ||
LoggerOutputStream.java | ||
Main.java | ||
Overridden.java | ||
TrigMath.java |