前言
最近有粉丝在评论区叫小编整合所有写过的代码,
它来了!
注:所有代码均以最新的为主。
代码
啥话都不用说,直接上代码:
#include<bits/stdc++.h>
using namespace std;
struct worldx{
struct worldy{
int z_block1[510];
int z_block2[510];
double z_high[510];
short z_light[510];
}y[400];
}world1[510],world2[510],world3[510];
struct Food {
unsigned short bake_fool=0;
unsigned short bake_hart=0;
string En,Cn;
bool can_cook=0;
int th1,th2,th3,th4,th5,th6,th7,th8,th9;
}M_food[1000];
struct Blocks{
int thing1,thing2,thing3,thing4,thing5,thing6,thing7,thing8,thing9;//合成表
unsigned light=0;//光
string En,Cn;//名字
unsigned int fall=1;//掉落(模组)
bool xushi=1,gwxushi=1;//虚实
bool fall=0;//是否掉落
double high=1;//高度
unsigned get_tool=0;//工具
unsigned fumo_tool=0;//附魔(不需要==0)
double get_time=0;//获取时间
short bake_jump;//类粘液块方块
unsigned fangxiang=0;//放置方向
}block1[100000],block2[10000]