Merge branch 'master' into 1.16
This commit is contained in:
commit
eb631ebda0
2 files changed
+5
-3
No files matched your search
+2
-1
@@ -72,7 +72,8 @@ public abstract class ThreadedAnvilChunkStorage_scarpetChunkCreationMixin implem
|
||||
|
||||
//in method_20617
|
||||
//method_19534(Lnet/minecraft/server/world/ChunkHolder;Lnet/minecraft/world/chunk/Chunk;)Ljava/util/concurrent/CompletableFuture;
|
||||
@Inject(method = "method_19534", at = @At(
|
||||
// incmopatibility with optifine makes this mixin fail.
|
||||
@Inject(method = "method_19534", require = 0, at = @At(
|
||||
value = "INVOKE",
|
||||
target = "Lnet/minecraft/server/world/ThreadedAnvilChunkStorage;convertToFullChunk(Lnet/minecraft/server/world/ChunkHolder;)Ljava/util/concurrent/CompletableFuture;",
|
||||
shift = At.Shift.AFTER
|
||||
|
||||
@@ -4093,8 +4093,9 @@ public class CarpetExpression
|
||||
* __on_tick() // can access blocks and entities in the overworld
|
||||
* __on_tick_nether() // can access blocks and entities in the nether
|
||||
* __on_tick_ender() // can access blocks and entities in the end
|
||||
* __on_chunk_generated(x,z) // called after a chunk is promoted to the full chunk, prodiving lowest x and z coords in the chunk
|
||||
*
|
||||
* __on_chunk_generated(x,z) // called after a chunk is promoted to the full chunk,
|
||||
* // prodiving lowest x and z coords in the chunk
|
||||
* // event will not work with optifine installed in the game
|
||||
* // player specific callbacks
|
||||
* __on_player_uses_item(player, item_tuple, hand) // right click action
|
||||
* __on_player_releases_item(player, item_tuple, hand) // client action (e.g. bow)
|
||||
|
||||
Reference in new issue
Block a user