- Clone MCPConfig from the GitHub repository.
- In the root project directory, run
gradlew :1.13:projectClientApplyPatches
if you want to make a client side mod, orgradlew :1.13:projectServerApplyPatches
if you want to make a server side mod. - Naviage into
versions/1.13/projects/server
(orclient
). There are a couple of fixes necessary to get the code to compile:- There is a missing class
mcp.MethodsReturnNonnullByDefault
which you will have to manually add. A copy can be found here. - If you're making a server-only mod, the anonymous classes in
net.minecraft.item.ItemClock
andnet.minecraft.item.ItemCompass
need to be modified to override the method innet.minecraft.item.IItemPropertyGetter
. This is never actually called on the server so you can make a dummy implementation.
- There is a missing class
- Copy
versions/1.13/projects/server
(orclient
) into a separate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Unknwn.h> | |
#include <Windows.h> | |
#include <wrl\implements.h> | |
#include <comutil.h> | |
#include <dcomp.h> | |
#include <dwmapi.h> | |
#include <dxgi1_3.h> | |
#include <d3d11_2.h> | |
#include <d2d1_2.h> | |
#include <d2d1_2helper.h> |