430 lines
29 KiB
C
430 lines
29 KiB
C
// Cached JNI IDs of the engine (filled once by load_all_jni_ids). Generated by tools/gen_jids.py.
|
|
// Member = <Class>_<member>; the comment gives the kind (cls/m/f/sm/sf) and the JVM signature.
|
|
#pragma once
|
|
#include "slinky/jnienv.h"
|
|
struct JIds {
|
|
int variant; // 0x0 non-zero: alternate mappings
|
|
int names; // 0x4 mapping names: 0 obfuscated, 1 MCP, 2 SRG
|
|
void *hasBlockPos;
|
|
void *gameClassLoader;
|
|
void *gameClassLoaderLoadClass;
|
|
jclass List; // 0x20 cls
|
|
jmethodID List_size; // 0x28 m ()I
|
|
jmethodID List_get; // 0x30 m (I)Ljava/lang/Object;
|
|
jmethodID List_add; // 0x38 m (Ljava/lang/Object;)Z
|
|
jmethodID List_remove; // 0x40 m (Ljava/lang/Object;)Z
|
|
jclass Map; // 0x48 cls
|
|
jmethodID Map_containsKey; // 0x50 m (Ljava/lang/Object;)Z
|
|
jmethodID Map_get; // 0x58 m (Ljava/lang/Object;)Ljava/lang/Object;
|
|
jclass Keyboard; // 0x60 cls
|
|
jmethodID Keyboard_isKeyDown; // 0x68 sm (I)Z
|
|
jmethodID Keyboard_next; // 0x70 sm ()Z
|
|
jmethodID Keyboard_getEventKey; // 0x78 sm ()I
|
|
jmethodID Keyboard_getEventKeyState; // 0x80 sm ()Z
|
|
jclass Mouse; // 0x88 cls
|
|
jmethodID Mouse_isGrabbed; // 0x90 sm ()Z
|
|
jmethodID Mouse_setGrabbed; // 0x98 sm (Z)V
|
|
jmethodID Mouse_isButtonDown; // 0xa0 sm (I)Z
|
|
jmethodID Mouse_next; // 0xa8 sm ()Z
|
|
jmethodID Mouse_setCursorPosition; // 0xb0 sm (II)V
|
|
jclass Display; // 0xb8 cls
|
|
jmethodID Display_update; // 0xc0 sm ()V
|
|
jmethodID Display_isActive; // 0xc8 sm ()Z
|
|
jfieldID Display_width; // 0xd0 sf I
|
|
jfieldID Display_height; // 0xd8 sf I
|
|
jfieldID Display_framebufferWidth; // 0xe0 sf I
|
|
jfieldID Display_framebufferHeight; // 0xe8 sf I
|
|
jclass Object; // 0xf0 cls
|
|
jmethodID Object_hashCode; // 0xf8 m ()I
|
|
jclass SecureClassLoader; // 0x100 cls
|
|
jmethodID SecureClassLoader__init_; // 0x108 m (Ljava/lang/ClassLoader;)V
|
|
jclass Channel; // 0x110 cls
|
|
jmethodID Channel_pipeline; // 0x118 m ()Lio/netty/channel/ChannelPipeline;
|
|
jclass ChannelPipeline; // 0x120 cls
|
|
jmethodID ChannelPipeline_addBefore; // 0x128 m
|
|
jmethodID ChannelPipeline_get; // 0x130 m (Ljava/lang/Class;)Lio/netty/channel/ChannelHandler;
|
|
jmethodID ChannelPipeline_remove; // 0x138 m (Ljava/lang/Class;)Lio/netty/channel/ChannelHandler;
|
|
jclass Enum; // 0x140 cls
|
|
jmethodID Enum_ordinal; // 0x148 m ()I
|
|
jclass Minecraft; // 0x150 cls
|
|
jmethodID Minecraft_getNetHandler; // 0x158 m
|
|
void *unused_slot_160;
|
|
jmethodID Minecraft_addScheduledTask; // 0x168 m (Ljava/lang/Runnable;)Lcom/google/common/util/concurrent/ListenableFuture;
|
|
jmethodID Minecraft_clickMouse; // 0x170 m ()V
|
|
jmethodID Minecraft_rightClickMouse; // 0x178 m ()V
|
|
jfieldID Minecraft_theMinecraft; // 0x180 sf
|
|
void *Minecraft_thePlayer;
|
|
jfieldID Minecraft_theWorld; // 0x190 f
|
|
jfieldID Minecraft_timer; // 0x198 f
|
|
jfieldID Minecraft_gameSettings; // 0x1a0 f
|
|
jfieldID Minecraft_inGameHasFocus; // 0x1a8 f Z
|
|
jfieldID Minecraft_objectMouseOver; // 0x1b0 f
|
|
jfieldID Minecraft_leftClickCounter; // 0x1b8 f I
|
|
jfieldID Minecraft_rightClickDelayTimer; // 0x1c0 f I
|
|
jfieldID Minecraft_currentScreen; // 0x1c8 f
|
|
jfieldID Minecraft_ingameGUI; // 0x1d0 f
|
|
jfieldID Minecraft_displayWidth; // 0x1d8 f I
|
|
jfieldID Minecraft_displayHeight; // 0x1e0 f I
|
|
jfieldID Minecraft_renderEngine; // 0x1e8 f
|
|
jfieldID Minecraft_renderManager; // 0x1f0 f
|
|
jfieldID Minecraft_renderViewEntity; // 0x1f8 f
|
|
jfieldID Minecraft_renderGlobal; // 0x200 f
|
|
jfieldID Minecraft_renderItem; // 0x208 f
|
|
jfieldID Minecraft_entityRenderer; // 0x210 f
|
|
jfieldID Minecraft_playerController; // 0x218 f
|
|
jclass Entity; // 0x220 cls
|
|
jmethodID Entity_isSprinting; // 0x228 m ()Z
|
|
jmethodID Entity_setSprinting; // 0x230 m (Z)V
|
|
jmethodID Entity_isSneaking; // 0x238 m ()Z
|
|
jmethodID Entity_getFormattedCommandSenderName; // 0x240 m
|
|
jmethodID Entity_getCommandSenderName; // 0x248 m ()Ljava/lang/String;
|
|
jmethodID Entity_setAngles; // 0x250 m (FF)V
|
|
jmethodID Entity_moveFlying; // 0x258 m (FFF)V
|
|
jmethodID Entity_canBeCollidedWith; // 0x260 m ()Z
|
|
jfieldID Entity_posX; // 0x268 f D
|
|
jfieldID Entity_posY; // 0x270 f D
|
|
jfieldID Entity_posZ; // 0x278 f D
|
|
jfieldID Entity_prevPosX; // 0x280 f D
|
|
jfieldID Entity_prevPosY; // 0x288 f D
|
|
jfieldID Entity_prevPosZ; // 0x290 f D
|
|
jfieldID Entity_rotationYaw; // 0x298 f F
|
|
jfieldID Entity_rotationPitch; // 0x2a0 f F
|
|
jfieldID Entity_prevRotationYaw; // 0x2a8 f F
|
|
jfieldID Entity_prevRotationPitch; // 0x2b0 f F
|
|
jfieldID Entity_motionX; // 0x2b8 f D
|
|
jfieldID Entity_motionY; // 0x2c0 f D
|
|
jfieldID Entity_motionZ; // 0x2c8 f D
|
|
jfieldID Entity_boundingBox; // 0x2d0 f
|
|
jfieldID Entity_ticksExisted; // 0x2d8 f I
|
|
jfieldID Entity_entityId; // 0x2e0 f I
|
|
jfieldID Entity_uniqueId; // 0x2e8 f Ljava/util/UUID;
|
|
jfieldID Entity_onGround; // 0x2f0 f Z
|
|
jfieldID Entity_isDead; // 0x2f8 f Z
|
|
jfieldID Entity_fallDistance; // 0x300 f F
|
|
jfieldID Entity_ridingEntity; // 0x308 f
|
|
jclass World; // 0x310 cls
|
|
jmethodID World_getEntityByID; // 0x318 m
|
|
void *World_getBlock;
|
|
void *World_getBlockState;
|
|
jmethodID World_rayTraceBlocks; // 0x330 m
|
|
jmethodID World_updateEntities; // 0x338 m ()V
|
|
jmethodID World_getChunkFromChunkCoords; // 0x340 m
|
|
jmethodID World_markBlockRangeForRenderUpdate; // 0x348 m (IIIIII)V
|
|
jmethodID World_setBlock; // 0x350 m
|
|
jmethodID World_setBlockState; // 0x358 m
|
|
jfieldID World_playerEntities; // 0x360 f Ljava/util/List;
|
|
jfieldID World_loadedEntityList; // 0x368 f Ljava/util/List;
|
|
jfieldID World_loadedTileEntityList; // 0x370 f Ljava/util/List;
|
|
jfieldID World_chunkProvider; // 0x378 f
|
|
jclass Timer; // 0x380 cls
|
|
jfieldID Timer_renderPartialTicks; // 0x388 f F
|
|
jfieldID Timer_timerSpeed; // 0x390 f F
|
|
jfieldID Timer_elapsedPartialTicks; // 0x398 f F
|
|
jfieldID Timer_elapsedTicks; // 0x3a0 f I
|
|
jclass GameSettings; // 0x3a8 cls
|
|
jfieldID GameSettings_mouseSensitivity; // 0x3b0 f F
|
|
jfieldID GameSettings_keyBindings; // 0x3b8 f
|
|
jfieldID GameSettings_thirdPersonView; // 0x3c0 f I
|
|
jclass MovingObjectPosition; // 0x3c8 cls
|
|
jmethodID MovingObjectPosition__init_; // 0x3d0 m (Lnet/minecraft/entity/Entity;Lnet/minecraft/util/Vec3;)V
|
|
jfieldID MovingObjectPosition_typeOfHit; // 0x3d8 f
|
|
jfieldID MovingObjectPosition_hitVec; // 0x3e0 f
|
|
void *MovingObjectPosition_sideHitIndex;
|
|
void *MovingObjectPosition_sideHit;
|
|
jfieldID MovingObjectPosition_blockX; // 0x3f8 f
|
|
jfieldID MovingObjectPosition_blockY; // 0x400 f
|
|
jfieldID MovingObjectPosition_blockZ; // 0x408 f
|
|
jfieldID MovingObjectPosition_blockPos; // 0x410 f
|
|
jfieldID MovingObjectPosition_entityHit; // 0x418 f
|
|
jclass _init_; // 0x420 cls
|
|
jmethodID _init__getBlock; // 0x428 m
|
|
jclass Block; // 0x430 cls
|
|
jmethodID Block_getIdFromBlock; // 0x438 sm
|
|
jmethodID Block_getBlockFromItem; // 0x440 sm
|
|
jclass BlockPos; // 0x448 cls
|
|
jmethodID BlockPos__init_; // 0x450 m (III)V
|
|
jfieldID BlockPos_a; // 0x458 f
|
|
jfieldID BlockPos_c; // 0x460 f
|
|
jfieldID BlockPos_d; // 0x468 f
|
|
jclass KeyBinding; // 0x470 cls
|
|
jfieldID KeyBinding_pressed; // 0x478 f Z
|
|
jfieldID KeyBinding_pressTime; // 0x480 f I
|
|
jfieldID KeyBinding_keyCode; // 0x488 f I
|
|
jclass AxisAlignedBB; // 0x490 cls
|
|
jmethodID AxisAlignedBB__init_; // 0x498 m (DDDDDD)V
|
|
jmethodID AxisAlignedBB_calculateIntercept; // 0x4a0 m
|
|
jfieldID AxisAlignedBB_minX; // 0x4a8 f D
|
|
jfieldID AxisAlignedBB_minY; // 0x4b0 f D
|
|
jfieldID AxisAlignedBB_minZ; // 0x4b8 f D
|
|
jfieldID AxisAlignedBB_maxX; // 0x4c0 f D
|
|
jfieldID AxisAlignedBB_maxY; // 0x4c8 f D
|
|
jfieldID AxisAlignedBB_maxZ; // 0x4d0 f D
|
|
jclass GuiContainer; // 0x4d8 cls
|
|
jmethodID GuiContainer_handleMouseClick; // 0x4e0 m
|
|
jfieldID GuiContainer_theSlot; // 0x4e8 f
|
|
jfieldID GuiContainer_lastClickTime; // 0x4f0 f J
|
|
jclass EntityLivingBase; // 0x4f8 cls
|
|
void *EntityLivingBase_rayTrace;
|
|
jmethodID EntityLivingBase_getPosition; // 0x508 m
|
|
jmethodID EntityLivingBase_getHealth; // 0x510 m ()F
|
|
jmethodID EntityLivingBase_getTeam; // 0x518 m
|
|
jmethodID EntityLivingBase_swingItem; // 0x520 m ()V
|
|
jmethodID EntityLivingBase_getMaxHealth; // 0x528 m ()F
|
|
jmethodID EntityLivingBase_getActivePotionEffect; // 0x530 m
|
|
jmethodID EntityLivingBase_jump; // 0x538 m ()V
|
|
jfieldID EntityLivingBase_moveForward; // 0x540 f F
|
|
jfieldID EntityLivingBase_moveStrafing; // 0x548 f F
|
|
jfieldID EntityLivingBase_maxHurtTime; // 0x550 f I
|
|
jfieldID EntityLivingBase_hurtTime; // 0x558 f I
|
|
jfieldID EntityLivingBase_lastAttackerTime; // 0x560 f I
|
|
jfieldID EntityLivingBase_landMovementFactor; // 0x568 f F
|
|
jfieldID EntityLivingBase_jumpTicks; // 0x570 f I
|
|
jclass EntityPlayer; // 0x578 cls
|
|
jmethodID EntityPlayer_isInvisibleToPlayer; // 0x580 m
|
|
jmethodID EntityPlayer_isUsingItem; // 0x588 m ()Z
|
|
jmethodID EntityPlayer_getAbsorptionAmount; // 0x590 m ()F
|
|
jmethodID EntityPlayer_getEquipmentInSlot; // 0x598 m
|
|
jfieldID EntityPlayer_inventory; // 0x5a0 f
|
|
jfieldID EntityPlayer_itemInUseCount; // 0x5a8 f I
|
|
jfieldID EntityPlayer_inventoryContainer; // 0x5b0 f
|
|
jfieldID EntityPlayer_sleeping; // 0x5b8 f Z
|
|
jfieldID EntityPlayer_speedOnGround; // 0x5c0 f F
|
|
jclass InventoryPlayer; // 0x5c8 cls
|
|
jfieldID InventoryPlayer_mainInventory; // 0x5d0 f
|
|
jfieldID InventoryPlayer_currentItem; // 0x5d8 f I
|
|
jfieldID InventoryPlayer_itemStack; // 0x5e0 f
|
|
jclass ItemStack; // 0x5e8 cls
|
|
jmethodID ItemStack__init_; // 0x5f0 m
|
|
jmethodID ItemStack_getItem; // 0x5f8 m
|
|
jmethodID ItemStack_getStrVsBlock; // 0x600 m
|
|
jmethodID ItemStack_getEnchantmentTagList; // 0x608 m
|
|
jmethodID ItemStack_getMaxStackSize; // 0x610 m ()I
|
|
jmethodID ItemStack_areItemStackTagsEqual; // 0x618 sm
|
|
jmethodID ItemStack_hasDisplayName; // 0x620 m ()Z
|
|
jfieldID ItemStack_stackSize; // 0x628 f I
|
|
jfieldID ItemStack_metadata; // 0x630 f I
|
|
jclass Item; // 0x638 cls
|
|
jmethodID Item_getIdFromItem; // 0x640 sm
|
|
jmethodID Item_getItemById; // 0x648 sm
|
|
jclass Vec3; // 0x650 cls
|
|
jmethodID Vec3__init_; // 0x658 m (DDD)V
|
|
jfieldID Vec3_xCoord; // 0x660 f D
|
|
jfieldID Vec3_yCoord; // 0x668 f D
|
|
jfieldID Vec3_zCoord; // 0x670 f D
|
|
jclass ScorePlayerTeam; // 0x678 cls
|
|
jfieldID ScorePlayerTeam_Ljava_lang_String_; // 0x680 f Ljava/lang/String;
|
|
jclass NetHandlerPlayClient; // 0x688 cls
|
|
jfieldID NetHandlerPlayClient_playerInfoMap; // 0x690 f Ljava/util/Map;
|
|
jfieldID NetHandlerPlayClient_netManager; // 0x698 f
|
|
jclass IChatComponent; // 0x6a0 cls
|
|
jmethodID IChatComponent_getFormattedText; // 0x6a8 m ()Ljava/lang/String;
|
|
jclass IChatComponent_Serializer; // 0x6b0 cls
|
|
jmethodID IChatComponent_Serializer_jsonToComponent; // 0x6b8 sm
|
|
jclass Slot; // 0x6c0 cls
|
|
jfieldID Slot_slotNumber; // 0x6c8 f I
|
|
jmethodID Slot_getStack; // 0x6d0 m
|
|
jclass IInventory; // 0x6d8 cls
|
|
jmethodID IInventory_getStackInSlot; // 0x6e0 m
|
|
jclass NetworkManager; // 0x6e8 cls
|
|
jfieldID NetworkManager_Lio_netty_channel_Channel_; // 0x6f0 f Lio/netty/channel/Channel;
|
|
void *NetworkManager_scheduleOutboundPacket;
|
|
void *NetworkManager_sendPacket;
|
|
jclass C03PacketPlayer; // 0x708 cls
|
|
jfieldID C03PacketPlayer_moving; // 0x710 f Z
|
|
jfieldID C03PacketPlayer_onGround; // 0x718 f Z
|
|
jfieldID C03PacketPlayer_a; // 0x720 f D
|
|
jfieldID C03PacketPlayer_b; // 0x728 f D
|
|
jfieldID C03PacketPlayer_c; // 0x730 f D
|
|
jclass C07PacketPlayerDigging; // 0x738 cls
|
|
jfieldID C07PacketPlayerDigging_status; // 0x740 f
|
|
jclass C08PacketPlayerBlockPlacement; // 0x748 cls
|
|
jfieldID C08PacketPlayerBlockPlacement_stack; // 0x750 f
|
|
jclass TileEntity; // 0x758 cls
|
|
jfieldID TileEntity_blockType; // 0x760 f
|
|
void *TileEntity_pos;
|
|
void *TileEntity_xCoord;
|
|
jfieldID TileEntity_yCoord; // 0x778 f
|
|
jfieldID TileEntity_zCoord; // 0x780 f
|
|
jclass S12PacketEntityVelocity; // 0x788 cls
|
|
jfieldID S12PacketEntityVelocity_entityID; // 0x790 f I
|
|
jfieldID S12PacketEntityVelocity_motionX; // 0x798 f I
|
|
jfieldID S12PacketEntityVelocity_motionY; // 0x7a0 f I
|
|
jfieldID S12PacketEntityVelocity_motionZ; // 0x7a8 f I
|
|
jclass RenderManager; // 0x7b0 cls
|
|
jfieldID RenderManager_instance; // 0x7b8 sf
|
|
jfieldID RenderManager_playerViewX; // 0x7c0 f F
|
|
jfieldID RenderManager_playerViewY; // 0x7c8 f F
|
|
jfieldID RenderManager_textRenderer; // 0x7d0 f
|
|
jclass S14PacketEntity; // 0x7d8 cls
|
|
jfieldID S14PacketEntity_entityId; // 0x7e0 f I
|
|
jfieldID S14PacketEntity_posX; // 0x7e8 f B
|
|
jfieldID S14PacketEntity_posY; // 0x7f0 f B
|
|
jfieldID S14PacketEntity_posZ; // 0x7f8 f B
|
|
jfieldID S14PacketEntity_yaw; // 0x800 f B
|
|
jfieldID S14PacketEntity_pitch; // 0x808 f B
|
|
jfieldID S14PacketEntity_g; // 0x810 f Z
|
|
jclass S18PacketEntityTeleport; // 0x818 cls
|
|
jfieldID S18PacketEntityTeleport_entityId; // 0x820 f I
|
|
jfieldID S18PacketEntityTeleport_posX; // 0x828 f I
|
|
jfieldID S18PacketEntityTeleport_posY; // 0x830 f I
|
|
jfieldID S18PacketEntityTeleport_posZ; // 0x838 f I
|
|
jfieldID S18PacketEntityTeleport_yaw; // 0x840 f B
|
|
jfieldID S18PacketEntityTeleport_pitch; // 0x848 f B
|
|
jclass S19PacketEntityStatus; // 0x850 cls
|
|
jfieldID S19PacketEntityStatus_entityId; // 0x858 f I
|
|
jclass S29PacketSoundEffect; // 0x860 cls
|
|
jclass S06PacketUpdateHealth; // 0x868 cls
|
|
jclass EntityOtherPlayerMP; // 0x870 cls
|
|
jfieldID EntityOtherPlayerMP_otherPlayerMPPosRotationIncrements; // 0x878 f I
|
|
jfieldID EntityOtherPlayerMP_otherPlayerMPX; // 0x880 f D
|
|
jfieldID EntityOtherPlayerMP_otherPlayerMPY; // 0x888 f D
|
|
jfieldID EntityOtherPlayerMP_otherPlayerMPZ; // 0x890 f D
|
|
jfieldID EntityOtherPlayerMP_otherPlayerMPYaw; // 0x898 f D
|
|
jclass GuiInventory; // 0x8a0 cls
|
|
jclass EntityPlayerSP; // 0x8a8 cls
|
|
jfieldID EntityPlayerSP_renderArmYaw; // 0x8b0 f F
|
|
jfieldID EntityPlayerSP_renderArmPitch; // 0x8b8 f F
|
|
jfieldID EntityPlayerSP_prevRenderArmYaw; // 0x8c0 f F
|
|
jfieldID EntityPlayerSP_prevRenderArmPitch; // 0x8c8 f F
|
|
jfieldID EntityPlayerSP_timeInPortal; // 0x8d0 f F
|
|
jfieldID EntityPlayerSP_prevTimeInPortal; // 0x8d8 f F
|
|
jmethodID EntityPlayerSP_addChatMessage; // 0x8e0 m
|
|
jclass EntityRenderer; // 0x8e8 cls
|
|
jmethodID EntityRenderer_getMouseOver; // 0x8f0 m (F)V
|
|
jmethodID EntityRenderer_renderHand; // 0x8f8 m (FI)V
|
|
jmethodID EntityRenderer_orientCamera; // 0x900 m (F)V
|
|
jmethodID EntityRenderer_getFOVModifier; // 0x908 m (FZ)F
|
|
void *EntityRenderer_updateCameraAndRender;
|
|
jclass Framebuffer; // 0x918 cls
|
|
jmethodID Framebuffer_bindFramebuffer; // 0x920 m (Z)V
|
|
jclass RenderGlobal; // 0x928 cls
|
|
jfieldID RenderGlobal_displayListEntitiesDirty; // 0x930 f Z
|
|
jclass ActiveRenderInfo; // 0x938 cls
|
|
jmethodID ActiveRenderInfo_updateRenderInfo; // 0x940 sm
|
|
jclass RendererLivingEntity; // 0x948 cls
|
|
void *RendererLivingEntity_renderNameMethodName;
|
|
void *RendererLivingEntity_renderNameMethodSignature;
|
|
jmethodID RendererLivingEntity_func_177067_a; // 0x960 m (Lpr;DDD)V
|
|
void *RendererLivingEntity_canRenderNameMethodName;
|
|
void *RendererLivingEntity_canRenderNameMethodSignature;
|
|
jmethodID RendererLivingEntity_canRenderName; // 0x978 m
|
|
void *RendererLivingEntity_doRenderMethodName;
|
|
void *RendererLivingEntity_doRenderMethodSignature;
|
|
jmethodID RendererLivingEntity___2; // 0x990 m
|
|
jclass FontRenderer; // 0x998 cls
|
|
jmethodID FontRenderer_getStringWidth; // 0x9a0 m (Ljava/lang/String;)I
|
|
void *FontRenderer_drawString;
|
|
jclass GlStateManager; // 0x9b0 cls
|
|
jmethodID GlStateManager_enableDepth; // 0x9b8 sm
|
|
jmethodID GlStateManager_disableDepth; // 0x9c0 sm
|
|
jmethodID GlStateManager_enableLighting; // 0x9c8 sm
|
|
jmethodID GlStateManager_disableLighting; // 0x9d0 sm
|
|
jmethodID GlStateManager_enableTexture2D; // 0x9d8 sm
|
|
jmethodID GlStateManager_disableTexture2D; // 0x9e0 sm
|
|
jmethodID GlStateManager_enableBlend; // 0x9e8 sm
|
|
jmethodID GlStateManager_disableBlend; // 0x9f0 sm
|
|
jmethodID GlStateManager_enableCull; // 0x9f8 sm
|
|
jmethodID GlStateManager_disableCull; // 0xa00 sm
|
|
jmethodID GlStateManager_enableAlpha; // 0xa08 sm
|
|
jmethodID GlStateManager_disableAlpha; // 0xa10 sm
|
|
jmethodID GlStateManager_blendFunc; // 0xa18 sm
|
|
jmethodID GlStateManager_color; // 0xa20 sm
|
|
jclass C02PacketUseEntity; // 0xa28 cls
|
|
jclass C0BPacketEntityAction; // 0xa30 cls
|
|
jfieldID C0BPacketEntityAction_Lis_a_; // 0xa38 f
|
|
jclass S08PacketPlayerPosLook; // 0xa40 cls
|
|
jclass S27PacketExplosion; // 0xa48 cls
|
|
jfieldID S27PacketExplosion_f; // 0xa50 f F
|
|
jfieldID S27PacketExplosion_g; // 0xa58 f F
|
|
jfieldID S27PacketExplosion_h; // 0xa60 f F
|
|
jclass S00PacketKeepAlive; // 0xa68 cls
|
|
jclass C00PacketKeepAlive; // 0xa70 cls
|
|
jclass Potion; // 0xa78 cls
|
|
jfieldID Potion_potionTypes; // 0xa80 sf
|
|
jclass RenderPlayer; // 0xa88 cls
|
|
void *RenderArrow_doRenderMethodName;
|
|
void *RenderArrow_doRenderMethodSignature;
|
|
jmethodID RenderPlayer__L_s_DDDFF_V; // 0xaa0 m
|
|
jclass RenderItem; // 0xaa8 cls
|
|
jfieldID RenderItem_zLevel; // 0xab0 f F
|
|
void *RenderItem_init;
|
|
jmethodID RenderItem__init_; // 0xac0 m
|
|
jmethodID RenderItem_renderItemOverlayIntoGUI; // 0xac8 m
|
|
jclass RenderHelper; // 0xad0 cls
|
|
jmethodID RenderHelper_enableStandardItemLighting; // 0xad8 sm ()V
|
|
jmethodID RenderHelper_disableStandardItemLighting; // 0xae0 sm ()V
|
|
jclass EntityList; // 0xae8 cls
|
|
jmethodID EntityList_getEntityID; // 0xaf0 sm
|
|
jclass Chunk; // 0xaf8 cls
|
|
jfieldID Chunk_storageArrays; // 0xb00 f
|
|
jfieldID Chunk_xPosition; // 0xb08 f I
|
|
jfieldID Chunk_zPosition; // 0xb10 f I
|
|
jclass ExtendedBlockStorage; // 0xb18 cls
|
|
void *ExtendedBlockStorage_blockLSBArray;
|
|
jclass WorldClient; // 0xb28 cls
|
|
jclass ChunkProviderClient; // 0xb30 cls
|
|
jfieldID ChunkProviderClient_chunkMapping; // 0xb38 f Ljava/util/List;
|
|
jmethodID ChunkProviderClient_unloadChunk; // 0xb40 m (II)V
|
|
jclass EntityItem; // 0xb48 cls
|
|
jmethodID EntityItem_getEntityItem; // 0xb50 m
|
|
jmethodID EntityItem_searchForOtherItemsNearby; // 0xb58 m ()V
|
|
jclass S3FPacketCustomPayload; // 0xb60 cls
|
|
jfieldID S3FPacketCustomPayload_Ljava_lang_String_; // 0xb68 f Ljava/lang/String;
|
|
jfieldID S3FPacketCustomPayload_data; // 0xb70 f
|
|
jclass PacketBuffer; // 0xb78 cls
|
|
jmethodID PacketBuffer_readableBytes; // 0xb80 m ()I
|
|
jmethodID PacketBuffer_readerIndex; // 0xb88 m ()I
|
|
jmethodID PacketBuffer_getBytes; // 0xb90 m (I[B)Lio/netty/buffer/ByteBuf;
|
|
jclass UUID; // 0xb98 cls
|
|
jmethodID UUID_getLeastSignificantBits; // 0xba0 m ()J
|
|
jmethodID UUID_getMostSignificantBits; // 0xba8 m ()J
|
|
jclass ChatComponentText; // 0xbb0 cls
|
|
jmethodID ChatComponentText__init_; // 0xbb8 m (Ljava/lang/String;)V
|
|
jclass PlayerControllerMP; // 0xbc0 cls
|
|
jfieldID PlayerControllerMP_curBlockDamageMP; // 0xbc8 f F
|
|
jfieldID PlayerControllerMP_blockHitDelay; // 0xbd0 f I
|
|
jfieldID PlayerControllerMP_isHittingBlock; // 0xbd8 f Z
|
|
jmethodID PlayerControllerMP_updateController; // 0xbe0 m ()V
|
|
jclass C0EPacketClickWindow; // 0xbe8 cls
|
|
jclass NBTTagList; // 0xbf0 cls
|
|
jmethodID NBTTagList_tagCount; // 0xbf8 m ()I
|
|
jmethodID NBTTagList_getCompoundTagAt; // 0xc00 m
|
|
jclass NBTTagCompound; // 0xc08 cls
|
|
jmethodID NBTTagCompound_getShort; // 0xc10 m (Ljava/lang/String;)S
|
|
jclass EntityArrow; // 0xc18 cls
|
|
void *unused_slot_c20;
|
|
jfieldID EntityArrow_inGround; // 0xc28 f Z
|
|
jclass PotionEffect; // 0xc30 cls
|
|
jfieldID PotionEffect_duration; // 0xc38 f I
|
|
jclass NetworkPlayerInfo; // 0xc40 cls
|
|
jfieldID NetworkPlayerInfo_displayName; // 0xc48 f
|
|
jmethodID NetworkPlayerInfo_getPlayerTeam; // 0xc50 m
|
|
jclass GenericFutureListener; // 0xc58 cls
|
|
jclass C16PacketClientStatus; // 0xc60 cls
|
|
jfieldID C16PacketClientStatus_status; // 0xc68 f
|
|
void *C16PacketClientStatus_init;
|
|
jclass C16PacketClientStatus_EnumState; // 0xc78 cls
|
|
void *C16PacketClientStatus_EnumState_openInventory;
|
|
jclass c; // 0xc88 cls
|
|
jmethodID c__init_; // 0xc90 m (I)V
|
|
jclass ContainerPlayer; // 0xc98 cls
|
|
jfieldID ContainerPlayer_craftMatrix; // 0xca0 f
|
|
jclass GuiScreen; // 0xca8 cls
|
|
jmethodID GuiScreen_keyTyped; // 0xcb0 m (CI)V
|
|
jclass GuiChest; // 0xcb8 cls
|
|
jfieldID GuiChest_lowerChestInventory; // 0xcc0 f
|
|
jclass InventoryBasic; // 0xcc8 cls
|
|
jfieldID InventoryBasic_Ljava_lang_String_; // 0xcd0 f Ljava/lang/String;
|
|
jclass StatCollector; // 0xcd8 cls
|
|
jmethodID StatCollector_translateToLocal; // 0xce0 sm (Ljava/lang/String;)Ljava/lang/String;
|
|
jclass C01PacketChatMessage; // 0xce8 cls
|
|
jfieldID C01PacketChatMessage_Ljava_lang_String_; // 0xcf0 f Ljava/lang/String;
|
|
jclass C14PacketTabComplete; // 0xcf8 cls
|
|
jfieldID C14PacketTabComplete_Ljava_lang_String_; // 0xd00 f Ljava/lang/String;
|
|
jclass S2APacketParticles; // 0xd08 cls
|
|
};
|
|
|
|
// The handle every engine call receives: ID table + JNIEnv.
|
|
struct Jvm { JIds *ids; JNIEnv *env; };
|
|
#define JNI(j) (*(j)->env)
|