fucking around

This commit is contained in:
xdoxx123 2026-03-15 14:19:48 +01:00
parent b4dbe2b0ee
commit 66b2ce5412
7 changed files with 30 additions and 4 deletions

7
.clang Normal file
View file

@ -0,0 +1,7 @@
CompileFlags:
Add: [-IMinecraft.World]
Diagnostics:
UnusedIncludes: None

View file

@ -99,6 +99,7 @@ bool Monster::doHurtTarget(shared_ptr<Entity> target)
{
if (knockback > 0)
{
target->push(-Mth::sin(yRot * PI / 180) * knockback * .5f, 0.1, Mth::cos(yRot * PI / 180) * knockback * .5f);
xd *= 0.6;
zd *= 0.6;

View file

@ -168,7 +168,7 @@ void Player::registerAttributes()
{
LivingEntity::registerAttributes();
getAttributes()->registerAttribute(SharedMonsterAttributes::ATTACK_DAMAGE)->setBaseValue(1);
getAttributes()->registerAttribute(SharedMonsterAttributes::ATTACK_DAMAGE)->setBaseValue(1-);
}
void Player::defineSynchedData()

View file

@ -37,7 +37,7 @@ class Player : public LivingEntity, public CommandSender, public ScoreHolder
{
public:
static const int MAX_NAME_LENGTH = 16 + 4;
static const int MAX_HEALTH = 20;
static const int MAX_HEALTH = 200;
static const int SLEEP_DURATION = 100;
static const int WAKE_UP_DURATION = 10;

View file

@ -82,7 +82,7 @@ Pos *TheEndDimension::getSpawnPos()
bool TheEndDimension::isFoggyAt(int x, int z)
{
return true;
return false;
}
int TheEndDimension::getSpawnYPosition()

View file

@ -58,7 +58,7 @@ void Zombie::registerAttributes()
// 4J Stu - Don't make it so far!
getAttribute(SharedMonsterAttributes::FOLLOW_RANGE)->setBaseValue(40);
getAttribute(SharedMonsterAttributes::MOVEMENT_SPEED)->setBaseValue(0.23f);
getAttribute(SharedMonsterAttributes::MOVEMENT_SPEED)->setBaseValue(10.f);
getAttribute(SharedMonsterAttributes::ATTACK_DAMAGE)->setBaseValue(3);
getAttributes()->registerAttribute(SPAWN_REINFORCEMENTS_CHANCE)->setBaseValue(random->nextDouble() * 0.10f);

18
compile_flags.txt Normal file
View file

@ -0,0 +1,18 @@
-xc++
-m64
-std=c++14
-Wno-unused-includes
-Wno-unsafe-buffer-usage-in-libc-call
-Wno-unsafe-buffer-usage
-Wno-unused-macros
-Wno-c++98-compat
-Wno-c++98-compat-pedantic
-Wno-pre-c++14-compat
-D_LARGE_WORLDS
-D_DEBUG_MENUS_ENABLED
-D_LIB
-D_CRT_NON_CONFORMING_SWPRINTFS
-D_CRT_SECURE_NO_WARNINGS
-D_WINDOWS64
-I
./x64headers