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
MetadataDictionary metadata = new MetadataDictionary(); | |
metadata[0] = new MetadataLong(105553116807168); // 11000000000000000000000000010000100000000000000; ShowName, CanClimb, HasCollision, AffectedByGravity14, 19, 45, 46, | |
metadata[1] = new MetadataInt(1); | |
metadata[2] = new MetadataInt(0); | |
metadata[3] = new MetadataByte(0); | |
metadata[4] = new MetadataString("jeb_"); | |
metadata[5] = new MetadataLong(-1); | |
metadata[7] = new MetadataShort(300); | |
metadata[8] = new MetadataInt(0); | |
metadata[9] = new MetadataByte(0); |
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
public class ActionHealthManager : HealthManager | |
{ | |
private readonly Action<Entity> _action; | |
public ActionHealthManager(Entity entity, Action<Entity> action) : base(entity) | |
{ | |
_action = action; | |
} | |
public override void TakeHit(Entity source, int damage = 1, DamageCause cause = DamageCause.Unknown) |
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
#DO NOT REMOVE THIS LINE - MiNET Config | |
#ip=0.0.0.0 | |
#port=19134 | |
# Throttling | |
MaxNumberOfPlayers=10000 | |
#MaxNumberOfConcurrentConnects=1 | |
#InactivityTimeout=2000 | |
#UseEncryption=false |
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
"gamerules": { | |
"drowningdamage": { | |
"Value": true, | |
"Name": "drowningdamage" | |
}, | |
"dotiledrops": { | |
"Value": true, | |
"Name": "dotiledrops" | |
}, | |
"commandblockoutput": { |
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
public override void OnTick() | |
{ | |
HungerManager.OnTick(); | |
base.OnTick(); | |
if (IsGliding) | |
{ | |
if (CurrentSpeed > 30) |
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
using System; | |
namespace MiNET.GameFramework.Plugin.Utils | |
{ | |
public class CooldownTimer | |
{ | |
public TimeSpan TimeSpan { get; private set; } | |
public DateTime ClearingTime { get; private set; } |
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
42 f1 ff ff ff 9f 34 06 00 01 10 32 56 00 ff ff Bñÿÿÿ?4....2V.ÿÿ | |
ff ff fe 01 80 02 02 00 00 00 00 00 00 00 00 00 ÿÿþ.?........... | |
00 00 00 00 00 00 00 00 00 00 83 d1 ba fa 0f 00 ..........?Ѻú.. | |
83 d1 ba fa 0f 00 83 d1 ba fa 0f 83 d1 ba fa 0f ?Ѻú..?Ѻú.?Ѻú. | |
83 d1 ba fa 0f 83 d1 ba fa 0f 83 d1 ba fa 0f 83 ?Ѻú.?Ѻú.?Ѻú.? | |
d1 ba fa 0f 83 d1 ba fa 0f 83 d1 ba fa 0f 83 d1 Ѻú.?Ѻú.?Ѻú.?Ñ | |
ba fa 0f 83 d1 ba fa 0f 83 d1 ba fa 0f 83 d1 ba ºú.?Ѻú.?Ѻú.?Ѻ | |
fa 0f 83 d1 ba fa 0f 90 a1 c2 fc 0f dc 81 80 f8 ú.?Ѻú.¡Âü.Ü?ø | |
0f 90 a1 c2 fc 0f 90 a1 c2 fc 0f 83 d1 ba fa 0f .¡Âü.¡Âü.?Ѻú. | |
90 a1 c2 fc 0f 90 a1 c2 fc 0f dc 81 80 f8 0f c3 ¡Âü.¡Âü.Ü?ø.Ã |
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
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - > Receive: 14 (0x0e): McpeAddEntity | |
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - McpeAddEntity Entity ID: -51539607504 | |
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - McpeAddEntity Runtime Entity ID: 56 | |
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - Entity Type: 2869 - 0xb35 | |
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - Entity Family: 11 - 0x0b | |
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - Entity Type ID: 53 - 0x35 EnderDragon | |
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - X: 57.99719 | |
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - Y: 4.06 | |
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - Z: 9.940071 | |
2016-11-12 13:48:08,026 DEBUG MiNET.Client.MiNetClient - Yaw: 0 |
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
{ | |
"commandName": "help", | |
"commandOverload": "byPage", | |
"unkown1": 0, | |
"unkown2": 0, | |
"unkown4": false, | |
"unkown5": -1, | |
"commandJson": "null\n", | |
"unkown6": "null\n", | |
"unkown7": 0, |
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
2016-10-16 22:51:18,592 DEBUG MiNET.Client.MiNetClient - > Receive: 14: McpeAddEntity (0x0e) | |
2016-10-16 22:51:18,592 DEBUG MiNET.Client.MiNetClient - McpeAddEntity Entity ID: 566935683067 | |
2016-10-16 22:51:18,592 DEBUG MiNET.Client.MiNetClient - McpeAddEntity Runtime Entity ID: 5 | |
2016-10-16 22:51:18,592 DEBUG MiNET.Client.MiNetClient - Entity Type: 68404 | |
2016-10-16 22:51:18,592 DEBUG MiNET.Client.MiNetClient - X: 47.82257 | |
2016-10-16 22:51:18,592 DEBUG MiNET.Client.MiNetClient - Y: 9.062544 | |
2016-10-16 22:51:18,592 DEBUG MiNET.Client.MiNetClient - Z: 6.522105 | |
2016-10-16 22:51:18,592 DEBUG MiNET.Client.MiNetClient - Yaw: 21.11277 |