aboutsummaryrefslogtreecommitdiffhomepage
path: root/build-data
diff options
context:
space:
mode:
authorMiniDigger <[email protected]>2021-06-16 00:24:12 +0200
committerMiniDigger <[email protected]>2021-06-16 00:24:12 +0200
commit3fb6b93f96ff582f07547cb7bfbfca1b72778986 (patch)
tree7f89f92bfc32a2a52987e0ab6503f0ec29a49c2d /build-data
parent90546c7c50f684117ab0c9f5caa6888e2e26a19d (diff)
downloadPaper-3fb6b93f96ff582f07547cb7bfbfca1b72778986.tar.gz
Paper-3fb6b93f96ff582f07547cb7bfbfca1b72778986.zip
AT bullshit
Diffstat (limited to 'build-data')
-rw-r--r--build-data/paper.at147
1 files changed, 147 insertions, 0 deletions
diff --git a/build-data/paper.at b/build-data/paper.at
index 84637b2535..98e0759000 100644
--- a/build-data/paper.at
+++ b/build-data/paper.at
@@ -6,6 +6,152 @@
# Leave out the member and it will apply to the class itself
# More info, see here https://mcforge.readthedocs.io/en/latest/advanced/accesstransformers/#access-modifiers
+# Paper config files
+public org.spigotmc.SpigotWorldConfig getBoolean(Ljava/lang/String;Z)Z
+public org.spigotmc.SpigotWorldConfig getDouble(Ljava/lang/String;)D
+public org.spigotmc.SpigotWorldConfig getDouble(Ljava/lang/String;D)D
+public org.spigotmc.SpigotWorldConfig getInt(Ljava/lang/String;)I
+public org.spigotmc.SpigotWorldConfig getInt(Ljava/lang/String;I)I
+public org.spigotmc.SpigotWorldConfig getList(Ljava/lang/String;Ljava/lang/Object;)Ljava/util/List;
+public org.spigotmc.SpigotWorldConfig getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
+
+# MC Utils
+public net.minecraft.core.Vec3i setX(I)Lnet/minecraft/core/Vec3i;
+public net.minecraft.core.Vec3i setY(I)Lnet/minecraft/core/Vec3i;
+public net.minecraft.core.Vec3i setZ(I)Lnet/minecraft/core/Vec3i;
+public net.minecraft.server.level.ServerChunkCache mainThread
+public net.minecraft.server.level.ServerLevel chunkSource
+public org.bukkit.craftbukkit.inventory.CraftItemStack handle
+
+# Add PlayerInitialSpawnEvent
+public net.minecraft.world.entity.Entity setRot(FF)V
+
+# Add PlayerUseUnknownEntityEvent
+public net.minecraft.network.protocol.game.ServerboundInteractPacket$ActionType
+
+# Configurable RCON IP address
+public net.minecraft.server.dedicated.Settings getStringRaw(Ljava/lang/String;)Ljava/lang/String;
+
+# LootTable API
+public org.bukkit.craftbukkit.block.CraftBlockEntityState getTileEntity()Lnet/minecraft/world/level/block/entity/BlockEntity;
+public org.bukkit.craftbukkit.block.CraftLootable setLootTable(Lorg/bukkit/loot/LootTable;J)V
+public org.bukkit.craftbukkit.entity.CraftMinecartContainer setLootTable(Lorg/bukkit/loot/LootTable;J)V
+
+# Firework API
+public net.minecraft.world.entity.projectile.FireworkRocketEntity attachedToEntity
+
+# Add option to make parrots stay
+public net.minecraft.world.entity.player.Player removeEntitiesOnShoulder()V
+
+# LivingEntity setkiller
+public net.minecraft.world.entity.LivingEntity lastHurtByPlayerTime
+
+# SkeletonHore Addittions
+public net.minecraft.world.entity.animal.horse.SkeletonHorse trapTime
+
+# Fix client rendering skulls
+public net.minecraft.world.item.ItemStack tag
+
+# Async chunk io
+public net.minecraft.server.level.ChunkMap structureManager
+public net.minecraft.server.level.ChunkMap getUpdatingChunkIfPresent(J)Lnet/minecraft/server/level/ChunkHolder;
+public net.minecraft.server.level.ChunkMap getVisibleChunkIfPresent(J)Lnet/minecraft/server/level/ChunkHolder;
+public net.minecraft.server.level.ServerChunkCache mainThreadProcessor
+public-f net.minecraft.world.level.chunk.storage.RegionFileStorage
+public net.minecraft.world.level.chunk.storage.RegionFileStorage getFile(Lnet/minecraft/world/level/ChunkPos;Z)Lnet/minecraft/world/level/chunk/storage/RegionFile;
+public net.minecraft.world.level.chunk.storage.SectionStorage dirty
+
+# Improve death events
+public net.minecraft.world.entity.LivingEntity getDeathSound()Lnet/minecraft/sounds/SoundEvent;
+public net.minecraft.world.entity.LivingEntity getSoundVolume()F
+public net.minecraft.world.entity.ambient.Bat getSoundVolume()F
+public net.minecraft.world.entity.monster.Ghast getSoundVolume()F
+public net.minecraft.world.entity.monster.Phantom getSoundVolume()F
+public net.minecraft.world.entity.animal.Squid getSoundVolume()F
+public net.minecraft.world.entity.animal.Wolf getSoundVolume()F
+
+# Add sun related api
+public net.minecraft.world.entity.Mob isSunBurnTick()Z
+
+# Turtle API
+public net.minecraft.world.entity.animal.Turtle getHomePos()Lnet/minecraft/core/BlockPos;
+public net.minecraft.world.entity.animal.Turtle setHasEgg(Z)V
+public net.minecraft.world.entity.animal.Turtle isGoingHome()Z
+public net.minecraft.world.entity.animal.Turtle setGoingHome(Z)V
+public net.minecraft.world.entity.animal.Turtle isTravelling()Z
+public net.minecraft.world.entity.animal.Turtle setTravelling(Z)V
+
+# Call player spectator target event
+public net.minecraft.server.network.ServerGamePacketListenerImpl a(Ljava/util/List;Ljava/util/function/UnaryOperator;Lnet/minecraft/world/item/ItemStack;ILnet/minecraft/world/item/ItemStack;)V # todo fix this mapping
+
+# Improve Server THread Pool
+public net.minecraft.Util onThreadException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
+
+# Add more zombie API
+public net.minecraft.world.entity.monster.Zombie isSunSensitive()Z
+
+# Add PlayerConnectionCloseEvent
+public net.minecraft.server.network.ServerLoginPacketListenerImpl$State
+
+# Entity Activation Range 2.0
+public net.minecraft.world.entity.Entity isInsidePortal
+public net.minecraft.world.entity.Mob leashHolder
+
+# No-Tick view distance
+public net.minecraft.server.level.ChunkHolder broadcast(Lnet/minecraft/network/protocol/Packet;Z)V
+public net.minecraft.server.level.ChunkMap setViewDistance(I)V
+public net.minecraft.server.level.ChunkMap readChunk(Lnet/minecraft/world/level/ChunkPos;)Lnet/minecraft/nbt/CompoundTag;
+public net.minecraft.server.level.ChunkMap playerLoadedChunk(Lnet/minecraft/server/level/ServerPlayer;[Lnet/minecraft/network/protocol/Packet;Lnet/minecraft/world/level/chunk/LevelChunk;)V
+public net.minecraft.server.level.ChunkMap mainThreadMailbox # todo one of these doesn't belong here
+
+# Optimise TickListServer
+public net.minecraft.world.level.ServerTickList saveTickList(Ljava/util/function/Function;Ljava/lang/Iterable;J)Lnet/minecraft/nbt/ListTag;
+
+# Don't move existing players to world spawn
+public net.minecraft.server.level.ServerPlayer fudgeSpawnLocation(Lnet/minecraft/server/level/ServerLevel;)V
+
+# Implement Player Client Options API
+public net.minecraft.world.entity.player.Player DATA_PLAYER_MODE_CUSTOMISATION
+
+# Fix Longstanding Broken behavior
+public net.minecraft.server.level.ChunkMap addEntity(Lnet/minecraft/world/entity/Entity;)V
+
+# Load Chunks for Login Async
+public net.minecraft.server.level.ServerChunkCache runDistanceManagerUpdates()Z
+public net.minecraft.server.level.ServerChunkCache$MainThreadExecutor # todo doesn't belong here but oh well
+
+# Implement MobGoalApi
+public net.minecraft.world.entity.ai.goal.GoalSelector availableGoals
+
+# Add villager reputation API
+public net.minecraft.world.entity.ai.gossip.GossipContainer$EntityGossips
+public net.minecraft.world.entity.ai.gossip.GossipContainer$EntityGossips <init>()V
+
+# Add entity liquid API
+public net.minecraft.world.entity.Entity isInRain()Z
+public net.minecraft.world.entity.Entity isInBubbleColumn()Z
+
+# Allow delegation to vanilla chunk gen
+public org.bukkit.craftbukkit.generator.CustomChunkGenerator delegate
+
+# Optimize redstone algorithm
+public net.minecraft.world.level.block.RedStoneWireBlock shouldSignal
+
+# Add more Evoker API
+public net.minecraft.world.entity.monster.Evoker setWololoTarget(Lnet/minecraft/world/entity/animal/Sheep;)V
+public net.minecraft.world.entity.monster.Evoker getWololoTarget()Lnet/minecraft/world/entity/animal/Sheep;
+
+# More lightning API
+public net.minecraft.world.entity.LightningBolt life
+public net.minecraft.world.entity.LightningBolt flashes
+
+# Configurable door breaking difficulty
+public net.minecraft.world.entity.monster.Vindicator DOOR_BREAKING_PREDICATE
+public net.minecraft.world.entity.monster.Zombie DOOR_BREAKING_PREDICATE
+
+# Optimize sending packets to nearby locations (sounds/effects)
+public net.minecraft.server.level.ServerLevel players
+
# Item Rarity API
public net.minecraft.world.item.Item rarity
@@ -29,3 +175,4 @@ public net.minecraft.util.thread.BlockableEventLoop runAllTasks()V
# Chunk debug command
public net.minecraft.server.level.ChunkMap entitiesInLevel
+public net.minecraft.server.level.ServerLevel players