public IRawPacketProvider Create(IBlockBase blockBase) { IRawPacketProvider rawPacketProvider = Create(); rawPacketProvider.Initialize(blockBase); return(rawPacketProvider); }
public BlockDestroyEventArgs(IBlockBase block, IEntityBase destroyedBy) : base(block) { LootTable = block.GetLootTable(); DestroyedBy = destroyedBy; }
public BlockTouchEventArgs(IBlockBase block, IEntityBase touchedBy) : base(block) { TouchedBy = touchedBy; }
public BlockEventArgs(IBlockBase block) { Block = block; }
public BlockPlaceEventArgs(IBlockBase block, IEntityBase placedBy) : base(block) { PlacedBy = placedBy; }
public void Initialize(IBlockBase blockBase) { _disposed = false; _blockBase = blockBase; }