fixes and mapping work

This commit is contained in:
Adrian Siekierka 2018-12-02 11:38:26 +01:00
parent 815b9fbd01
commit a9aaf83026
17 changed files with 111 additions and 25 deletions

View File

@ -47,7 +47,7 @@ CLASS cnv net/minecraft/client/MinecraftClient
FIELD ax blockColorMap Lcoe;
FIELD ay itemColorMap Lcoh;
FIELD az framebuffer Lcmd;
FIELD e playerCapabilities Lczj;
FIELD e interactionManager Lczj;
FIELD g window Lcms;
FIELD h world Lczk;
FIELD i renderer Ldcg;

View File

@ -1,6 +1,7 @@
CLASS czh net/minecraft/client/network/ClientPlayNetworkHandler
FIELD a LOGGER Lorg/apache/logging/log4j/Logger;
FIELD b connection Lio;
FIELD c profile Lcom/mojang/authlib/GameProfile;
FIELD e client Lcnv;
FIELD f world Lczk;
FIELD i advancementHandler Lcze;

View File

@ -11,16 +11,21 @@ CLASS czj net/minecraft/client/network/ClientPlayerInteractionManager
METHOD a hasStatusBars ()Z
METHOD a copyAbilities (Laqj;)V
METHOD a attackEntity (Laqj;Lagi;)V
METHOD a useEntity (Laqj;Lagi;Lafb;)Lafd;
METHOD a useEntityLocation (Laqj;Lagi;Lckm;Lafb;)Lafd;
METHOD a useItem (Laqj;Lbaq;Lafb;)Lafd;
METHOD a interactEntity (Laqj;Lagi;Lafb;)Lafd;
METHOD a interactEntityAtLocation (Laqj;Lagi;Lckm;Lafb;)Lafd;
METHOD a interactItem (Laqj;Lbaq;Lafb;)Lafd;
ARG 1 player
ARG 2 world
ARG 3 hand
METHOD a setGameMode (Lban;)V
METHOD a useBlock (Ldbn;Lczk;Let;Ley;Lckp;Lafb;)Lafd;
METHOD a createPlayer (Lbaq;Lxq;Lcno;)Ldbn;
METHOD a interactBlock (Ldbn;Lczk;Let;Ley;Lckp;Lafb;)Lafd;
ARG 1 player
ARG 2 world
ARG 3 pos
ARG 4 facing
ARG 5 hitLocation
ARG 6 hand
METHOD a breakBlock (Let;)Z
METHOD a attackBlock (Let;Ley;)Z
ARG 1 pos

View File

@ -4,7 +4,7 @@ CLASS aru net/minecraft/entity/vehicle/HopperMinecartEntity
FIELD f currentBlockPos Let;
METHOD B getDefaultBlockOffset ()I
METHOD D isEnabled ()Z
METHOD F getHopperWorld ()Lbaq;
METHOD F getWorld ()Lbaq;
METHOD G getHopperX ()D
METHOD H getHopperY ()D
METHOD I getHopperZ ()D

View File

@ -3,4 +3,9 @@ CLASS mz net/minecraft/network/listener/ServerPlayPacketListener
METHOD a onGuiClose (Lnj;)V
METHOD a onCustomPayload (Lnk;)V
METHOD a onBookUpdate (Lnl;)V
METHOD a onPlayerInteractEntity (Lnn;)V
METHOD a onPlayerAction (Lnv;)V
METHOD a onPlayerInteractBlock (Lon;)V
ARG 1 packet
METHOD a onPlayerInteractItem (Loo;)V
ARG 1 packet

View File

@ -0,0 +1,17 @@
CLASS ub net/minecraft/server/network/DemoServerPlayerInteractionManager
METHOD <init> (Lbaq;)V
ARG 1 world
METHOD a update ()V
METHOD a interactItem (Laqj;Lbaq;Lavs;Lafb;)Lafd;
METHOD a interactBlock (Laqj;Lbaq;Lavs;Lafb;Let;Ley;FFF)Lafd;
ARG 1 player
ARG 2 world
ARG 3 stack
ARG 4 hand
ARG 5 pos
ARG 6 facing
ARG 7 hitX
ARG 8 hitY
ARG 9 hitZ
METHOD b tryBreakBlock (Let;)Z
ARG 1 pos

View File

@ -11,6 +11,19 @@ CLASS uz net/minecraft/server/network/ServerPlayNetworkHandler
METHOD a onGuiClose (Lnj;)V
METHOD a onCustomPayload (Lnk;)V
METHOD a onBookUpdate (Lnl;)V
METHOD a onPlayerInteractEntity (Lnn;)V
METHOD a onPlayerAction (Lnv;)V
METHOD a onPlayerInteractBlock (Lon;)V
ARG 1 packet
ARG 2 world
ARG 3 hand
ARG 4 stack
ARG 5 pos
ARG 6 facing
METHOD a onPlayerInteractItem (Loo;)V
ARG 1 packet
ARG 2 world
ARG 3 hand
ARG 4 stack
METHOD ab_ tick ()V
METHOD c executeCommand (Ljava/lang/String;)V

View File

@ -2,6 +2,7 @@ CLASS ul net/minecraft/server/network/ServerPlayerEntity
FIELD a networkHandler Luz;
FIELD b server Lnet/minecraft/server/MinecraftServer;
FIELD cA enteredNetherPos Lckp;
FIELD c interactionManager Lum;
FIELD ca LOGGER_PLAYER Lorg/apache/logging/log4j/Logger;
FIELD cv seenCredits Z
FIELD cw recipeBook Lxk;

View File

@ -2,10 +2,29 @@ CLASS um net/minecraft/server/network/ServerPlayerInteractionManager
FIELD a world Lbaq;
FIELD b player Lul;
FIELD c gameMode Lban;
METHOD <init> (Lbaq;)V
ARG 1 world
METHOD a update ()V
METHOD a interactItem (Laqj;Lbaq;Lavs;Lafb;)Lafd;
METHOD a interactBlock (Laqj;Lbaq;Lavs;Lafb;Let;Ley;FFF)Lafd;
ARG 1 player
ARG 2 world
ARG 3 stack
ARG 4 hand
ARG 5 pos
ARG 6 facing
ARG 7 hitX
ARG 8 hitY
ARG 9 hitZ
ARG 10 state
METHOD a setGameMode (Lban;)V
METHOD a setWorld (Luj;)V
ARG 1 world
METHOD b getGameMode ()Lban;
METHOD b setGameModeIfNotPresent (Lban;)V
METHOD b tryBreakBlock (Let;)Z
ARG 1 pos
METHOD c isSurvivalLike ()Z
METHOD c destroyBlock (Let;)Z
ARG 1 pos
METHOD d isCreative ()Z

View File

@ -0,0 +1,17 @@
CLASS on net/minecraft/server/network/packet/PlayerInteractBlockServerPacket
FIELD a pos Let;
FIELD b facing Ley;
FIELD c hand Lafb;
FIELD d hitX F
FIELD e hitY F
FIELD f hitZ F
METHOD a read (Liq;)V
METHOD a apply (Lit;)V
METHOD a apply (Lmz;)V
METHOD b getPos ()Let;
METHOD b write (Liq;)V
METHOD c getFacing ()Ley;
METHOD d getHand ()Lafb;
METHOD e getHitX ()F
METHOD f getHitY ()F
METHOD g getHitZ ()F

View File

@ -0,0 +1,15 @@
CLASS nn net/minecraft/server/network/packet/PlayerInteractEntityServerPacket
CLASS nn$a InteractionType
FIELD a entityId I
FIELD b type Lnn$a;
FIELD c hitPos Lckp;
FIELD d hand Lafb;
METHOD a getEntity (Lbaq;)Lagi;
ARG 1 world
METHOD a read (Liq;)V
METHOD a apply (Lit;)V
METHOD a apply (Lmz;)V
METHOD b getType ()Lnn$a;
METHOD b write (Liq;)V
METHOD c getHand ()Lafb;
METHOD d getHitPosition ()Lckp;

View File

@ -0,0 +1,7 @@
CLASS oo net/minecraft/server/network/packet/PlayerInteractItemServerPacket
FIELD a hand Lafb;
METHOD a read (Liq;)V
METHOD a apply (Lit;)V
METHOD a apply (Lmz;)V
METHOD b getHand ()Lafb;
METHOD b write (Liq;)V

View File

@ -1,5 +1,9 @@
CLASS bna net/minecraft/sortme/Hopper
METHOD F getHopperWorld ()Lbaq;
FIELD a SHAPE_INSIDE Lclj;
FIELD b SHAPE_ABOVE Lclj;
FIELD c SHAPE_INPUT Lclj;
METHOD F getWorld ()Lbaq;
METHOD G getHopperX ()D
METHOD H getHopperY ()D
METHOD I getHopperZ ()D
METHOD i getInputAreaShape ()Lclj;

View File

@ -1,6 +0,0 @@
CLASS nn
METHOD a read (Liq;)V
METHOD a apply (Lit;)V
METHOD a apply (Lmz;)V
METHOD b write (Liq;)V
METHOD c getHand ()Lafb;

View File

@ -1,5 +0,0 @@
CLASS on
METHOD a read (Liq;)V
METHOD a apply (Lit;)V
METHOD a apply (Lmz;)V
METHOD b write (Liq;)V

View File

@ -1,5 +0,0 @@
CLASS oo
METHOD a read (Liq;)V
METHOD a apply (Lit;)V
METHOD a apply (Lmz;)V
METHOD b write (Liq;)V

View File

@ -1,2 +0,0 @@
CLASS ub
METHOD a update ()V